SSCCAPI Academy · Interactive Roadmap

Master SSCC-18, GS1 Pallet Labels & Supply Chain Barcodes

A practical 6-module roadmap for warehouse managers, EDI specialists, and ERP developers. Learn how barcode types differ, how a compliant GS1 pallet label is built, and how physical pallets connect to EDIFACT, SAP IDocs, and Zebra printers.

⏱ ~12 min complete track 🧪 Live SSCC Anatomy Lab 🏷️ 3-Zone Label Blueprint ✅ Quick Mastery Quiz
Module 01 · Foundations

GS1 Keys & Barcode Types Explained

Supply chain teams often confuse product barcodes with pallet barcodes. In the GS1 system, each key identifies a different real-world entity — and the SSCC is the unique "license plate" of a physical logistics unit (pallet, carton, roll cage, or parcel).

SSCC · AI (00) — Logistics Unit18 digits

Uniquely identifies one specific physical pallet or shipment unit. Never repeated on another pallet (like a vehicle license plate). Used in EDI DESADV and warehouse receiving gates.

GTIN · AI (01) / (02) — Trade Item8 / 12 / 13 / 14

Identifies a product SKU (e.g. "Box of 12 Olive Oil Bottles"). Every identical box carries the same GTIN. On pallet labels, AI (02) tells the WMS what GTIN is packed inside the pallet.

GLN · AI (410) / (414) — Location13 digits

Identifies a company, warehouse, or loading dock (e.g. Sonae Azambuja Hub). Used in EDI NAD+CZ / NAD+SU headers to route shipments accurately.

Attribute AIs · (10) (15) (37) (400)Variable

Dynamic shipment metadata attached to a pallet: (10) Batch/Lot, (15) Best Before Date YYMMDD, (37) Trade Item Count, and (400) Customer Purchase Order.

Barcode Carriers: 1D GS1-128 vs 2D QR Digital Link (Sunrise 2027)

The same GS1 data can be carried by different barcode symbologies depending on your scanners and retail partner requirements:

Barcode TypeStandardPayload ExampleWhere It Is Used
1D GS1-128 Code 128 Subset C + FNC1 ]C100356012345600000016 Mandatory global standard for pallet labels. Read at 1–3 m distance by laser guns, forklift terminals, and automated conveyor gates.
2D QR Digital Link ISO/IEC 18004 QR (ECC M) https://ssccapi.com/00/356012345600000016 GS1 Sunrise 2027 standard. Encodes SSCC + Lot + Expiry inside a web URI readable by both 2D industrial imagers and smartphones.
Dual (1D + 2D) Hybrid Transition Label Lower 1D GS1-128 + Upper-Right 2D QR Recommended today. Guarantees 100% compatibility with legacy 1D warehouse lasers while already passing Sunrise 2027 2D audits.
EAN-13 / ITF-14 Retail POS / Corrugated Case 5601234567892 Only encodes a static GTIN (no SSCC, no expiry, no lot). Used on consumer retail units and outer cardboard cartons — not for SSCC pallet labels.
Module 02 · Interactive Lab

Anatomy of an 18-Digit SSCC

Every SSCC has strictly 18 digits (preceded visually by Application Identifier (00), which is not counted in the 18 digits). Try editing the Extension Digit, GS1 Company Prefix, or Serial below to see how the structure and Modulo 10 check digit adapt live:

(00)AI · Not stored
3Extension (1)
56012345GCP (8 digits)
00000001Serial (8 digits)
2Check Digit (1)
Full SSCC-18: 356012345000000012 · Issuing GS1 MO: 🇵🇹 Portugal (560) Open in Label Studio →
  • AI (00): Signals to GS1-128 scanners and WMS parsers that the next 18 digits are an SSCC.
  • Extension Digit (0–9): Chosen by your company to increase numbering capacity or classify packaging level (e.g. 0 = Euro-pallet, 3 = mixed pallet).
  • GS1 Company Prefix (GCP): Officially licensed by your local GS1 Member Organisation (7–10 digits). The first 3 digits identify the issuing GS1 country (e.g. 560 Portugal, 840–849 Spain, 400–440 Germany).
  • Serial Reference: Assigned sequentially by your ERP/WMS so no two pallets ever collide. Its length adjusts automatically so 1 + GCP + Serial = 17 digits.
  • Check Digit (18th digit): Computed with Modulo 10 to immediately catch scan errors or manual typos.
