GS1 AI Compatibility List

The list of GS1 AIs supported by StrokeScribe barcode generator. When the EAN128 or GS1DATAMATRIX alphabet is applied, the barcode generator checks the user-supplied data against the AI semantics described below.

An Encoding Example

A typical GS1 string (11)120201(10)123ABCD(3101)123456 with Production data, Batch number and Net weight must be passed to the barcode generator as:

1112020110123ABCD~d0293101123456

~d029 is the variable-length field separator. We need this code here because AI 10 contains a variable length data.

The ProcessTilde property must be switched on to enable the use of ~d and ~x constants. Also, Chr(29) can be used in Visual Basic instead of the tilde sequence:

"1112020110123ABCD" & Chr(29) & "3101123456"

The List of Supported AIs

The list is based on release 18 of the GS1 General Specifications and is effective starting from version 5.1.9 of the ActiveX.

AIWhat is encodedData type
00Serial Shipping Container Code(SSCC-18) N18
01Global Trade Item Number (GTIN) N14
02GTIN of contained trade itemsN14
10Batch NumberA1..20
11Production DateYYMMDD
12Due DateYYMMDD
13Packaging DateYYMMDD
15Best before dateYYMMDD
16Sell by dateYYMMDD
17Expiration DateYYMMDD
20Product VariantN2
21Serial NumberA1..20
22Consumer product variant A1..20
240Additional product identification assigned by the manufacturerA1..30
241Customer part numberA1..30
242Made-to-Order variation numberN1..6
243Packaging component numberA1..20
250Second Serial NumberA1..30
251Reference to source entityA1..30
253Global Document Type Identifier N13 + A1..17
254GLN extension component A1..20
255Global Coupon Number (GCN) N13 + N1..12
30Variable countN1..8
310YProduct Net Weight in kgN5
311YProduct Length/1st Dimension, in metersN6
312YProduct Width/Diameter/2nd Dimension, metersN6
313YProduct Depth/Thickness/3rd Dimension, metersN6
314YProduct Area, in square metersN6
315YProduct Volume, in litersN6
316YProduct Volume, in cubic metersN6
320YProduct Net Weight, in poundsN6
321YProduct Length/1st Dimension, in inchesN6
322YProduct Length/1st Dimension, in feetN6
323YProduct Length/1st Dimension, in yardsN6
324YProduct Width/Diameter/2nd Dimension, in inchesN6
325YProduct Width/Diameter/2nd Dimension, in feetN6
326YProduct Width/Diameter/2nd Dimension, in yardsN6
327YProduct Depth/Thickness/3rd Dimension, in inchesN6
328YProduct Depth/Thickness/3rd Dimension, in feetN6
329YProduct Depth/Thickness/3rd Dimension, in yardsN6
330YContainer Gross Weight (Kg)N6
331YContainer Length/1st Dimension (Meters)N6
332YContainer Width/Diameter/2nd Dimension (Meters)N6
333YContainer Depth/Thickness/3rd Dimension (Meters)N6
334YContainer Area (Square Meters)N6
335YContainer Gross Volume (Liters)N6
336YContainer Gross Volume (Cubic Meters)N6
337YKilograms Per Square MetreN6
340YContainer Gross Weight (Pounds)N6
341YContainer Length/1st Dimension, in inchesN6
342YContainer Length/1st Dimension, in feetN6
343YContainer Length/1st Dimension in, in yardsN6
344YContainer Width/Diameter/2nd Dimension, in inchesN6
345YContainer Width/Diameter/2nd Dimension, in feetN6
346YContainer Width/Diameter/2nd Dimension, in yardsN6
347YContainer Depth/Thickness/Height/3rd Dimension, in inchesN6
348YContainer Depth/Thickness/Height/3rd Dimension, in feetN6
349YContainer Depth/Thickness/Height/3rd Dimension, in yardsN6
350YProduct Area (Square Inches)N6
351YProduct Area (Square Feet)N6
352YProduct Area (Square Yards)N6
353YContainer Area (Square Inches)N6
354YContainer Area (Square Feet)N6
355YContainer Area (Suqare Yards)N6
356YNet Weight (Troy Ounces)N6
357YNet weight (or volume), ounces N6
360YProduct Volume (Quarts)N6
361YProduct Volume (Gallons)N6
362YContainer Gross Volume (Quarts)N6
363YContainer Gross Volume (Gallons)N6
364YProduct Volume (Cubic Inches)N6
365YProduct Volume (Cubic Feet)N6
366YProduct Volume (Cubic Yards)N6
367YContainer Gross Volume (Cubic Inches)N6
368YContainer Gross Volume (Cubic Feet)N6
369YContainer Gross Volume (Cubic Yards)N6
37Count of trade items N1..8
390YApplicable amount payable or Coupon value, local currency N1..15
391YAmount payable – with ISO currency code N3 + N1..15
392YApplicable amount payable, single monetary area N1..15
393YApplicable amount payable with ISO currency codeN3 + N1..15
394YPercentage discount of a coupon N4
400Customer Purchase Order NumberA1..30
401Consignment numberA1..30
402Shipment Identification Number N17
403Routing codeA1..30
410Ship to - deliver to EAN.UCC Global Location NumberN13
411Bill to - invoice to EAN.UCC Global Location NumberN13
412Purchased from EAN.UCC Global Location NumberN13
413Ship for - deliver for - forward to EAN.UCC Global Location NumberN13
414Identification of a physical location EAN.UCC Global Location NumberN13
415Global Location Number of the invoicing partyN13
416GLN of the production or service location N13
420Ship to - deliver to postal code within a single postal authorityA1..20
421Ship to - Deliver to postal code with ISO country codeN3 + A1..9
422Country of origin of a trade itemN3
423Country of initial processingN3 + N1..12
424Country of processingN3
425Country of disassembly N3 + N1..12
426Country covering full process chainN3
427Country subdivision of origin A1..3
7001NATO stock numberN13
7002UN/ECE meat carcasses and cuts classificationA1..30
7003Expiration date and timeN10
7004Active potencyN1..4
7005Catch areaA1..12
7006First freeze dateYYMMDD
7007Harvest dateN6..12
7008Species for fishery purposesA1..3
7009Fishing gear typeA1..10
7010Production methodA1..2
7020Refurbishment lot IDA1..20
7021Functional statusA1..20
7022Revision statusA1..20
7023Global Individual Asset Identifier (GIAI) of an assemblyA1..30
7030..7039Number of processor with three-digit ISO country codeN3 + A1..27
710..714National Healthcare Reimbursement NumberA1..20
7230..7239Certification referenceA2 + A1..28
7240Protocol IDA1..28
8001Roll Products - Width/Length/Core DiameterN14
8002Cellular mobile telephone identifierA1..20
8003Global Returnable Asset Identifier (GRAI)N14 + A1..16
8004Global Individual Asset Identifier (GIAI)A1..30
8005Price per Unit of MeasureN6
8006Identification of an individual trade item pieceN18
8007International Bank Account NumberA1..34
8008Date and Time of ProductionN8 + N1..4
8010Component/Part Identifier (CPID)A1..30
8011Component/Part Identifier serial number (CPID SERIAL)N1..12
8012Software versionA1..20
8013Global Model Number (GMN)A1..30
8017Global Service Relation Number (GSRN) - PROVIDERN18
8018Global Service Relation Number (GSRN) - RECIPIENTN18
8019Service Relation Instance Number (SRIN)N1..10
8020Payment Slip Reference NumberA1..25
8110Coupon code identification for use in North AmericaA1..70
8111Loyalty points of a couponN4
8112Paperless coupon code identification for use in North AmericaA1..70
8200Extended Packaging URLA1..80
90Mutually Agreed Between Trading Partners A1..30
91..99Company internal informationA1..90