Skip to content

GS1 Application Identifiers

What (01), (10), (17) and other GS1 codes mean.

About GS1 Application Identifiers

A GS1 Application Identifier (AI) is a prefix of two to four digits that says what the data after it means and how it's formatted. In GS1-128, GS1 DataMatrix and GS1 QR codes, several AIs can be strung together in one barcode: (01) followed by a 14-digit GTIN, (17) and a YYMMDD expiry date, (10) and a batch number. The brackets are printed in the human-readable text for people but aren't encoded in the barcode.

Some AIs are always the same length, such as (01) and (17), so a scanner knows where they end. Variable-length ones, such as (10) batch and (21) serial number, need an FNC1 separator when another AI follows. Putting fixed-length AIs first and the variable-length one last avoids a separator and keeps the barcode shorter. The format column uses GS1's notation: n for a digit, X for a character from GS1's set of 82, and ..20 for up to 20.

38 entries

Identification keys

The numbers that identify a product, a logistic unit, a location or an asset.

AIData titleFormatFNC1 afterMeaning
(00)SSCCn2+n18NoSerial Shipping Container Code: one pallet, parcel or other logistic unit
(01)GTINn2+n14NoGlobal Trade Item Number of the item, written as 14 digits
(02)CONTENTn2+n14NoGTIN of the items contained in a logistic unit (used with AI 37)
(253)GDTIn3+n13+X..17Yes, if not lastGlobal Document Type Identifier, with optional serial component
(414)LOC No.n3+n13NoGlobal Location Number (GLN) of a physical location
(8003)GRAIn4+n14+X..16Yes, if not lastGlobal Returnable Asset Identifier, such as a crate or keg
(8004)GIAIn4+X..30Yes, if not lastGlobal Individual Asset Identifier for fixed assets

Batch, serial and variants

AIData titleFormatFNC1 afterMeaning
(10)BATCH/LOTn2+X..20Yes, if not lastBatch or lot number
(20)VARIANTn2+n2NoInternal product variant
(21)SERIALn2+X..20Yes, if not lastSerial number, unique for one item of a GTIN
(22)CPVn2+X..20Yes, if not lastConsumer product variant
(240)ADDITIONAL IDn3+X..30Yes, if not lastAdditional product identification assigned by the manufacturer
(241)CUST. PART No.n3+X..30Yes, if not lastCustomer part number
(250)SECONDARY SERIALn3+X..30Yes, if not lastSerial number of a component inside the item

Dates

Dates are YYMMDD. A day of 00 means the last day of the month (not allowed for every AI).

AIData titleFormatFNC1 afterMeaning
(11)PROD DATEn2+n6NoProduction date
(12)DUE DATEn2+n6NoPayment due date (on payment slips)
(13)PACK DATEn2+n6NoPackaging date
(15)BEST BEFORE or BEST BYn2+n6NoBest before date: quality, not safety
(16)SELL BYn2+n6NoSell by date
(17)USE BY or EXPIRYn2+n6NoExpiration date: do not use after (safety, medicines)
(7003)EXPIRY TIMEn4+n10Yes, if not lastExpiration date and time, YYMMDDHHMM

Measures, counts and amounts

The last digit of 310n, 320n, 330n and 392n is the number of decimal places: 3103 000750 is 0.750 kg.

AIData titleFormatFNC1 afterMeaning
(30)VAR. COUNTn2+n..8Yes, if not lastCount of items in a variable-quantity item
(37)COUNTn2+n..8Yes, if not lastCount of trade items in a logistic unit (used with AI 02)
(310n)NET WEIGHT (kg)n4+n6NoNet weight in kilograms, n decimal places
(320n)NET WEIGHT (lb)n4+n6NoNet weight in pounds, n decimal places
(330n)GROSS WEIGHT (kg)n4+n6NoLogistic gross weight in kilograms, n decimal places
(390n)AMOUNTn4+n..15Yes, if not lastAmount payable in local currency, n decimal places
(392n)PRICEn4+n..15Yes, if not lastPrice of a variable-measure item in local currency, n decimal places

Orders and shipping

AIData titleFormatFNC1 afterMeaning
(400)ORDER NUMBERn3+X..30Yes, if not lastCustomer's purchase order number
(401)GINCn3+X..30Yes, if not lastGlobal Identification Number for Consignment
(402)GSINn3+n17Yes, if not lastGlobal Shipment Identification Number
(410)SHIP TO LOCn3+n13NoShip to or deliver to: GLN of the destination
(420)SHIP TO POSTn3+X..20Yes, if not lastShip to postal code within one country
(421)SHIP TO POSTn3+n3+X..9Yes, if not lastShip to postal code with a 3-digit ISO country code
(422)ORIGINn3+n3Yes, if not lastCountry of origin of the item (ISO 3166 numeric)
(8020)REF No.n4+X..25Yes, if not lastPayment slip reference number

Company internal

AIData titleFormatFNC1 afterMeaning
(90)INTERNALn2+X..30Yes, if not lastInformation mutually agreed between trading partners
(91-99)INTERNALn2+X..90Yes, if not lastCompany internal information

Good to know

Best before or use by?

AI (15) best before is about quality: the product is still safe after it. AI (17) expiry or use by is about safety, and is the one used for medicines and medical devices.

Reading AIs from a scan

Scanners usually send FNC1 separators as the invisible ASCII character 29 (GS), and many prefix the data with ]C1 for GS1-128 or ]d2 for GS1 DataMatrix so software knows to parse AIs.

More references