Peruvian taxpayer number (RUC)
ID pe_ruc
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).
Registro Único de Contribuyentes, the 11-digit tax number of companies and individuals in Peru. The first two digits give the kind of taxpayer (for example 10 for individuals, followed by their DNI, and 20 for legal entities) and the last digit is a check digit.
- Categories
- Finances and banking
- Countries
- Peru
- Languages
- Spanish
- Schema.org
taxID- python-stdnum
stdnum.pe.ruc- ORG-ID.guide
- PE-RUC
- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- DataPrep, Nightfall AI, python-stdnum
Regular expression
^(?:10|15|17|20)\d{9}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 20468189446 | Synthetic number with a valid check digit |
| 20388002353 | Synthetic number with a valid check digit |
| 204681894467 invalid | One character too many |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Registro Único de Contribuyentes (RUC) |
Sources
- doc: https://www.sunat.gob.pe/legislacion/ruc/
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.pe.ruc.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_pe_ruc.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/pe_ruc - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/PE/finances/pe_ruc.yamlon GitHub