contato@taxup.com.br   São Paulo · Rio de Janeiro · Brasília
PT EN
Abstract geometric composition with flowing golden light arcs — Brazilian technology and SaaS tax: STF Theme 590 ISS×ICMS, Lei do Bem R&D, Pillar 2 OECD, royalty Transfer Pricing
Industries

Technology and SaaS tax expertise. STF Theme 590, Lei do Bem, Pillar 2.

Brazilian technology and SaaS operations face structurally global tax challenges in a domestic tax system designed for the industrial economy. ISS × ICMS classification on software (STF Theme 590), Lei do Bem R&D incentive (60—100% deduction), Transfer Pricing royalty intercompany under OECD-aligned Law 14.596/2023, and Pillar 2 OECD for unicorns approaching the €750M threshold. The difference between optimal and suboptimal taxation is frequently the operational margin of the business.

590 STF Theme software classification
60-100% Lei do Bem R&D deduction
€750M Pillar 2 threshold unicorns
15% Pillar 2 ETR OECD minimum

Why tech tax matters disproportionately

590 STF Theme software ICMS
60-100% Lei do Bem R&D deduction
15% Pillar 2 minimum OECD GloBE
€750M Pillar 2 threshold consolidated revenue

Brazilian technology and SaaS operations face a unique tax landscape that combines:

  • ISS × ICMS classification controversy on software — historically contested, finally resolved by STF Theme 590 (RE 688.223, 2021) — software is generally subject to ISS (municipal services tax), not ICMS;
  • Lei do Bem R&D incentive (Law 11.196/2005) — qualifying R&D spending generates 60—100% deduction from taxable IRPJ/CSLL base. For tech companies, R&D is a major P&L item;
  • Transfer Pricing on royalties and intercompany services — under OECD-aligned Law 14.596/2023, intercompany pricing must follow arm's length principle with full BEPS-aligned documentation;
  • Pillar 2 OECD for unicorns — once consolidated revenue exceeds €750M, the Brazilian QDMTT (Qualified Domestic Minimum Top-up Tax) under Law 15.079/2024 applies, requiring 15% effective tax rate (ETR) calculation per jurisdiction.

For technical glossary on Brazilian holdings structures (common in tech), see Brazilian Holdings.

Tech/SaaS tax milestones — 2024—2027

  1. 2021 STF Theme 590

    STF rules software as goods (ICMS) — major reclassification for tech industry.

  2. 2023 TP OECD adopted

    Law 14.596 — royalty intercompany now follows arm's length. Tech IP licensing reshaped.

  3. 2024 Pillar 2 QDMTT

    Unicorns >€750M trigger 15% minimum ETR. Brazilian operations may need top-up.

  4. 2026 WHT 10% dividends

    Foreign founders' dividend repatriation taxed 10%. JCP often more efficient.

  5. 2027 CBS full

    CBS replaces PIS+COFINS. Software/SaaS classification under new regime.

STF Theme 590 — ISS × ICMS on software

The decades-long controversy over whether software constitutes a "service" (ISS, municipal) or a "good" (ICMS, state) was finally consolidated by STF Theme 590 (RE 688.223, judged 2021): software is generally treated as a service subject to ISS, including downloadable software, customized software, SaaS, and software-as-product distributed via license.

Practical implications

  • ISS rates vary by municipality — typically 2—5%. For high-volume SaaS, ISS-friendly municipalities (São Paulo, Rio, Belo Horizonte, Florianópolis) become strategic for headquartering;
  • Recovery of unduly paid ICMS — software companies that historically paid ICMS on software sales can recover 5-year retrospective via PER/DCOMP;
  • Cloud services and SaaS — cleanly under ISS regime, simplifying compliance vs hybrid ICMS/ISS treatment;
  • App stores and digital marketplaces — sellers operating through platforms benefit from consolidated ISS treatment.

For tax litigation involving software classification disputes, the STF Theme 590 precedent provides strong defensive ground.

STF Theme 590 — software as mercadoria

STF ruled that "off-the-shelf" software is taxed as goods (ICMS) not as service (ISS). Reclassification has cash flow + cumulativity implications for SaaS.

Software taxation — ISS vs ICMS

Aspect ISS (service) ICMS (goods)
Rate range 2—5% 7—19%
Tax authority Municipality State
Cumulativity check (non-cum)
Off-the-shelf software check (STF Theme 590)
Custom-developed software
SaaS pure (cloud) ~ ~
Pre-Reform applicability

Lei do Bem — R&D incentive

Law 11.196/2005 (Lei do Bem) provides substantial tax incentives for R&D investments in qualifying technology projects. For Brazilian tech companies and multinational R&D centers, this can materially reduce effective tax burden.

Incentive structure

  • 60% deduction from taxable IRPJ/CSLL base for qualifying R&D expenses;
  • +20% if research includes university partnership;
  • +20% if research generates registered patent;
  • Up to 100% deduction in combined scenarios — effectively turning R&D into a partially tax-funded investment.

Qualifying criteria

R&D must be properly characterized as technological innovation:

  • Innovative product, process, or service development (not maintenance/incremental improvements);
  • Formal project documentation with hypothesis, methodology, results;
  • Registration with MCTI (Ministry of Science, Technology, Innovation);
  • Annual reporting via FORMP&D platform.

Many tech companies underutilize Lei do Bem due to documentation complexity — proper characterization audit often identifies recoverable historical incentive.

Lei do Bem subutilized

Tech companies frequently capture only 30—50% of available R&D deduction. Full Lei do Bem usage can reduce IRPJ effective rate by 5—10 percentage points.

