Businesses Operating in Brazil

How do businesses comply with Brazil's Nota Fiscal e-invoicing system?

Brazil operates one of the world's oldest and most comprehensive e-invoicing systems. The Nota Fiscal Eletronica (NF-e) for goods and Nota Fiscal de Servicos Eletronica (NFS-e) for services require pre-authorization by the tax authority before a sale can take place. Businesses must integrate with SEFAZ (state tax authority) for NF-e and municipal systems for NFS-e. Tax calculation using Brazilian tax engines (ICMS, IPI, PIS, COFINS) is essential.

How does the Brazilian NF-e process work?

The NF-e pre-authorization process requires real-time SEFAZ integration:

  • Generate XML: Business generates the invoice XML in the NF-e standard schema
  • Digital signature: Sign the XML with a digital certificate (e-CNPJ) from an accredited certificate authority
  • SEFAZ submission: Submit the signed XML to the appropriate state SEFAZ via SOAP web service
  • Validation: SEFAZ validates the XML schema, tax calculations, and business data
  • Chave de acesso: SEFAZ returns a 44-digit access key and the DANFE rendering authorization
  • DANFE: Print the DANFE (Documento Auxiliar da NF-e) as the physical document accompanying goods
  • Storage: Store the authorized NF-e XML for 5 years; must be available for SEFAZ audit

Frequently Asked Questions

What is the difference between NF-e, NFS-e, and NFC-e?
NF-e (Nota Fiscal Eletronica modelo 55) covers B2B goods transactions. NFS-e (Nota Fiscal de Servicos Eletronica) covers services and is issued at the municipal level; each municipality has different technical implementations. NFC-e (Nota Fiscal ao Consumidor Eletronica modelo 65) is the consumer receipt issued at the point of sale, replacing the traditional cupom fiscal. NF-e is the most widely used and most standardized; NFS-e has significant variation across 5,500+ municipalities.
What happens if the SEFAZ system is unavailable when issuing an NF-e?
Brazil has a contingency mode (NF-e em contingencia) for SEFAZ outages. In contingency mode, the business can issue the invoice using a contingency environment or an offline XML with a special indicator. Within 24 hours of SEFAZ coming back online, the contingency invoices must be regularized. Businesses must have contingency procedures configured and tested in their systems before a real outage occurs.

Related Concepts

Related Regulations