ares_validate_ico
Validate a Czech IČO using the ČSÚ Mod-11 checksum. Returns the normalized 8-digit number and checksum validity.
Instructions
Validate a Czech IČO via the ČSÚ Mod-11 checksum. Pure function — does not call ARES. Returns the normalized 8-digit IČO and whether the checksum is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ico | Yes | Czech IČO (Identifikační číslo osoby). Accepts 1–8 digits, optional 'CZ' prefix, whitespace, dashes or dots. Examples: '27074358', 'CZ27074358', '270 743 58'. |