Sign In
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutionsAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Lint Rules›GS1003

GS1003 — Wrong length for a fixed-length AI

Some GS1 Application Identifiers have a fixed length set in the AI table of the GS1 General Specifications: AI (01) GTIN is always 14 digits, AI (00) SSCC 18 digits, and dates such as AI (17) 6 digits. Because the length is predefined, no separator follows the value in the barcode: a value one digit short or long shifts every element after it, and the receiving system cannot read the string. An empty GTIN is reported with this code as well, since there is nothing to encode.

CategoryGS1 data

Element string that triggers it

(01)0952123454321

Finding: GS1003 — (01) GTIN must have exactly 14 digits; it has 13.

How to fix it

Write exactly the number of digits the AI takes. A GTIN-8, GTIN-12 or GTIN-13 becomes the 14 digits of AI (01) by adding zeros on the left, which keeps its check digit valid (00012345678905 is GTIN-12 012345678905). Never cut digits or pad on the right. A number of any other length, for example 10 digits, is not a GTIN: take the number from the product packaging or from the brand owner.

Corrected element string

(01)09521234543213

GS1004 Numeric AI contains a non-digit · GS1005 Wrong check digit · GS1006 Invalid YYMMDD date · GS1007 Character outside GS1 character set 82 · GS1008 Value longer than the AI allows

Sources