ZATCA invoice QR code reader and validator
Paste the code's text or choose a photo of it, and see the invoice's fields, what is right and what needs fixing.
The long text a QR reader shows when you scan the code. It usually starts with AQ.
A clear photo of the code alone is enough. It is read on your device.
This tool runs on your device. We never send what you type or your files anywhere.
Was this tool useful?
Need your system connected to Fatoora
We build phase 2 integration for custom systems and point-of-sale systems: signing, stamping and sending invoices. Tell us about your system.
How to use it
- Scan the invoice's QR code with your phone's camera or any QR reader app, and copy the text it shows.
- Paste the text in the box above, or choose a clear photo of the code.
- Read the fields and what we found in each. Anything marked as a mistake needs fixing in the system that issued the invoice.
How it works
An invoice code is Base64 text carrying fields one after another. Each field starts with its number, then its length in bytes, then its value: the TLV format the Zakat, Tax and Customs Authority set.
A phase 1 code has five fields: the seller's name and VAT number, the invoice date, the total with VAT, and the VAT amount. A phase 2 code adds the invoice hash, the digital signature and the public key, and on a simplified invoice ZATCA's stamp.
We check each field's structure and format. Whether the signature itself is genuine needs the whole invoice file, so that check stays with Fatoora and the system that issued it.
Examples
- A phase 1 invoice
- A seller with VAT number 310122393500003 issued an invoice for a total of 1150.00 with 150.00 VAT. The VAT is exactly 15/115 of the total, so there is no note.
- An invoice with exempt lines
- A total of 1150.00 with only 100.00 VAT. The check notes that the VAT is under 15/115, which is right if some lines are exempt.
- A VAT number too short
- A 14-digit number, such as 31012239350000, fails, because a Saudi VAT number has 15 digits, starting and ending with 3.
Questions
Does this check prove the invoice is cleared?
No. It checks the code's structure and the format of its fields only. In phase 2 an invoice is cleared by connecting the system to Fatoora, and the signature is checked on the whole invoice file.
Is the code or the photo sent anywhere?
No. All the reading happens on your device, and neither the code nor the photo leaves your browser.
What is the difference between a phase 1 and a phase 2 code?
A phase 1 code has five fields. A phase 2 code adds the invoice hash, the digital signature and the public key, and on a simplified invoice ZATCA's stamp.
When must wave 25 integrate?
ZATCA announced that businesses whose taxable revenue passed SAR 187,500 in any year from 2022 to 2025 must integrate from 1 February 2027.
Can the tool read a photo of the code?
Yes. Choose a photo of the code from your device or take one with your phone's camera, and we read it on your device. If that fails, scan the code with any QR reader and paste its text.
Sources
- Zakat, Tax and Customs Authority: E-Invoicing Detailed Technical Guideline
- Zakat, Tax and Customs Authority: E-Invoicing FAQ
We checked this tool's rules against its sources on 4 December 2026. An accountant hasn't reviewed them yet, so check them before any money decision.
Other tools you may need
- VAT calculatorAdd VAT to an amount or take it out, at your country's rate.
- Amount in wordsWrite any amount in words for a cheque or an invoice, in Arabic and English.
- UAE e-invoicing deadlinesFind your business's dates and what it must do, in five questions.
- Hijri and Gregorian converterConvert between Hijri and Gregorian, and see today's Hijri date.