Guides

Lot and batch numbers in GS1

GS1 AI (10) carries a batch or lot number and is variable length, so separator handling matters when another AI follows.

Reviewed August 9, 2026QiiChain Technical EditorialHow we verify content

Identify the GS1 data structure

GS1 AI (10) carries a batch or lot number and is variable length, so separator handling matters when another AI follows. 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 lot and batch numbers in gs1. 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.

A small verification routine

Before scaling lot and batch numbers in gs1, test three records: one normal item, one edge case and one intentionally invalid input. Confirm that the expected failure is caught, then verify the successful output in the destination workflow. This simple routine is especially useful before a bulk label print, marketplace import, ERP update or purchasing-rule change because it exposes assumptions while only a few records are affected.

Operational scenario

For lot and batch numbers in gs1, keep display text separate from encoded or calculated data. A product name can be edited for customers while the GTIN must remain exact; a formatted currency value can include symbols while the calculation needs a numeric amount. Separating display and source fields prevents presentation changes from altering machine-readable data.

Downstream hand-off

Downstream, lot and batch numbers in gs1 should be stored in the field that matches its meaning. Do not put a GTIN into a SKU field, a supplier part number into a GTIN field, or a percentage into a unit-count field just because the destination allows free text. Correct field semantics make later validation and migration much easier.

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.