Odoo ZATCA e-invoicing in Saudi Arabia

How Odoo supports ZATCA e-invoicing in Saudi Arabia, which parts are base package, which need the l10n_sa_edi modules, and what evidence and gaps remain for your own compliance team.

On this page

Odoo ZATCA e-invoicing in Saudi Arabia: which requirements the platform covers

If you run or plan Odoo for a Saudi company, the platform helps with three ZATCA e-invoicing requirements: Phase 1 QR codes from the base Saudi localization, l10n_sa; Phase 2 API integration through the l10n_sa_edi module; and e-invoicing from Point of Sale through l10n_sa_edi_pos. DeployOpen prepares the Odoo system, its settings and the evidence your reviewers ask for, but it does not certify your invoicing. Only the authority and its approved processes decide whether your setup meets the rules.

The Saudi localization preconfigures sales, purchase and withholding taxes, with standard VAT at 15 percent. Treat those defaults as a starting point, not a finished tax configuration. Check each tax, its account mapping and any exemption or zero-rated category against your own invoice types and your advisers' reading of the rules. Confirm the current ZATCA requirements, including which phase applies to your company and its activity, directly with the authority and with your tax advisers before you configure anything. Requirements change, and the Odoo documentation describes the module behavior, not your legal obligations.

Before the build starts, assign owners for three decisions: which invoice types each sales channel issues, which company records feed the seller data on each invoice, and whether POS sales need the POS module path. Each Saudi company you run in a multi-company database needs its own onboarding, so plan that work per company rather than assuming one setup covers all of them. The Odoo Saudi Arabia fiscal localization documentation is the right place to start the module check, and your test results should be kept with the configuration record.

Mapping ZATCA requirements to Odoo modules and configuration

This table maps each ZATCA requirement in scope to the Odoo module or setting that addresses it and the configuration it needs. Read each row as a checklist item to confirm with your edition, your Odoo version and your ZATCA onboarding records before go-live.

RequirementOdoo module or settingConfiguration to confirm
Phase 1 QR code on invoicesl10n_sa base localizationInstall the Saudi localization, set the company tax data and confirm the QR code prints on sample invoices in your chosen report format
Phase 2 API integrationl10n_sa_edi moduleConfirm the module is available for your edition and version, then complete onboarding and certificate setup for each company before live submission
E-invoicing from Point of Salel10n_sa_edi_pos moduleConfirm POS e-invoicing behavior with your Phase 2 setup, including how simplified invoices are issued and reported from each terminal
Standard VAT at 15 percentSales, purchase and withholding tax presets in the Saudi localizationReview the preconfigured tax definitions against your product and service tax treatment, and map any exempt or zero-rated items yourself
Withholding taxesWithholding tax presets in the Saudi localizationConfirm which vendor payments fall under withholding, and test bills and payments against your accountant's expected results
Per-company onboardingCompany records and localization settings in each Odoo companySet legal name, tax registration data and sequence settings per company, and test each company separately because onboarding is not shared across companies
Edition and plan availabilityOdoo Enterprise and hosting planConfirm with Odoo which edition and hosting type support the modules you need, since the pricing page limits some features to the Custom plan

Which Odoo edition and hosting the Saudi localization needs

The Community edition is open source under LGPL-3.0 and you run it on your own infrastructure. It gives you full control over the code and hosting, but it sits outside the vendor's paid services. Odoo's upgrade service is not available to Community users, so any move to a newer major version is a project you plan and test yourselves. Before you commit to this route, confirm with Odoo whether the Saudi localization modules you need are included in your Community installation, because the localization set and its availability can differ by edition.

  • Upgrade path: Community has no access to the upgrade service, so major version moves are manual projects.
  • Support: Security updates and fixes come from the open source project and your own team or partner, not from an Odoo support contract.
  • Hosting: You operate the servers, database, backups and network access yourselves.
  • Modules: Confirm which ZATCA-related modules are available to Community, since Phase 2 integration depends on them.

Check the localization modules and their version against the edition you plan to run before estimating the build.

Phase 1 QR codes and Phase 2 API integration in Odoo

The base l10n_sa localization only produces Phase 1 QR code support on invoices. It does not send anything to ZATCA. The l10n_sa_edi module is the Phase 2 piece, and it is a separate installation that connects the company's Odoo database to ZATCA's e-invoicing platform through an API. Treat the two as different projects with different dependencies. A company that is live on Phase 1 QR codes has not yet cleared the work needed for Phase 2, and the QR code output on its invoices will not show whether clearance or reporting is working.

