---
id: "br_nup"
kind: "datatype"
status: "draft"
is_pii: false
name: "Brazilian NUP protocol number (Número Único de Protocolo)"
regexp: "^\\d{5}\\.?\\d{6}/?\\d{4}-?\\d{2}$"
categories: ["government"]
country: ["BR"]
langs: ["pt"]
quality: 90
url: "https://registry.apicrafter.io/datatype/br_nup"
---

# Brazilian NUP protocol number (Número Único de Protocolo) (`br_nup`)

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

The single protocol number of documents and processes of the Brazilian federal administration: the five-digit code of the unit that registered it, a six-digit sequence number, the four-digit year and two check digits computed modulo 11 (99903.000615/2016-03). Requests under the access to information law (Fala.BR) carry it, often as 17 digits. Some tables leave out the code of the unit (029358/2019-39).

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Government related (government)
- Countries: Brazil (BR)
- Languages: Portuguese (pt)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{5}\.?\d{6}/?\d{4}-?\d{2}$
```

## Examples

- `99903.000615/2016-03` — a request to the BNDES under the access to information law
- `99903000615201603` — the same number as digits
- `99903.000615/16-03` (invalid example) — a two-digit year

## Metacrafter rules

3 rules: 1 match the field name, 2 match values.

- `brnupbyname` (field, `br/br_government.yaml`)
- `brnupdigitsvalue` (data, `br/br_government.yaml`)
- `brnupvalue` (data, `br/br_government.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- pt: Número Único de Protocolo (NUP)
- ru: Единый номер протокола (NUP, Бразилия)

## Sources

- doc: <https://www.gov.br/economia/pt-br/assuntos/processo-eletronico-nacional/conteudo/numero-unico-de-protocolo-nup>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/br_nup.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BR/government/br_nup.yaml>
