---
id: "cr_budget_income_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Costa Rican budget income classification code"
regexp: "^[1-3]\\.\\d\\.\\d\\.\\d\\.\\d{2}\\.\\d{2}\\.\\d\\.\\d\\.\\d{3}$"
categories: ["government", "finances"]
country: ["CR"]
langs: ["es"]
quality: 90
url: "https://registry.apicrafter.io/datatype/cr_budget_income_code"
---

# Costa Rican budget income classification code (`cr_budget_income_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.

Code of the Clasificador de los ingresos del sector público, the classification of public revenue that the Ministerio de Hacienda sets for every public body of Costa Rica (Decreto 41.100-H, in force until the budgets of 2027). It has thirteen digits in nine levels separated by dots: class (1 ingresos corrientes, 2 ingresos de capital, 3 financiamiento), subclass, group and subgroup of one digit each, partida and subpartida of two digits, renglón and subrenglón of one digit and a source of financing of three digits, as in 1.3.1.2.09.09.0.0.000 (sale of other services). Unused lower levels are zeros. Spreadsheets of income budgets may drop the leading zeros of a level (1.3.1.2.9.9.0.0.0).

- Personal data (PII): no
- Categories: Government related (government), Finances and banking (finances)
- Countries: Costa Rica (CR)
- Languages: Spanish (es)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[1-3]\.\d\.\d\.\d\.\d{2}\.\d{2}\.\d\.\d\.\d{3}$
```

## Examples

- `1.3.1.2.09.09.0.0.000` — Sale of other services
- `1.0.0.0.00.00.0.0.000` — Class: current income
- `1.4.1.1.00.00.0.0.000` — Current transfers from the central government
- `3.0.0.0.00.00.0.0.000` — Class: financing
- `1.04.04` (invalid example) — a code of the classification by object of expenditure: cr_budget_object_code
- `4.0.0.0.00.00.0.0.000` (invalid example) — there is no class 4

## Metacrafter rules

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

- `crbudgetincomecodevalue` (data, `cr/cr_codes.yaml`)

## Supported by tools

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

## Translations

- es: Código del clasificador de los ingresos del sector público
- ru: Код классификации доходов бюджета (Коста-Рика)

## Sources

- doc: <https://www.hacienda.go.cr/docs/DE41100_Clasificador_Ingresos.pdf>
- doc: <https://www.hacienda.go.cr/docs/Clasificador_Ingresos.pdf>

## Quality

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

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