Guides

Expiration dates in GS1 barcodes

GS1 AI (17) carries an expiration date in YYMMDD form; barcode data should not be generated from an invalid calendar date.

Reviewed August 9, 2026QiiChain Technical EditorialHow we verify content

Identify the GS1 data structure

GS1 AI (17) carries an expiration date in YYMMDD form; barcode data should not be generated from an invalid calendar date. Start by separating the GS1 identification key from any attributes or qualifiers. The Application Identifier tells software what the following data means.

Validate field length and meaning

Check whether each field is fixed or variable length, whether it must be numeric, and whether a check digit or YYMMDD date rule applies. A symbol can render while its structured data is still wrong.

Handle separators deliberately

When a variable-length AI field is followed by another field in an element string, the scanner needs an unambiguous field boundary. FNC1/group-separator handling is therefore part of the data syntax, not a visual decoration.

Choose the carrier after the data

Decide between GS1-128, GS1 DataMatrix, GS1 QR or a Digital Link URI based on the actual business and trading-partner requirement. The same identifier concept can be represented through different carriers.

Verify the decoded result

After rendering, scan the production symbol and inspect the decoded data or URI—not just whether the scanner beeped. Confirm the AI values, leading zeros, dates and qualifiers match the source product record.

Evidence to keep

Use this distinction when designing product-master fields for expiration dates in gs1 barcodes. Store the original identifier as text, keep the barcode symbology in a separate field when needed, and record which system assigned or owns each internal value. That structure makes conversions and label generation easier to audit later.

Avoid a false fix

A common operational error is to make expiration dates in gs1 barcodes “look right” by editing the visible output instead of correcting the source data. Avoid manual digit changes, arbitrary safety buffers, silent unit conversions and image stretching. Make the smallest change at the layer that actually failed, rerun the same check, and compare the result before and after. That gives you evidence that the underlying problem—not just the presentation—was fixed.

Operational scenario

Treat expiration dates in gs1 barcodes as part of master-data governance. Define who can change the source field, how changes are approved and how old values are retained. That matters when a barcode, SKU or replenishment parameter appears in several systems because correcting only one copy leaves the rest of the chain inconsistent.

Downstream hand-off

Schedule the next review based on how quickly the underlying data can change. A GTIN check digit is stable for the identifier, while supplier lead time, demand and inventory cost can change frequently. Review cadence should follow the data, not one fixed site-wide interval.

Technical references

Sources used on this page

QiiChain summarizes source material and applies it to the tool or workflow. The linked source remains authoritative for its own standard or product documentation.