codice_fiscale_audit
[Deterministic statutory audit. Pure calculation, read-only, side-effect free]. Full bidirectional Italian Codice Fiscale audit under D.M. 23/12/1976: mathematical CIN check character validation, reverse demographic extraction (gender, birthdate, Belfiore cadastral municipality code), omocodia substitution detection, and dehomocoding. Usage: Use this tool to audit 16-character Italian fiscal codes or decode demographic attributes. For VAT number verification and company KYB, use 'vies_gleif_kyb_verify' instead. Returns: JSON object with { isValid: boolean, isOmocodia: boolean, normalizedCf: string, demographics: { birthDate: string, gender: 'M' | 'F', belfioreCode: string, municipality: string }, cinValid: boolean }.
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": {
"codiceFiscale": "<codiceFiscale>"
},
"name": "codice_fiscale_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codiceFiscale | Yes | 16-character alphanumeric personal Codice Fiscale or 11-digit legal entity code | |
| expectedGender | No | Expected gender (M/F) for cross-check | |
| expectedBirthDate | No | Expected birth date in YYYY-MM-DD format for consistency check | |
| expectedBelfioreCode | No | Expected Belfiore cadastral code (e.g. H501 for Roma, F205 for Milano) |