---
id: "cr_cpj"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["companies"]
country: ["CR"]
langs: ["es"]
quality: 93
url: "http://registry.apicrafter.io/datatype/cr_cpj"
---

# Costa Rican legal person ID number (cédula jurídica) (`cr_cpj`)

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

Cédula de Persona Jurídica, the tax identifier of legal entities in Costa Rica. It has ten digits: a class digit (2 to 5), a 3-digit type code and a 6-digit sequence number given by the National Registry.

- Personal data (PII): no
- Categories: Companies/business/organizations (companies)
- Countries: Costa Rica (CR)
- Languages: Spanish (es)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[2-5]-?\d{3}-?\d{6}$
```

## Examples

- `3101269160` — Real-world value published online
- `3-102-388142` — Real-world value published online
- `3-101-269160` — The first example in its printed form
- `31012691607` (invalid example) — One character too many

## Mappings

- orgid: `CR-RPJ`
- stdnum: `cr.cpj`

## Supported by tools

- `dataprep`
- `pythonstdnum`

## Translations

- es: Cédula de Persona Jurídica

## Sources

- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.cr.cpj.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_cr_cpj.html>

## Quality

Score 93/100. Missing: authoritative source link.

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