Em tech, a diferença entre tributação ótima e subótima é frequentemente a margem operacional do negócio — Lei do Bem subutilizada é o exemplo mais comum.
TaxUp Tax Practice

Pillar 2 OECD for Brazilian unicorns and multinational subsidiaries

For Brazilian tech operations within consolidated groups exceeding €750M annual revenue, the OECD Pillar 2 regime applies. Brazil adopted Pillar 2 via Law 15.079/2024, introducing the QDMTT (Qualified Domestic Minimum Top-up Tax) effective for fiscal years from January 2025.

How Pillar 2 affects Brazilian tech

  • 15% minimum ETR per jurisdiction — if Brazilian effective tax rate drops below 15% (due to Lei do Bem deductions, ICMS incentives, free zone benefits), top-up tax applies;
  • QDMTT vs IIR (Income Inclusion Rule) — Brazil collects the top-up domestically (QDMTT), avoiding loss to parent jurisdiction (IIR);
  • GloBE Income calculation — substantial reporting complexity, with adjustments for Brazilian-specific items (Selic on tax refunds, depreciation differences, etc.);
  • Strategic positioning — Lei do Bem benefits may partially erode under Pillar 2 if ETR drops below 15%. Modeling required.

For comprehensive international tax planning context, see International Tax Planning.

Pillar 2 above €750M

Unicorns crossing €750M consolidated revenue trigger 15% minimum ETR. SUDAM/SUDENE incentives may not preserve full effective rate.

How TaxUp acts in technology

  • Software classification audit — ISS × ICMS review for historical operations, recovery of unduly paid ICMS, municipality selection for headquartering;
  • Lei do Bem optimization — R&D project characterization, MCTI registration support, annual FORMP&D reporting, recovery of underutilized historical incentive;
  • Transfer Pricing for tech — royalty intercompany pricing, intangible asset valuation (Hard-to-Value Intangibles), software licensing pricing under Law 14.596/2023 — see Transfer Pricing;
  • Pillar 2 implementation — for unicorns and multinationals subject to €750M threshold: GloBE Income calculation, QDMTT modeling, jurisdiction-level ETR analysis;
  • SaaS-specific compliance — multi-state ISS coordination, marketplace fee credit (broad input concept), cross-border digital services taxation.

Senior consultant-led engagement with technical depth specific to tech business models, R&D regulatory framework, and international tax intersections.

Tech/SaaS engagement — 4 phases

01 Weeks 1—4

Classification

  • STF Theme 590 mapping per product
  • ISS vs ICMS analysis per municipality
  • SaaS taxation review
  • Reclassification opportunities
02 Weeks 4—8

Lei do Bem

  • R&D expense identification
  • P&D project documentation
  • 60—100% deduction modeling
  • MCTI submission preparation
03 Months 3—5

International

  • TP royalty intercompany analysis
  • Pillar 2 ETR projection
  • CIDE-royalties optimization
  • Treaty network review
04 Year 2+

Operational

  • Annual Lei do Bem renewal
  • TP documentation refresh
  • M&A integration
  • IPO readiness if applicable

Frequently asked questions

Is software taxed as ISS or ICMS in Brazil?
STF Theme 590 (RE 688.223, 2021) consolidated that software is generally taxed as a service under ISS (municipal tax), not ICMS (state tax). This applies to downloadable software, customized software, SaaS, and licensed software-as-product. Companies that historically paid ICMS on software sales can recover 5-year retrospective via PER/DCOMP.
How does Lei do Bem R&D incentive work for tech companies?
Law 11.196/2005 provides 60% deduction from taxable IRPJ/CSLL base for qualifying R&D expenses, with additional 20% for university partnerships and 20% for patent generation — up to 100% combined. Requires MCTI registration, formal project documentation, and annual FORMP&D reporting. Many tech companies underutilize the incentive due to documentation complexity.
When does Pillar 2 OECD apply to Brazilian tech operations?
For tech companies within consolidated groups exceeding €750M annual revenue. Brazil adopted Pillar 2 via Law 15.079/2024 (QDMTT). If Brazilian effective tax rate falls below 15% per jurisdiction (e.g., due to Lei do Bem benefits or free zone incentives), top-up tax applies. Effective for fiscal years from January 2025.
What is the ISS-friendly municipality strategy for SaaS companies?
ISS rates vary by municipality (typically 2-5%). For high-volume SaaS operations, headquartering in ISS-friendly municipalities (São Paulo 2%, Rio de Janeiro 2%, Belo Horizonte 2%, Florianópolis 2%) becomes strategic vs municipalities with 5% rates. Effective tax savings can be material relative to total ISS burden.
How does Transfer Pricing apply to software royalties?
Under Law 14.596/2023, royalties for intercompany software licensing must follow arm's length principle with full BEPS-aligned documentation. Hard-to-Value Intangibles (HtVI) rules apply when projected cash flows from the intangible are highly uncertain. Royalty rates must reflect comparable transactions, and CIDE-royalties (10%) applies to payments to foreign affiliates.
Authored by

TaxUp Tax Practice

Editorial content produced by the technical team at TaxUp Brazilian Tax Consultancy — boutique firm with direct consultant-led engagement for foreign founders, multinationals, and Brazilian groups expanding abroad.

Meet the firm

Technology tax diagnostic — 30-minute consultation

In 30 minutes with a senior consultant, we map ISS × ICMS exposure, Lei do Bem R&D optimization potential, Transfer Pricing for intercompany royalties, and Pillar 2 OECD applicability for your tech operation. No charge, no commitment.

Book a diagnostic