Concept Definition

What is a QR code on an invoice and what information does it encode?

A QR code on an invoice encodes key invoice data in machine-readable form directly on the invoice document, enabling rapid scanning for validation, matching, and compliance checks. QR codes on invoices are mandated in several countries including Saudi Arabia (ZATCA), Malaysia (MyInvois), and Turkey, where the QR code allows buyers and auditors to verify invoice authenticity and validate key fields against the tax authority's records.

What data is encoded in an invoice QR code?

Common fields encoded in invoice QR codes: (1) Seller name; (2) Seller VAT registration number; (3) Invoice date/timestamp; (4) Invoice total (gross); (5) VAT amount; (6) Invoice UUID or reference number issued by the tax authority; (7) Digital signature or hash of the invoice. In ZATCA's Saudi Arabia mandate, the QR code uses TLV (Tag-Length-Value) encoding. In Malaysia's MyInvois, the QR code links to the validated invoice on the IRBM portal for direct verification.

Frequently Asked Questions

Can a QR code replace a full structured XML invoice?
No. A QR code on an invoice is a summary validation tool, not a substitute for a full structured XML invoice. The QR code contains a subset of invoice data for rapid scanning and verification. Full e-invoicing mandates (ZATCA Phase 2, MyInvois) require submission of the complete structured XML to the tax authority portal, with the QR code serving as the buyer-facing evidence of clearance.
What happens if an invoice QR code fails to scan?
A QR code that fails to scan does not automatically invalidate the invoice, but may indicate data quality issues, printing quality problems, or a tampered QR code. In jurisdictions where the QR code links to a tax authority clearance record, a failed scan may mean the invoice has not been properly cleared. The underlying XML submission and clearance reference are the definitive compliance record; the QR code is the consumer-facing shortcut.

Related Concepts

Related Regulations

Related Use Cases