CodeBox Hub
FREE

QR Codes on Invoices

How e-invoicing systems encode QR codes — EU ViDA B2B, China fully digital invoices, India IRP and generic URL patterns, with field-level detail.

# 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

StandardRegionWhat the QR encodesTypical fieldsStatus
EU ViDA B2BEuropean UnionStructured e-invoice via access points; paper copies may carry a QR to the recordInvoice ID, parties, totals, VATDirective 2024/883, national rollout through 2030
China fully digital invoiceChinaVerification link plus key fields20-digit invoice number, amount, tax, sellerMandatory on new electronic invoices
India IRP e-invoiceIndiaBase64-encoded JSON summaryIRN, invoice number, GSTIN, amountMandatory above turnover threshold
National e-invoice schemesEU and othersPer-country schema or document linkVaries by countryRolling out by market
Generic URLAnywhereHTTPS link to verification page or PDFThe URL itselfVendor-agnostic fallback

Field-Level Comparison

FieldEU ViDA B2BChina 数电票India IRPGeneric URL
Invoice numberYesYes, 20 digitsYesUsually in the URL
Invoice dateYesYesYesNo
Seller and buyer IDsVAT IDsTax IDsGSTINNo
Total and VAT amountYesYesYesNo
Unique document referenceYesVerification codeIRNOptional
Typical payload sizeKilobytes (XML/JSON)Short (fields or link)1–2 KB base64Under 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.

FAQ

What does a QR code on an e-invoice contain?

Either a structured summary of the invoice (EU ViDA, India IRP, China schemes) or a link to the invoice's verification page. In all cases the QR is a pointer to the authoritative data, not the full document.

Is a QR code mandatory on EU invoices under ViDA?

ViDA mandates the e-invoicing framework — structured data and access points — rather than a specific QR layout on paper. Member states set the paper-copy rules during national rollout, so check the scheme in force in your market.

How does the QR code on a Chinese fully digital invoice work?

It links the printed invoice to the tax authority's verification system, carrying key fields such as the 20-digit invoice number, amount and tax, so a buyer can scan and confirm authenticity in seconds.

Can I use a plain URL as my invoice QR payload?

Yes. A stable HTTPS link to your verification page or the invoice PDF is a perfectly valid pattern, and it is what most countries accept for paper copies. Keep the URL short and never change it after printing.

Should an invoice QR code be static or dynamic?

Static. A statutory or audit-relevant payload must not change after the invoice is issued, and a redirect can die if your provider cancels the account. Use dynamic codes only for internal tracking links.

Where on the invoice should the QR code go?

Top-right of page one is the common convention, 20–25 mm wide, with a clean quiet zone. Leave the invoice number and verification URL in plain text right beside it.

Will a QR code on an invoice survive fax or email?

Email as PDF: yes, if you send the vector or high-resolution version. Fax: no — fax resolution is too low for dense codes. Always send the original PDF, not a faxed copy.

Keep reading

Contact us