Datatypes

Serial number (GS1 AI 21)

ID gs1_ai_21

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

GS1 element string of Application Identifier (21): '21' followed by the serial number of one instance of a trade item, up to 20 characters of GS1 character set 82. GS1 format N2+X..20. With the GTIN in AI (01) it identifies one item, the serialised GTIN (SGTIN). It is a key qualifier in GS1 Digital Link. In the human-readable text under a barcode it is written as (21) and the value.

Categories
GS1 standards, Objects identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
GS1 Application Identifier
(21)
Quality
85/100 · missing: translation, detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^21[!%-?A-Z_a-z\x22]{1,20}$

Python re syntax.

Examples

ValueDescription
21SN58213XSerial number SN58213X
217XK29Serial number 7XK29
21AAAAAAAAAAAAAAAAAAAAA invalidSerial number longer than 20 characters

Sources

Use this record