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.
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": {
"codice_fiscale": "<codice_fiscale>"
},
"name": "validate_codice_fiscale"
}
}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 |