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

GS1006 — Invalid YYMMDD date

Dates in AIs (11), (12), (13), (15), (16) and (17) are six digits, YYMMDD. The month must be 01 to 12 and the day must exist in that month: there is no 30 February, and 29 February only in a leap year. Day 00 is allowed: when only the year and month are known, the day is filled with two zeros, and for AI (17) GS1 states that this is read as the last day of the month, leap years included (§3.4.7: 160200 is 29 February 2016). The two-digit year is placed in a century by a sliding window that reaches 49 years back and 50 years ahead of the current year (§7.12).

CategoryGS1 data

Element string that triggers it

(01)09521234543213(17)270230

Finding: GS1006 — (17) USE BY or EXPIRY: 270230 is not a valid YYMMDD date (month 01-12; day 00 means the last day of the month).

How to fix it

Write the date as YYMMDD with a real month and day, or 00 for the end of the month. For regulated healthcare products GS1 no longer allows day 00 from 1 January 2025: write the actual last day, for example 31. A date outside the 50-year window cannot be expressed in these AIs.

Corrected element string

(01)09521234543213(17)270200

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

Sources