ZATCA · هيئة الزكاة والضريبة والجمارك
E-invoicing that passes clearance
on the first try.
Phase 1 generation, Phase 2 integration, UBL 2.1 XML, cryptographic stamping and TLV QR — handled by DMIndex Software's dedicated ZATCA hub, with a simulation suite before you go live.
The mandate
What ZATCA requires — in plain language
ZATCA's e-invoicing programme (نظام الفاتورة الإلكترونية, brand name FATOORA) requires every VAT-registered business in Saudi Arabia to issue invoices in a structured digital format. Paper, Word files and ordinary PDFs with pasted QR codes are not compliant.
The rollout started in December 2021 with the largest taxpayers and now descends wave by wave — the revenue threshold has fallen from SAR 3 billion to SAR 375,000 by wave 24. Saudi Arabia processed over 8.2 billion e-invoices through FATOORA in 2025, a 64% jump in one year. The system is here; the only question is when your wave lands.
- You sell B2B → your invoice is submitted for clearance before issue.
- You sell B2C → your simplified invoice is reported after issue.
- Either way → UBL 2.1 XML, cryptographic stamp and hash chain are mandatory.
Phase 1 vs Phase 2
The two phases, side by side
Generate correct e-invoices
Every invoice is created digitally, made tamper-proof, and carries a scannable QR code.
- TLV QR encoding seller, VAT number, timestamp, total, VAT
- No alteration after issuance
- Archived in the issued format
- Covers standard and simplified invoices
Talk to FATOORA in real time
Your software submits each invoice to ZATCA through API and receives clearance or compliance feedback.
- UBL 2.1 XML document format
- Cryptographic stamp with ZATCA-issued certificates
- Invoice hashing — each invoice chains the previous one
- EGS device registration and ongoing compliance monitoring
Technical requirements
Five building blocks of Phase 2
Everything ZATCA validates on every submission — and where each one lives in DMIndex Software.
UBL 2.1 XML
The international invoice standard ZATCA mandates. DMIndex generates it natively for every document — invoice, credit note, debit note, refund.
TLV QR code
Tag-Length-Value encoding of the five ZATCA fields — scannable by the ZATCA app and matched to the invoice itself.
Cryptographic stamp
After EGS registration, each invoice is signed with your device's certificate — proving origin and integrity.
Invoice hash chain
Every invoice embeds the hash of the previous one. Alter history and the chain breaks — tampering becomes detectable.
Clearance & reporting
B2B invoices are cleared before issue; B2C simplified invoices are reported after issue within the permitted window.
Simulation suite
Test every document type in the ZATCA sandbox first — DMIndex ships the test suite and API logs inside the product.
Go-live path
From VAT number to first cleared invoice — in days, not months
Confirm your wave
We check your VAT status and deadline against ZATCA's published waves — free on WhatsApp.
Register the EGS
Our team runs EGS device onboarding with your VAT credentials and receives the device registration ID.
Pass simulation
Standard invoice, simplified, credit note, refund — all validated in the sandbox until compliance reports are green.
Clear in production
Switch to production mode. Real invoices get cleared and reported, with logs you can hand to any auditor.
Fail clearance already?
Rejections, broken hash chains, expired certificates — send us the error on WhatsApp and we will tell you what ZATCA actually said, in plain language, before you buy anything.
ZATCA FAQ