Moving from Phase 1 to Phase 2 needs three workstreams that run in order. First, connectivity: the Odoo server must reach ZATCA's endpoints from the network it runs on, which is a firewall and egress question for your infrastructure team. Second, certificates: the onboarding process issues cryptographic credentials for each taxpayer unit, and you must decide who holds the portal access, where the private keys are stored and how renewals are tracked. Third, onboarding sequence: register each company and its sales units in the order ZATCA's own onboarding requires, test against the sandbox first, and only then switch production credentials into Odoo. Confirm the current sequence, endpoints and certificate rules with ZATCA's published guidance and your Odoo partner before you start, since these change.

Plan the cutover with the invoice pipeline in view. Decide which invoice types, simplified invoices from POS included, will be sent through the API, and what happens to invoices issued during the switch. Record the ZATCA responses in your audit trail, and make sure your finance team can reconcile what Odoo reports against what ZATCA holds. Check the exact module names and version compatibility for your Odoo release in the Odoo Saudi Arabia localization documentation before scoping the work.

What evidence Odoo produces for ZATCA reviews and how to keep it

A ZATCA review looks at the invoice record, the QR content, what came back from the submission and how the tax setup has changed over time. Odoo produces most of this inside the database, so the operator's job is to keep that database intact through backups, staging copies and upgrades.

Invoice records and their sequence

Each posted customer invoice, credit note and debit note is a database record with its own number, date, partner and tax lines. Reviewers will sample these and check that numbering has no gaps and that posted invoices were not edited. Confirm with your reviewer which invoice fields and numbering evidence they expect, and export a sample set before go-live so you know what the record looks like.

QR code content and stored values

Phase 1 QR codes are generated from invoice data by the Saudi base localization, and Phase 2 invoices carry the values that were signed and reported. Keep a copy of the QR payload alongside each invoice so a reviewer can decode it and compare it with the printed or PDF invoice. Test that the seller name, VAT number, timestamp and totals in the QR match the stored record.

Saudi localization docs

Submission responses and error logs

When invoices are sent through the l10n_sa_edi integration, the responses from ZATCA, including accepted, warning and rejected results, are part of the evidence trail. A reviewer will want to see that rejected invoices were corrected and resubmitted, not silently dropped. Decide where responses are stored, how long you keep them, and who can read them without changing invoice data.

POS receipts and simplified invoices

Simplified invoices created from Point of Sale through l10n_sa_edi_pos need the same record set as back-office invoices. Confirm that each POS session, its receipts and the linked invoice records can be matched during a review. Check how terminal sessions are closed and whether any offline or unsent receipts exist at the time of a backup.

Tax configuration and change history

The 15 percent standard VAT rate and the sales, purchase and withholding tax setup come from the Saudi localization, and any change to tax definitions, accounts or journals affects how later invoices are read. Export the tax configuration at go-live and after each change, and record who approved it and when. Reviewers often ask how a rate was applied to a past invoice, so keep this history with the change request.

Backups, staging copies and upgrades

A self-hosted operator keeps evidence intact by backing up the database and filestore together, restoring them in a tested environment, and using duplicated databases with neutralization for test copies so live invoice data is not sent to tests. Plan each Odoo version upgrade on an upgraded test database before production, because a new version can change how records or taxes are read. Confirm your backup retention period with your reviewer and document restore tests.

Mandatory major upgrades
2 years
Odoo upgrade docs

Configuring Odoo for ZATCA, company by company

