Datatypes

Portuguese citizen card number

ID pt_cc

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).

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.

Categories
Personally identifiable information, Person related
Countries
Portugal
Languages
Portuguese
W3C DPV
pd:OfficialID
Microsoft Purview
Portugal citizen card number, EU national identification number
python-stdnum
stdnum.pt.cc
Quality
75/100 · missing: examples, negative example, translation
Metacrafter rules
no detection rule yet
Supported by tools
Azure AI Language PII detection, Microsoft Purview Data Loss Prevention, python-stdnum, Snowflake sensitive data classification

Regular expression

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

Python re syntax.

Sources

Use this record