English العربية
How to use the ZATCA QR Code Generator
- Enter the seller name and 15-digit VAT number.
- Enter the invoice date and time, the total with VAT and the VAT amount (or let the tool work out 15% VAT).
- Download the QR code as PNG or SVG, or copy the Base64 text for your system.
Frequently asked questions
Which fields are in a ZATCA QR code?
Five fields in TLV format, encoded in Base64: 1 seller name, 2 VAT registration number, 3 invoice date and time, 4 invoice total including VAT and 5 VAT total.
Is this enough for Phase 2 (integration)?
No. In Phase 2 the QR code also contains the invoice hash, a digital signature and the public key, created by a ZATCA-compliant e-invoicing system that is connected to the FATOORA platform. Use this tool to understand, test and decode the format.
Why must the VAT number have 15 digits?
Saudi VAT registration numbers have 15 digits and start and end with 3. The tool warns you if the number does not look right.
Can I decode a QR code from an invoice?
Yes – paste the Base64 text from the QR code in the Decode tab to see the fields inside.