validate_sscc
Verify a GS1 SSCC from a shipping label by validating its 18-digit check digit, then retrieve the extension digit and origin country.
Instructions
USE THIS to verify an SSCC (GS1 Serial Shipping Container Code — identifies a pallet/carton/logistics unit) from a shipping label before relying on it. Checks the 18-digit GS1 mod-10 check digit and returns the extension digit and GS1 prefix country. Validates structure only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sscc | Yes | The 18-digit SSCC; spaces and dashes are ignored. |