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 tax obligations a foreign software provider must meet to sell legally in the country: issuing a nota fiscal, paying PIS/COFINS and ISS, and structuring the entry model so the Brazilian client receives a valid tax document. Without this, there is no sale. Period.
What a Foreign ISV Needs to Know Before the First Sale in Brazil
Brazil taxes software consumption differently from what most ISVs are used to. It is not enough to invoice in dollars and send an invoice. The Brazilian corporate client demands a nota fiscal to book the expense, recover tax credits, and avoid tax liabilities.
Four taxes apply to SaaS sales to companies in Brazil: PIS (1.65%), COFINS (7.6%), ISS (2% to 5%, varying by municipality), and, depending on the regime, IRPJ and CSLL on profit.
The combined burden ranges from 11.25% to 14.25% on revenue, excluding IRPJ/CSLL. Note: PIS and COFINS will be abolished on 01/01/2027 and replaced by CBS; ISS will be gradually reduced starting in 2029 (see the Tax Reform section below).
The ISV that ignores this structure loses the sale. The corporate client does not buy software without a nota. In 2025, an internal Nexforce survey of 47 foreign companies that tried to sell SaaS in Brazil found that 38% lost contracts solely because they could not issue a Brazilian tax document.
Why Does Brazil Require a Nota Fiscal for Software?
The short answer: because the Brazilian tax authority requires electronic tax documentation for every transaction involving the circulation of goods or the provision of services. Software as a service (SaaS) is treated, for ISS purposes, as a service. Most municipalities require the issuance of an Electronic Service Nota Fiscal (NFS-e).
The long answer: the Brazilian tax model operates on the principle that every economic transaction must be recorded in an electronic tax document validated in real time by the tax authority. The corporate client uses these documents for accounting entries and tax crediting. Without the nota, the client cannot deduct the expense nor recover PIS/COFINS in the non-cumulative modality.
In 2021, the Supreme Federal Court (STF) confirmed the ISS incidence on 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 taker's, depending on the municipal supplementary law), and the NFS-e is the mandatory document.
For the foreign ISV, the NFS-e is technically impossible to issue directly. It has no CNPJ, no municipal registration, and no 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. São Paulo applies 2.9% for IT services; other municipalities reach 5%. ISS is withheld at source or collected directly by the service provider.
PIS and COFINS: levied on revenue under two regimes. Cumulative: PIS 0.65% + COFINS 3% (total 3.65%). Non-cumulative: PIS 1.65% + COFINS 7.6% (total 9.25%, with credit possibility). The difference between the 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 operating expenses.
IRPJ and CSLL: apply to net profit (not to gross revenue, unlike PIS/COFINS and ISS). IRPJ for Lucro Real is 15% on profit, plus a 10% surcharge on the monthly calculation basis exceeding R$20,000. CSLL is 9% on profit.
For the foreign ISV operating through a Brazilian Merchant of Record (MoR), the MoR assumes responsibility for the taxes, issues the nota in its own name, and remits the net amount to the ISV. The ISV does not need a CNPJ or Brazilian tax accounting.
Tax Regimes: Which Applies to Each Entry Model?
Brazil offers three main federal tax regimes. The choice of regime depends on the entry model the ISV adopts.
| Regime | Calculation Basis | PIS/COFINS | IRPJ/CSLL | Applicable To |
|---|---|---|---|---|
| Lucro Real | Adjusted net accounting profit | 9.25% (non-cumulative) | 15% + 9% on real profit | Companies with revenue > R$78M/year (~USD 13M); MoRs operating as intermediaries |
| Lucro Presumido | Presumed profit margin by law (32% for services) | 3.65% (cumulative) | 15% + 9% on presumed profit | Companies with revenue < R$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 < R$4.8M/year (~USD 800K); not applicable to most foreign ISVs |
The decision between Lucro Real and Presumido is not binary for the foreign ISV. The ISV cannot opt for any regime without a CNPJ. The choice falls on the local intermediary, whether a proprietary subsidiary, a distributor, or an MoR.
In practice, what matters to the ISV is the net fiscal cost of the operation. An MoR under Lucro Real can pass on to the ISV a spread that incorporates the tax credits it recovers, reducing the effective cost of taxation. An operator under Presumido has a lower total burden on revenue (3.65% PIS/COFINS instead of 9.25%), but cannot offer credit to the end client.
Large clients in Brazil demand tax credits. Companies under Lucro Real want the provider to be under Lucro Real (non-cumulative PIS/COFINS regime) so the credit chain works. This eliminates Lucro Presumido as an option for ISVs whose target audience is Brazilian enterprise.
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 | Tax Liability | Setup Speed | Maintenance Cost | Suitable For |
|---|---|---|---|---|---|---|
| Proprietary subsidiary | Yes | Own | ISV's | 6 to 12 months | High (accounting, lawyer, compliance) | ISVs with > USD 2M/year revenue in Brazil |
| Local distributor | No (uses distributor's CNPJ) | Distributor's | Distributor's | 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 | 2 to 4 weeks | Low to medium (transactional fee, 3% to 8%) | ISVs of any size, especially < USD 500K/year in Brazil |
The proprietary subsidiary is the path of greatest control and greatest cost. An ISV opening a CNPJ in Brazil needs full accounting, a technical responsible person, municipal registration in every city where it operates (or where the taker is located, depending on local legislation), and labor compliance if hiring a team. For an ISV with less than USD 2 million in annual revenue in Brazil, the fixed cost of the tax structure often makes the operation unviable.
The local distributor eliminates the need for a CNPJ but introduces a commercial intermediary that may compete with the ISV's other channels, demand exclusivity, or not prioritize the product in its portfolio.
The MoR solves the tax problem without interfering in the commercial relationship. The ISV maintains the direct relationship with the client, sets price and contract, and the MoR acts exclusively as a fiscal intermediary: issues the nota, collects the taxes, processes payment in local currency, and settles in dollars to the ISV. The client receives a valid Brazilian tax document. The ISV receives to an international account. Neither needs a tax structure in Brazil.
Step by Step: From Contract to Nota Fiscal Without Your Own CNPJ
This is the operational flow for a foreign ISV closing a contract with a corporate client in Brazil using an MoR.
-
The contract between ISV and client defines price, scope, and SLAs. The ISV negotiates directly with the client. The MoR does not participate in the commercial negotiation. The contract may be in English, governed by foreign law.
-
The MoR is inserted as a fiscal intermediary. An addendum or separate instrument designates the MoR as responsible for issuing the nota fiscal and paying taxes in Brazil. The client agrees to pay the MoR the full amount in Brazilian reais, including taxes.
-
The client pays the MoR in local currency. Pix, boleto, or bank transfer. The MoR receives the gross amount in reais into a Brazilian account. Payment in local currency keeps the conversion rate outside the client's payment flow.
-
The MoR issues the NFS-e against the client's CNPJ. The nota fiscal is issued on the same day as payment, with the service classified under the Brazilian Services Nomenclature (subitem 1.03 or 1.05 for software). The client receives a valid tax document for accounting.
-
The MoR collects ISS, PIS/COFINS, and other taxes. The calculation 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 timeframe is 2 to 7 business days.
-
The monthly withholding report closes the ISV's compliance. The MoR delivers to the ISV a statement with gross invoiced amount, taxes withheld per sale, service fee, and net transferred amount. This report serves the ISV's accounting in the home country and for audit purposes.
The entire flow runs without the ISV needing a CNPJ, a Brazilian accountant, or a digital certificate.
What Does Tax Reform Change for SaaS?
Constitutional Amendment 132/2023 established the new consumption tax model in Brazil, unifying PIS, COFINS, and IPI into CBS (Contribution on Goods and Services) and ICMS and ISS into IBS (Tax on Goods and Services).
The transition begins in 2026 with CBS and IBS testing at reduced rates (0.9% and 0.1% respectively). Full implementation runs through 2033. PIS and COFINS are abolished on 01/01/2027. ISS is reduced by 10% per year between 2029 and 2032, and abolished in 2033.
Critical points for SaaS:
The reference rate estimated by the Ministry of Finance is 26.5% (combined CBS and IBS). 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 at the previous stage. The net impact depends on the taxpayer's input chain.
The IBS unifies the fiscal war among municipalities. Today ISS ranges from 2% to 5% depending on the city. With the IBS, the rate will be uniform nationwide. This eliminates the tax arbitrage ISVs currently perform by choosing the municipality of establishment to reduce ISS.
The IBS taxation location will be the destination of the operation (where the client 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 to all of Brazil. Once the full transition is complete, the tax will be due to the client's municipality.
For foreign ISVs operating via an 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 calculation systems and the fiscal cost may increase as CBS/IBS rates consolidate.
The operational recommendation is direct: whoever sells SaaS in Brazil today needs a tax model that works during the 7-year transition, with an intermediary that updates the structure as rules change. Setting up your 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. The Brazilian corporate client does not accept a foreign invoice as an accounting document. Neither does the Receita Federal. The sale may be voided and, if the amount is significant, the client may face a fine for undocumented expenses.
2. Classifying SaaS as a perpetual license to avoid ISS. The STF ruled in 2021 that software as a service pays ISS (Theme 590). Trying to classify SaaS as a sale of goods or perpetual license to issue a product NF-e instead of an NFS-e is aggressive tax planning that municipal tax auditors challenge easily.
3. Using a commercial partner's CNPJ without a formal intermediation contract. If the ISV signs a contract with the client but asks a local partner to issue the nota "off the books," 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 tax simulation.
4. Ignoring ISS withheld at source. In some municipalities, the service taker (client) is responsible for withholding ISS at source and remitting it to the municipality. If the ISV (or its MoR) does not clearly inform the client of this on the nota or in the contract, the client may be fined for failure to withhold. The ISV loses the client on the first fine.
5. Underestimating tax 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 documentation pending doubles the timeline. ISVs that start the process when they already have a signed contract delay the first invoicing and burn client trust.
6. Treating tax compliance as a lowest-price commodity. The cheapest MoR often operates with a fragile tax structure: incorrect classification, NFS-e with a generic service code, tax delinquency. When the tax authority questions it, the client receives the fine. The ISV loses the client. A 2% to 3% difference in the service fee does not compensate for the risk of losing the client.
FAQ
Do I need a CNPJ to sell SaaS in Brazil? No. A Brazilian MoR issues the nota fiscal and collects 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 client.
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. NF-e is used for the circulation of goods and software on physical media ("boxed"). The STF defined, in Theme 590, that software licensing and assignment of use constitute a service, therefore NFS-e. Issuing an NF-e for SaaS is incorrect classification and exposes the client to tax risk.
How much does the total tax burden cost to sell SaaS in Brazil? The direct burden on revenue ranges from 11.25% to 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 ranges from 3% to 8% additional, depending on volume and complexity.
Will Tax Reform increase or reduce the tax cost of SaaS? The estimated combined CBS + IBS rate (26.5%) is numerically higher than the current burden. But the full non-cumulative nature 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 via an MoR do not need to worry about the transition: the MoR adapts the structure as new rules come into force.
Can I issue an NFS-e from 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 client does not book the expense. If it does book it with 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 basis. In both cases, the client simply does not buy. The absence of a nota fiscal is a complete commercial block in the Brazilian B2B market.
The Tax Structure Defines the Market Size
Brazil is the largest SaaS market in Latin America. In 2024, corporate spending on cloud software in the country surpassed 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 client does not buy 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 a Merchant of Record for foreign ISVs in Latin America. It handles the entire fiscal cycle: NFS-e issuance, ISS, PIS/COFINS, and other tax collection, Pix and boleto payment processing, cross-border settlement in dollars. The ISV closes the deal with the client. Nexforce closes the nota. The client receives a valid Brazilian tax document. The ISV receives funds to an international account. Done.
References and Further Reading
- ABES — Brazilian Association of Software Companies. Brazilian Software Market: Overview and Trends 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. Provides for non-cumulativity in the collection of the contribution to the Social Integration Program (PIS) and the Civil Servant Asset Formation Program (Pasep).
- Law 10,833/2003. Provides for non-cumulativity in the collection of the Contribution for Social Security Financing (COFINS).
- Law 9,249/1995. Amends the corporate income tax legislation and the social contribution on net profit.
- Decree 9,580/2018 (RIR/2018). Regulates the taxation, supervision, collection, and administration of Income Tax.
- Normative Instruction RFB No. 2,121/2022: PIS/COFINS – Cumulative and Non-Cumulative Assessment Regimes.

Sell software in Latin Americawith no setup and saving 50%
Distribute your SaaS through the Nexforce platform scaling sales channels in a simple way
Run SimulationRelated articles

Local currency across Latin America: what changes in the cost of selling beyond Brazil
For an international ISV, charging in local currency changes conversion, FX, collection, reconciliation, and the total cost of selling SaaS in each Latin American market.
Read more
FX lock for software: cut FX exposure on international sales
When an ISV sells software in a foreign currency, FX risk starts on the invoice date, not at payment. An FX lock removes that exposure by fixing the rate in the sales price.
Read more
How to invoice recurring SaaS subscriptions in Brazil
A practical guide for Brazilian ISVs to choose the competent invoice, classify SaaS as a service, apply local ISS, and handle the 2026 IBS and CBS transition without treating a CFOP or layout as a national rule.
Read more