Phase 1 (generation) and phase 2 (integration)
Phase 1, since 4 December 2021, requires issuing and keeping invoices electronically; phase 2, from 1 January 2023 in waves, adds XML, stamping and integration with FATOORA.
The controls call phase 1 the generation phase; it began on 4 December 2021 for all taxpayers. It requires issuing invoices and notes with a compliant solution, with the Annex 2 fields, in no prescribed format, keeping and archiving them, and a five-tag QR code on simplified invoices. A scanned paper invoice is not an e-invoice.
Phase 2, the integration phase, began on 1 January 2023 in groups ZATCA selects, each notified at least six months ahead. Documents are produced as XML (or PDF/A-3 with embedded XML), stamped, carry the hash, counter and a nine-tag QR, and the device is connected to FATOORA: standard documents are cleared, simplified ones reported.
The prohibited functions (such as editing or deleting issued invoices, changing the time or resetting the counter) apply from phase 1. Phase 2 builds on phase 1 rather than replacing it.
In JooDax
Partly builtThe till works to phase-2 requirements for simplified documents (XML, stamp, chain, nine-tag QR, reporting once onboarded). Books' A4 invoices print the five-tag phase-1 code without a stamp and are not reported.
crates/jdx-app/src/books/print.rs
Questions and answers
When do I join phase 2?
When ZATCA notifies you of your wave, at least six months before its date; waves are set by VAT-subject revenue thresholds.
Related pages
- KSA-14 QR code
- KSA-15 Cryptographic stamp
- KSA-13 Previous invoice hash (PIH)
- KSA-16 Invoice counter value (ICV)
- BR-KSA-27 · The document must contain a QR code encoded as base64Binary.
Related concepts
- Integration waves and deadlinesZATCA brings taxpayers into phase 2 in waves by VAT-subject revenue, from SAR 3 billion in wave 1 to SAR 187,500 in wave 25.
- The e-invoice QR codeA square code printed on the invoice that carries its key data and stamp as base64-encoded TLV, so a buyer can check it with a phone.
- Prohibited functions in e-invoicing solutionsFive things no invoicing solution may do from phase 1: uncontrolled access, tampering with invoices or logs, more than one sequence, exporting the stamping key, and changing the time.
E-invoicing in Saudi Arabia (FATOORA)
Sources
- الضوابط والمتطلبات والمواصفات الفنية والقواعد الإجرائية اللازمة لتنفيذ أحكام لائحة الفوترة الإلكترونية (قرار المحافظ رقم 62738 وتاريخ 1443/11/23هـ) (vfile dated 20230519 (decision 62738)) — ZATCA
- Controls, Requirements, Technical Specifications and Procedural Rules for Implementing the Provisions of the E-Invoicing Regulation (Decision No. 62738 dated 23/11/1443H) (vfile dated 20230519 (decision 62738)) — ZATCA
- Detailed Guidelines for E-Invoicing (vVersion 2) — ZATCA
- E-Invoicing roll-out phases (vpage last updated 2026-09-01) — ZATCA
- ZATCA news release on integration wave 1, and Governor decision No. 62737 dated 23/11/1443H (Umm Al-Qura) (vdecision 62737 dated 23/11/1443H) — ZATCA
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.