Evidence

Catalog · table

Invoice Items

Line items of invoices received by Brazilian state governments: each catalogued product delivered, with quantity and the unit price actually charged. One row per invoice, product and occurrence. This is the finest grain in the dataset and the only place carrying a unit price actually charged rather than referenced or homologated. Join to nota_fiscal on id_nota_fiscal_bd and to licitacao_item, contrato_item or plano_contratacao_item on codigo_catalogo. Note that 0.11% of the invoice keys present here have no matching row in nota_fiscal, so the link is not guaranteed and there is no referential integrity test; filter on a successful join when a guaranteed parent is needed. The ano and mes fields come from the source filename because these rows carry no date at all. Minas Gerais only.

Described
by Base dos Dados
Publisher
Governo de São Paulo, Governo de Pernambuco, Governo de Minas Gerais, Governo da Bahia, Base dos Dados
Source page
basedosdados.org
Licence
Unknown · reuse unknown
Period
2022-01 to 2026-09 (by month) · by Base dos Dados
Area
Minas Gerais
Rows
1,983,725
Source updated
2026-10-02
Topics
Economics
Catalog level
L1 · described

How to use

Connect your agent to Evidence's MCP server and ask in plain language. The agent finds this table, reads its columns and caveats, and runs the query for you.

Connect · Claude Code
claude mcp add --transport http -s user evidence \
  https://mcp.evidence.so/mcp \
  --header "Authorization: Bearer $MCP_API_KEY"

Then ask, for example:

What does the table Invoice Items contain, and how do I query it?

Columns (16)

NameTypeRoleDescriptionMeaning
anointegertimeAno de referência do arquivo de origemTime: reference period, by year
mesintegertimeMês de referência do arquivo de origemTime: reference period, by month
sigla_ufstringreferenceSigla da unidade da federaçãoCoded by State abbreviation, identifies First-level administrative division · verified
id_nota_fiscal_bdstringreferenceIdentificador da nota a que o item pertence; junta-se a nota_fiscal pelo mesmo campo, sem garantia de correspondência em 0,11% dos casos—
id_item_bdstringidentifierIdentificador do item construído pela Data Basis, único por nota, produto e ocorrência—
numero_itemstringdimensionNúmero do item na nota fiscal—
descricaostringattributeDescrição do item de material—
unidade_medidastringdimensionDescrição da unidade de fornecimento do item—
unidade_orcamentariastringdimensionUnidade orçamentária a que o item foi lançado—
item_despesastringdimensionElemento item de despesa do item, no espaço de códigos do export da fonte—
documento_emissorstringdimensionCNPJ ou CPF do fornecedor emissor, sem máscara—
nome_emissorstringattributeNome empresarial do fornecedor emissor—
quantidadedecimalmeasureQuantidade do item na nota fiscal—
valor_unitariodecimalmeasurePreço unitário efetivamente cobrado, em reais correntes—
valor_totaldecimalmeasureValor total do item na nota, em reais correntesUnit: Brazilian real (BRL)across units: sum · over time: sum · across breakdowns: sumCurrent prices: deflate before comparing periods

Caveats

  • known error · id_item_bd

    Curated by Evidence · full text through the MCP

  • coverage gap · warning · id_nota_fiscal_bd

    Curated by Evidence · full text through the MCP

  • known error · critical · valor_unitario

    Curated by Evidence · full text through the MCP

  • coverage gap · sigla_uf

    Curated by Evidence · full text through the MCP

urn:table:bdd:br_bd_execucao_estadual.nota_fiscal_item · metadata by Evidence under CC BY 4.0; the data keeps its publisher's licence.