---
id: "cr_budget_object_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Costa Rican budget code by object of expenditure (partida, grupo, subpartida)"
regexp: "^\\d(?:\\.\\d{2}){0,2}$"
categories: ["government", "finances"]
country: ["CR"]
langs: ["es"]
quality: 90
url: "https://registry.apicrafter.io/datatype/cr_budget_object_code"
---

# Costa Rican budget code by object of expenditure (partida, grupo, subpartida) (`cr_budget_object_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 por objeto del gasto del sector público, the classification by nature of the expenditure that the Ministerio de Hacienda sets for every public body of Costa Rica. It has five digits in three levels, written with dots: one digit for the partida (0 remuneraciones, 1 servicios, 2 materiales y suministros, 3 intereses y comisiones, 4 activos financieros, 5 bienes duraderos, 6 transferencias corrientes, 7 transferencias de capital, 8 amortización, 9 cuentas especiales), two for the group of subpartidas (1.04 servicios de gestión y apoyo) and two for the subpartida (1.04.04 servicios en ciencias económicas y sociales). Budgets, budget execution reports and procurement reports give the code at any of the three levels.

- 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`):

```
^\d(?:\.\d{2}){0,2}$
```

## Examples

- `1.04.04` — Subpartida: services in economic and social sciences
- `0.01.01` — Subpartida: salaries of permanent posts
- `1.04` — Group: management and support services
- `5` — Partida: durable goods
- `1.3.1.2.09.09.0.0.000` (invalid example) — a code of the income classification: cr_budget_income_code
- `1.4.4` (invalid example) — one digit at a level of two

## Metacrafter rules

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

- `crbudgetobjectcodebyname` (field, `cr/cr_codes.yaml`)
- `crbudgetobjectcodevalue` (data, `cr/cr_codes.yaml`)

## Supported by tools

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

## Translations

- es: Código del clasificador por objeto del gasto (partida, grupo, subpartida)
- ru: Код классификации расходов бюджета по объектам (Коста-Рика)

## Sources

- doc: <https://www.conare.ac.cr/wp-content/uploads/fondo_sistema/Formulacion/Clasificador por Objeto del Gasto Decreto-2018.pdf>

## Quality

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

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