Automatically generate SSCC-18 numbers for packages in delivery orders in Odoo

We’ve added a new feature that automatically generates GS1-compliant SSCC-18 numbers for packages in delivery orders. SSCC-18 stands for “Serial Shipping Container Code”; it is an 18-digit GS1 identifier used to uniquely identify a logistic unit, such as a pallet or container.
This feature allows companies to automatically generate and assign unique SSCC-18 numbers to packages on delivery orders (pickings) where the destination is a customer. This automation removes the need for manual entry and ensures compliance with GS1 standards for shipping container codes, which are often required for EDI transactions.
Key Features:
- Customer-Specific Setting
- On each parent-level contact form, you can enable auto-generating SSCC-18 numbers for each specific customer.
- Auto Generation logic
- Numbers are constructed dynamically using, Extension digit, GS1 prefix, calculated serial number, and a check digit.
- Unique by Customer
- Each customer gets a unique sequence, and numbers can be reused after completing a full cycle.
- No Wastage
- If delivery validation fails, the number is retained and reused for retries—no unnecessary number consumption.
- EDI Support
- The SSCC-18 numbers integrate seamlessly into existing EDI workflows and are transmitted in ASNs as before.
How It Works:
The system auto-generates numbers based on:
- Application Identifier (AI): The AI “00” indicates the SSCC-18 data structure that will follow.
- Extensin Sigit: The Extension Digit has no defined logic and is used to increase the capacity of the Serial Reference
- GS1 Company Prefix: GS1 Company Prefixes are 7-10 digits. Serial Reference Numbers are 6-9 digits.
- Serial Reference: The Serial Reference number is assigned by the holder of the GS1 Company Prefix to identify a shipping container (logistic unit) uniquely. A Serial Reference cannot be reused for a minimum of 12 months. The combined length of the GS1 Company Prefix and Serial Reference is always 16 digits.
- Check Digit: Calculated using the Modulo 10 algorithm.
How To Set Up
- In the inventory app, go to Configuration > Settings > Operations and enable “Print UCC-128 shipping labels.”
- Enter your company’s GS1 company prefix and save once enabled.
- On a card of the customer you want to generate SSCC-18 numbers for, go to the “Misc” section under the “SO & PO” tab
- Enable “Print UCC-128 Shipping Label”
- Select a Default UCC-128 shipping label template
- Enter the number of labels you want to auto-print.
- SSCC-18 numbers will be auto-generated and assigned to “packages” linked to a delivery upon validation of the delivery.
- No number will be generated if a delivery does not have packages.
Related posts

Automatically Print UCC-128 Shipping Labels on Delivery Validation in Odoo
We’ve added support for automatically generating and printing UCC-128 shipping container labels when deliveries are validated in Odoo. This feature is useful for customers who require UCC-128 labels for every shipment.

Odoo EDI integration and configuration by Steersman
Send and receive EDI documents in your Odoo ERP with Steersman.

Odoo EasyPost Shipping and Rate Shopping with UPS, USPS, FedEx, DHL, SurePost, Canada Post
Optimize shipping costs and improve operational efficiency with advanced rate shopping, shipping estimates, delivery routing, and more!

Promotions and Coupons for Odoo
The difference between promotion and coupon setups in Odoo as well as recommendations for which discount to use when as well as how to set them up.