Guide · ZATCA e-invoicing on Odoo

Is Odoo's Saudi e-invoicing module enough for ZATCA Phase 2?

For the connection to ZATCA, Odoo says yes. Odoo's 19.0 documentation, checked 6 December 2026, says its Saudi Arabia - E-invoicing module (l10n_sa_edi) “enables ZATCA Phase 2 API integration”: it clears B2B tax invoices, reports B2C simplified invoices with a QR code, and onboards each sales journal in Sandbox, Simulation (Pre-Production) and Production modes. It doesn't complete your company and contact data, choose your journal model or train users to correct invoices with credit and debit notes. Lab0, your AI implementation partner, scopes, configures, tests and documents that Odoo side with you.

Updated 6 December 2026 · Written by Lab0

What Odoo ships for Saudi Arabia, checked 6 December 2026

Odoo's Saudi Arabia fiscal localization page for version 19.0 lists six modules:

Odoo moduleTechnical nameWhat Odoo says it does
Saudi Arabia - Accountingl10n_saThe default fiscal localization package, with Phase 1 QR code support
Saudi Arabia - Accounting Reportsl10n_sa_reportsAccounting reports for Saudi Arabia
Saudi Arabia - E-invoicingl10n_sa_edi“Enables ZATCA Phase 2 API integration for e-invoicing compliance.”
Saudi Arabia - E-invoicing (Simplified)l10n_sa_edi_pos“Enables e-invoicing through PoS.”
Saudi Arabia - Point of Salel10n_sa_posCompliance fields and behavior for PoS invoices
Saudi Arabia - Withholding Taxl10n_sa_withholding_taxInstalls the Withholding Tax on Payment module

The localization's core modules install with it, and the rest are installed by hand. Odoo's source code publishes the e-invoicing module in Odoo Community under the LGPL-3 license. The accounting reports module isn't in the Community code.

What the e-invoicing module covers, and what you add

AreaWhat Odoo doesWhat you add
Clearance and reportingClears B2B tax invoices. For B2C simplified tax invoices, it generates a QR code and reports them. An invoice with a related contact, such as an invoicing address, goes to clearance.Rules for which customers and sales channels are B2B, so each invoice takes the right path.
Company and contactsRequires a company name of at most 63 characters, the full address with District, Building Number and Plot Identification, an Identification Scheme, the VAT Number and SAR as currency, with the same setup on contacts.Complete records before onboarding. Odoo warns that gaps lead to rejection during ZATCA onboarding.
Branches and journalsA branch uses the parent's VAT Number and its own CRN. Billing runs through the parent's sales journal, or a branch journal for parallel processing.A decision on the journal model, because each Sales journal is onboarded on its own.
Credit and debit notesA ZATCA Reason field with the reasons ZATCA accepts, and the Customer Reference field for the original invoice number on notes not created from it.A rule for which reason applies, and users trained to correct with notes rather than resets.
ArabicBilingual invoices through the Gulf Cooperation Council Format option. Odoo notes that tax invoices and simplified tax invoices must be in Arabic.Arabic layouts approved by your finance team, and a language set on each customer.
ZATCA responsesCodes such as 200, 202 with warnings and 400 rejected, shown in the chatter, with Retry after a fix.A named owner for warnings and rejections.

Clearance, reporting and your wave

Odoo makes ZATCA's two paths visible. Once a user confirms an invoice, a banner offers Process now, and the chatter shows ZATCA's response in green, yellow or red. Red means rejected and not legally valid until it is corrected and sent again with Retry. Behind that sits ZATCA's rule from its guidelines: standard tax invoices are cleared before they reach the buyer, and simplified invoices are reported within 24 hours.

Your wave. ZATCA brings taxpayers into Phase 2 in waves, which began on 1 January 2023, and tells each one at least six months in advance (roll-out phases). Its latest announced wave, Wave 25 of 24 July 2026, applies to taxpayers whose revenue subject to VAT exceeded SAR 187,500 in 2022, 2023, 2024 or 2025, with integration due by 1 February 2027. Every announced wave is in ZATCA Phase 2 e-invoicing by ERP.

Onboarding Odoo: Sandbox, Simulation and Production

Odoo sets the ZATCA API mode under the Saudi Arabia Electronic Invoicing settings in Accounting. Its three modes:

  • Sandbox. A common, pre-configured test environment. Odoo fills in the OTP for you and gives a test VAT number for the company.
  • Simulation (Pre-Production). Your own test environment, on a duplicate of your live database, onboarded with an OTP from the Fatoora Simulation Portal. Invoices in this mode aren't legally valid.
  • Production. Your live database, onboarded with an OTP from the Fatoora Portal's production environment.

