Skip to main content

Compliance · Saudi Arabia

ZATCA e-invoicing explained: Phase 1, Phase 2 and your wave deadline

A practical guide to Saudi Arabia's FATOORA e-invoicing programme: how the waves work, which invoices are cleared and which are reported, what the QR code contains, and which steps RaqamBooks covers versus which you complete with ZATCA. Last verified 3 December 2026.

Last updated:

Published:

Phase 1 vs Phase 2: generation and integration

In shortZATCA's FATOORA programme has two phases. Phase 1 (Generation) has applied since 4 December 2021: invoices must be structured electronic documents, handwritten or manual invoices are not allowed, and simplified (B2C) invoices carry a QR code. Phase 2 (Integration) adds clearance or reporting to ZATCA and applies to taxpayers in waves.

Phase 1 is about how an invoice is produced and stored. Phase 2 is about connecting your invoicing system to ZATCA. A business can be fully Phase 1 compliant and still not have reached its Phase 2 wave. ZATCA notifies each wave in advance, at least about six months before the integration deadline, so use that period to test.

Phase 1 and Phase 2 compared
AspectPhase 1 (Generation)Phase 2 (Integration)
StatusIn force since 4 December 2021Rolled out in waves by taxable turnover
Invoice requirementStructured electronic invoice; no handwritten or manual invoicesUBL 2.1 XML with a cryptographic stamp, hash chain, UUID and counter
Contact with ZATCANot part of Phase 1, which covers generationClearance for standard invoices, reporting within 24 hours for simplified invoices
QR codeOn simplified (B2C) invoices, tags 1 to 5Tags 6 to 9 are added
Arabic contentRequired on invoicesRequired on invoices

Waves and deadlines: Wave 24 and Wave 25

In shortZATCA moves taxpayers into Phase 2 in waves based on taxable turnover. The Wave 24 integration deadline was 30 June 2026. Wave 25 was announced on 24 July 2026 with an integration deadline of 1 February 2027, for taxpayers whose taxable turnover exceeded SAR 187,500 in any year from 2022 to 2025. Check your wave in the ZATCA portal.

Check the status ZATCA shows for your VAT number in the ZATCA portal; do not rely on a vendor's or consultant's reading of the threshold. A single year above or below SAR 187,500 within 2022 to 2025 can change the answer.

Treat the deadline as the date your integration must already be live, not the date to start. Onboarding, test invoices and staff training all need time before it.

Recent ZATCA Phase 2 waves
WaveIntegration deadlineSelection criterionPosition on 3 December 2026
Wave 2430 June 2026As notified to you by ZATCA; confirm the criterion on zatca.gov.saDeadline has passed
Wave 25 (announced 24 July 2026)1 February 2027Taxable turnover above SAR 187,500 in any year from 2022 to 2025Deadline upcoming, about two months away
ZATCA notifies each wave at least about six months before its deadline. Watch zatca.gov.sa for later waves.

Clearance for B2B and B2G, reporting for B2C

In shortUnder Phase 2, standard tax invoices issued to businesses or government (B2B and B2G) are cleared by ZATCA in real time before being issued to the buyer. Simplified tax invoices issued to consumers (B2C) are reported to ZATCA within 24 hours of issuance. The invoice type decides whether you wait for ZATCA or report afterwards.

Standard vs simplified tax invoices under Phase 2
AspectStandard tax invoiceSimplified tax invoice
Typical customerBusiness or government (B2B, B2G)Consumer (B2C)
ZATCA stepClearanceReporting
TimingIn real time, before the invoice is issued to the buyerWithin 24 hours of issuance
Typical sales channelSales invoices to account customersCounter sales and POS receipts
Effect of a lost connectionNeeds a connection to ZATCA at the moment of issueThe 24-hour window allows reporting after a short outage

Invoice format: UBL 2.1 XML, PDF/A-3 and the cryptographic stamp

In shortA Phase 2 invoice is a UBL 2.1 XML document; the human-readable PDF/A-3 version embeds that XML. Each invoice also carries a cryptographic stamp from ZATCA onboarding (the CSID), the hash of the previous invoice, a UUID and an invoice counter. Arabic content is required, and bilingual Arabic and English invoices are common.

Arabic is required on invoices. Seller and buyer names, addresses and item descriptions are stored as UTF-8 text, so Arabic names are handled normally, and bilingual layouts are common practice. Onboarding steps and certificate details are defined in ZATCA's technical documentation; confirm the current version on zatca.gov.sa before you build or buy an integration.

