symbology
The symbol breaks a rule that belongs to its own symbology, or the GS1 data inside it is malformed.
| Levels | fail, check |
| Applies to | UPC-E, ITF-14, GS1-128 and Code 128, GS1 DataBar, GS1 DataMatrix and Data Matrix, QR Code, GS1 Digital Link |
| Needs a print size | only for ITF-14 bearer bar thickness and GS1-128 length |
What it means
Size, bar height, quiet zone and colour are the same kind of check for every barcode. This rule holds the rest: things only one symbology has, such as the frame round an ITF-14, and the format of GS1 data such as dates and lot numbers. The issue text says which.
Why scanners care
Most of these stop the code being read as what it is meant to be. A GS1-128 without its FNC1 flag is read as plain text. A date of 31 February is not a date. An ITF-14 without bearer bars can be read short, as a wrong number.
How to fix it
Almost always: regenerate the symbol in barcode software, with the symbology set correctly and the data typed as GS1 data, such as (01)09501101530003(17)271231(10)AB12. Don't build these by hand or convert one symbology into another in a drawing tool.
What it reports
symbologyProblems and the functions it calls in src/rules/gs1.ts.
| Symbology | Finding | Level | Source |
|---|---|---|---|
| UPC-E | number system other than 0 | fail | §5.2.2.4.1: "D1 SHALL always be zero" |
| UPC-E | not the standard zero suppression of its GTIN-12 | fail | §5.2.2.4.1, §5.2.2.4.2 |
| ITF | not 14 digits | check | §5.3.1 |
| ITF-14 | wide bars under 2.25 or over 3.0 times the narrow ones (0.02 of measuring tolerance) | fail | Table 5-47 note *; §5.3.6 |
| ITF-14 | no bearer bars, or one of top and bottom missing | fail | §5.3.2.4 |
| ITF-14 | bearer bars top and bottom only, no frame | check | §5.3.2.4 |
| ITF-14 | bearer bars thinner than twice the narrow bar | check | §5.3.2.4 |
| Code 128 | holds GS1 data, or a bare GTIN, without FNC1 first | fail | §5.4 |
| GS1-128 | brackets encoded in the bars | fail | §5.12.5.10.4, §4.14 |
| GS1-128 | more than 48 data characters, counting each FNC1 used as a separator | fail | §5.4.4.3 |
| GS1-128 | longer than 165.10 mm with its quiet zones | fail | §5.4.4.3 |
| GS1 DataBar Limited | on any pack: it isn't for tills | check | §5.5.2.2 |
| GS1 DataBar Expanded | more than 74 digits or 41 characters | fail | §5.5.2.3 |
| GS1 DataMatrix | a DMRE rectangular size | check | §5.6.3.2 |
| Data Matrix | holds GS1 data without FNC1 first | fail | §5.6.2 |
| QR Code | holds GS1 data without FNC1 first | check | §5.7 |
GS1 Digital Link (QR Code and Data Matrix)
GS1 Digital Link Standard: URI Syntax, Release 1.7.0. A finding is a fail when a scanner built to the current standard rejects the link: GS1's own parser, the GS1 Barcode Syntax Engine, rejects convenience alphas and short GTINs unless an option for legacy links is turned on.
| Finding | Level | Source |
|---|---|---|
a convenience alpha (gtin, lot, ser…) in place of the AI digits | fail | §4.1: removed in 1.3 |
| a GTIN of 8, 12 or 13 digits | fail | §4.1, §4.5: 14 digits since 1.4 |
| a part in the path that isn't a key qualifier of its primary key, qualifiers out of order, or qualifiers that can't go together | fail | §4.4, §4.9 (/01/…/22/…/10/…/21/…, /01/…/235/…, /8010/…/8011/… and the rest, from the dictionary's dlpkey entries) |
/415/… without /8020/… | fail | §4.9: payTo-path = payTo-comp refNo-comp |
| a key that isn't a GS1 Application Identifier | fail | §4.3, §4.10 |
http:// instead of https:// | check | §3 |
| every value in the path and the query, and the rules across them | as for element strings below | §4.10; GenSpecs §4.13 |
Element strings
For any GS1 data: GS1-128, DataBar Expanded, GS1 DataMatrix, GS1 QR Code, and a Digital Link's path and query. Every AI, its format, length, character set and content checks come from GS1's machine-readable table, the GS1 Barcode Syntax Dictionary (release 2026-01-27, src/rules/ai-table.ts, generated by npm run gen:ai; GenSpecs Table 3-1 is the printed form of the same table).
| Finding | Level | Source |
|---|---|---|
| an Application Identifier GS1 doesn't define | fail | §3.2, Table 3-1 |
| a field of the wrong length, or letters where digits belong | fail | Table 3-1 format column |
| a character outside set 82, or outside set 39 for (8010), (8030) base64url | fail | §7.11, Tables 7-20, 7-21 |
| a wrong check digit (any key: (00), (01), (02), (253), (402), (414) and the rest) | fail | §7.9.1 |
| a wrong check character pair, (8013) | fail | §7.9.5 |
| a date that isn't a real date (day 00 means the end of the month where the AI allows it), a time that isn't one | fail | §7.12, §3.4.2; the dictionary's linters |
| a value the AI's linter rejects (zero/non-zero, piece of total, latitude, Y/N flags…) | fail | the dictionary |
| the same AI twice with different values | fail | §4.13.1 |
| an invalid pair, such as (01) with (02), (21) with (235) | fail | §4.13.1, Table 4-4 |
| a mandatory partner missing from every barcode on the page (lot, dates, serial, measures without a GTIN; (02) without (00) and (37); (8020) without (415)…) | check | §4.13.2, Table 4-5 |
| a GTIN starting with 9 with no count (30), trade measure (31nn, 32nn, 35nn, 36nn), roll dimensions (8001) or made-to-order variation (242) on the page | check | Table 4-5, rows "01 with N1 = 9"; §3.6.2 |
| expiry before production | fail | none: plain consistency |
| an expiry or best-before date already past | check | none |
A mandatory association is a check, worded "goes with (01) on the same item, and no barcode on this page carries it", because GS1 asks for the partner "on the same physical entity", which "does not necessarily mean… in the same data carrier" (§4.13.2), and a GTIN in an EAN/UPC or ITF-14 beside it counts. The grader sees one file, not the pack.
Limits
- Linters that need a registry or code list are not applied: GS1 Company Prefix position (
gcppos1,gcppos2), ISO 3166 country codes, ISO 4217 currencies, IBAN, importer index, media and package types, coupon codes. A value they would reject passes (NOT_APPLIEDinsrc/rules/ai.ts). - Predefined-length AIs placed first and FNC1 only where needed (§7.8.3–§7.8.6) aren't checked.
- A compressed Digital Link isn't recognised as one; Table 5-46 note ** asks for the uncompressed form at retail.
Spec
GS1 General Specifications, Release 26.0: §5.2.2.4 (UPC-E), §5.3 (ITF-14), §5.4.4.3 (GS1-128 limits), §5.5 (DataBar), §5.6 (GS1 DataMatrix), §5.9 (Data Matrix), §3.2 and §4.13 (Application Identifiers and their relationships), §7.9, §7.11, §7.12. GS1 Digital Link Standard: URI Syntax, Release 1.7.0, §4 and §6.1. GS1 Barcode Syntax Dictionary, release 2026-01-27 (Apache-2.0). Full table: spec map, symbology.