Compute a codice fiscale
compute_codice_fiscaleCompute the Italian codice fiscale (tax code) of a person from surname, name, sex, birth date and birth place, with the D.M. 23/12/1976 rules. The place can be a comune ('Roma', 'Castro (LE)'), a foreign state ('Francia') or a codice catastale ('H501'); the code valid on the birth date is used. Returns the 16 characters and why each group has its value. The Agenzia delle Entrate may assign an omocodic variant: only it confirms a code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | Yes | M or F. | |
| name | Yes | Given name(s) (nome), all of them. | |
| surname | Yes | Surname (cognome), as on the document. | |
| birth_date | Yes | Birth date, YYYY-MM-DD (DD/MM/YYYY accepted). | |
| birth_place | Yes | Comune (with province if ambiguous), foreign state, or codice catastale / Z-code. |