GS1008 — Value longer than the AI allows
Variable-length AIs have a maximum length in the AI table: X..20 (up to 20 characters) for AI (10) batch or lot number and AI (21) serial number, N..8 for AI (37) count, X..30 for AI (400) order number. A longer value cannot be encoded in that AI, and cutting it would turn it into a different number. An empty value is reported too: a variable-length AI needs at least one character.
Element string that triggers it
(01)09521234543213(10)AAAAAAAAAAAAAAAAAAAAAFinding: GS1008 — (10) BATCH/LOT may have at most 20 characters; it has 21.
How to fix it
Shorten the value where it is created, so that it fits the AI (20 characters for lot and serial numbers), and use the same shortened value everywhere. Do not let the label cut it: the number on the label would no longer match the number on record.
Corrected element string
(01)09521234543213(10)AAAAAAAAAAAAAAAAAAAARelated rules
GS1003 Wrong length for a fixed-length AI · GS1004 Numeric AI contains a non-digit · GS1005 Wrong check digit · GS1006 Invalid YYMMDD date · GS1007 Character outside GS1 character set 82
Sources
- GS1 General Specifications, Release 26.0, §3.2: the AI table and the rule quoted above.
- GS1 Application Identifiers reference