validate_gln
Verify a GLN's check digit and identify the issuing country to ensure the global location number is structurally valid before use in supply chains or EDI.
Instructions
USE THIS to verify a GLN (GS1 Global Location Number — identifies a company/site/location in supply chains and EDI) before relying on it. Checks the 13-digit GS1 mod-10 check digit and returns the GS1 prefix's issuing country. Validates structure only; does not confirm the location is registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gln | Yes | The 13-digit GLN; spaces and dashes are ignored. |