---
id: "br_ispb"
kind: "datatype"
status: "draft"
is_pii: false
name: "ISPB code of the Brazilian payment system"
regexp: "^\\d{8}$"
categories: ["finances"]
country: ["BR"]
langs: ["pt"]
quality: 90
url: "https://registry.apicrafter.io/datatype/br_ispb"
---

# ISPB code of the Brazilian payment system (`br_ispb`)

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

Identificador do Sistema de Pagamentos Brasileiro: the eight-digit code of a participant of the Brazilian payment system (STR, PIX, SPI), equal to the CNPJ root of the institution (br_cnpj_root). The Banco Central do Brasil publishes the list of participants of the STR with the ISPB and the COMPE number (br_compe_code) of each bank. Spreadsheets drop the leading zeros (360305 for 00360305).

- Parent datatype: [`br_cnpj_root`](https://registry.apicrafter.io/datatype/br_cnpj_root.md)
- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: Brazil (BR)
- Languages: Portuguese (pt)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{8}$
```

## Examples

- `00000000` — Banco do Brasil S.A.
- `00360305` — Caixa Econômica Federal
- `00038166` — Selic, the settlement system of federal bonds
- `001` (invalid example) — a COMPE number

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `brispbbyname` (field, `br/br_codes.yaml`)

## Supported by tools

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

## Translations

- pt: Código ISPB
- ru: Код ISPB бразильской платёжной системы

## Sources

- doc: <https://www.bcb.gov.br/estabilidadefinanceira/participantesstr>
- wikipedia: <https://pt.wikipedia.org/wiki/Sistema_de_Pagamentos_Brasileiro>

## Quality

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

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