The SICONFI API
(https://apidatalake.tesouro.gov.br/docs/siconfi/) provides
fiscal data for all Brazilian states, municipalities, and the Federal
District. It includes budget execution reports (RREO), fiscal management
reports (RGF), annual accounts declarations (DCA), and accounting
balances matrices (MSC).
| Portuguese | English | Description |
|---|---|---|
get_entes() |
get_entities() |
List of government entities |
get_anexos() |
get_annexes() |
Report appendix reference table |
get_dca() |
get_annual_accounts() |
Annual accounts (DCA) |
get_extrato() |
get_delivery_status() |
Report delivery status |
get_rreo() |
get_budget_report() |
Budget execution report (RREO) |
get_rgf() |
get_fiscal_report() |
Fiscal management report (RGF) |
get_msc_patrimonial() |
get_msc_equity() |
MSC equity accounts (classes 1-4) |
get_msc_orcamentaria() |
get_msc_budget() |
MSC budgetary accounts (classes 5-6) |
get_msc_controle() |
get_msc_control() |
MSC control accounts (classes 7-8) |
| Portuguese (API) | English | Description |
|---|---|---|
an_exercicio |
fiscal_year |
Fiscal year |
id_ente |
entity_id |
IBGE entity code |
no_anexo |
appendix |
Report appendix name |
an_referencia |
year |
Reference year |
me_referencia |
month |
Reference month |
nr_periodo |
period |
Period number |
co_tipo_demonstrativo |
report_type |
Report type |
co_esfera |
sphere |
Government sphere (M/E/U) — optional; omit if a filtered call returns empty |
co_poder |
branch |
Government branch |
in_periodicidade |
periodicity |
Periodicity (Q/S) |
co_tipo_matriz |
matrix_type |
MSC matrix type (MSCC/MSCE) |
classe_conta |
account_class |
Account class |
id_tv |
value_type |
Value type |
# RREO Anexo 01 for Tocantins, 6th bimester of 2022
rreo <- get_budget_report(
fiscal_year = 2022, period = 6,
report_type = "RREO",
appendix = "RREO-Anexo 01",
sphere = "E", entity_id = 17
)The sphere argument (co_esfera) is
optional. Some entities only return data when the
sphere filter is omitted — notably the Federal District
constitutional fund, whose previdência appendix comes back empty if a
sphere is supplied. If a sphere-filtered call returns nothing, drop
sphere/co_esfera entirely:
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.