GS1 Application Identifier Standard Format - terryburton/postscriptbarcode GitHub Wiki

GS1 Application Identifier Standard Format

Certain barcode symbologies (including GS1-128, GS1 DataBar Expanded, GS1 DataMatrix, GS1 QR Code and GS1 Composite Symbols) represent standardized GS1 data and require that their data field is provided in GS1 Application Identifier standard format, consisting of a concatenated string of AIs along with their corresponding values.

The AIs are a set of approximately one hundred two-, three- or four-digit prefixes written within parentheses that represent physical attributes and business information, e.g.

  • (00) is an eighteen-digit SSCC.
  • (01) is a fourteen-digit GTIN.
  • (403) is a variable-length routing code.

The following input represents GTIN-14 09521234543213; Expiration Date 1 January 2010; Batch 123ABC; Serial 1234567890:

(01)09521234543213(17)100101(10)123ABC(21)1234567890

Encoders for barcode symbologies that expect data in GS1 Application Identifier standard format will take care of parsing the input and inserting any necessary FNC1 characters to delimit variable length fields.

Note: Instances of parentheses, ( and ), within Application Identifier values in the input must be escaped using the parse option as ^040 and ^041, respectively.

GS1 Application Identifier Linting

The input is checked against the structural rules for the GS1 Application Identifiers, as described in this article, unless the dontlint option is given. The Application Identifier definitions are provided in the GS1 General Specifications.

⚠️ **GitHub.com Fallback** ⚠️