This sequence takes one legal entity from edition and hosting checks through Phase 1 and Phase 2 configuration, POS e-invoicing and a tested go-live. Each company is onboarded separately, so the steps repeat for every entity that issues Saudi invoices.

  1. Confirm edition, hosting and version

    Confirm with your Odoo partner or Odoo sales team that the database runs an edition and hosting type that can install the Saudi localization and the Phase 2 modules. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise, and that multi-company and custom modules are part of Custom, so check these against the entities you plan to run. Record the Odoo major version and its standard support end date, because a ZATCA configuration built on a version near end of support will need an upgrade soon after go-live. Done when the edition, hosting model and support window are written into the project file and approved by the client's finance and security leads.

  2. Install the Saudi localization modules

    Install the base Saudi Arabia localization, l10n_sa, which provides Phase 1 QR code support. Then install l10n_sa_edi for Phase 2 API integration and l10n_sa_edi_pos if invoices will be issued from Point of Sale. Confirm module names and dependencies against the Odoo Saudi Arabia fiscal localization documentation for the version in use, since installed modules differ by release. Done when the module list is recorded per database and each module installs without errors on the staging copy.

  3. Set VAT and withholding taxes

    Review the preconfigured sales, purchase and withholding taxes. The localization sets standard VAT at 15 percent, but the finance team must confirm each tax rate, tax group, account mapping and withholding treatment against current Saudi rules and the company's own tax advice, and must decide which products or services need reduced, zero-rated or exempt treatment. Map each tax to the correct ledger account and check that fiscal position rules apply to the right customers and suppliers. Done when a set of test invoices produces the expected tax lines and the tax report reconciles to the ledger.

  4. Configure company and branch data per legal entity

    For each legal entity, enter the registered legal name, tax registration number, address and the other company identifiers that the e-invoice fields require, and set up each branch or journal that issues invoices. Use one company record per taxpayer, because each entity is onboarded separately with its own credentials and certificates. Keep master data for customers and products complete, since the invoice fields depend on it. Done when a validation pass on the staging copy shows no missing mandatory fields for a sample invoice from each journal.

  5. Enable Phase 2 modules and onboard each company

    Activate the Phase 2 integration for each company using its own onboarding credentials and certificate material, following the ZATCA onboarding steps current at the time of setup. Confirm each step against the official ZATCA guidance and the Odoo documentation, because onboarding requirements change. Store the certificates and secrets in the client's approved secret management, not in shared notes. Done when each company shows a successful onboarding status and a test invoice is accepted in the sandbox or simulation environment.

  6. Configure POS e-invoicing and simplified invoices

    With l10n_sa_edi_pos installed, configure each point of sale so simplified invoices are issued and reported in line with the company's onboarding. Assign the right journal and tax configuration to each POS, and test cash, card and refund scenarios on the staging copy. Confirm with the client's tax advisers which sales need simplified treatment and how returns are handled. Done when each terminal produces a compliant test receipt and the POS reports reconcile with the accounting entries.

  7. Test on a neutralized staging copy

    Duplicate the production database to a staging environment and neutralize it so that no live customer data or outbound notices reach real parties. Run the full scenario set: standard and simplified invoices, credit and debit notes, withholding cases, POS sales and refunds, and failure handling when the ZATCA service is unavailable. Record each test result, the expected output and the actual output, and have the finance team sign off on the reconciliations. Done when the test log shows every scenario passed and the open defects are either fixed or accepted in writing.

  8. Go live and monitor each company

    Schedule the production switch-over for each company separately, freeze configuration changes for the cutover window, and confirm the production onboarding status before the first live invoice. Monitor rejected submissions, queue backlogs and certificate expiry dates after go-live, and assign an owner for each company. Keep the staging copy in sync with production for future changes, and retest after every Odoo upgrade. Done when the first live invoices for each company are accepted, the monitoring owner is named and the runbook is filed.

How an invoice moves from Odoo to ZATCA

The diagram starts at a sales order or a point of sale sale inside the client's Odoo. Both paths pass through the l10n_sa tax and QR step, which applies the Saudi localization's VAT and produces the Phase 1 QR code. Phase 2 hands the invoice to l10n_sa_edi, which submits it to ZATCA. The response returns to Odoo and is stored in the client's own database as evidence. Check the trust boundary: the ZATCA exchange is the only step that leaves the client's infrastructure, and the stored status is what reviewers will ask to see.

Invoice flow from Odoo sales and POS through ZATCA, with the external trust boundary marked.

Questions buyers ask before implementing ZATCA e-invoicing in Odoo

What drives the cost of ZATCA e-invoicing in Odoo?

The main cost drivers are the Odoo edition and plan, the number of companies that need onboarding, the number of Point of Sale terminals and branches that issue invoices, and the amount of integration testing needed before go-live. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise, and that only Custom includes multi-company, external API access and custom modules, so a multi-company Phase 2 setup on your own infrastructure depends on that plan. Ask for a quote that lists each company, each POS, each integration test cycle and each environment (test and production) as separate line items. Licensing recurs, while configuration, onboarding and testing are usually one-time work, though the ongoing support you buy afterwards recurs.

How long does ZATCA e-invoicing take to set up in Odoo?

Duration depends on how many companies you onboard, how many POS and sales channels issue simplified invoices, how clean your tax master data is, and how long the ZATCA onboarding and integration tests take in your environment. No duration figure is supplied for this work, so ask your partner for a timeline built from the written scope rather than a general estimate. Phase 1 QR codes come with the base Saudi localization, so that part is mostly configuration and verification. Phase 2 needs the l10n_sa_edi module, certificate setup and API testing, which usually takes the most time. Confirm with ZATCA's current requirements and your own environment before fixing dates.

What does our team need to provide for the project?

