Comprehensive guide to GS1 Application Identifiers (AIs) for barcode encoding
Application Identifiers (AIs) are standardized prefixes that define the meaning and format of data elements in GS1 barcodes. They enable structured encoding of multiple data fields within a single barcode.
[AI][Data][FNC1][AI][Data][FNC1]...
01123456789012315190521103210Ab1234
AI | Description | Format | Length | Example |
---|---|---|---|---|
00 | Serial Shipping Container Code (SSCC) | Numeric | 18 digits (fixed) | 001234567890123456 |
01 | Global Trade Item Number (GTIN) | Numeric | 14 digits (fixed) | 12345678901231 |
10 | Batch or Lot Number | Alphanumeric | 1-20 chars (variable) | ABC123 |
11 | Production Date | YYMMDD | 6 digits (fixed) | 241010 |
15 | Best Before Date | YYMMDD | 6 digits (fixed) | 251210 |
17 | Expiration Date | YYMMDD | 6 digits (fixed) | 251215 |
21 | Serial Number | Alphanumeric | 1-20 chars (variable) | SN123456 |
240 | Additional Product Identification | Alphanumeric | 1-30 chars (variable) | PRODUCT-VARIANT-A |
310n | Net Weight (kg) | Numeric (n=decimal places) | 6 digits (fixed) | 3101001250 (12.50 kg) |
37 | Number of Units Contained | Numeric | 1-8 digits (variable) | 24 |
The 3xxx series AIs are used for various measurements. The last digit (n) indicates the number of decimal places.
3101001250
= 12.50 kg (1 decimal place)3102001250
= 1.250 kg (2 decimal places)3103001250
= 0.1250 kg (3 decimal places)
01123456789012315251210103210ABC
0098765432109876543111241010
0112345678901231152512101021SN78910031010012503720024
\F
in some systems00 | SSCC (18) |
01 | GTIN (14) |
11 | Production Date (6) |
15 | Best Before (6) |
17 | Expiry Date (6) |
310n-315n | Measurements (6) |
10 | Batch/Lot (1-20) |
21 | Serial Number (1-20) |
240 | Additional ID (1-30) |
37 | Count (1-8) |
90-99 | Company Internal (1-30) |