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›GS1005

GS1005 — Wrong check digit

GTIN, SSCC, GLN and the other fixed-length numeric GS1 keys end with a check digit computed with the GS1 mod-10 algorithm (§7.9.1). Starting with the digit next to the check digit and moving left, the digits are multiplied by 3, 1, 3, 1 and so on, the products are added, and the check digit is what brings the sum up to the next multiple of ten. For 400638133393 the sum is 89, so the check digit is 1 and the GTIN-13 is 4006381333931. A wrong check digit usually means a typing error or two swapped digits. The barcode still prints and scans, but the number identifies nothing, and receiving systems reject it.

CategoryGS1 data

Element string that triggers it

(01)09521234543214

Finding: GS1005 — (01) GTIN: the check digit is 4 but should be 3. A wrong check digit still scans, and receiving systems reject it.

How to fix it

Do not make the error go away by recalculating the last digit of a number you are not sure of: a GTIN is assigned by the brand owner, and a different last digit is a different or non-existent product. Read the number again from the packaging or the brand owner's product data. When you create the number yourself, such as an SSCC from your GS1 Company Prefix, compute the check digit with the algorithm above.

Corrected element string

(01)09521234543213

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

Sources