ZATCA e-invoicing
ZATCA Phase 2 E-Invoicing Integration for Your ERP
ZATCA Phase 2 e-invoicing integration connects the system that issues your invoices to ZATCA's Fatoora platform, so tax invoices are cleared and simplified invoices are reported in the required UBL XML format. MultiGenesys builds this integration on demand for ERPs, accounting systems and custom billing platforms, either directly against the Fatoora APIs or through the e-invoicing provider you choose.

Outcomes
What you get
Ready for your wave
Your invoicing system is onboarded, tested and integrated with Fatoora before the integration date in your ZATCA notification.
Invoicing does not stop
Clearance calls are queued and retried, so a slow response never blocks a sale or loses an invoice.
Rejections fixed at the source
Each invoice is validated before submission, and any ZATCA warning or error is shown on the invoice record with the reason.
One integration for every device
Each invoicing unit, from head-office ERP to branch POS, is onboarded and tracked from one place.
What’s included
ZATCA E-Invoicing Integration, end to end
Fatoora onboarding
Generation of the certificate signing request for each e-invoice generation solution unit, compliance checks, and retrieval and renewal of the cryptographic stamp identifiers (CSIDs).
UBL 2.1 XML generation
Standard and simplified tax invoices, credit notes and debit notes built from your ERP data with ZATCA's Saudi extensions and mandatory fields.
Stamp, hash and QR code
Invoice hashing, previous-invoice hash chaining, invoice counters, UUIDs, the cryptographic stamp and the Phase 2 QR code.
Clearance and reporting flows
Standard (B2B and B2G) invoices sent for clearance before they reach the buyer; simplified (B2C) invoices reported within 24 hours of issue.
Validation and error handling
Pre-submission checks against ZATCA's rules, retries with backoff, and an exceptions queue that explains every warning and rejection.
ERP and POS write-back
Cleared XML, QR code and status written back to SAP, NetSuite, Zoho Books, a POS or a custom ERP, so printed and emailed invoices carry the right data.
Process
How a ZATCA E-Invoicing Integration engagement runs
Clear stages, working software at every step, and the same team from first workshop to production support.
- 01
Step 1
30-min scoping call
We review your invoicing systems and devices, invoice types, volumes, wave and whether you integrate directly or through a provider.
- 02
Step 2
Map and design
We map your data to ZATCA's XML fields, list master data gaps such as buyer VAT numbers and addresses, and design the clearance and reporting flows.
- 03
Step 3
Build and simulate
We build the integration and run it against ZATCA's developer and simulation environments with real invoice scenarios.
- 04
Step 4
Onboard and go live
We onboard each unit to production, switch on clearance and reporting, and monitor responses through the first billing cycles.
Why MultiGenesys for ZATCA E-Invoicing Integration
ZATCA’s e-invoicing program has two phases. Phase 1, the generation phase, began on 4 December 2021 and required invoices to be issued electronically. Phase 2, the integration phase, began on 1 January 2023 and is being rolled out in waves. Taxpayers in each wave must connect their invoicing systems to ZATCA’s Fatoora platform by the integration date in their notification.
What does Phase 2 require of your system?
- Format: invoices and notes in UBL 2.1 XML with ZATCA’s Saudi extensions and mandatory fields.
- Onboarding: each e-invoice generation solution unit is registered and receives a cryptographic stamp identifier (CSID) from ZATCA after compliance checks.
- Stamping and chaining: each invoice carries a cryptographic stamp, a UUID, an invoice counter and the hash of the previous invoice, which makes gaps and tampering visible.
- QR code: Phase 2 invoices carry a QR code with the seller and invoice details, the invoice hash and stamp data.
- Clearance: standard tax invoices, mainly B2B and B2G, are cleared by ZATCA before they are shared with the buyer.
- Reporting: simplified tax invoices, mainly B2C, are reported to ZATCA within 24 hours of issue.
Technical detail lives in ZATCA’s published XML implementation standard and developer documentation, which we build to and retest against when they change.
Who is in scope now?
ZATCA announced Wave 25 in July 2026. It covers resident taxpayers whose revenue subject to VAT exceeded SAR 187,500 in any of 2022, 2023, 2024 or 2025, and they must integrate with Fatoora by 1 February 2027. The threshold is lower than in earlier waves, so many smaller businesses with custom or regional systems are now in scope. ZATCA notifies targeted taxpayers and says it will give at least six months’ notice before each later wave. Check the latest timeline with ZATCA.
Where integrations go wrong
The format is strict and the clearance model makes errors visible at once. Common failures we design against:
- Buyer VAT numbers or addresses missing from the customer master, so standard invoices fail clearance.
- Invoice counters and previous-invoice hashes broken when two devices or a retry issue invoices out of order.
- Credit notes that do not reference the original invoice correctly.
- Rounding differences between line totals and invoice totals.
- Expired or misconfigured CSIDs on branch devices.
What we bring
We built FinAIQ, an accounting automation platform that validates financial records and posts them to SAP, NetSuite, Zoho Books, QuickBooks, Xero and Tally with queue-based delivery, so an unavailable API never loses a record. ZATCA work uses the same patterns: validation before submission, queued clearance calls with retries, and an audit trail from ERP record to cleared XML. Our accounting system integration page covers the ledger side.
Built on demand
This is scoped project work, not a packaged product. It starts with a 30-min call. A typical connector goes live in 2 to 3 weeks, depending on scope. See software development in Saudi Arabia, Riyadh and Jeddah, or read our ERP and e-invoicing overview in Arabic.
Operating in the UAE too? See UAE e-invoicing integration and the Peppol e-invoicing integration overview.
Is your wave date set? Book a 30-min call.
MultiGenesys is not approved or certified by ZATCA. This page is engineering guidance, not legal or tax advice.
Technologies we use
- ZATCA UBL 2.1 XML
- Fatoora clearance and reporting APIs
- CSR, CSID and ECDSA signing
- Phase 2 QR code (TLV)
- SAP, NetSuite, Zoho Books and POS integrations
- Java / Spring Boot
- Node.js / TypeScript
- AWS SQS / RabbitMQ
- PostgreSQL
Engagement models
Work with us the way that suits you
Dedicated product team
A stable, cross-functional team — engineers, design, QA, DevOps — that owns your roadmap quarter after quarter.
Fixed-scope delivery
A defined build with milestones, demos and a hard definition of done.
Embedded engineers
Senior engineers inside your team, in your tools and your stand-ups, with no hand-over boundary.
Working standards
What you can expect on every project
Reviewed, version-controlled code
Every change goes through pull requests and peer review in your repository, with a clean history you own.
Automated testing in CI/CD
Unit, integration and API tests run in the pipeline on every change, so regressions are caught before release.
Security by default
Least-privilege access, secrets management, OWASP-aligned checks and environment separation from day one.
Production-ready by default
Idempotent APIs, audit trails, monitoring, alerting, backups and documented runbooks ship with every platform.
Frequently asked questions
Still unsure? Ask us directly — we reply within one business day.
Which ZATCA wave am I in?
ZATCA notifies each taxpayer in a wave directly. Wave 25 covers resident taxpayers whose VAT-subject revenue exceeded SAR 187,500 in any of 2022, 2023, 2024 or 2025, with integration due by 1 February 2027. ZATCA says it gives at least six months' notice before later waves. Check the latest timeline with ZATCA.
Is MultiGenesys a ZATCA-approved solution provider?
No. MultiGenesys holds no ZATCA approval or certification. We build the integration between your systems and Fatoora, either directly or through an e-invoicing provider you choose. Your business remains the taxpayer responsible for compliance.
What is the difference between clearance and reporting?
Clearance applies to standard tax invoices, mainly B2B and B2G: the invoice goes to ZATCA and comes back cleared before you share it with the buyer. Reporting applies to simplified tax invoices, mainly B2C: you issue the invoice and report it to ZATCA within 24 hours.
Is ZATCA e-invoicing based on Peppol?
No. ZATCA uses its own Fatoora platform and a UBL 2.1 based XML format with Saudi extensions. If you also trade in Peppol countries such as the UAE, we can build both integrations on one shared invoice data layer.
Can you integrate a custom or heavily modified ERP?
Yes. As long as we can read final invoice data and write status back, through an API, database or file exchange, we can build the XML generation, signing and Fatoora connection around it.
How long does ZATCA integration take?
A typical connector goes live in 2 to 3 weeks, depending on scope. The number of invoicing units, invoice types, master data quality and ZATCA simulation results drive the timeline, so start well before your wave date.
Related services
Accounting System Integration
Connectors for Tally, Zoho Books, QuickBooks, Xero, SAP and NetSuite with GST-aware validation built in.
Tally Integration Services
TallyPrime connectors over XML, ODBC and TDL that sync masters and vouchers with GST fields and no duplicate postings.
Zoho Books and Tally Integration
Two-way sync or one-time migration between Zoho Books and TallyPrime, with ledgers, items and GST mapped correctly.
Salesforce Integration
Bi-directional, reconciled sync between Salesforce and your ERP, accounting, portals and legacy systems.
Tell us what you’re building. We’ll show you how we’d ship it.
Share a few lines about your project. A senior engineer — not a salesperson — replies within one business day.