Free tool

ZATCA QR code generator

Make the QR code a Saudi simplified tax invoice carries in Phase 1 of e-invoicing. Enter the seller, the date and the totals, then download the code as an SVG.

Phase 1 QR only. Businesses called up in a Phase 2 wave must produce the QR code from a ZATCA-integrated system (hash, signature and key tags 6–9); a free tool cannot do that.

Make the QR code

Nothing you enter leaves this page.

As registered with ZATCA, in Arabic or English.

15 digits, starting and ending with 3.

The time the invoice was issued, in Saudi time. The QR code holds it in UTC.

How it works

What the ZATCA Phase 1 QR code holds.

ZATCA’s “Electronic Invoice Security Features Implementation Standards” (May 2023) set out the QR code. The generator follows them for Phase 1.

When it is needed
In Phase 1, a simplified tax invoice (mostly a sale to a consumer) and its credit and debit notes must carry the QR code.
Five fields
Tag 1 seller name, tag 2 seller VAT registration number, tag 3 invoice date and time, tag 4 invoice total with VAT, tag 5 VAT total.
TLV encoding
Each field is one tag byte, one length byte (the number of UTF-8 bytes in the value) and the value in UTF-8. So a value can be at most 255 bytes.
Base64
The five fields are joined in order and encoded in Base64. The Base64 text can be at most 700 characters; it is what the QR code holds.
Date and time
Enter Riyadh time (UTC+3). The generator converts it to UTC and writes it in ISO 8601, for example 2026-11-28T10:30:00Z.
Amounts
Written with 2 decimals and a full stop, without thousands separators, for example 1150.00.
VAT number
15 digits, the first and the last of them 3 (ZATCA business rule BR-KSA-40).
The QR code
Error correction level M, drawn as an SVG with a quiet zone of 4 modules around it.
Phase 2
From a business’s Phase 2 wave, its system signs each invoice and adds tags 6 to 9 (invoice hash, signature, public key and ZATCA’s stamp signature). This tool does not make those.

Spot a mistake? Tell us

Questions

Common questions about the ZATCA QR code.

Is this QR code enough for Phase 2?

No. A business called up in a Phase 2 wave must produce invoices and their QR codes from a system integrated with ZATCA. That QR code adds the invoice hash, a signature and keys (tags 6 to 9), which a free tool cannot make.

Which time should I enter?

The time the invoice was issued, in Riyadh time (UTC+3). The QR code holds the time in UTC, so the generator takes off 3 hours: 13:30 in Riyadh becomes 10:30Z.

Can the seller name be in Arabic?

Yes. The name is written in UTF-8, where an Arabic letter takes 2 bytes. A field holds up to 255 bytes, so about 127 Arabic letters or 255 Latin ones.

What does the QR code contain?

A line of Base64 text. Decoded, it gives the five fields in order: seller name, VAT number, time stamp, total with VAT and VAT total. The generator lists them under the code so you can check them.

How do I put the code on my invoice?

Download it as an SVG and place it on the invoice, large enough to scan. An SVG stays sharp at any size, on screen and in print.

Is what I enter sent anywhere?

No. The QR code is made in your browser. Nothing you type is stored or sent.

In Tempaxis

Saudi tax invoices with the QR code built in.

Tempaxis issues ZATCA Phase 1 tax invoices from the time, expenses and fees you bill. If your business is in a Phase 2 wave, Tempaxis sends billing statements instead: your ZATCA-integrated system issues the tax invoice from Tempaxis’s export, and Finance records its number in Tempaxis.

  • ZATCA Phase 1 tax invoices with QR code and hash chain
  • A CSV and JSON accounting export
  • UAE PINT AE e-invoice files and Peppol BIS 3.0 files
  • Branded PDF invoices in English or Arabic
See e-invoicing
Free tools

Add this calculator to your website

Copy this code into your page. The calculator runs in a frame with a link to this page; nothing your visitors enter is sent anywhere.

Use and share this page

Free to use. If you quote it in an article, a report or a class, please credit Tempaxis with a link. Copy this line:

Questions? Talk to our team.

In Arabic or English. Ask about projects, billing, people and compliance, or about plans, and we will answer.

Keyboard shortcuts

These keys work on every page. Single-key shortcuts do nothing while you type in a field.

Keyboard shortcuts
/Open search
Ctrl KOpen or close search (⌘ K on a Mac)
?Show this list
g then hGo to the home page
g then tGo to the free tools
↑ ↓In search: move between the box and the results
EnterIn search: open the first result
EscClose search, this list, the menus and the language menu
← →On a row of tabs: the previous or next tab

Turn them off if they get in the way of a screen reader or speech software. Ctrl K keeps working. The choice is kept in this browser only.