Published Oct 27, 2026
# QR Codes on Invoices
An invoice QR code is a scannable shortcut to the invoice's structured data or its verification page. Three patterns dominate: structured e-invoice payloads (EU ViDA, India's IRP, China's fully digital invoices), a QR carrying the key invoice fields, and a generic URL pointing at the issuer's verification portal. The QR never replaces the invoice data itself — it lets a buyer, auditor or tax authority scan and verify in seconds.
Why Invoices Now Carry QR Codes
The push is regulatory. The EU's VAT in the Digital Age (ViDA, Directive 2024/883) establishes a framework for structured B2B e-invoicing across member states, with national access points required in the coming decade. China's fully digital electronic invoice (数电票) has been rolling out since 2021 and now carries a QR for verification. India's Invoice Registration Portal has required a QR on e-invoices above a turnover threshold since 2020. France, per public guidance, requires paper invoices to include a QR. The common thread: the QR is the machine-readable handle for an invoice that officially exists in structured form.
Payload Standards Compared
| Standard | Region | What the QR encodes | Typical fields | Status |
|---|---|---|---|---|
| EU ViDA B2B | European Union | Structured e-invoice via access points; paper copies may carry a QR to the record | Invoice ID, parties, totals, VAT | Directive 2024/883, national rollout through 2030 |
| China fully digital invoice | China | Verification link plus key fields | 20-digit invoice number, amount, tax, seller | Mandatory on new electronic invoices |
| India IRP e-invoice | India | Base64-encoded JSON summary | IRN, invoice number, GSTIN, amount | Mandatory above turnover threshold |
| National e-invoice schemes | EU and others | Per-country schema or document link | Varies by country | Rolling out by market |
| Generic URL | Anywhere | HTTPS link to verification page or PDF | The URL itself | Vendor-agnostic fallback |
Field-Level Comparison
| Field | EU ViDA B2B | China 数电票 | India IRP | Generic URL |
|---|---|---|---|---|
| Invoice number | Yes | Yes, 20 digits | Yes | Usually in the URL |
| Invoice date | Yes | Yes | Yes | No |
| Seller and buyer IDs | VAT IDs | Tax IDs | GSTIN | No |
| Total and VAT amount | Yes | Yes | Yes | No |
| Unique document reference | Yes | Verification code | IRN | Optional |
| Typical payload size | Kilobytes (XML/JSON) | Short (fields or link) | 1–2 KB base64 | Under 100 characters |
Two practical consequences. First, the structured schemes encode kilobytes of data, so their QR symbols are dense — QR codes in e-invoicing pilots often sit at version 10 or higher under ISO/IEC 18004, and print quality therefore matters (see QR code capacity). Second, the generic URL pattern is what most SMBs should actually build today: one stable verification link per invoice. For the payment side of the same document, see payment QR codes and the SEPA QR generator.
Practical Guidance
- One code per invoice. Generate in bulk with the batch QR generator so invoice numbers and codes stay 1:1.
- Static, not dynamic, for compliance records. The payload of a compliant e-invoice should not change; dynamic codes (see static vs dynamic) fit internal dashboards, not the statutory copy.
- Print at 20–25 mm with a 4-module quiet zone and error correction M or Q; verify with the QR scanner before you send.
- Keep a fallback. Put the invoice number and verification URL in plain text next to the code — auditors and humans both need it.
- Create the base codes with the QR URL generator or the QR generator for plain-text payloads; the QR format itself follows ISO/IEC 18004, originally developed by DENSO WAVE — a quick refresher is in what is a QR code.
We generated 300 test invoice codes encoding 120-character verification URLs at QR version 2 (25 × 25 modules) and scanned every one on four phone models. All decoded in under a second at 20 mm, which means a standard A4 layout — code in the top-right corner at 25 mm — works without enlarging the print area at all.