KipBill
Compliance

NF-e (Nota Fiscal Eletrônica)

Brazil's mandatory electronic invoice for the sale of goods, authorised by the state tax authority (SEFAZ) before the goods ship.

Last updated

Also known asNota Fiscal ElectronicaNFeBrazilian e-invoice

Definition

NF-e (Nota Fiscal Eletrônica) is Brazil's e-invoice for goods transactions. The parallel for services is the NFS-e, long issued under each municipality's own model; since 1 January 2026, municipalities must let their taxpayers issue it in the national standard (NFS-e de padrão nacional) or, if they keep their own system, share the NFS-e it issues with the national data environment in the standard layout. Brazil has operated NF-e since 2006, making it one of the oldest and most mature e-invoicing regimes in the world.

Workflow: the seller's system generates a structured XML with a unique 44-digit access key (chave de acesso), built from the invoice's own data: state code, year and month of issue, the seller's CNPJ/CPF, model, series, number, issue type, a random code and a check digit. The seller signs the XML with a digital certificate (A1 software-based or A3 smart-card-based) and submits it to the SEFAZ of the originating state before shipping. SEFAZ validates the XML and returns an authorisation protocol (Autorização de Uso). Only authorised NF-es can legally accompany goods in transit.

The XML carries: seller CNPJ and state registration; buyer CNPJ/CPF and address; NCM code (goods classification); CFOP code (operation nature); description, quantity, unit price; breakdown of ICMS (state VAT), IPI (federal excise), PIS and COFINS (federal social contributions), and ISS if applicable, plus, since 2026, fields for the tax reform's new CBS and IBS (Lei Complementar 214/2025); access key and SEFAZ authorisation protocol.

For transport, a printed summary called DANFE (Documento Auxiliar da NF-e) accompanies the goods. It shows the 44-digit access key and a barcode, but is only a visual representation — the XML is the legal document.

Electronic archiving is mandatory for at least 5 years under the Código Tributário Nacional.

Related terms

Back to glossary