Datatypes

Romanian personal numerical code (CNP)

ID ro_cnp

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

Cod numeric personal, the 13-digit personal identifier in Romania. It encodes the sex and century of birth, the date of birth (YYMMDD), the county of birth or registration, a serial number and a check digit.

Categories
Personally identifiable information, Person related
Countries
Romania
Languages
Romanian
W3C DPV
pd:OfficialID
Microsoft Purview
Romania personal numeric code (CNP), EU national identification number, EU Tax Identification Number (TIN), EU Tax identification number
python-stdnum
stdnum.ro.cnp
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
AWS Glue Sensitive Data Detection, Azure AI Language PII detection, DataPrep, Microsoft Purview Data Loss Prevention, python-stdnum, Snowflake sensitive data classification

Regular expression

^[1-9]\d{12}$

Python re syntax.

Examples

ValueDescription
1461014075258Synthetic number with a valid check digit
6861202422810Synthetic number with a valid check digit
14610140752587 invalidOne character too many

Translations

LanguageNameDescription
RomanianCod numeric personal (CNP)

Sources

Use this record