Go to example tasks

Convert NF-e XML to an Excel spreadsheet by item

Paste NF-e XML and get one spreadsheet row per invoice item: invoice header, issuer, NCM, CFOP, quantity, unit price and ICMS, IPI, PIS and COFINS values. The prefilled XML is a fictitious sample invoice. Export the result to Excel, CSV or JSON.

Try for free
Brazil NF-e XML to Excel, CSV & JSON Converter
Brazil NF-e XML to Excel, CSV & JSON Converterdados-abertos-br/nfe-planilha
NF number
Series
Issued at
Issuer
+17 fields
Text
Number
Boolean
List
Object

Input

XML contents:<nfeProc xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><NFe><infNFe Id="NFe35261100000000000191550010000000011000000010" versao="4.00"><ide><mod>55</mod><serie>1</serie><nNF>1</nNF><dhEmi>2026-11-10T10:00:00-03:00</dhEmi><natOp>EXEMPLO FICTICIO - VENDA</natOp><tpNF>1</tpNF></ide><emit><CNPJ>00000000000191</CNPJ><xNome>EMPRESA EXEMPLO FICTICIA LTDA</xNome><enderEmit><xMun>SAO PAULO</xMun><UF>SP</UF></enderEmit></emit><dest><CNPJ>11111111000111</CNPJ><xNome>CLIENTE EXEMPLO FICTICIO SA</xNome><enderDest><UF>RJ</UF></enderDest></dest><det nItem="1"><prod><cProd>A1</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO EXEMPLO</xProd><NCM>96081000</NCM><CFOP>6102</CFOP><uCom>UN</uCom><qCom>10.0000</qCom><vUnCom>2.50</vUnCom><vProd>25.00</vProd></prod><imposto><ICMS><ICMS00><CST>00</CST><vBC>25.00</vBC><pICMS>12.00</pICMS><vICMS>3.00</vICMS></ICMS00></ICMS></imposto></det><total><ICMSTot><vProd>25.00</vProd><vICMS>3.00</vICMS><vNF>25.00</vNF></ICMSTot></total></infNFe></NFe></nfeProc>
One row per:item
Mask buyer personal data:true

Output fields

NF number
Series
Issued at
Issuer
Issuer CNPJ
Recipient
Item
Code
Description
NCM
CFOP
Qty
Unit
Unit price
Item total
ICMS
IPI
PIS
COFINS
Invoice total
Access key

How it works

Sign up on Apify or log in

The Brazil NF-e XML to Excel, CSV & JSON Converter Actor is ready to run with the inputs already set for "Convert NF-e XML to an Excel spreadsheet by item". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert NF-e XML to an Excel spreadsheet by item" task

The Brazil NF-e XML to Excel, CSV & JSON Converter Actor will start running based on the input automatically. You can also change all the input fields, like XML contents, one row per, and more, to match your specific use case.

Receive the "Convert NF-e XML to an Excel spreadsheet by item" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as NF number, series, issued at, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert NF-e XML to an Excel spreadsheet by item" task via API.

Image

Integrate "Convert NF-e XML to an Excel spreadsheet by item" into your workflow

Connect "Convert NF-e XML to an Excel spreadsheet by item" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay