A Nota Fiscal is Brazil’s mandatory electronic tax invoice, and every business must issue one the moment it sells goods, provides a service, or transfers property. Federal law makes it non-negotiable for the seller, and for the buyer it is the single most important document to keep: it is your legal proof of purchase for warranties, insurance claims, and personal tax filings. The system doubles as a tax-tracking tool for the government and a consumer protection tool for you.
Article 1 of Law No. 8.846/1994 requires a tax invoice, receipt, or equivalent document at the exact moment a sale of merchandise, provision of services, or transfer of movable property takes place.1Presidência da República. Lei 8846 de 21 de Janeiro de 1994 The obligation extends to rentals of movable and immovable property and to any other transaction involving goods or services, whether carried out by an individual or a legal entity. Almost no commercial exchange sits outside the rule.
The Main Types of Nota Fiscal
The system splits into several documents based on what is being sold and which level of government oversees the tax. Knowing which one applies to your transaction is the starting point for everything else.
NF-e for Goods
The Nota Fiscal Eletrônica (NF-e) is the standard electronic invoice for sales of physical goods and industrial products. State tax authorities known as SEFAZ validate and monitor these documents, particularly when merchandise crosses state lines.2SAP Help Portal. SAP Electronic Invoicing for Brazil Each NF-e must be submitted electronically for authorization before the goods ship. It contains full details about buyer, seller, and every line item in the transaction.
NFS-e for Services
When the transaction is a service rather than a product, the applicable document is the Nota Fiscal de Serviços Eletrônica (NFS-e).3Gov.br. Nota Fiscal de Servico Eletronica NFS-e The NFS-e is regulated at the municipal level, so the city where the service provider is registered controls its issuance and taxation. The municipal service tax (ISS) applied ranges from 2% to 5% depending on the municipality and the type of service.
NFC-e for Retail Sales
Retail transactions with individual end-consumers use the Nota Fiscal de Consumidor Eletrônica (NFC-e). This digital-only document covers in-person sales and home deliveries to final consumers within a single state. It replaced the old paper cupom fiscal at checkout counters and is built for high-volume retail environments such as supermarkets and shops, with real-time communication to state tax systems. The NFC-e does not generate ICMS tax credits for the buyer.
Import Invoices
When foreign goods enter Brazil, the importing company must issue an electronic Nota Fiscal on behalf of the foreign supplier. This import NF-e must accompany the merchandise from Customs to the company’s facility and must document the Import Declaration data, applicable IPI and import taxes, and transportation details. Certain import arrangements require additional documentation identifying the ordering party and their CNPJ when the goods are being imported on behalf of another entity.
Why the Nota Fiscal Matters to You as a Buyer
Hold onto the Nota Fiscal after any significant purchase. It is definitive proof of purchase for exercising warranty rights and requesting refunds on defective products.4mte.gov.br. What is Nota Fiscal? A Simple Guide Without a valid invoice, proving ownership of high-value items for insurance or filing a consumer protection complaint becomes very difficult.
Certain expenses documented through a Nota Fiscal can also be used in personal income tax filings. Several state and municipal governments run incentive programs that return a percentage of the tax collected to consumers who request invoices, which is why cashiers frequently ask whether you want your CPF on the receipt.
Who Has to Issue One
The general rule under Law 8.846/1994 is that anyone carrying out a commercial transaction must issue an invoice.1Presidência da República. Lei 8846 de 21 de Janeiro de 1994 The obligation applies to legal entities of every size and, in some cases, to individuals conducting business activities.
The rules for Microempreendedores Individuais (MEIs) are the most common source of confusion. A MEI is not required to issue a Nota Fiscal when selling directly to an individual consumer, unless the consumer specifically requests one. When the buyer is another business, however, the MEI must issue an invoice. A MEI is also not obligated to issue the full NF-e format even for interstate sales, though it may do so voluntarily.5Gov.br. O Microempreendedor Individual MEI e Obrigado a Emitir Nota Fiscal Small business owners frequently get this wrong in one of two directions: they issue invoices for every cash sale to individuals when they do not have to, or they skip invoices to other companies when they must produce them.
What You Need Before Issuing a Nota Fiscal
Several registrations and tools have to be in place before the first invoice can be transmitted.
Business Registration
The foundation is a valid CNPJ (Cadastro Nacional da Pessoa Jurídica), the business’s tax identification number. Individual entrepreneurs operating under certain registration types may use their personal CPF instead. Beyond the tax ID, the business must formally register with the relevant State Treasury for goods or the Municipal Treasury for services to be authorized to transmit invoices.
Digital Certificate
Every NF-e must be electronically signed with a digital certificate issued by a certification authority accredited by ICP-Brasil (Infraestrutura de Chaves Públicas Brasileira). The certificate proves the invoice genuinely came from the registered business and has not been tampered with. Common types include the e-CNPJ for legal entities and the e-CPF for individual entrepreneurs. If the certificate expires, invoice transmission stops entirely until it is renewed.
Product and Transaction Codes
Each invoice requires classification codes that tell the tax system exactly what is being sold and how it should be taxed:
- NCM (Nomenclatura Comum do Mercosul) is an eight-digit code that classifies the product. The first six digits follow the international Harmonized System, and the last two are defined by Mercosul member countries.
- CFOP (Código Fiscal de Operações e Prestações) describes the type of transaction. The first digit signals whether the operation is internal to your state, interstate, or an international export.6Microsoft Learn. About the Identification of CFOP Codes for Transactions
- CST (Código de Situação Tributária) identifies the tax situation, indicating whether a standard rate, an exemption, or a specific tax type applies. Businesses under Simples Nacional use a related code called CSOSN instead.
- CRT (Código de Regime Tributário) identifies which tax regime the issuing company belongs to. A CRT of 1 indicates Simples Nacional, 2 means Simples Nacional exceeding the sublimit, and 4 designates a MEI.
Most businesses work with an accountant to configure these correctly. An incorrect NCM or CFOP can cause the tax authority to reject an invoice outright, and repeated errors invite audits. Product changes, new customer locations, and changes in tax regime all require the codes to be revisited.
How the Issuance Process Works
Once registrations, certificate, and codes are in place, the issuance itself follows a defined sequence.
Transmission and Authorization
Transaction data goes into an authorized invoicing system, whether a dedicated ERP, a smaller commercial package, or a government-provided portal. The system converts that data into a standardized XML file, which is the only format that holds legal validity.7Oracle. Understanding the Electronic Nota Fiscal Process The XML is transmitted to the SEFAZ servers, which validate its format and content. If everything checks out, the tax authority returns an authorization protocol confirming the invoice is registered in the government database.
This authorization must happen before goods leave the facility. Shipping merchandise without an authorized NF-e is treated the same as shipping without any invoice at all, and the goods can be seized in transit.
The DANFE
After authorization, the system generates a DANFE (Documento Auxiliar da Nota Fiscal Eletrônica), a printed or PDF summary of the electronic data.8Portal da Nota Fiscal Eletrônica. DANFE Documento Auxiliar da NF-e The DANFE is not itself the legal invoice; the XML is. But the DANFE has to accompany goods during transit so tax inspectors and law enforcement can verify the shipment, and it gives the recipient a readable format. It includes a unique access key and barcode that anyone can use to pull up the full electronic invoice on the official government portal.
Delivery to the Buyer
The seller sends the authorized XML to the buyer, typically by email, for the buyer’s own accounting records. The printed DANFE travels with the physical delivery. Modern invoicing software distributes both automatically the moment authorization is granted. Buyer, seller, and the government all end up with a synchronized record, which is what makes the system effective for audits.
Fixing Mistakes: Corrections and Cancellations
Mistakes on authorized invoices happen constantly. Two distinct tools handle them depending on how serious the error is.
Correction Letters
For minor errors that do not affect tax calculations, a Carta de Correção Eletrônica (CC-e) is available for up to 30 days (720 hours) after the NF-e is authorized. A CC-e can fix product descriptions, internal reference numbers, purchase order numbers, and supplementary notes. Up to 20 corrections can be issued for a single NF-e, but each new one must contain all previous corrections because only the most recent is considered legally valid.
A CC-e cannot change any field that affects the tax amount, the identity of sender or recipient, or the dates of issuance and departure.9Receita Federal. Carta de Correcao de Nota Fiscal Eletronica If any of those fields is wrong, the invoice has to be cancelled and reissued.
Cancellation
Full cancellation of an authorized NF-e is possible but time-restricted. Most states allow it within 24 hours of authorization, though some extend or shorten that window. The operation must not have already occurred, meaning the goods cannot have shipped and the service cannot have been rendered. If the cancellation window has closed, the usual remedy is to issue a return invoice (nota de devolução) to reverse the original transaction. Cancellation also requires SEFAZ authorization, and the cancelled status is permanently recorded alongside the original invoice.
How Long to Keep the Files
Authorized NF-e XML files are not something you can delete after the goods arrive. As of May 2025, SINIEF Adjustment No. 2/2025 requires businesses to keep all electronic tax documents in XML format for 132 months (11 years) from the authorization date. The rule applies to NF-e, NFC-e, CT-e, and several other electronic fiscal document types. The files must remain accessible and intact throughout the full period, including associated event data such as cancellations, corrections, and status changes.
The government already has its own copy of every authorized XML in the SEFAZ database, so an audit request is really a check on whether you kept proper records on your end. Failing to produce the original XML files can bring penalties even when the underlying transactions were completely legitimate. Cloud-based invoicing software usually handles automatic backup; older systems and manual processes need a deliberate archival strategy.
Penalties for Skipping or Faking a Nota Fiscal
The consequences for failing to issue a Nota Fiscal or issuing a fraudulent one are among the most severe in Brazilian tax law.
Law No. 8.137/1990 defines crimes against the tax order. Article 1 covers the most serious offenses, including suppressing or reducing tax obligations through fraud, falsification, or omission, and carries imprisonment of two to five years plus a fine. Article 2 covers less severe conduct such as failing to issue an invoice or making false declarations, with sentences of six months to two years of detention plus a fine.10Presidência da República. Lei 8137 de 27 de Dezembro de 1990
On the administrative side, the Federal Revenue Service imposes a standard fine of 75% of the unpaid tax for ordinary non-payment. When authorities find fraud, bad faith, or simulation, the penalty rises to 150% of the evaded amount. Brazil’s Supreme Court has moved to cap fines at 100% of the tax owed in standard cases, but the 150% rate remains in force where fraud is proven.
Beyond money, a business flagged for repeated noncompliance faces heightened audit frequency and potential loss of its tax registration, which effectively shuts down operations. Criminal liability is personal for company owners and directors; prosecutors pursue individual executives for tax evasion (sonegação fiscal), not just the corporate entity.
What Changes Under the 2026 Tax Reform
Brazil is in the early stages of its most significant tax overhaul in decades. Constitutional Amendment No. 132/2023 gradually replaces five existing consumption taxes (ICMS, ISS, PIS, COFINS, and IPI) with two new ones: the IBS (Imposto sobre Bens e Serviços), governed by state and municipal authorities, and the CBS (Contribuição sobre Bens e Serviços), administered federally.
The operational regulations for IBS and CBS were published on April 30, 2026, formally launching the new system. Penalties for noncompliance with the new rules may begin applying as early as August 2026, which is a compressed window for adapting invoicing systems and tax code configurations. Classification codes on your invoices (CST, CRT, and related fields) will need updating to reflect the new tax categories.
One important carve-out: businesses operating under the Simples Nacional regime (CRT codes 1, 2, and 4, which includes MEIs) are not affected by the new invoice requirements until 2027. If you fall into that category, your current invoicing setup continues to work through the end of 2026. Everyone else should already be working with an accountant or software provider to make sure their systems can handle the new CBS and IBS fields, because retroactively correcting invoices issued under the wrong tax framework is far more painful than getting the configuration right the first time.