In every mode you open each Sales journal, choose Onboard on its ZATCA tab and enter the six-digit OTP. OTPs from the simulation or production portal expire after 60 minutes, as ZATCA's portal manual also says. Once the mode is Production and an invoice has gone to ZATCA, Odoo can't switch back. Point of Sale onboards its default Invoices journal the same way, with the Saudi Arabia - E-invoicing (Simplified) module installed.

Running UAE and Saudi e-invoicing on one Odoo database

Odoo treats the two countries with different modules. A Saudi company's onboarded sales journals carry its CSIDs and send to ZATCA, while a UAE company relies on the UAE localization and its UBL PINT module, with sending arranged through an Accredited Service Provider. In a multi-company database, test both routes before either goes live. For the UAE side, see Odoo and UAE e-invoicing: is the UAE localization enough?

What Lab0 delivers on Odoo

Lab0 is your implementation partner for the Odoo side, from scope to go-live. You get:

  • A scope. Saudi companies and branches, the journal model, installed modules, custom modules that touch invoices, and Point of Sale.
  • Data fixes. Lab0's agents read your Odoo data and write the company, contact and tax changes your data owners approve.
  • Configuration. Modules, journals and the ZATCA settings, set up first in a duplicate database in Simulation mode.
  • Testing. Consultant-led tests of every invoice type and correction in Simulation, before Production onboarding.
  • Documents. The configuration, the test evidence and a runbook for warnings, rejections and CSID renewal.

A consultant approves every agent output before you see it, and changes reach production only after approval. Lab0 isn't a ZATCA solution provider and sells no Saudi e-invoicing product. Running Oracle or SAP in other Gulf entities? See Oracle and SAP implementation partners in the GCC.

Sources

Each source was checked on 6 December 2026.

ZATCA Phase 2 on other ERPs

For the waves, clearance and reporting, and every ERP side by side, see ZATCA Phase 2 e-invoicing by ERP. Other ERPs: Oracle Fusion, SAP S/4HANA and ECC, Dynamics 365 Finance and Operations, Business Central, SAP Business One, NetSuite, Zoho Books and ERPNext. For the rest of the Gulf, see E-invoicing deadlines in the GCC by country.

FAQ

Common questions

Can I reset to draft or cancel an Odoo invoice that was already sent to ZATCA?
Not in Production. Odoo's documentation says invoices successfully submitted to ZATCA can be reset to draft only in Sandbox or Simulation (Pre-Production) mode, and that the XML and PDF stay attached to the invoice and can't be deleted. ZATCA's guidelines say issued invoices can't be modified or deleted; to cancel one, you issue a credit note and a new invoice. In Odoo, choose the ZATCA Reason on the credit note.
Do we need Odoo Enterprise or Odoo.sh for ZATCA Phase 2?
Not for the e-invoicing module. Odoo's source code publishes Saudi Arabia - E-invoicing (l10n_sa_edi) in Odoo Community under the LGPL-3 license, while the Saudi Arabia - Accounting Reports module isn't in the Community code. Odoo's documentation says Odoo Online can't run custom modules or modules from the Odoo Apps Store, so hosting matters for any invoicing code you add, not for Odoo's own module.
Why did ZATCA reject our Odoo invoice, and how do we resend it?
Odoo shows ZATCA's answer in the invoice chatter. A 400 means rejected: the invoice isn't legally valid until you fix the issue in the invoice or company settings and click Retry. A 202 means accepted with warnings, which Odoo says may become rejections later. ZATCA's guidelines add that a rejected invoice goes back in like a new one, with its own counter value and hash.
Does each Odoo branch or sales journal need its own CSID?
Each Sales journal is onboarded separately, with its own OTP, and Odoo treats it as a ZATCA solution unit. A branch uses the parent company's VAT Number with its own Commercial Registration Number, and can bill through the parent's journal or a journal of its own. When a journal stops issuing invoices, revoke its CSID in the Fatoora portal under View List of Solutions and Devices.
Are invoices created in Odoo's Simulation mode legally valid?
No. Odoo's documentation says invoices in Simulation (Pre-Production) mode aren't legally valid, which is why you run that mode on a duplicate of your live database, with an OTP from the Fatoora Simulation Portal. Once your live database is in Production and has submitted an invoice to ZATCA, Odoo can't switch it back to Sandbox or Simulation, so finish testing first.

Bring your Odoo companies

Tell us your Odoo version and hosting, your Saudi companies and branches, and your ZATCA wave. We'll walk through the journal model and what onboarding involves.