Datatypes

Italian tax code (codice fiscale)

ID it_codicefiscale

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

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, with a check letter at the end. 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
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
no detection rule yet
Supported by tools
Amazon Macie, AWS Glue Sensitive Data Detection, Azure AI Language PII detection, 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), Microsoft Purview Data Loss Prevention, OpenMetadata auto-classification, python-stdnum, Snowflake sensitive data classification

Regular expression

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

Python re syntax.

Examples

ValueDescription
DYMMTM43M45I436NSynthetic number with a valid check digit
LVFGNC77T47H353VSynthetic number with a valid check digit
RCCMNL83S18D969Hpython-stdnum test value
DYMMTM43M45I436A invalidCheck letter does not match
DYMMTM43M45I436N7 invalidOne character too many

Translations

LanguageNameDescription
ItalianCodice fiscale

Sources

Use this record