Pyalm Books
By Fadhil Abdulla

ZATCA QR Codes Explained: What's Inside a Saudi E-Invoice QR

Every Saudi e-invoice carries a QR code encoding key tax data as Base64 TLV. Here's what's inside it and how to decode and check one for free.

The QR on every Saudi invoice

Saudi Arabia's e-invoicing system (Fatoora), run by ZATCA, requires a QR code on every invoice. It encodes key tax data as a Base64-encoded TLV (Tag-Length-Value) string. The free ZATCA QR Decoder unpacks it into readable fields.

What's inside

The TLV structure carries, by tag:

  • (1) Seller name
  • (2) VAT registration number
  • (3) Timestamp of the invoice
  • (4) Invoice total including VAT
  • (5) VAT total

Phase 2 invoices add a cryptographic hash, signature, and public key for authenticity.

How to read one

Scan the QR with any reader and it returns a Base64 string rather than a URL. Paste that into the decoder to see each labelled field โ€” useful when testing an integration or checking a supplier's invoice is well-formed.

Decoding vs full validation

The decoder reads the structure and values and confirms the TLV is well-formed. It does not verify the Phase 2 cryptographic signature, which requires the issuer's certificate. For UAE counterparts, see the TRN Validator.

Use the free ZATCA QR Decoder | UAE TRN Validator

Keep reading

More from Pyalm

Aug 1, 2026

Invoice vs Delivery Note: What Each One Actually Does

They often carry the same line items, but only one of them asks for money and only one of them proves the goods arrived. Here is where each document belongs.

Aug 1, 2026

Quotation vs Proforma Invoice: Which One Should You Send?

Both go out before the sale and neither is a tax invoice โ€” but they make very different promises. Here is when each one is the right document.

Aug 1, 2026

Credit Note vs Debit Note: Which One Corrects Your Invoice?

One reduces what a customer owes, the other increases it. Getting the direction wrong quietly misstates your VAT return โ€” here is how to tell them apart.

Aug 1, 2026

Invoice vs Receipt: The Difference That Trips Up Most Businesses

An invoice asks for money. A receipt confirms it arrived. Sending the wrong one โ€” or only one โ€” is how businesses lose track of who has actually paid.

Aug 1, 2026

Purchase Order vs Purchase Invoice: Controlling What You Spend

A purchase order is what you agreed to buy. A purchase invoice is what your supplier says you owe. The gap between the two is where overspending hides.

Aug 1, 2026

Tax Invoice vs Simplified Tax Invoice: Which Can You Issue?

UAE VAT allows a shorter invoice in specific situations only. Issuing the simplified version when you were not entitled to leaves your customer unable to recover the VAT.

Get UAE VAT & E-Invoicing Ready

Pyalm Books handles VAT, PINT AE e-invoices, and FTA returns for Dubai businesses โ€” no extra development cost.

Start free on Pyalm Books Learn about Pyalm Books Log in