---
id: "uy_rut"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["finances", "companies"]
country: ["UY"]
langs: ["es"]
quality: 90
url: "http://registry.apicrafter.io/datatype/uy_rut"
---

# Uruguayan tax registry number (RUT) (`uy_rut`)

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

Registro Único Tributario (RUT), the number under which the Uruguayan tax office (DGI) registers legal entities for tax purposes. It has 12 digits, often written as 21-100342-001-7: a two-digit registration number from 01 to 22, a six-digit sequence number, the digits 001 and a modulo 11 check digit. The country prefix UY is sometimes added.

- Personal data (PII): no
- Categories: Finances and banking (finances), Companies/business/organizations (companies)
- Countries: Uruguay (UY)
- Languages: Spanish (es)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:UY ?)?(?:0[1-9]|1\d|2[0-2])[- ]?\d{6}[- ]?001[- ]?\d$
```

## Examples

- `21-100342-001-7` — Example from the python-stdnum documentation
- `211003420017` — The same number without separators
- `UY 21 140634 001 1` — Example with the country prefix from the python-stdnum documentation
- `23-100342-001-7` (invalid example) — Registration number above 22
- `21-100342-002-7` (invalid example) — The digits 001 are missing

## Mappings

- stdnum: `uy.rut`

## Translations

- es: Registro Único Tributario (RUT)

## Sources

- doc: <https://servicios.dgi.gub.uy/ServiciosEnLinea/dgi--servicios-en-linea--consulta-de-certifcado-unico>
- doc: <https://www.agesic.gub.uy/innovaportal/file/1634/1/modelo_de_datos.pdf>
- doc: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.uy.rut.html>

## Quality

Score 90/100. Missing: detector coverage.

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