Important: The GS1 prefix identifies the organisation that issued the company prefix — not the country of manufacture or origin of the goods.
Module 03 · Physical Logistics

How a Compliant GS1 Pallet Label Works

A GS1 Logistics Label (typically A5 · 148×210 mm in European retail, or 4×6" · 100×150 mm on Zebra thermal printers) is always organized into three standardized horizontal zones from top to bottom:

Zone 1 · Free Format
FROM: LOGISTICS DISPATCH LTD
TO: SONAE MC — HUB AZAMBUJA
ORDER: PO-2026-994 · WEIGHT: 450 KG
Zone 2 · Trade & Multi-AI
GTIN (02): 05601234567892
COUNT (37): 48 · LOT (10): LOT-26
BEST BEFORE (15): 2026-12-31
2D QR
(02)05601234567892(15)261231(37)48(10)LOT-26
Zone 3 · Mandatory SSCC
SSCC (00)
(00) 3 56012345 00000001 2

Zone 1 (Top) — Company & Routing Info

Human-readable header: Consignor (FROM), Consignee (TO), Purchase Order reference, gross weight, and pallet count (e.g. Pallet 1 of 24).

Zone 2 (Middle) — Trade Details & Secondary Multi-AI

Required by most European supermarket chains for homogeneous pallets. Combines (02) GTIN + (15) Expiry + (37) Quantity + (10) Lot in one GS1-128 barcode, plus optional Sunrise 2027 2D QR Digital Link.

Zone 3 (Bottom) — Mandatory SSCC-18 Barcode

Always at the very bottom of the label so forklift scanners read it cleanly. Minimum bar height: 32 mm. Mandatory white Quiet Zones ≥ 10X on both left and right edges.

Physical Placement Rules on the Pallet (GS1 Standard)

  • Two Adjacent Faces: Apply 2 identical labels on adjacent sides (one short side + one long side) — or all 4 sides for Amazon LTL pallets.
  • Height from Floor: Place between 400 mm and 800 mm from the base of the pallet so automated conveyor scanners never miss the barcode.
  • Edge Clearance: Keep at least 50 mm away from vertical pallet edges (never wrap a barcode around a corner!).
  • Stretch-Wrap Contrast: Apply over or cleanly beneath clear, non-wrinkled stretch film; wrinkled film causes laser refraction errors.
Module 04 · Math & Implementation

Check Digit Algorithm (GS1 Modulo 10) & Code

Given the 17-digit SSCC body (without check digit and without AI 00):

  1. Starting from the rightmost digit, multiply alternating digits by 3 and 1.
  2. Sum all 17 products together.
  3. Check digit = (10 - (sum mod 10)) mod 10.

Worked Example · Body: 35601234500000001

Pos (R→L) 123456789 1011121314151617
Digit 100000005 43210653
Weight 313131313 13131313
Product 3000000015 492301859
Sum = 68 · Check digit = (10 − (68 mod 10)) mod 10 = (10 − 8) mod 10 = 2 → Full SSCC: 356012345000000012
Fast validation trick: Including the check digit (with weight 1 at the rightmost position), any valid SSCC satisfies totalSum % 10 === 0. Try any GS1 key (GTIN-8/12/13/14, GLN, SSCC) in our Interactive Calculator.
/** Calculate GS1 Modulo 10 check digit for a 17-digit SSCC body. */
function getCheckDigit(body17) {
    let sum = 0;
    const digits = body17.split('').reverse();
    for (let i = 0; i < digits.length; i++) {
        sum += parseInt(digits[i], 10) * (i % 2 === 0 ? 3 : 1);
    }
    return (10 - (sum % 10)) % 10;
}

/** Normalise & validate 17, 18, or 20-digit (AI 00) SSCC strings. */
function validateSSCC(raw) {
    let d = String(raw).replace(/\D/g, '');
    if (d.length === 20 && d.startsWith('00')) d = d.slice(2);
    if (d.length !== 18) return { valid: false, error: 'Expected 18 digits' };
    const expected = getCheckDigit(d.slice(0, 17));
    const provided = parseInt(d[17], 10);
    return { valid: provided === expected, sscc: d, expected, provided };
}

validateSSCC('(00)356012345000000012'); // { valid: true, expected: 2, provided: 2 }

4 Classic Mistakes That Break Warehouse Receiving

  • Keeping the leading 00 AI: Laser scanners output 20 digits (00 + 18-digit SSCC). Always strip 00 before storing in SAP EXIDV or computing the check digit.
  • Excel scientific notation corruption: Opening an SSCC CSV in Excel turns 356012345000000012 into 3.56012E+17 and zeroes out the final digits! Always store SSCCs as text strings (never float/int64 in spreadsheets).
  • Forgetting FNC1 (>8) in Zebra ZPL: Without >8, Zebra prints plain Code 128 instead of GS1-128 — retail dock scanners will reject the pallet.
  • Reusing serial numbers too early: GS1 rules prohibit reusing an SSCC within 12 months (best practice: never reuse).
Module 05 · Systems Integration

Connecting Physical Labels to EDIFACT, SAP IDocs & Zebra ZPL-II

An SSCC only unlocks automated warehouse receiving when the exact same 18-digit code travels in parallel physically (on the pallet label) and electronically (in the Advance Shipping Notice sent before the truck arrives):

STEP A
ERP / WMS
Assigns unique SSCC-18 per pallet
STEP B
Zebra ZPL-II
Prints A5 / 4×6" GS1-128 + 2D QR
STEP C
EDI DESADV / IDoc
Sends GIN+BJ / EXIDV ahead of truck
STEP D
1-Scan Intake
Hub scans (00) & auto-receives full pallet

1. UN/EDIFACT D.96A DESADV Segments

In European retail EDI (DESADV Despatch Advice & IFTMIN), SSCCs are transmitted inside the CPS / PAC / PCI+33E / GIN+BJ hierarchy:

SegmentRoleExample
GIN+BJ+<SSCC>'Primary SSCC-18 identifier (BJ = GS1 Serial Shipping Container Code)GIN+BJ+356012345000000012'
PCI+33E'Package Identification: marked with GS1 SSCCPCI+33E'
RFF+SI:<SSCC>'Shipment Reference fallback used by some carriersRFF+SI:356012345000000012'

2. SAP ERP / S/4HANA IDocs (DELVRY03 / E1EDL44 / EXIDV)

In SAP SD/LE/WM/EWM, SSCCs are stored as External Handling Unit IDs (EXIDV) inside E1EDL37 (HU Header) and E1EDL44 (HU Item Assignment):

<E1EDL37 SEGMENT="1">
    <EXIDV>356012345000000012</EXIDV>   <!-- 18-digit SSCC -->
    <VHILM_KU>00</VHILM_KU>
    <E1EDL44 SEGMENT="1">
        <VELIN>1</VELIN>
        <MATNR>05601234567892</MATNR>
        <VEMNG>48.000</VEMNG>
        <EXIDV>356012345000000012</EXIDV>
    </E1EDL44>
</E1EDL37>

3. Zebra ZPL-II Command Anatomy (^BCN + ^BQN)

When printing on industrial Zebra printers (ZT411, ZD421, GK420d via Raw TCP Port 9100), every compliant GS1 ZPL stream must follow four linter rules:

^XA
; 2D GS1 Digital Link QR Code (Model 2, Magnification 4, ECC Q)
^FO575,168^BQN,2,4^FDQA,https://ssccapi.com/00/356012345600000016^FS

; 1D GS1-128 Linear Barcode: FNC1 (>8) + Subset C (>5) + AI 00 + 18-digit SSCC
^FO65,565^BY3,3,210^BCN,210,N,N,N,D^FD>8>500356012345600000016^FS
^XZ
  • ^XA ... ^XZ Frame: Valid label start/end delimiters.
  • >8 FNC1 Escape: Mandatory inside ^BC to identify the barcode as GS1-128 (without >8 it scans as plain Code 128!).
  • >5 Code 128 Subset C: Compresses numeric pairs for high density and crisp scanning.
  • Valid Modulo-10 SSCC: Test any ZPL snippet live in the Zebra ZPL-II Linter inside SSCCAPI Studio.
Module 06 · Production Compliance & Mastery Check

European Retailer GS1 Specs, Quiz & FAQ

Major European retail hubs enforce strict pallet specs — non-compliant labels cause dock rejections or chargebacks. All 5 profiles below are pre-built into SSCCAPI Pallet Label Studio:

Retailer ProfilePrimary HubsMandatory Label & EDI Rules
🇵🇹 Sonae MC / Continente Azambuja, Maia A5 Portrait · Lower AI (00) SSCC-18 (≥32 mm) + Secondary AI (02)+(15)+(37)+(10) · DESADV D.96A GIN+BJ required prior to gate check-in.
🇵🇹 Jerónimo Martins / Pingo Doce Azambuja, Alfena, Algoz A5 Portrait on 2 adjacent faces · Dual Barcode mandatory for FMCG/perishables · Quiet zone ≥ 10X.
🇪🇸 Mercadona Ribarroja, Póvoa, Santarém A5 / 4×6" · High-contrast GS1-128 (PCS > 80%) · Upper multi-AI barcode required for homogeneous multi-pack pallets.
🇪🇺 Lidl / Schwarz Group Sintra, Santo Tirso, EU Hubs A5 Portrait · Dual-symbology ready (1D GS1-128 + 2D QR Digital Link) · DESADV D.96A with CPS/PAC/MEA/GIN+BJ.
📦 Amazon Vendor / FBA LTL MAD4, BCN1, EU FCs 4×6" (100×150 mm) Direct Thermal ZPL-II · AI (00) SSCC-18 + PO Reference · 4 identical labels on all 4 pallet sides.

Quick Mastery Check (3 Questions)

1. Your laser scanner outputs 00356012345000000012 (20 digits). What should you store as the SSCC in SAP EXIDV?

2. Which Zebra ZPL-II escape sequence is mandatory inside ^BC to encode a certified GS1-128 barcode (FNC1)?

3. On a standard 3-zone GS1 pallet label, where must the mandatory AI (00) SSCC-18 barcode be placed?

Frequently Asked Questions

Why does my scanner read a 20-digit SSCC?

GS1-128 barcode scanners include the 2-digit Application Identifier 00 ahead of the 18-digit SSCC. Always strip the leading 00 before validating or storing the code.

Can the GS1 Company Prefix (GCP) length vary?

Yes. Depending on the allocation assigned by your GS1 Member Organization, the GCP is between 7 and 10 digits. The Serial Reference length adjusts automatically so the total SSCC is always 18 digits.

Is the SSCC check digit algorithm identical to GTIN-13 / GTIN-14?

Yes — every GS1 numeric key uses the exact same Modulo 10 (alternating weights 3 and 1 from right to left).

Can I reuse an SSCC number?

GS1 General Specifications forbid reusing an SSCC for at least 12 months after shipment. Best practice for global traceability is never to reuse serial references.

Ready to Put It Into Practice?

Validate batches, deconstruct Multi-AI scans, export EDIFACT/SAP IDocs, lint Zebra ZPL-II, or print compliant A5/4×6" pallet labels — in the Studio or via Cloud REST API.

Open SSCCAPI Studio → Check Digit Calculator REST API & Swagger Sandbox