Datatypes › Italy › Personally identifiable information

Italian tax code (codice fiscale)

Codice fiscale

ID it_codicefiscale

DatatypePersonal data (PII)identifier

Codice fiscale, the tax code of people in Italy, issued by the Agenzia delle Entrate: 16 characters derived from the surname, the first name, the date of birth and sex (40 is added to the day for women), and the Belfiore code of the place of birth (it_codice_catastale), with a check letter at the end. For people born abroad the place is Z and three digits for the country, such as Z404 for the United States. When two people would get the same code, digits are replaced by letters (omocodia). Legal entities have an 11-digit code that equals their VAT number (it_iva).

Categories
Personally identifiable information, Person related
Countries
Italy
Languages
Italian
W3C DPV
pd:OfficialID
Google DLP
ITALY_FISCAL_CODE
Presidio
IT_FISCAL_CODE
Microsoft Purview
Italy fiscal code, EU national identification number, EU Tax Identification Number (TIN), EU Tax identification number
Schema.org
taxID
python-stdnum
stdnum.it.codicefiscale
Check digit
it_codicefiscale
Quality
100/100
Metacrafter rules
1 rule (1 by field name, 0 by value)
Supported by tools
Amazon Macie, AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Cloudflare DLP, Collibra Data Classification, Databricks Unity Catalog data classification, DataPrep, Google Cloud Sensitive Data Protection (DLP), IBM Security Guardium Analyzer, IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Microsoft Purview Data Loss Prevention, OpenMetadata auto-classification, Microsoft Presidio, python-stdnum, pyWhat, Snowflake sensitive data classification, validator.js

Regular expression

^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$

Python re syntax.

Test a value

Examples

ValueDescription
DYMMTM43M45I436N Synthetic number with a valid check digit
LVFGNC77T47H353V Synthetic number with a valid check digit
RCCMNL83S18D969H python-stdnum test value
DYMMTM43M45I436A invalid Check letter does not match
DYMMTM43M45I436N7 invalid One character too many

Translations

LanguageNameDescription
ItalianCodice fiscaleCodice di 16 caratteri delle persone fisiche, ricavato da cognome, nome, data e comune di nascita e sesso, con un carattere di controllo finale.
RussianНалоговый код Италии (codice fiscale)Налоговый код физического лица в Италии - 16 символов, составленных из фамилии, имени, даты и места рождения и пола, с контрольной буквой в конце.

Sources

Use this record