---
id: "it_id_card"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["IT"]
langs: ["it"]
quality: 88
url: "http://registry.apicrafter.io/datatype/it_id_card"
---

# Italian identity card number (`it_id_card`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number of an Italian identity card (carta d'identità). The electronic card (CIE) issued since 2016 has nine characters: two letters, five digits and two letters, the first letter being C. Older cards in circulation use two letters and seven digits (paper card) or seven digits and two letters (CIE 2.0).

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Italy (IT)
- Languages: Italian (it)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[A-Z]{2}\d{5}[A-Z]{2}|[A-Z]{2}\d{7}|\d{7}[A-Z]{2})$
```

## Examples

- `CA00000AA` — Format example of the CIE from Italian Wikipedia
- `CA0000AA` (invalid example) — Only four digits

## Mappings

- dpv: `pd:OfficialID`
- presidio: `IT_IDENTITY_CARD`

## Supported by tools

- `collibra`
- `databricks`
- `openmetadata`
- `presidio`

## Sources

- wikipedia: <https://it.wikipedia.org/wiki/Carta_d%27identit%C3%A0_elettronica_italiana>
- other: <https://github.com/microsoft/presidio/blob/main/presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/italy/it_identity_card_recognizer.py>

## Quality

Score 88/100. Missing: second example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/it_id_card.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/persons/it_id_card.yaml>
