validate_sscc
Verify an SSCC (GS1 Serial Shipping Container Code) by checking its 18-digit check digit and returning the extension digit and GS1 prefix country. Validates structure before relying on the code.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sscc": "<sscc>"
},
"name": "validate_sscc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sscc | Yes | The 18-digit SSCC; spaces and dashes are ignored. |