You need to provide accurate company and tax data for each legal entity, including the VAT registration details the invoices must show, the chart of accounts and tax mapping, product and customer master data, and the branch and POS list. You also need ZATCA device and certificate material for the onboarding steps, access to the Odoo database and hosting environment, and named staff for finance, tax, POS operations and IT. Expect finance and tax staff to review test invoices and reconcile totals, since the Saudi localization preconfigures standard VAT at 15 percent but your rates, exemptions and withholding rules must be checked against your own transactions.

Can our internal team implement ZATCA e-invoicing in Odoo without a partner?

Yes, an internal team with Odoo accounting and localization experience can do the work, provided it has time for configuration, testing and the ZATCA onboarding steps. The questions to answer honestly are whether you have someone who has deployed Odoo Phase 2 integration before, whether your team can run the POS and sales testing without disrupting trading, and who will maintain the setup after each Odoo upgrade. A partner adds value mostly in test design, environment separation and handover documentation. Compare the cost of internal time against a fixed-scope quote, and ask whether the scope covers testing in a non-production copy first.

Does Odoo support cover ZATCA compliance?

Odoo support and the Saudi localization are separate things. Odoo's standard support covers the first three years after a major release on Odoo Online, Odoo.sh and on-premise, including security updates and bug fixes, and paid extended support afterwards is limited to Odoo.sh for select versions and on-premise. That support covers the Odoo software, not your tax configuration, your invoice content or your compliance decisions. Confirm with Odoo which versions and hosting types are currently covered, and confirm with your tax adviser and ZATCA guidance what your obligations are. DeployOpen prepares systems and evidence for compliance assessments but does not issue certifications or audit reports.

Which Odoo version should we use for ZATCA e-invoicing?

Choose a version that is still in standard support for the whole planned life of the system, and plan the upgrade path before you build. Odoo's documentation lists Odoo 19.0 with standard support until September 2028 and Odoo 20.0 with standard support planned until September 2029, while Odoo 17.0 standard support ended in September 2026. Odoo SaaS versions are released every two to three months and cannot use extended support, and Odoo Online and Odoo.sh require major upgrades every two years. Ask your partner to confirm that the Saudi localization modules you need are available for the version you pick, because module availability by version must be checked in the Odoo documentation for that release.

What should we test before going live with Phase 2?

Test in a separate copy of the production database before any live invoices are sent. Duplicate the database with neutralization, install the Saudi modules, run the onboarding and invoice submission flow for each company, and check the QR codes, tax totals, rounding, credit and debit notes, and POS simplified invoices. Include failure cases such as rejected submissions and expired certificates, and confirm how staff recover from them. Odoo's documentation covers database duplication with neutralization for test copies, which keeps test traffic away from real customers. Document each test case so the same checks can be repeated after every upgrade.

What are the main risks in a ZATCA project on Odoo?

The most common risks are unclear tax data, POS and invoice flows that were not tested together, certificates that expire without a renewal owner, and upgrades that break the integration. A less obvious risk is treating the Phase 1 QR code setup as proof of Phase 2 readiness, since the Phase 2 API integration is a separate module with its own setup and testing. Reduce these risks with a written scope, named owners for tax and IT, a tested non-production environment, a certificate calendar, and an upgrade test plan that includes the ZATCA flows.

How DeployOpen scopes and delivers ZATCA-ready Odoo configuration

DeployOpen plans, configures, tests and documents Odoo for Saudi e-invoicing as a fixed-scope engagement inside your own infrastructure. We start from which ZATCA phase applies to each legal entity, then build, verify and hand over the configuration so your finance and compliance teams can review it.

How we scope

  • Confirm which ZATCA phase applies to each legal entity, branch and point of sale before any configuration starts.
  • Map which sales journals, POS sessions, purchase flows and withholding tax cases must produce e-invoices or QR codes.
  • Agree deliverables, environments, test cases and timelines in writing, with the quote following from that written scope.

How we build

  • Set up the Saudi localization and the modules for your phase, with tax, journal and company data configured per entity.
  • Configure simplified invoices from Point of Sale and VAT and withholding tax mappings against your chart of accounts.
  • Test invoices end to end in a staging copy and confirm the results with your finance and tax advisers before go-live.

How we hand over

  • Document configuration, onboarding steps per company, tax mappings, user roles and the test evidence for each scenario.
  • Provide a runbook covering how to handle rejected or failed submissions, credit notes and changes to company data.
  • Walk your finance, compliance and IT teams through the system so they can review it and operate it after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan Odoo version upgrades with a tested staging copy, since Odoo's upgrade service expects testing before production.
  • Confirm with Odoo and your tax adviser how ZATCA rule changes and Odoo release timing will affect your retainer scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.