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
| Value | Description |
|---|---|
| 1461014075258 | Synthetic number with a valid check digit |
| 6861202422810 | Synthetic number with a valid check digit |
| 14610140752587 invalid | One character too many |
Translations
| Language | Name | Description |
|---|---|---|
| Romanian | Cod numeric personal (CNP) |
Sources
- wikipedia: https://ro.wikipedia.org/wiki/Cod_numeric_personal
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.ro.cnp.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_ro_cnp.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/ro_cnp - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/RO/persons/ro_cnp.yamlon GitHub