What Do the QR Codes and Barcodes on Receipts Do?
The barcode on a receipt encodes the transaction identifier — scan it at the returns desk and the full sale appears, which is what makes barcode returns and reprints instant. QR codes are more varied: survey invitations, links to a digital copy of the receipt, loyalty enrollment, payment confirmation — and in a growing list of countries, government-mandated fiscal verification codes that let anyone confirm the receipt was reported to the tax authority.
The barcode: your transaction's database key
Usually a 1D barcode (Code 128 or similar) encoding the receipt/transaction number — store, register, date, sequence in one string (how those numbers are built). Its jobs:
- Returns: scanning pulls the original sale — items, prices, payment — no typing, no arguing.
- Reprints: a faded receipt with a readable barcode is fully recoverable at customer service (the Target pattern).
- Fraud control: barcodes mark a receipt as used once refunded, blocking double returns — part of the verification machinery in how stores verify receipts.
Practical corollary: when photographing receipts, capture the barcode — it's the most operationally useful square centimeter on the paper.
The QR codes, by species
- Survey QRs — the "tell us how we did, win $500" codes, linking to feedback forms keyed to your transaction (the survey-code economy has its own logic).
- Digital-receipt QRs — scan to download the e-receipt PDF or claim it into an app; the paper-to-digital bridge from the digital receipts guide.
- Loyalty and app hooks — enroll, claim points for this purchase, or open the retailer's app pre-loaded with the transaction.
- Payment QRs — on pay-at-table and invoice receipts, a code that opens the payment flow; on paid receipts, sometimes the processor's confirmation.
- Fiscal verification QRs — the serious ones. In much of the EU, Latin America and beyond, law requires receipts to carry a QR encoding a government-registered transaction signature: scan it and the tax authority's site confirms the sale was reported (Italy, Portugal, Greece, Brazil's NFC-e, Saudi ZATCA...). These are anti-evasion infrastructure — the certified-register world described in receipt requirements by country — and they're why some countries' receipt QRs look official: they are.
Should you scan random receipt QRs?
Reasonable caution applies: a receipt QR from a store you just paid is low-risk, but QR phishing exists — check the domain before entering anything, and never enter card details from a "receipt" QR (no legitimate receipt flow asks). Fiscal QRs resolve to government domains; survey QRs to the retailer or its survey vendor.
For businesses issuing receipts
A QR linking to the digital copy of the receipt is the highest-utility, lowest-effort addition — customers self-serve their lost-receipt problem (the problem you're solving). Keep one QR per receipt; three competing codes get zero scans.
The bottom line
Barcode = the transaction's key (returns, reprints, fraud control); QR = a link — to a survey, your e-receipt, a loyalty hook, or in fiscalized countries, the tax authority's ledger. Photograph the barcode, scan QRs with ordinary skepticism, and if you print receipts, make your QR the useful one.
Frequently asked questions
- What does the barcode on a receipt contain?
- The transaction identifier — encoding store, register, date and sequence. Scanning it retrieves the full sale for returns, reprints and refund tracking; it's the receipt's database key, not a product code.
- Can a store reprint my receipt from the barcode?
- Generally yes — a readable barcode on even a badly faded receipt pulls the original transaction, and customer service can reprint it. A photo of the barcode usually works too.
- Why do receipts in some countries have official QR codes?
- Fiscal law: many countries require receipts to carry government-verifiable codes proving the sale was reported for tax. Scanning them opens the tax authority's verification page — anti-evasion infrastructure, not marketing.
- Are receipt QR codes safe to scan?
- Usually — surveys, e-receipts and loyalty links from a merchant you just visited are low-risk. Check the domain it opens, and treat any receipt QR requesting card details as fraudulent; no legitimate flow does that.