One-product-one-code — also called unit-level serialization — gives every individual product unit its own identifier, printed as a QR or Data Matrix code and registered in a platform that records what happens to it.
It is the technical foundation under almost every traceability programme: anti-counterfeiting, channel control, regulatory compliance, consumer engagement and recall management all depend on knowing which specific unit is in front of you, not just which SKU.
This guide covers how the coding works, where it fails in production, what the platform must record, and how to sequence an implementation without buying equipment you do not need yet.
Batch codes, serial codes and the difference that matters
A batch code identifies a production run. It answers questions about quality and recall at lot level, and it is what most manufacturers already print. A serial code identifies the individual unit. The difference only looks small until you need it.
With batch codes you cannot tell whether two products scanned in different provinces are two legitimate units or one unit plus a copied label. With serial codes you can: each code was issued once, applied once, and its scan history is a sequence of events that can be compared against a plausible distribution route.
| Question | Batch code | Serial (unit) code |
|---|---|---|
| Recall scope | Whole batch | Specific units |
| Duplicate detection | Not possible | Second scan is an event, and a signal |
| Diversion evidence | Shipment level at best | Per-unit region and time evidence |
| Consumer verification | Weak — one code, many units | Strong — one code, one unit |
| Printing cost | Lowest | Higher, plus verification step |
How the code is built
The identifier usually follows GS1 structure: a GTIN for the product, plus a serial for the unit, plus optionally a batch and expiry. The carrier is a 2D symbol — QR for consumer-facing codes, Data Matrix where retail or regulatory scanning expects it — encoding either a GS1 Digital Link URI or a GS1 element string.
Choosing Digital Link matters more than it appears. A plain URL QR code points at a fixed page; a Digital Link code carries the identifier itself and lets the resolver decide what to show depending on who is scanning. The same printed code can serve a consumer, a retailer's point of sale, and an authority lookup.
- —GTIN identifies the product model — obtain it from your GS1 member organisation
- —Serial makes the unit unique; never reuse across products, batches or markets
- —Batch and expiry enable recall scoping even at unit level
- —Digital Link encoding keeps retail scanning and web resolution on one code
Where codes are applied, and why that decides everything
There are two routes. Pre-printed labels — codes issued in a range, printed on labels, applied and verified — start fast and need almost no capital. Inline coding — printing on the packaging during production — removes label cost at high volume but requires equipment, integration and print-quality control.
Whichever route, the association step is what turns printing into traceability: unit code → carton code → pallet code, recorded as it happens. If the association is reconstructed later from a spreadsheet, the audit trail is weakest exactly where a dispute would test it.
| Route | Best for | Typical lead time | Main risk |
|---|---|---|---|
| Pre-printed labels | Pilots, low and medium volume, unmodified packaging | Weeks | Manual application errors, label cost per unit |
| Inline coding | High volume, packaging that can be printed | 1–3 months including integration | Print quality failures at speed |
| Hybrid | Seasonal peaks or multi-plant rollouts | Weeks to months | Two processes to govern |
Print quality: the failure mode that hides
2D codes are dense. The usual field failures are insufficient contrast on dark or glossy substrates, module size below what a scanner resolves, ink spread closing the finder pattern, and codes printed over a curved or wrinkled surface.
The only reliable control is verification at the end of the line, on the real substrate, at production speed — not a sample from the print head and not a desk test. Define a sampling rate, log pass and fail by batch, reprint failures, and track first-scan success rate as an operational metric rather than a one-off acceptance test.
What the platform must record
A code without events is just a number. The platform layer is what makes the code useful, and it needs four record types: issuance (which codes were generated, for which product and batch), application (which code went onto which unit, where and when), movement (outbound, transfer, receipt at distributor), and scan (consumer or channel scans, with device and location context).
Alongside the records, three capabilities separate a working platform from a demo: exception handling for duplicate and out-of-region scans, an export you can actually use, and tamper-evident storage so history cannot be silently edited.
- —Issuance log — proves a code came from you and was never issued twice
- —Application record — links the code to a production event and a line
- —Movement record — supports channel control and recall scoping
- —Scan record — the behavioural data that makes counterfeits visible
- —Tamper evidence — hash chaining or anchored hashes so edits are detectable
- —Export — full registry and event history, in a format you can migrate
What it costs
Cost splits into four lines that behave very differently. Codes cost fractions of a cent each and scale with units. Labels and printing are a physical cost per unit. Line integration and equipment are one-off and usually the largest number in year one. Exception handling is a labour cost that appears only if the programme is run properly — which is precisely why it is often the line that gets omitted from a business case.
Model three years, not one. A low per-code price with expensive integration inverts once volume grows; a cheap integration with manual reconciliation costs more in labour than it saves in licence fees.
Implementation sequence
- —Define the unit of identity: single sellable unit, or unit plus multi-pack
- —Confirm GTIN and serial structure; decide Digital Link versus element string
- —Choose pre-printed labels for the pilot unless packaging already supports inline printing
- —Integrate association capture at the line — unit to carton to pallet — before scaling
- —Build the scan experience: authentication result, traceability view, optional engagement layer
- —Set exception rules and who owns them, in writing
- —Measure first-scan success rate and duplicate-scan rate monthly
Common mistakes
- —Issuing codes without linking them to a production event, then trying to reconstruct the link
- —Printing at a size that passes a desk test but fails on the production substrate
- —Treating the consumer page as the whole system and never recording events
- —Using a code scheme retail scanners cannot decode
- —Reusing codes across batches, markets or products
- —Skipping the pilot and rolling out to every SKU at once
Frequently asked questions
Is one-product-one-code the same as a QR code?
No. The QR code is a carrier. One-product-one-code is the principle that each unit has a unique identifier, plus the platform that records its issuance, application and scans.
Do I have to change my packaging?
Not necessarily. Pre-printed labels can be applied to existing packaging. Inline printing may require a packaging or equipment change, which is why many programmes start with labels.
How much does a code cost?
The code itself is typically fractions of a cent. Labels, printing equipment and line integration usually dominate the first-year budget.
Can one code serve anti-counterfeiting and marketing?
Yes, and that is usually the point: the same scan verifies authenticity, returns traceability data and can trigger an engagement action for the consumer.
What happens when the same code is scanned twice?
The platform records both scans. Whether it is a problem depends on context — resale, a duplicated label, or a copied code produce distinguishable patterns.
How does this relate to GS1 standards?
GS1 provides the identifier structure (GTIN plus serial) and the Digital Link resolution format. Serialization is how you apply and record those identifiers per unit.
Do I need a blockchain?
No, but you need tamper-evident records. Hash chaining inside a conventional database gives most of the guarantee; anchoring to a chain matters when a third party must verify without trusting you.