What a GS1-128 label is
GS1-128 is a way of using the Code 128 symbology defined by GS1: the code begins with a special character announcing that its contents follow the syntax of application identifiers. That syntax allows several data elements to be chained in a single code and interpreted in the same way by any system.
It is used on cases and pallets, not on the unit the consumer buys. The shelf product carries an EAN-13, which identifies only the product. The case carries GS1-128 because the warehouse also needs the lot and the date.
How it is read: application identifiers
An application identifier is a number of two to four digits that indicates which data element follows and what format it has. GS1 publishes the complete list in its application identifier catalog. Those that appear most in a warehouse:
| Identifier | Data element | Format |
|---|---|---|
| (00) | SSCC of the logistics unit | 18 digits, fixed length |
| (01) | GTIN of the product | 14 digits, fixed length |
| (10) | Lot | Up to 20 characters, variable length |
| (11) | Production date | YYMMDD |
| (15) | Best-before date | YYMMDD |
| (17) | Expiration date | YYMMDD |
| (21) | Serial number | Up to 20 characters, variable length |
| (37) | Count of items contained | Up to 8 digits, variable length |
| (310n) | Net weight in kilograms | 6 digits; n indicates the decimals |
The parentheses are printed in the human-readable text under the bars to make reading easier; they are not part of what the code contains.
An example, element by element
The label of a case of yogurt:
(01)09506000134352(17)261231(10)L2410
- (01) 09506000134352: the GTIN of the case, with 14 digits. A 13-digit GTIN is completed with a leading zero.
- (17) 261231: it expires on December 31, 2026. When the day is 00, the date is interpreted as the last day of the month.
- (10) L2410: the lot. It comes last because it is variable in length.
With one scan, the system obtains the product, the expiration date and the lot. Without the label, the operator scans the product and types the other two, with the risk of inverting day and month or confusing a zero with the letter O.
Fixed length, variable length and the separator
Fixed-length data, such as the GTIN and the dates, need not indicate where they end. Variable-length data, such as the lot and the serial number, must: if another element follows them, a separator character (FNC1) is inserted, which is not printed in the human-readable text. Two practices prevent errors:
- Place the variable element last. A single variable element at the end requires no separator.
- Test the label with an actual scanner and system before printing thousands. A label that looks correct may lack the start character or the separator and be read as an ordinary Code 128, without structure.
The logistics label and the SSCC
The GS1 logistics label identifies a complete pallet or shipping case. Its central element is the SSCC, with identifier (00): 18 digits that combine an extension digit, the GS1 company prefix, a serial reference and a check digit. Each load unit receives a different number.
The SSCC does not describe the contents: it is a license plate. The contents travel in the advance shipping notice the supplier sends before delivery, in which each SSCC is linked to its products, lots and quantities. The receiver scans the SSCC and the system already knows what the pallet contains.
The label is usually divided into three sections: at the top, free text with shipper and consignee; in the middle, the human-readable data, such as SSCC, product, quantity, lot and expiration date; at the bottom, the barcodes. For pallets with a single product and lot, in addition to (00) the label includes (02), the GTIN of the items contained, and (37), their count.
When each one is needed
| Situation | Label |
|---|---|
| Cases of product with lot and expiration date | GS1-128 with (01), (17) and (10) |
| Product with a serial number | GS1-128 with (01) and (21), or GS1 DataMatrix |
| Pallets delivered to a retail chain | Logistics label with SSCC (00) |
| Pallets that move only within the same warehouse | An internal code is sufficient |
| Bulk or variable-weight product | GS1-128 with (01) and the weight (310n) |
To print labels with a GTIN or an SSCC, the company needs its GS1 company prefix; in Mexico it is obtained with a GS1 México membership. The article on GS1 barcodes in Mexico explains the procedure.
Common errors
- Using the GTIN of the piece on the case. The case is another pack size and carries its own GTIN.
- Date in a different format. DDMMYY instead of YYMMDD produces wrong expiration dates that the system accepts as valid.
- Repeating an SSCC. Two pallets with the same number cannot be told apart at the customer's receiving dock.
- Bars that are too small or without quiet zones. The code reads in the office and fails on the dock, at a distance and in low light.
- Printing in direct thermal labels that must last for months. Heat and light erase them; for long storage, thermal transfer is advisable.
How Chainlink WMS does it
In Chainlink WMS, when a GS1-128 label is scanned at receiving, the app takes the product, the expiration date, the lot and the serial number if they are on the label. If a data element the product requires is missing, the app requests it. The same reading works when receiving a transfer, when building packages at packing and with GS1 DataMatrix codes. With a minimum shelf life configured, a lot that expires before the period stops receiving until an authorized user decides.
Within your operation, each pallet is identified with its own code, such as LP00001234, printed in Code 128. The generation of logistics labels with SSCC is not part of what the plans currently offer; if a customer requires it of you, confirm the requirement with the sales team. Product, location and pallet label templates are designed with a preview and printed on Zebra printers. See receiving and label printing.
Frequently asked questions
What is the difference between Code 128 and GS1-128?
Code 128 is the symbology: the way the bars are drawn. GS1-128 is a use of that symbology with a special start character and with the data organized by application identifiers.
What does (01) mean in a barcode?
It is the application identifier of the GTIN: it indicates that the following 14 digits identify the product or the pack size.
Does the SSCC replace the GTIN?
No. The GTIN identifies the product; the SSCC, one specific load unit. A pallet carries an SSCC and contains products identified by their GTIN.
Is a special scanner needed to read GS1-128?
No. Any scanner that reads Code 128 reads it. The interpretation of the identifiers is done by the system that receives the string.