ZATCA & Compliance

ZATCA Phase 2 E-Invoicing in Odoo: How to Connect Odoo to Fatoora

Already running Odoo? You do not need a new system for ZATCA Phase 2. Here is what has to be in place, where Odoo setups usually fail, and how to go live before the Wave 25 deadline.

By CODEXTERS••7 min read

If your business runs on Odoo and your taxable revenue passed SAR 187,500 in any year from 2022 to 2025, Wave 25 means your invoices must be connected to ZATCA by 1 February 2027.

The good news: you can keep Odoo. The work is connecting it correctly, cleaning the data ZATCA checks, and onboarding each invoicing point. This guide explains what that involves and where Odoo setups usually go wrong.

What Phase 2 asks of your Odoo

Phase 2 means every invoice is produced in ZATCA’s XML format, signed with your certificate, given a QR code and hash, and sent to the Fatoora platform. Standard (B2B) invoices must be cleared by ZATCA before you send them. Simplified (B2C) invoices are reported within 24 hours.

Recent Odoo versions include a Saudi e-invoicing module, but whether it fits depends on your Odoo version, edition, hosting and customisations. Older versions and heavily customised setups often need extra work or an integration layer.

  • Check your Odoo version and whether the Saudi e-invoicing module is available to you.
  • Customisations to invoices or taxes must still produce valid ZATCA XML.
  • Every company and invoicing point (including POS) needs to be onboarded.

Data that causes rejections in Odoo

Most Odoo rejections are not bugs. They come from missing or wrongly formatted data that Odoo allowed when invoices were only PDFs.

  • Company VAT number and full national address (building number, district, postal code).
  • Customer VAT number and address on B2B invoices.
  • Tax set up correctly on every product, including zero-rated and exempt items.
  • Credit notes linked to the original invoice with a reason.
  • Rounding and discount lines that make totals differ from ZATCA’s calculation.

How onboarding works

You generate a one-time code (OTP) in your Fatoora portal. Your system uses it to request a certificate from ZATCA, sends test invoices to pass the compliance checks, and then receives the production certificate it uses to sign real invoices.

The OTP expires quickly, so generate it only when you are ready to connect. Certificates also expire and need renewing, so plan for that from day one.

How we connect Odoo to ZATCA

  • Free 15-minute check: your Odoo version, hosting and how you invoice today.
  • Data clean-up: company, customer and tax settings fixed before going live.
  • Connection and onboarding: you send us the OTP, we connect and test, usually in one day.
  • Monitoring: every invoice checked, and rejections fixed by us, not by you.
  • Certificate renewals and updates when ZATCA changes its rules.

Frequently asked questions

Do I need to replace Odoo for ZATCA Phase 2?+

No. Odoo can be connected to ZATCA. The work is enabling or adding the integration, cleaning your data and onboarding each invoicing point.

Does Odoo Community support ZATCA Phase 2?+

It depends on the version and the modules available to you. Community setups often need an extra module or an integration layer. A quick check of your setup will tell you which route fits.

Does Odoo POS need to be integrated too?+

Yes. Every point that issues invoices, including POS, must produce compliant e-invoices and be onboarded with ZATCA.

How long does it take to connect Odoo?+

If your data is clean, connection and onboarding usually take about a day. Data clean-up or customisations can add time, so start well before 1 February 2027.

Topics covered

ZATCA Odoo integrationOdoo ZATCA phase 2Odoo e-invoicing Saudi ArabiaOdoo Fatoora integrationOdoo ZATCA onboardingOdoo wave 25

Related reading

Need help building this?

CODEXTERS designs and builds software across ERP and ERPNext, ZATCA e-invoicing compliance, AI and data platforms, SaaS products, and startup MVPs — for companies of every size.

ERP & ERPNext Compliance AI & Data SaaS & MVP