validate_codice_fiscale
Validate an Italian Codice Fiscale using the official odd/even position checksum algorithm to ensure compliance with Italian revenue agency standards.
Instructions
Validates an Italian Codice Fiscale (fiscal code) for individuals — a 16-character alphanumeric code issued by the Italian Revenue Agency (Agenzia delle Entrate). Applies the official odd/even position checksum algorithm. Returns { valid: boolean, codice_fiscale: string } or { valid: false, reason: string }. Use when processing Italian invoices, onboarding Italian individuals, or any Italian compliance workflow requiring a verified personal fiscal code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codice_fiscale | Yes | 16-character Italian Codice Fiscale. Example: 'RSSMRA85T10A562S' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| codice_fiscale | No | ||
| reason | No |