A bilingual tax invoice preview: seller and buyer details, VAT per rate, totals and the QR code.
Technical elements of a Phase 2 invoice
ElementWhat it isPurpose
UBL 2.1 XMLThe structured, machine-readable invoiceThe record that ZATCA's systems read
PDF/A-3An archival PDF format that can embed the XML fileThe human-readable invoice with the data inside it
Cryptographic stamp (CSID)A certificate obtained through ZATCA onboarding and used to sign each invoiceLets ZATCA check who issued the invoice and that it was not altered
Invoice hash and previous invoice hash (PIH)A fingerprint of the invoice, plus the fingerprint of the one before itChains invoices so a missing or edited one can be detected
UUIDA unique identifier for each invoicePrevents duplicates
Invoice counter (ICV)An incrementing sequence numberShows the order in which invoices were issued

The ZATCA QR code: TLV tags 1 to 9

In shortThe ZATCA QR code is a Base64 string made of TLV records (tag, length, value). Tags 1 to 5 hold seller name, VAT registration number, timestamp, invoice total including VAT and VAT amount. Phase 2 adds tags 6 to 9: invoice hash, ECDSA digital signature, public key and certificate signature. Text values are UTF-8.

Tags 6 to 9 depend on the cryptographic stamp, so a QR generator alone cannot produce them; a code with tags 1 to 5 only is the Phase 1 format. To see how tags 1 to 5 are encoded, try the ZATCA QR generator. RaqamBooks generates ZATCA-format TLV Base64 QR codes on invoices and receipts.

ZATCA QR code TLV tags
TagContentIntroduced inNotes
1Seller namePhase 1UTF-8 text; Arabic names are normal
2VAT registration numberPhase 115 digits
3TimestampPhase 1Date and time of the invoice
4Invoice total including VATPhase 1Exact to the halala (2 decimals)
5VAT amountPhase 1Same precision as the total
6Invoice hashPhase 2Ties the QR code to the signed invoice
7ECDSA digital signaturePhase 2Produced with the stamping key
8Public keyPhase 2Used to verify the signature
9Certificate signaturePhase 2Included in the Phase 2 QR code
Tags 6 to 9 are described for Phase 2 simplified invoices. Confirm the exact tag content in ZATCA's published technical specification.

Common rejection causes and a readiness checklist

In shortTypical clearance or reporting rejections come from invoice data that breaks the rules: totals that do not add up, missing or invalid VAT numbers, a broken hash, counter or UUID sequence, or a bad certificate. A short checklist completed before your wave deadline helps prevent most of them. Confirm exact error codes in ZATCA's technical documentation.

Common causes of rejection (conceptual)

Why invoices get rejected and how to reduce the risk
CauseWhat goes wrongHow to reduce the risk
Totals do not reconcileLine amounts, VAT and the invoice total differ by a halala because rounding is inconsistentUse exact 2-decimal arithmetic and one rounding rule
VAT numbersSeller or buyer VAT number missing, mistyped or the wrong length (VAT numbers are 15 digits)Check customer VAT numbers when you create the customer record
Sequence problemsA repeated UUID or counter, or a previous-invoice hash that does not matchIssue from one onboarded device per sequence, and take care before restoring an older backup on it and issuing again
CertificateAn expired, revoked or wrong-environment stamping certificateTrack the expiry date and renew before it lapses
Computer clockAn invoice timestamp that is wrong because the clock is offKeep the computer's date and time set automatically
Missing Arabic contentArabic seller details or invoice text are blankComplete the Arabic company name and address and use a bilingual template
Credit and debit notesA note that is not linked to the original invoiceCreate each note from the original invoice so the reference carries over

Readiness checklist before your wave deadline

  • Confirm your wave and deadline in the ZATCA portal.

  • Enter your 15-digit VAT number and your Arabic and English company name and address in Settings → Company and Settings → Tax / VAT.

  • Check that Settings → Currency & Decimals is SAR with 2 decimals, and agree one rounding rule with your accountant.

  • Choose a bilingual Arabic and English invoice template in Settings → Templates and print a test invoice.

  • Collect the VAT numbers of every B2B and B2G customer.

  • Choose your integration route, onboard each issuing device with ZATCA and keep a record of certificate expiry dates.

  • Test with sample invoices before the first live day: a standard invoice, a simplified invoice and a credit note.

  • Set up a routine in Settings → Backup & Restore, and agree who may restore data on an onboarded device.

  • Train staff to issue credit notes from the original invoice.

