---
id: "pt_cc"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["PT"]
langs: ["pt"]
quality: 75
url: "http://registry.apicrafter.io/datatype/pt_cc"
---

# Portuguese citizen card number (`pt_cc`)

> **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 the Portuguese citizen card (Cartão de Cidadão): the eight-digit civil identification number, a check digit, two letters or digits for the card version and a final check digit.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Portugal (PT)
- Languages: Portuguese (pt)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{8}[ -]?\d ?[A-Z0-9]{2}\d$
```

## Mappings

- dpv: `pd:OfficialID`
- purview: `Portugal citizen card number`, `EU national identification number`
- stdnum: `pt.cc`

## Supported by tools

- `azureailanguage`
- `microsoftpurview`
- `pythonstdnum`
- `snowflake`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-portugal-citizen-card-number>

## Quality

Score 75/100. Missing: examples, negative example, translation.

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