Tax Compliance for SaaS in Brazil: Nota Fiscal, PIS/COFINS, ISS, and What to Do

Tax compliance for SaaS in Brazil is the set of obligations a foreign software vendor must fulfill to sell legally in the country: issuing a nota fiscal (electronic tax document), remitting PIS/COFINS and ISS, and structuring the market entry model so the Brazilian corporate buyer receives a valid fiscal document. Without it, there is no sale. Full stop.
What does a foreign ISV need to know before the first sale in Brazil?
Brazil taxes software consumption differently from what most ISVs are used to. Sending an invoice in dollars is not enough. The Brazilian corporate buyer demands a nota fiscal to book the expense, recover tax credits, and avoid fiscal liabilities.
Four taxes apply to SaaS sales to Brazilian companies: PIS (1.65%), COFINS (7.6%), ISS (2% to 5%, varies by municipality), and, depending on the tax regime, IRPJ and CSLL on profit.
The combined burden ranges between 11.25% and 14.25% on gross revenue, excluding IRPJ/CSLL. Note: PIS and COFINS will be extinguished on January 1, 2027 and replaced by the CBS; ISS will begin phasing down in 2029 (see Tax Reform section below).
An ISV that ignores this structure loses the sale. Corporate buyers do not contract software without a nota fiscal. In 2025, an internal Nexforce survey of 47 foreign companies that attempted to sell SaaS in Brazil found that 38% lost deals exclusively because they could not issue a Brazilian fiscal document.
Why does Brazil require a nota fiscal for software?
The short answer: because the Brazilian tax authority demands electronic fiscal documentation for every transaction involving goods or services. Software as a Service is treated, for ISS purposes, as a service. Most municipalities require issuance of a Nota Fiscal de Servico Eletronica (NFS-e), the electronic service tax document.
The longer answer: Brazil's tax model is built on the principle that every economic transaction must be registered in an electronic fiscal document validated in real time by the tax authority. Brazilian corporate buyers use these documents for accounting and tax credit recovery. Without the nota, the buyer cannot deduct the expense or recover PIS/COFINS under the non-cumulative regime.
In 2021, the Brazilian Supreme Federal Court (STF) confirmed that ISS applies to software licensing and assignment of use (General Repercussion Theme 590). This consolidated the understanding: SaaS pays ISS in the service provider's municipality (or the buyer's, depending on the municipal complementary law), and the NFS-e is the mandatory document.
For the foreign ISV, issuing an NFS-e directly is technically infeasible. They lack a CNPJ (Brazilian corporate tax ID), municipal registration, and a Brazilian digital certificate. Hence the need for a local intermediary.
How does SaaS taxation work in Brazil?
The general rule for software sold as a service to Brazilian companies follows this logic:
ISS (2% to 5%): levied on the service value. The rate varies by municipality where the service is provided. Sao Paulo charges 2.9% for IT services; other municipalities reach 5%. ISS is either withheld at source or collected directly by the service provider.
PIS and COFINS: levied on gross revenue in two regimes. Cumulative: PIS 0.65% + COFINS 3% (total 3.65%). Non-cumulative: PIS 1.65% + COFINS 7.6% (total 9.25%, with credit eligibility). The difference between regimes lies in the taxpayer's ability to offset input credits. Under the non-cumulative regime, the rate is higher, but the taxpayer can deduct PIS/COFINS paid on essential operational expenses.
IRPJ and CSLL: applied to net profit (not gross revenue, unlike PIS/COFINS and ISS). Under the Lucro Real (Actual Profit) regime, IRPJ is 15% on profit, plus an additional 10% on the monthly tax base exceeding BRL 20,000 (approximately USD 3,500). CSLL is 9% on profit.
For a foreign ISV operating through a Brazilian Merchant of Record (MoR), the MoR assumes responsibility for the taxes, issues the nota fiscal in its own name, and remits the net amount to the ISV. The ISV needs no CNPJ or Brazilian tax accounting.
Tax regimes: which applies to each entry model?
Brazil offers three main federal tax regimes. The choice depends on the ISV's entry model.
| Regime | Tax Base | PIS/COFINS | IRPJ/CSLL | Applicable to |
|---|---|---|---|---|
| Lucro Real (Actual Profit) | Adjusted net accounting profit | 9.25% (non-cumulative) | 15% + 9% on actual profit | Companies with revenue > BRL 78M/year (~USD 13M); MoRs operating as intermediaries |
| Lucro Presumido (Presumed Profit) | Presumed profit margin defined by law (32% for services) | 3.65% (cumulative) | 15% + 9% on presumed profit | Companies with revenue < BRL 78M/year; subsidiaries of mid-sized ISVs |
| Simples Nacional | Gross revenue | Single progressive rate (6% to 33%) | Included in the single rate | Companies with revenue < BRL 4.8M/year (~USD 800K); not applicable to most foreign ISVs |
The Lucro Real vs. Presumido decision is not binary for the foreign ISV. An ISV cannot opt into any regime without a CNPJ. The choice falls on the local intermediary, whether an owned subsidiary, a local distributor, or a MoR.
In practice, what matters to the ISV is the net fiscal cost of the operation. A MoR under Lucro Real can pass through a spread that incorporates the tax credits it recovers, reducing the effective tax burden. A Presumido operator has a lower total burden on gross revenue (3.65% PIS/COFINS instead of 9.25%), but cannot offer tax credits to the end buyer.
Large corporate buyers in Brazil demand tax credits. Lucro Real companies want the service provider to be under Lucro Real (non-cumulative PIS/COFINS) so the credit chain functions. This eliminates Lucro Presumido as an option for ISVs targeting the Brazilian enterprise segment.
Entry models in Brazil: which structure to adopt?
There are three operational paths for a foreign ISV to sell SaaS in Brazil with full tax compliance.
| Model | Own CNPJ | NF Issuance | Fiscal Responsibility | Setup Speed | Maintenance Cost | Suitable For |
|---|---|---|---|---|---|---|
| Own Subsidiary | Yes | Own | ISV's responsibility | 6 to 12 months | High (accounting, legal, compliance) | ISVs with > USD 2M/year revenue in Brazil |
| Local Distributor | No (uses distributor's CNPJ) | Distributor's | Distributor's responsibility | 2 to 4 months | Medium (distributor margin, 15% to 30%) | ISVs wanting to test the market without opening an entity |
| Merchant of Record (MoR) | No (uses MoR's CNPJ) | MoR's | MoR's responsibility | 2 to 4 weeks | Low to medium (transactional fee, 3% to 8%) | ISVs of any size, especially < USD 500K/year in Brazil |
The own subsidiary is the path of greatest control and greatest cost. An ISV opening a CNPJ in Brazil needs full accounting, a technical officer, municipal registration in each city where it operates (or where the buyer is located, depending on local legislation), and labor compliance if it hires a team. For an ISV with less than USD 2 million annual revenue in Brazil, the fixed cost of the fiscal structure often makes the operation unviable.
The local distributor eliminates the CNPJ requirement but introduces a commercial intermediary that may compete with the ISV's other channels, demand exclusivity, or fail to prioritize the product in its portfolio.
The MoR solves the fiscal problem without interfering in the commercial relationship. The ISV maintains the direct relationship with the buyer, sets the price and contract, and the MoR acts as an exclusively fiscal intermediary: it issues the nota, remits the taxes, processes the payment in local currency, and settles in dollars to the ISV. The buyer receives a valid Brazilian nota fiscal. The ISV receives payment in an international account. Neither party needs a fiscal structure in Brazil.
Step by step: from contract to nota fiscal without an own CNPJ
This is the operational flow for a foreign ISV closing a contract with a Brazilian corporate buyer using a MoR.
-
The ISV-buyer contract defines price, scope, and SLAs. The ISV negotiates directly with the buyer. The MoR does not participate in the commercial negotiation. The contract can be in English, governed by foreign law.
-
The MoR is inserted as a fiscal intermediary. A side letter or separate instrument designates the MoR as responsible for issuing the nota fiscal and remitting taxes in Brazil. The buyer agrees to pay the MoR the total amount in BRL, including taxes.
-
The buyer pays the MoR in local currency. Pix, boleto, or wire transfer. The MoR receives the gross amount in BRL in a Brazilian bank account. Payment in local currency keeps the conversion rate out of the buyer's payment flow.
-
The MoR issues the NFS-e against the buyer's CNPJ. The nota fiscal is issued same-day, with the service classified under the Brazilian Services Nomenclature (sub-item 1.03 or 1.05 for software). The buyer receives a valid fiscal document for accounting.
-
The MoR remits ISS, PIS/COFINS, and other taxes. Settlement follows the Brazilian tax calendar (monthly for PIS/COFINS and ISS). The MoR answers to the tax authority, not the ISV.
-
The MoR settles to the ISV in dollars (or stablecoin). After currency conversion and deduction of the service fee, the net amount is transferred to the ISV's international account. The typical timeline is 2 to 7 business days.
-
The monthly withholding report closes the ISV's compliance. The MoR provides the ISV with a statement showing gross billed amount, taxes withheld per sale, service fee, and net amount transferred. This report serves the ISV's accounting in its home country and supports audits.
The entire flow operates without the ISV needing a CNPJ, a Brazilian accountant, or a digital certificate.
What does the Tax Reform change for SaaS?
Constitutional Amendment 132/2023 established the new consumption tax model in Brazil, unifying PIS, COFINS, and IPI into the CBS (Contribution on Goods and Services) and ICMS and ISS into the IBS (Tax on Goods and Services).
The transition begins in 2026 with testing of CBS and IBS at reduced rates (0.9% and 0.1% respectively). Full implementation runs through 2033. PIS and COFINS are extinguished on January 1, 2027. ISS is reduced by 10% annually between 2029 and 2032, and is extinguished in 2033.
Critical points for SaaS:
The reference rate estimated by the Ministry of Finance is 26.5% (CBS + IBS combined). This is higher than the current PIS/COFINS + ISS burden (between 11.25% and 14.25% for SaaS). However, the new model is 100% non-cumulative: each link in the chain credits the tax paid in the previous stage. The net impact depends on the taxpayer's input chain.
The IBS eliminates the fiscal war between municipalities. Today, ISS ranges from 2% to 5% depending on the city. Under IBS, the rate will be uniform nationally. This ends the fiscal arbitrage ISVs currently perform by choosing the municipality of establishment to reduce ISS.
The IBS taxation jurisdiction will be the destination of the operation (where the buyer consumes the service), not the origin (where the provider is established). For SaaS, this changes planning: today an ISV can establish itself in a municipality with 2% ISS and sell nationwide. After the full transition, the tax will be due to the buyer's municipality.
For foreign ISVs operating through a MoR, the transition does not change the operation. The MoR absorbs the transition complexity and the ISV continues receiving the net amount in dollars. The difference is that the MoR will need to adapt its settlement systems and the fiscal cost may increase as CBS/IBS rates consolidate.
The operational recommendation is direct: anyone selling SaaS in Brazil today needs a fiscal model that works through the 7-year transition, with an intermediary that updates the structure as the rules change. Setting up an own CNPJ in 2026 and trying to navigate the transition alone is a high-cost, high-risk bet.
Six mistakes that cost contracts (and fines)
1. Issuing an invoice in dollars and thinking it solves the problem. A Brazilian corporate buyer does not accept a foreign invoice as an accounting document. Neither does the Receita Federal. The sale can be voided, and if the amount is significant, the buyer may be fined for an expense without fiscal proof.
2. Classifying SaaS as a perpetual license to evade ISS. The STF ruled in 2021 that software as a service pays ISS (Theme 590). Attempting to classify SaaS as a sale of goods or a perpetual license to issue a product NF-e instead of an NFS-e is aggressive tax planning that municipal tax auditors easily challenge.
3. Using a commercial partner's CNPJ without a formal intermediation contract. If the ISV signs a contract with the buyer but asks a local partner to issue the nota "on the side," the operation is irregular. The nota fiscal must correspond to the reality of the transaction: who provides the service and who pays. A third-party nota for one's own sale is fiscal simulation.
4. Ignoring ISS withheld at source. In some municipalities, the service buyer is responsible for withholding ISS at source and remitting it to the municipality. If the ISV (or its MoR) does not clearly inform the buyer of this on the nota or in the contract, the buyer may be fined for failure to withhold. The ISV loses the buyer on the first fine.
5. Underestimating fiscal setup time. Opening a CNPJ in Brazil, obtaining municipal registration, configuring a digital certificate, and homologating NFS-e issuance takes 45 to 90 days without setbacks. Any document backlog doubles the timeline. ISVs that start the process only after the contract is signed delay the first billing and burn the buyer's trust.
6. Treating tax compliance as a lowest-price commodity. The cheapest MoR often operates with a fragile fiscal structure: incorrect tax classification, NFS-e with a generic service code, fiscal delinquency. When the tax authority questions it, the buyer receives the fine. The ISV loses the buyer. The 2% to 3% difference in service fee does not compensate the risk of losing the buyer entirely.
FAQ
Do I need a CNPJ to sell SaaS in Brazil? No. A Brazilian MoR issues the nota fiscal and remits taxes in its own name, without the ISV needing a CNPJ, municipal registration, or digital certificate. The ISV maintains the direct commercial relationship with the buyer.
What is the difference between a service nota fiscal (NFS-e) and a product nota fiscal (NF-e) for software? NFS-e is the correct document for SaaS. The NF-e is used for the circulation of goods and physical software ("boxed"). The STF defined, in Theme 590, that software licensing and assignment of use constitutes a service, therefore NFS-e. Issuing an NF-e for SaaS is incorrect classification and exposes the buyer to fiscal risk.
How much does the total tax burden cost to sell SaaS in Brazil? The direct burden on gross revenue is between 11.25% and 14.25% (PIS 1.65% + COFINS 7.6% + ISS 2% to 5%). IRPJ and CSLL apply to profit and vary by regime. The total intermediary (MoR) cost is between 3% and 8% additional, depending on volume and complexity.
Will the Tax Reform increase or reduce the fiscal cost of SaaS? The estimated combined CBS + IBS rate (26.5%) is numerically higher than the current burden. However, the full non-cumulativity of the new model may reduce the net burden for companies with taxed input chains. The transition will be gradual (2026 to 2033). ISVs operating through a MoR do not need to worry about the transition: the MoR adapts the structure as the new rules come into force.
Can I issue an NFS-e while abroad? Not directly. Issuing an NFS-e requires an active CNPJ, municipal registration in the service municipality, a digital certificate (e-CNPJ or e-CPF with power of attorney), and access to the city's webservice. A foreign ISV without a CNPJ cannot issue even the first nota.
What happens if I sell without a nota fiscal? The corporate buyer does not book the expense. If it books using a foreign invoice, it is exposed to a Receita Federal fine for improper deduction. If it does not book it, the expense amount increases the IRPJ/CSLL base. In both cases, the buyer simply does not buy. The absence of a nota fiscal is a complete commercial block in the Brazilian B2B market.
Fiscal structure defines market size
Brazil is the largest SaaS market in Latin America. In 2024, corporate cloud software spending in the country exceeded USD 8 billion, according to ABES. What separates the ISV that sells in Brazil from the ISV that gives up on the country is the fiscal structure.
It is not the product. It is not the price. It is the nota.
The Brazilian enterprise buyer does not purchase foreign software without a nota fiscal. Whoever solves this step closes the deal. Whoever does not loses the sale to a competitor who did.
Nexforce Marketplace operates as the Merchant of Record for foreign ISVs in Latin America. It handles the entire fiscal cycle: NFS-e issuance, ISS, PIS/COFINS, and other tax remittance, payment processing via Pix and boleto, and cross-border settlement in dollars. The ISV closes the contract with the buyer. Nexforce closes the nota. The buyer receives a valid Brazilian fiscal document. The ISV receives payment in an international account. That's it.
References and Further Reading
- ABES. Brazilian Software Market: Overview and Trends 2024. Brazilian Association of Software Companies, 2024.
- STF. General Repercussion Theme 590: ISS Incidence on Software Licensing and Assignment of Use. Supreme Federal Court, 2021.
- EC 132/2023. Constitutional Amendment Establishing the Consumption Tax Reform (CBS/IBS). National Congress, 2023.
- LC 214/2025. Complementary Law instituting the CBS, IBS, and Selective Tax, regulating the Consumption Tax Reform (EC 132/2023). Enacted 16/01/2025, in force, amended by LC 227/2026.
- LC 116/2003. Regulates ISS and establishes the list of taxable services by municipalities.
- Law 10,637/2002. Regulates non-cumulativity in the collection of PIS/Pasep contributions.
- Law 10,833/2003. Regulates non-cumulativity in the collection of COFINS.
- Law 9,249/1995. Amends the corporate income tax and social contribution on net profit legislation.
- Decree 9,580/2018 (RIR/2018). Regulates the taxation, inspection, collection, and administration of Income Tax.
- Receita Federal of Brazil. Normative Instruction RFB No. 2,121/2022: PIS/COFINS – Cumulative and Non-Cumulative Assessment Regimes.