validate_ico_number
Validates a Czech ICO number offline using its modulo-11 checksum to detect common digit errors such as 0/8 or 1/7 confusion.
Instructions
Validate an IČO offline via its modulo-11 checksum, without calling ARES.
Useful for a quick sanity check on form input or on a number read out of a scanned document, where 0/8 and 1/7 are routinely confused.
Args: ico: A string that is supposed to be an IČO.
Returns:
valid plus the normalised eight-digit form when the number is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ico | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||