What RaqamBooks does and what you do

In shortRaqamBooks generates bilingual PDF invoices, UBL 2.1 XML, ZATCA-format TLV Base64 QR codes and linked credit or debit notes, and archives issued documents locally. Onboarding in ZATCA's Fatoora portal, clearance, reporting and confirming your wave are separate steps you complete with ZATCA or an integration provider. This site makes no claim of ZATCA approval.

Built-in capability vs steps outside RaqamBooks for ZATCA
AreaBuilt into RaqamBooksYour step or a third party's
Invoice documentBilingual English and Arabic PDF invoices and structured UBL 2.1 XML outputCheck your Arabic company details and template before issuing
QR codeZATCA-format TLV Base64 QR code on invoices and receiptsPhase 2 tags 6 to 9 depend on the cryptographic stamp from onboarding
Credit and debit notesNotes linked to the original invoiceIssue them in line with ZATCA's rules for your invoice type
Amounts and VATExact SAR 2-decimal amounts and VAT return reportsAgree a rounding rule with your accountant and file the VAT return with ZATCA
Archive and backupLocal archive of issued documents; local backup and restoreDecide how long to keep records and confirm ZATCA's rules
Onboarding and certificate (CSID)Not claimed as built inYou complete onboarding in ZATCA's Fatoora portal and manage the certificate
Clearance and reportingNot claimed as built in; check the changelog or ask support for the current Phase 2 statusYou, or an integration provider, send standard invoices for clearance and report simplified invoices within 24 hours
Wave and deadline—You confirm your wave and deadline in the ZATCA portal

Sources to check

In shortCheck every date and rule on this page against ZATCA's own publications, because deadlines and technical specifications change. The authoritative source is zatca.gov.sa, including its FATOORA e-invoicing pages, wave announcements and technical documentation. This page was last verified on 3 December 2026 and is general information, not legal or tax advice.

  • ZATCA website

    https://zatca.gov.sa: FATOORA e-invoicing pages, wave announcements, technical specifications and QR code guidelines.

  • ZATCA portal

    Your taxpayer account shows which wave applies to your VAT number and the notice period for it.

  • Related guides on this site

    See GCC VAT accounting for rates and rounding, and the Saudi Arabia country page for the wider picture.

Frequently asked questions

What is the difference between ZATCA Phase 1 and Phase 2?

Phase 1 (Generation), in force since 4 December 2021, requires structured electronic invoices, bans handwritten or manual invoices and requires a QR code on simplified invoices. Phase 2 (Integration) adds clearance of standard invoices and reporting of simplified invoices to ZATCA, with a cryptographic stamp, hash chain, UUID and counter, in waves.

Which taxpayers are in Wave 25?

Wave 25 was announced on 24 July 2026 with an integration deadline of 1 February 2027. It covers taxpayers whose taxable turnover exceeded SAR 187,500 in any year from 2022 to 2025. Your own status is shown in the ZATCA portal, so check it there rather than relying on this summary.

Do I have to send every invoice to ZATCA in real time?

No. Under Phase 2, standard tax invoices (B2B and B2G) are cleared by ZATCA in real time before they are issued to the buyer, while simplified tax invoices (B2C) are reported within 24 hours of issuance. Which rule applies depends on the invoice type and on whether your wave deadline has been reached.

What does RaqamBooks do for ZATCA e-invoicing, and what does it leave to me?

RaqamBooks generates bilingual PDF invoices, UBL 2.1 XML, ZATCA-format TLV Base64 QR codes and linked credit and debit notes, and archives issued documents locally. Onboarding with ZATCA, clearance, reporting and your wave deadline are separate steps. ZATCA does not issue a certified-software badge, and RaqamBooks claims none.

Can the POS keep selling offline once Phase 2 applies?

Billing runs on the local computer, so a lost connection does not stop the till. Simplified invoices have a 24-hour reporting window, which allows reporting after a short outage. Standard invoices must be cleared before issue, so they need a connection to ZATCA at that moment. Confirm how your integration route handles queued reports.

No install needed

Download RaqamBooks and run your business offline

Install it on your own computer, keep your data local and avoid per-user monthly cloud fees. Early version for Windows 10/11 and macOS 13 or later (Apple chip and Intel chip).

Download for WindowsWindows 10/11 · 64-bit · choose your country edition
Download for macOSmacOS 13+ · Apple chip or Intel chip · choose your country edition
Try the demo (opens in a new tab)Runs in your browser · sample data

All downloads, checksums and install guideSee pricingTalk to us