---
id: "ro_cnp"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["RO"]
langs: ["ro"]
quality: 100
url: "http://registry.apicrafter.io/datatype/ro_cnp"
---

# Romanian personal numerical code (CNP) (`ro_cnp`)

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

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.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Romania (RO)
- Languages: Romanian (ro)
- Classification: identifier

## Detection

Regular expression (Python `re`):

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

## Examples

- `1461014075258` — Synthetic number with a valid check digit
- `6861202422810` — Synthetic number with a valid check digit
- `14610140752587` (invalid example) — One character too many

## Mappings

- dpv: `pd:OfficialID`
- purview: `Romania personal numeric code (CNP)`, `EU national identification number`, `EU Tax Identification Number (TIN)`, `EU Tax identification number`
- stdnum: `ro.cnp`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `dataprep`
- `microsoftpurview`
- `pythonstdnum`
- `snowflake`

## Translations

- ro: 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>

## Quality

Score 100/100.

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