Sibyl Compute — Elastic Cloud Servers◆Autonomous DB — Self-Managing SQL/NoSQL◆AI Vision & Voice APIs — Production Ready◆Sibyl Commerce — Headless E-Commerce◆ERP Suite — Finance, Supply Chain, HCM◆Sibyl Sentinel — DDoS + WAF Protection◆Sibyl Connect — 200+ Payment & API Integrations◆Sibyl Flow — Serverless Functions at Scale◆Insight Engine — Real-Time Business Analytics◆Human Capital — Payroll & HR AutomationSibyl Compute — Elastic Cloud Servers◆Autonomous DB — Self-Managing SQL/NoSQL◆AI Vision & Voice APIs — Production Ready◆Sibyl Commerce — Headless E-Commerce◆ERP Suite — Finance, Supply Chain, HCM◆Sibyl Sentinel — DDoS + WAF Protection◆Sibyl Connect — 200+ Payment & API Integrations◆Sibyl Flow — Serverless Functions at Scale◆Insight Engine — Real-Time Business Analytics◆Human Capital — Payroll & HR Automation
Tax Compliance

ZATCA E-Invoicing Phase 2 Integration: ERP Guide for Saudi Businesses

Sibyl ERP Team November 30, 2026 3 min read
ZATCA E-Invoicing Phase 2 Integration: ERP Guide for Saudi Businesses — Sibyl Technologies
Short answer

ZATCA Phase 2 requires Saudi VAT-registered businesses, in waves notified by ZATCA, to integrate their invoicing systems with the Fatoora platform: B2B tax invoices are cleared by ZATCA before issue, simplified (B2C) invoices are reported within 24 hours, all in UBL XML with QR codes and cryptographic stamps.

ZATCA e-invoicing integration: how ZATCA Fatoora Phase 2 (integration phase) works — clearance vs reporting, XML/UBL, QR codes, cryptographic stamps.

Saudi Arabia's e-invoicing (Fatoora) programme moved from simply generating electronic invoices (Phase 1, from December 2021) to integrating with ZATCA's systems (Phase 2), rolled out in waves based on revenue. If ZATCA has notified your wave, your ERP must connect. Read on for a clear, practical guide to ZATCA e-invoicing integration.

Phase 1 vs Phase 2

Phase 1 (Generation) Phase 2 (Integration)
Format Electronic invoice with QR UBL 2.1 XML
Connection to ZATCA No Yes, via API
B2B invoices Issued directly Cleared by ZATCA before sharing
B2C invoices Issued directly Reported within 24 hours
Security Basic Cryptographic stamp, hash chain

Onboarding steps

  1. Receive ZATCA's notification for your wave (typically six months' notice).
  2. Make sure your ERP or solution supports Phase 2.
  3. Generate a CSR per invoicing unit (EGS) and onboard on the Fatoora portal with an OTP.
  4. Receive the compliance certificate, pass compliance checks, then get the production certificate (CSID).
  5. Go live: clearance for standard invoices, reporting for simplified ones.

What your ERP must do

  • Produce compliant UBL XML with all mandatory fields (Arabic where required).
  • Maintain invoice counters and previous-invoice hash.
  • Sign invoices with the cryptographic stamp.
  • Call clearance/reporting APIs and handle errors and warnings.
  • Store ZATCA responses and cleared XML.
  • Handle credit and debit notes linked to originals.

Common integration problems

  • Missing buyer VAT number or address fields for B2B.
  • Wrong VAT category codes (standard, zero-rated, exempt, out-of-scope).
  • Clock and timezone errors breaking timestamps.
  • Not handling ZATCA downtime with retry queues.

Odoo and ERPNext in Saudi Arabia

Odoo offers Saudi localisation with ZATCA integration; ERPNext supports ZATCA through community and partner apps. Either way, test thoroughly in ZATCA's simulation environment before going live.

Sibyl Technologies implements Odoo and ERPNext with e-invoicing integrations across tax regimes, including FBR in Pakistan. See ERP software in Saudi Arabia or contact us.

General guidance; confirm your obligations with ZATCA's official documentation.

Phase 2 readiness checklist

  • Inventory every place invoices are issued: ERP, POS terminals, branch systems, e-commerce. Each may need its own onboarded unit.
  • Verify buyer master data: VAT number, address with building number and postal code for B2B buyers.
  • Map products to VAT categories with exemption reason codes where needed.
  • Test credit notes and debit notes against cleared invoices.
  • Plan for downtime: a queue that retries and alerts finance.
  • Train staff to read ZATCA warnings, not ignore them.

Typical project timeline

Stage Duration
Gap analysis of current ERP 1–2 weeks
Configuration and development 2–6 weeks
Simulation testing 2–3 weeks
Onboarding and go-live 1 week

Larger groups with multiple branches and POS systems should start at least three months before their wave date.

Archiving

Keep cleared XML invoices and ZATCA responses for the statutory retention period. Your ERP's attachments or a document archive should store them in a searchable way.

Further reading on ZATCA e-invoicing integration

Frequently asked questions

Who must comply with ZATCA Phase 2?

VAT-registered persons in Saudi Arabia in the waves ZATCA notifies, which have been rolled out progressively by revenue size.

What is the difference between clearance and reporting?

Clearance means ZATCA validates a B2B tax invoice before you share it; reporting means you send simplified B2C invoices to ZATCA within 24 hours after issuing them.

Can I use Odoo for ZATCA Phase 2?

Yes, Odoo's Saudi localisation supports ZATCA integration; correct configuration and onboarding per invoicing unit are required.

What happens if ZATCA's system is down?

Your ERP should queue invoices and retry; follow ZATCA's guidance for system unavailability.

Does Phase 2 apply to POS receipts?

Simplified tax invoices from POS are in scope and must be reported to ZATCA within 24 hours, so POS systems need integration too.

Tags: zatcasaudi arabiae-invoicingvaterp
Start Today

Ready to Transform Your Enterprise?

Join 500+ enterprises already running on the Sibyl Ecosystem. Try it live right now, or get a personalised demo within 24 hours.

No credit card required Setup in 24 hours Cancel anytime