Harvest
Invoices
Sign up

Email Invoice for Brazil

Harvest streamlines the invoicing process by allowing businesses to easily create and send invoices, though it does not specialize in Brazilian electronic invoicing requirements.

INVOICE DRAFT

Add your logo here
Item type
Description
Quantity
Unit price
Tax
Amount
Subtotal
$0.00
Discount
$0.00
Amount Due
$0.00
Get paid via:
Credit card / Debit card
ACH
Wire transfer

Customise invoice

Appearance

Add a logo
Show invoice title

Invoice settings

Tax Add up to 2 tax rates
%
Discount Apply a discount percentage
%

Understanding Electronic Invoicing Regulations in Brazil

Electronic invoicing in Brazil is mandatory for nearly all enterprises and operates under a sophisticated clearance model. Since 2008, it has been obligatory for all taxable persons supplying goods and services, encompassing B2B, B2C, and B2G transactions, whether domestic, import, or export. This system, pioneered in Latin America, requires suppliers to submit electronic invoices to the tax authority for clearance before they can be issued to a client. Failure to comply, such as not issuing an e-invoice or issuing one that doesn't meet legal and technical requirements, can result in significant penalties, potentially 100% of the invoice value or transaction price, and even prosecution for tax evasion.

The Secretaria da Fazenda (SEFAZ) plays a central role in this regulatory framework. SEFAZ is the state-level tax authority responsible for managing and validating electronic invoices related to goods (NF-e) and transportation (CT-e). When an electronic invoice in XML format is submitted, SEFAZ receives it, validates its content and digital signature, and then issues a unique authorization code in real-time. This authorization code is critical; it must be incorporated into the XML document and printed on the auxiliary document (like the DANFE) that accompanies the goods. For service invoices (NFS-e), validation is typically handled at the municipal level by the respective "Prefeitura" (municipality), though a national NFS-e system is gradually unifying these processes.

Types of Electronic Invoices in Brazil

Brazil employs a segmented e-invoicing structure, with different electronic invoice types tailored to specific transaction categories. Each type has distinct uses and requirements, all generally requiring an XML format, electronic signatures, and prior validation by tax authorities.

  • Nota Fiscal Eletrônica (NF-e): This is the electronic tax document used for the sale and circulation of goods. It replaces traditional paper invoices for products and is managed at the federal level by SEFAZ. When goods are transported, a DANFE (Documento Auxiliar da Nota Fiscal Eletrônica), which is a simplified graphical representation of the NF-e, must accompany the shipment.
  • Nota Fiscal de Serviços Eletrônica (NFS-e): This document is specifically for the provision of services. Historically, NFS-e requirements and technical standards varied significantly by municipality, as each "Prefeitura" set its own rules. However, a national NFS-e system is being implemented, aiming to standardize service invoicing nationwide. This national standard is mandated to be adopted by all municipalities and the Federal District starting January 1, 2026, although some major cities, such as São Paulo, may maintain their own systems.
  • Nota Fiscal de Serviços de Comunicação Eletrônica (NFCom): Introduced for the telecommunications sector, NFCom simplifies invoicing for communication services. Its mandatory adoption for taxpayers began on November 1, 2025.
  • Conhecimento de Transporte Eletrônico (CT-e): This electronic document is used to record and control freight transportation services. Like the NF-e, it is managed at the federal level by SEFAZ. A DACTE (Documento Auxiliar do Conhecimento de Transporte Eletrônico) must accompany the goods during transport, serving as a summary of the CT-e.

Ensuring Compliance with Brazilian Tax Regulations

Ensuring compliance with Brazil's intricate tax regulations for electronic invoicing requires a structured approach and attention to detail. The core of this compliance lies in the clearance model, where invoices must be authorized by tax authorities before a transaction is completed.

  • Obtain a Digital Certificate: A valid digital certificate, issued by an ICP-Brasil accredited certification authority, is mandatory. This certificate is used to electronically sign all e-invoices, guaranteeing the authenticity of the issuer and the integrity of the data. The signature must typically be in XMLDsig format.
  • Generate XML Invoices: All electronic invoices must be generated in a structured XML format, adhering to the specific technical schemas defined for each invoice type (NF-e, NFS-e, CT-e, NFCom).
  • Pre-Clearance Submission: Submit the digitally signed XML invoice to the relevant tax authority (SEFAZ for goods/transport, or the municipal "Prefeitura" for services) via web service for real-time validation and authorization before the goods are shipped or services rendered.
  • Receive Authorization Code: Upon successful validation, the tax authority will return an authorization code. This code must be embedded within the XML invoice and updated in your ERP system.
  • Print Auxiliary Documents: For NF-e and CT-e, print the DANFE or DACTE, respectively. These simplified PDF representations must accompany the physical goods or transport.
  • Maintain Consistent Records: Ensure that accounting data, tax filings (such as those submitted via the SPED system), and electronic invoices are consistent. Discrepancies can quickly trigger audit alerts.

Common compliance pitfalls include not issuing an e-invoice or issuing a non-compliant one, which can lead to a penalty of 100% of the invoice value. Another significant challenge is managing the varying requirements across federal, state, and municipal levels, particularly for NFS-e, where rules can differ greatly between cities.

Best Practices for Sending Email Invoices in Brazil

While the legal electronic invoice in Brazil is the XML file, businesses often send a human-readable representation via email. Adhering to best practices ensures both compliance and operational efficiency.

When sending invoices via email, remember that the original XML file is the legally recognized electronic invoice. This XML document contains all the fiscal information and the digital signature that ensures its authenticity and integrity. Therefore, the XML file should always be the primary attachment. A PDF representation, such as the DANFE for goods or a similar document for services, is typically included for readability and ease of verification by the recipient. For goods in transit, the DANFE must physically accompany the shipment.

Regarding archiving, all electronic fiscal documents, specifically the original XML files, must be securely stored. As of May 1, 2025, the minimum retention period for all electronic tax documents in Brazil has been standardized to 132 months (11 years) from the date of the document's authorization. This is a significant increase from the previous five-year requirement. Companies must maintain these XML files in a safe, readable format for the entire period. Any accompanying auxiliary documents, like the DANFE, should also be stored. Failure to produce an invoice or losing the file before the retention period expires can result in fines.

To ensure the security and authenticity of emailed invoices, always rely on the digital signature embedded within the XML file. When transmitting via email, consider using secure channels or encryption if the content is sensitive, although the digital signature itself provides the legal assurance of integrity and origin. Recipients in Brazil are required to verify the e-invoice upon receipt, often by checking its authenticity against the tax authority's portal using the access key provided on the auxiliary document.

See Your Brazilian Invoice Template in Action

Preview how your invoice will look with XML formatting and compliance with Brazilian tax regulations — ready for SEFAZ validation.

Email Invoice for Brazil FAQs

  • To legally send email invoices in Brazil, the invoice must be in XML format and digitally signed with a valid digital certificate. The XML file is the official document, while a PDF version can be sent via email for readability. The original XML must be archived for 11 years.
  • No, electronic invoices in Brazil cannot be issued without a digital certificate. The digital certificate is essential for signing the invoice, ensuring its authenticity and compliance with legal standards.
  • You can export your reports from Harvest in various formats, including CSV and PDF, making it easy to share and analyze your data outside of the platform.
  • SEFAZ is responsible for validating electronic invoices related to goods and freight transportation. It checks the XML document's content and digital signature, and issues an authorization code that must be included on the invoice before it can be issued.
  • Yes, a unified national NFS-e system is set for mandatory adoption by all municipalities starting January 1, 2026. Additionally, NFCom for telecommunications services became mandatory on November 1, 2025.