---
id: "bo_province_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Bolivian province code (INE)"
regexp: "^0?[1-9](?:0[1-9]|1[0-9]|20)$"
categories: ["geo", "government"]
country: ["BO"]
langs: ["es"]
quality: 90
url: "https://registry.apicrafter.io/datatype/bo_province_code"
---

# Bolivian province code (INE) (`bo_province_code`)

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

Four-digit code of a Bolivian province in the geographic coding of the INE: the department code and two digits for the province within it, as in 0201 Murillo (La Paz), 0701 Andrés Ibáñez (Santa Cruz) and 0905 Federico Román (Pando). La Paz has the most provinces, 20. Spreadsheets drop the leading zero (201), and some layers give the province number alone next to a department code (C_PROV 02).

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Bolivia (BO)
- Languages: Spanish (es)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^0?[1-9](?:0[1-9]|1[0-9]|20)$
```

## Examples

- `0201` — Murillo, La Paz
- `0711` — Ñuflo de Chávez, Santa Cruz
- `0905` — Federico Román, Pando
- `0221` (invalid example) — La Paz has 20 provinces

## Metacrafter rules

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

- `boprovincecodebyname` (field, `bo/bo_geo.yaml`)

## Supported by tools

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

## Translations

- es: Código de provincia (INE)

## Sources

- doc: <https://www.ine.gob.bo/>
- wikipedia: <https://en.wikipedia.org/wiki/Provinces_of_Bolivia>

## Quality

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

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