GS1 General Specifications
Stockaj is built against GS1 GenSpec v23+.
Application Identifiers used
| AI | Meaning | Format |
|---|---|---|
| 00 | SSCC (logistic unit) | 18 digits, fixed |
| 01 | GTIN | 14 digits, fixed |
| 10 | Batch / lot | up to 20 chars, variable |
| 11 | Production date YYMMDD | 6 digits, fixed |
| 15 | Best-before date YYMMDD | 6 digits, fixed |
| 17 | Expiry date YYMMDD | 6 digits, fixed |
| 21 | Serial number | up to 20 chars, variable |
| 414 | Physical location GLN | 13 digits, fixed |
| 8003 | GRAI | up to 30 chars, variable |
| 8004 | GIAI | up to 30 chars, variable |
Validation
- All check digits validated using GS1 Mod-10.
- Variable-length AIs use
FNC1separator (ASCIIGS0x1D in scanned input). - GTINs canonicalised to 14 digits (zero-padded GTIN-8 / -12 / -13).
Reference
- GS1 GenSpec — https://ref.gs1.org/standards/genspecs/
- GS1 Switzerland — https://www.gs1.ch/