ZATCA QR Codes on Tax Invoices, Explained

If you've received a Saudi tax invoice recently, you've probably noticed the small black-and-white square in the corner. That's not decoration — it's a required part of ZATCA e-invoicing, and a missing or incorrect one can mean the invoice doesn't meet ZATCA's compliance standard at all.

What Information the QR Code Actually Contains

A ZATCA QR code is not just a link or a logo, it's an encoded set of specific transaction details that can be scanned and read by any standard QR reader, or verified through ZATCA's own systems. For a simplified tax invoice, the QR code encodes:

  • The seller's name, so the invoice's origin is clear at a glance.
  • The seller's VAT registration number, tying the invoice to a specific registered business.
  • The invoice timestamp, recording exactly when the transaction was issued.
  • The invoice total, including VAT, and separately the VAT amount itself, so the tax portion is verifiable on its own.

This is why a QR code can't just be generated once and reused — it needs to be created fresh for every invoice, reflecting that invoice's actual details.

Saudi tax invoice with ZATCA QR code generated automatically in Booksara
Every invoice gets its own QR code, generated from that invoice's actual data.

Simplified vs. Full Tax Invoice QR Requirements

ZATCA treats simplified and full tax invoices differently, and the QR code rules follow that split. Simplified tax invoices — typically used for B2C transactions, like a retail sale to a walk-in customer — require the QR code described above on every invoice. Full tax invoices, generally used for B2B sales, also carry a QR code once Phase 2 requirements apply, but the surrounding invoice fields and the clearance process behind them differs. Getting this distinction right matters, since applying the wrong invoice type is itself a compliance issue, separate from whether the QR code is technically correct.

How Booksara Generates QR Codes Automatically

You don't need to understand the encoding standard behind a ZATCA QR code to use Booksara — you fill in a normal invoice, and the correct QR code is generated and placed on the invoice automatically, based on the invoice type and the actual transaction details. There is nothing to configure per invoice, and no separate tool to run before sending. If you ever need to check a QR code by eye, most phone camera apps and dedicated QR scanners will read it and display the encoded fields.

How to Verify a QR Code Is Valid

A valid ZATCA QR code should decode cleanly to show the seller name, VAT number, timestamp, invoice total, and VAT amount, matching what's printed elsewhere on the invoice. If a QR code doesn't scan at all, or decodes to information that doesn't match the visible invoice details, that's a sign the invoice was not generated by ZATCA-compliant software — worth flagging before you file anything based on it.

Frequently Asked Questions

What is a ZATCA QR code on a tax invoice?

It's an encoded square on a Saudi tax invoice containing the seller's name, VAT number, invoice timestamp, invoice total, and VAT amount, required under ZATCA's e-invoicing rules.

Do all Saudi tax invoices need a QR code?

Simplified tax invoices need one under Phase 1 rules already in force. Full tax invoices carry one too once Phase 2 requirements apply to that business.

Can I generate a ZATCA QR code manually?

It's possible but risky, since the code needs to accurately encode that specific invoice's details in the correct format. Using invoicing software that generates it automatically, like Booksara, removes that risk entirely.

How do I check if a QR code on an invoice is valid?

Scan it with a QR reader and confirm the decoded seller name, VAT number, timestamp, and totals match what's printed on the invoice itself. A code that won't scan or shows mismatched data is a red flag.

Does the QR code replace the need for VAT registration?

No. The QR code is part of how an already VAT-registered business issues compliant invoices — it doesn't substitute for VAT registration itself.

QR codes are a small detail with a real compliance consequence if they're wrong. Start free with Booksara and every invoice you send carries the correct one automatically.