Not tax advice. Computation tools only. Have a professional review before filing.
openaccountants/skills/brazil-vat.md
brazil-vat.md628 lines38.6 KB
v20
1---
2name: brazil-vat
3description: Use this skill whenever asked about Brazilian indirect taxes, VAT, consumption taxes, PIS, COFINS, ICMS, ISS, IPI, CBS, IBS, Imposto Seletivo, NF-e (Nota Fiscal Eletronica), Simples Nacional, CNPJ registration, tax reform (EC 132/2023), or any request involving Brazilian goods and services taxation, filing, compliance, or classification. Trigger on phrases like "Brazil tax", "Brazilian VAT", "PIS/COFINS", "ICMS", "ISS", "IPI", "CBS", "IBS", "NF-e", "nota fiscal", "Simples Nacional", "CNPJ", "tax reform Brazil", or any request involving Brazilian indirect tax compliance. This skill contains the complete Brazilian indirect tax framework covering both the current multi-tax system (PIS/COFINS/ICMS/ISS/IPI) and the new unified system (CBS/IBS/IS) under Constitutional Amendment 132/2023. ALWAYS read this skill before touching any Brazilian indirect tax work.
4version: 2.0
5---
6 
7# Brazil Indirect Tax / VAT Skill v2.0
8 
9## Section 1 -- Quick reference
10 
11**Read this whole section before classifying anything. Brazil does NOT have a single unified VAT. It has five indirect taxes at three levels of government, currently undergoing reform into a dual VAT (CBS+IBS).**
12 
13| Field | Value |
14|---|---|
15| Country | Federative Republic of Brazil (Republica Federativa do Brasil) |
16| Tax system (current) | Five principal indirect taxes: PIS, COFINS, ICMS, ISS, IPI |
17| Tax system (new, transitioning) | CBS + IBS + Imposto Seletivo (IS) under EC 132/2023 and LC 214/2025 |
18| Transition period | 2026 through 2032; full new system from 1 January 2033 |
19| PIS rate (non-cumulative / Lucro Real) | 1.65% on gross revenue |
20| PIS rate (cumulative / Lucro Presumido) | 0.65% on gross revenue |
21| COFINS rate (non-cumulative / Lucro Real) | 7.60% on gross revenue |
22| COFINS rate (cumulative / Lucro Presumido) | 3.00% on gross revenue |
23| Combined PIS+COFINS (non-cumulative) | 9.25% (with input credits) |
24| Combined PIS+COFINS (cumulative) | 3.65% (no input credits, tax cascades) |
25| ICMS general rate | 17-23% by state (internal); 4%, 7%, or 12% (interstate) |
26| ISS rate | 2-5% (set by each municipality) |
27| IPI rate | 0-300%+ (product-specific via TIPI table by NCM code) |
28| CBS rate (2026 transition) | 0.9% (test rate alongside existing PIS/COFINS) |
29| IBS rate (2026 transition) | 0.1% (test rate alongside existing ICMS/ISS) |
30| Estimated combined CBS+IBS (full implementation) | ~26.5% (not final, subject to regulatory adjustment) |
31| E-invoice | NF-e (Model 55, goods); NFS-e (services); NFC-e (Model 65, consumer retail); CT-e (Model 57, transport) |
32| Filing portal (federal) | https://www.gov.br/receitafederal (Receita Federal) |
33| Filing portal (state) | Each state's SEFAZ portal |
34| Currency | BRL (Brazilian Real) |
35| Identifier | CNPJ (XX.XXX.XXX/YYYY-ZZ format) |
36| Primary legislation | Constituicao Federal Art. 153-156; LC 87/1996 (ICMS); Lei 10.637/2002 (PIS); Lei 10.833/2003 (COFINS); LC 116/2003 (ISS); Decreto 7.212/2010 (IPI); EC 132/2023; LC 214/2025 |
37| Contributor | Open Accounting Skills Registry |
38| Validated by | Deep research verification, April 2026 |
39| Validation date | April 2026 |
40| Skill version | 2.0 |
41 
42**Key current-system rates at a glance:**
43 
44| Tax | Level | Rate | Input credits? |
45|---|---|---|---|
46| PIS (non-cumulative) | Federal | 1.65% | Yes |
47| COFINS (non-cumulative) | Federal | 7.60% | Yes |
48| PIS (cumulative) | Federal | 0.65% | No |
49| COFINS (cumulative) | Federal | 3.00% | No |
50| ICMS (internal, general) | State | 17-23% by state | Yes (debit/credit) |
51| ICMS (interstate, S/SE to N/NE/CW) | State | 7% | Yes |
52| ICMS (interstate, other) | State | 12% | Yes |
53| ICMS (imported goods >40% content) | State | 4% | Yes |
54| ISS | Municipal | 2-5% | No (cascading) |
55| IPI | Federal | NCM-specific (TIPI table) | Yes (manufacturing) |
56 
57**IBS+CBS reform context:**
58 
59EC 132/2023 replaces PIS+COFINS with CBS (federal) and ICMS+ISS with IBS (state+municipal). The transition runs 2026-2032. In 2026, CBS at 0.9% and IBS at 0.1% are test rates applied alongside the existing taxes. From 2027, CBS replaces PIS/COFINS entirely. From 2029, IBS begins replacing ICMS/ISS at increasing rates. By 2033, only CBS+IBS+IS remain. All reform-related rules are flagged as reviewer-judgement-required because regulations are still being published.
60 
61**Simples Nacional thresholds:**
62 
63| Revenue band (BRL, trailing 12 months) | Eligibility |
64|---|---|
65| Up to BRL 4,800,000 | Eligible for Simples Nacional (unified DAS payment) |
66| Up to BRL 81,000 | MEI (Microempreendedor Individual) -- simplified regime |
67| Above BRL 4,800,000 | Must use Lucro Presumido or Lucro Real |
68 
69**Conservative defaults -- Brazil-specific:**
70 
71| Ambiguity | Default |
72|---|---|
73| Unknown tax regime | Lucro Presumido (cumulative PIS/COFINS, no input credits) |
74| Unknown ICMS rate | Apply highest plausible internal rate for the state (conservative) |
75| Unknown ISS rate | 5% (maximum) |
76| Unknown whether Simples Nacional | Not Simples Nacional (apply full tax rates) |
77| Unknown PIS/COFINS input credit eligibility | Not creditable |
78| Unknown ICMS-ST applicability | Assume not subject to ST (flag for reviewer) |
79| Unknown interstate vs internal | Internal (apply internal rate) |
80| Unknown whether service or goods | Goods (ICMS applies, higher rate) |
81| Unknown NCM code for IPI | 0% IPI (conservative for buyer; flag for reviewer) |
82| Unknown business-use proportion | 0% recovery |
83| Unknown whether transaction is in scope | In scope |
84 
85**Red flag thresholds:**
86 
87| Threshold | Value |
88|---|---|
89| HIGH single-transaction size | BRL 50,000 |
90| HIGH tax-delta on a single conservative default | BRL 5,000 |
91| MEDIUM counterparty concentration | >40% of output OR input |
92| MEDIUM conservative-default count | >4 across the return |
93| LOW absolute net tax position | BRL 100,000 |
94 
95---
96 
97## Section 2 -- Required inputs and refusal catalogue
98 
99### Required inputs
100 
101**Minimum viable** -- bank statement (extrato bancario) for the month in PDF, CSV, OFX, or pasted text. Must cover the full period. Acceptable from any Brazilian bank: Banco do Brasil, Itau Unibanco, Bradesco, Santander Brasil, Caixa Economica Federal, Nubank, Inter, BTG Pactual, Sicoob, or any other. NF-e XMLs are strongly preferred for ICMS and PIS/COFINS credit verification.
102 
103**Recommended** -- NF-e XML files for all sales and purchases (or the monthly SPED fiscal file), CNPJ and inscricao estadual/municipal, prior month's DARF/DAS payment receipts, constancia de optante Simples Nacional (if applicable).
104 
105**Ideal** -- complete NF-e download from the state SEFAZ portal, SPED fiscal file, EFD-Contribuicoes (PIS/COFINS), DCTF, prior period returns, CNPJ card showing all registrations.
106 
107**Refusal policy if minimum is missing -- SOFT WARN.** If no bank statement and no NF-e files at all, hard stop. If bank statement only without NF-e: proceed but record in the reviewer brief: "This return was produced from bank statement alone. The reviewer must verify that all PIS/COFINS credits are supported by valid NF-e/NFS-e, that ICMS credits match the SPED fiscal, and that state-specific rules have been correctly applied."
108 
109### Brazil-specific refusal catalogue
110 
111**R-BR-1 -- ICMS-ST complex margin calculations.** *Trigger:* product is subject to ICMS Substituicao Tributaria and the MVA (Margem de Valor Agregado) or adjusted MVA calculation is required. *Message:* "ICMS-ST margin calculations require product-specific CONFAZ protocol lookup and MVA adjustment formulas. This is outside the scope of automated classification. Escalate to a Contador CRC with ICMS-ST experience for the specific product and state pair."
112 
113**R-BR-2 -- Zona Franca de Manaus (ZFM) incentives.** *Trigger:* client operates in or ships to the Zona Franca de Manaus. *Message:* "ZFM incentives (IPI exemption, ICMS reduction, SUFRAMA credits) require PPB verification and specific SUFRAMA procedures. Escalate to a specialist."
114 
115**R-BR-3 -- State-specific ICMS incentive litigation (guerra fiscal).** *Trigger:* client benefits from a state ICMS incentive that may not be recognized by CONFAZ. *Message:* "Unrecognized state ICMS incentives carry glosa (disallowance) risk in destination states. Escalate to a tax attorney."
116 
117**R-BR-4 -- Transfer pricing interaction.** *Trigger:* intercompany transactions with related foreign parties affecting the indirect tax base. *Message:* "Transfer pricing adjustments affecting the indirect tax base require specialist analysis. Escalate."
118 
119**R-BR-5 -- Audit defence or penalty abatement.** *Trigger:* client is under audit or seeking penalty reduction. *Message:* "Audit defence and penalty abatement are outside this skill's scope. Engage a tax attorney."
120 
121**R-BR-6 -- Income tax return instead of indirect tax.** *Trigger:* user asks about IRPJ/CSLL corporate income tax or IRPF individual income tax. *Message:* "This skill only handles indirect taxes (PIS, COFINS, ICMS, ISS, IPI, CBS, IBS). For income tax, use the appropriate income tax skill."
122 
123---
124 
125## Section 3 -- Supplier pattern library (the lookup table)
126 
127This is the deterministic pre-classifier. When a transaction's counterparty matches a pattern in this table, apply the treatment directly. If none match, fall through to Tier 1 rules in Section 5.
128 
129**How to read this table.** Match by case-insensitive substring on the counterparty name as it appears in the bank statement (extrato). If multiple patterns match, use the most specific.
130 
131### 3.1 Brazilian banks (fees -- financial service, exempt from PIS/COFINS)
132 
133| Pattern | Treatment | Notes |
134|---|---|---|
135| BANCO DO BRASIL, BB | EXCLUDE for bank charges/tarifas | Financial service, exempt. No PIS/COFINS, no ICMS, no ISS. |
136| ITAU, ITAU UNIBANCO | EXCLUDE for bank charges/tarifas | Same |
137| BRADESCO | EXCLUDE for bank charges/tarifas | Same |
138| SANTANDER BRASIL, SANTANDER BR | EXCLUDE for bank charges/tarifas | Same |
139| CAIXA, CAIXA ECONOMICA FEDERAL, CEF | EXCLUDE for bank charges/tarifas | Same |
140| NUBANK, NU PAGAMENTOS | EXCLUDE for bank charges/tarifas | Same |
141| BANCO INTER, INTER | EXCLUDE for bank charges/tarifas | Same |
142| BTG PACTUAL | EXCLUDE for bank charges/tarifas | Same |
143| SICOOB, SICREDI, BANCOOB | EXCLUDE for bank charges/tarifas | Cooperative bank fees, same treatment |
144| BANCO SAFRA, BANCO VOTORANTIM | EXCLUDE for bank charges/tarifas | Same |
145| JUROS, RENDIMENTO, IOF | EXCLUDE | Interest, yield, IOF -- financial, out of indirect tax scope |
146| EMPRESTIMO, FINANCIAMENTO | EXCLUDE | Loan principal movement, out of scope |
147| TARIFA BANCARIA, TAXA DE MANUTENCAO | EXCLUDE | Bank maintenance fee, exempt financial service |
148| TED, DOC (fee lines) | EXCLUDE | Transfer fees, exempt financial service |
149 
150### 3.2 Brazilian government, tax authorities, and statutory bodies (exclude entirely)
151 
152| Pattern | Treatment | Notes |
153|---|---|---|
154| RECEITA FEDERAL, RFB, DARF | EXCLUDE | Federal tax payment (IRPJ, CSLL, PIS, COFINS, IPI) |
155| SEFAZ, SECRETARIA DA FAZENDA | EXCLUDE | State tax payment (ICMS) |
156| PREFEITURA, SECRETARIA DE FINANCAS | EXCLUDE | Municipal tax/ISS payment |
157| SIMPLES NACIONAL, DAS | EXCLUDE | Simples Nacional unified tax payment |
158| INSS, PREVIDENCIA | EXCLUDE | Social security contribution |
159| FGTS | EXCLUDE | Severance fund deposit |
160| CRC, CONSELHO REGIONAL DE CONTABILIDADE | EXCLUDE | Professional body fee, not subject to indirect tax |
161| JUNTA COMERCIAL | EXCLUDE | Commercial registry fee, sovereign act |
162| DETRAN, IPVA | EXCLUDE | Vehicle registration/tax, not indirect tax |
163| IPTU | EXCLUDE | Property tax, municipal, not indirect tax |
164 
165### 3.3 Brazilian utilities
166 
167| Pattern | Treatment | Taxes | Notes |
168|---|---|---|---|
169| CPFL, CPFL ENERGIA | ICMS applies (state rate) | ICMS + PIS/COFINS | Electricity -- ICMS varies by state; PIS/COFINS on electricity bills. NF-e issued. |
170| CEMIG | ICMS applies | ICMS + PIS/COFINS | Same -- Minas Gerais electricity |
171| LIGHT, LIGHT SA | ICMS applies | ICMS + PIS/COFINS | Rio de Janeiro electricity |
172| ENEL, ENEL DISTRIBUICAO | ICMS applies | ICMS + PIS/COFINS | SP, RJ, CE, GO electricity |
173| ENERGISA | ICMS applies | ICMS + PIS/COFINS | Multiple states |
174| SABESP | ISS or exempt | ISS (municipality-dependent) | Water/sewer -- Sao Paulo. Treatment varies; some water services are exempt. |
175| COPASA | ISS or exempt | ISS | Water -- Minas Gerais |
176| CLARO, CLARO BRASIL | ICMS applies | ICMS + PIS/COFINS | Telecoms (ICMS, not ISS -- transport/communication) |
177| VIVO, TELEFONICA BRASIL | ICMS applies | ICMS + PIS/COFINS | Same -- telecoms |
178| TIM, TIM BRASIL | ICMS applies | ICMS + PIS/COFINS | Same |
179| OI, OI SA | ICMS applies | ICMS + PIS/COFINS | Same |
180| NET, NET SERVICOS | ICMS applies | ICMS + PIS/COFINS | Cable/internet -- telecoms subject to ICMS |
181 
182### 3.4 Insurance (exempt -- exclude from indirect tax)
183 
184| Pattern | Treatment | Notes |
185|---|---|---|
186| PORTO SEGURO | EXCLUDE | Insurance premium -- exempt from ICMS/ISS; subject to IOF (separate) |
187| BRADESCO SEGUROS, BRADESCO AUTO | EXCLUDE | Same |
188| SULAMERICA, SUL AMERICA | EXCLUDE | Same |
189| ITAU SEGUROS | EXCLUDE | Same |
190| ZURICH, ALLIANZ, MAPFRE BRASIL | EXCLUDE | Same |
191| SEGURO, APOLICE, SINISTRO | EXCLUDE | All insurance transactions -- exempt indirect tax |
192 
193### 3.5 Transport and logistics
194 
195| Pattern | Treatment | Taxes | Notes |
196|---|---|---|---|
197| CORREIOS, ECT | ICMS (postal service is ICMS, not ISS) | ICMS + PIS/COFINS | Postal/courier -- CT-e issued for transport |
198| JADLOG, TOTAL EXPRESS | ICMS | ICMS + PIS/COFINS | Express freight |
199| AZUL CARGO, LATAM CARGO | ICMS | ICMS + PIS/COFINS | Air freight |
200| 99, 99 TECNOLOGIA, 99POP | ISS | ISS + PIS/COFINS | Ride-hailing -- service subject to ISS (municipality rate) |
201| UBER, UBER BRASIL | ISS | ISS + PIS/COFINS | Same -- ride-hailing is a service |
202| IFOOD, IFOOD AGENCIA | ISS | ISS + PIS/COFINS | Food delivery platform -- ISS on service fee. Food items may have different treatment. |
203| RAPPI | ISS | ISS + PIS/COFINS | Same as iFood |
204| GOL, LATAM, AZUL (airline) | ICMS exempt or zero | | Domestic flights -- interstate passenger transport has specific ICMS treatment (generally non-taxable for ICMS; ISS does not apply to transport) |
205 
206### 3.6 Major Brazilian retailers and e-commerce
207 
208| Pattern | Treatment | Taxes | Notes |
209|---|---|---|---|
210| MAGAZINE LUIZA, MAGALU | ICMS + PIS/COFINS | Full chain | General merchandise -- NF-e issued. Check NCM for IPI if manufactured. |
211| CASAS BAHIA, PONTO (VIA) | ICMS + PIS/COFINS | Full chain | Same |
212| AMERICANAS, B2W | ICMS + PIS/COFINS | Full chain | Same |
213| MERCADO LIVRE, MERCADO PAGO | ICMS + PIS/COFINS (goods); ISS (marketplace fee) | Mixed | Marketplace: goods purchases have ICMS; platform service fees have ISS. Separate lines. |
214| AMAZON BR, AMAZON BRASIL | ICMS + PIS/COFINS | Full chain | Check if seller is Amazon directly or third-party marketplace |
215| SHOPEE BRASIL | ICMS + PIS/COFINS | Full chain | Same marketplace consideration |
216| CARREFOUR, ATACADAO | ICMS + PIS/COFINS | Full chain | Supermarket/wholesale -- food items may have reduced/zero PIS/COFINS (cesta basica) |
217| PAO DE ACUCAR, EXTRA, GPA | ICMS + PIS/COFINS | Full chain | Same |
218| KALUNGA | ICMS + PIS/COFINS | Full chain | Office supplies |
219 
220### 3.7 SaaS and digital services -- foreign suppliers
221 
222| Pattern | Treatment | Notes |
223|---|---|---|
224| GOOGLE (Ads, Workspace, Cloud) | ISS on import + PIS/COFINS-Import + IRRF + IOF | Foreign digital service. Brazilian buyer must withhold/self-assess. ISS rate per municipality (2-5%). PIS-Import 1.65%, COFINS-Import 7.60%, IRRF 15% (or 25% if tax haven), IOF 0.38%. |
225| MICROSOFT (365, Azure) | Same as Google | Check if billed by Microsoft Brasil (domestic) or Microsoft Corp (import) |
226| ADOBE | Same | Check billing entity |
227| META, FACEBOOK ADS | Same | |
228| AWS, AMAZON WEB SERVICES | Same | Check if AWS Brasil or AWS Inc |
229| SLACK, NOTION, FIGMA, CANVA | ISS-Import + PIS/COFINS-Import + IRRF + IOF | US entities -- full import service taxation |
230| ANTHROPIC, OPENAI, CHATGPT | Same | US entities |
231| SPOTIFY, NETFLIX, APPLE (B2C) | These platforms may collect taxes in Brazil directly for B2C | For B2B: check invoice and withholding obligations |
232 
233### 3.8 Payment processors
234 
235| Pattern | Treatment | Notes |
236|---|---|---|
237| PAGSEGURO, PAGBANK | EXCLUDE (financial service) or ISS | Payment processing fees -- may be exempt financial service or ISS-taxable depending on characterization |
238| STONE, STONE PAGAMENTOS | Same | |
239| CIELO | Same | |
240| REDE, GETNET | Same | |
241| MERCADO PAGO (transaction fees) | EXCLUDE (financial) | Transaction processing commission |
242| PAYPAL BRASIL | EXCLUDE (financial) | Payment processing |
243| STRIPE (if Brazilian entity) | ISS | If Stripe Brasil: ISS on service fee. If foreign: import service treatment. |
244 
245### 3.9 Professional services
246 
247| Pattern | Treatment | Taxes | Notes |
248|---|---|---|---|
249| CONTADOR, CONTABILIDADE, ESCRITORIO CONTABIL | ISS | ISS + PIS/COFINS | Accounting services -- ISS at municipal rate. NFS-e issued. |
250| ADVOGADO, ADVOCACIA, ESCRITORIO DE ADVOCACIA | ISS | ISS + PIS/COFINS | Legal services |
251| CONSULTORIA | ISS | ISS + PIS/COFINS | Consulting services |
252| CARTORIO, TABELIONATO | ISS | ISS | Notarial services |
253 
254### 3.10 Payroll and labor (exclude entirely)
255 
256| Pattern | Treatment | Notes |
257|---|---|---|
258| FOLHA, SALARIO, HOLERITE | EXCLUDE | Wages -- outside indirect tax scope |
259| INSS, PREVIDENCIA | EXCLUDE | Social security |
260| FGTS, FUNDO DE GARANTIA | EXCLUDE | Severance fund |
261| VALE TRANSPORTE, VT | EXCLUDE | Transport voucher |
262| VALE REFEICAO, VR, VALE ALIMENTACAO, VA | EXCLUDE | Meal/food voucher |
263| FERIAS, 13o SALARIO, RESCISAO | EXCLUDE | Vacation pay, 13th salary, termination -- labor, not indirect tax |
264 
265### 3.11 Internal transfers and exclusions
266 
267| Pattern | Treatment | Notes |
268|---|---|---|
269| TRANSFERENCIA PROPRIA, MESMA TITULARIDADE | EXCLUDE | Internal account movement |
270| TED PROPRIA, PIX PROPRIO | EXCLUDE | Same-owner transfer via PIX or TED |
271| APLICACAO, RESGATE, CDB, LCI, LCA | EXCLUDE | Investment application/redemption -- financial, out of scope |
272| DIVIDENDO, LUCRO DISTRIBUIDO | EXCLUDE | Profit distribution, out of scope |
273| EMPRESTIMO, MUTUO | EXCLUDE | Loan, out of scope |
274| SAQUE, SAQUE ATM | Ask | Cash withdrawal -- ask purpose |
275 
276---
277 
278## Section 4 -- Worked examples
279 
280These are six fully worked classifications drawn from a hypothetical bank statement of a Sao Paulo-based self-employed software consultant (pessoa juridica, Lucro Presumido, CNPJ registered).
281 
282### Example 1 -- Standard domestic service sale with NFS-e
283 
284**Input line:**
285`05.04.2026 ; EMPRESA ALFA LTDA ; CREDIT ; NFS-e 2026/041 Consultoria TI abril ; BRL 10,000.00`
286 
287**Reasoning:**
288Software consulting service. Subject to ISS (not ICMS, because it is a service on LC 116/2003 list). Sao Paulo ISS rate for IT consulting: 2-5% (depends on municipality code). Also subject to PIS/COFINS: cumulative regime (Lucro Presumido) = 0.65% PIS + 3% COFINS = 3.65% on revenue. NFS-e was issued by the client.
289 
290**Output:**
291 
292| Date | Counterparty | Gross | ISS base | ISS rate | PIS | COFINS | Notes |
293|---|---|---|---|---|---|---|---|
294| 05.04.2026 | EMPRESA ALFA LTDA | +10,000 | 10,000 | 5% (SP default) | 65.00 | 300.00 | Confirm ISS rate for SP municipality |
295 
296### Example 2 -- Interstate goods sale
297 
298**Input line:**
299`10.04.2026 ; DISTRIBUIDORA BETA SA (RJ) ; CREDIT ; NF-e 001-12345 venda mercadorias ; BRL 50,000.00`
300 
301**Reasoning:**
302Sale of goods from SP to RJ. Interstate ICMS rate: SP (South/Southeast) to RJ (South/Southeast) = 12%. PIS/COFINS cumulative = 3.65% on gross. IPI: depends on NCM, assume 0% for resale (IPI only on manufactured/imported goods). DIFAL may apply if buyer is final consumer (not in this case -- buyer is a distributor with IE).
303 
304**Output:**
305 
306| Date | Counterparty | Gross | ICMS rate | ICMS | PIS/COFINS | IPI | Notes |
307|---|---|---|---|---|---|---|---|
308| 10.04.2026 | DISTRIBUIDORA BETA SA (RJ) | +50,000 | 12% (interstate SP>RJ) | Included in price (por dentro) | 3.65% | 0% (resale) | Verify NF-e and NCM |
309 
310### Example 3 -- Imported digital service (SaaS from US)
311 
312**Input line:**
313`15.04.2026 ; NOTION LABS INC ; DEBIT ; Monthly subscription ; USD 15.00 ; BRL 85.00`
314 
315**Reasoning:**
316Notion is a US entity. This is an importation of services. Brazilian buyer must self-assess: ISS-Import (SP rate, say 2.9% for IT services), PIS-Import (1.65%), COFINS-Import (7.60%), IRRF (15% withholding on remittance), IOF (0.38% on FX). Total effective tax on the remittance can exceed 25%. No NFS-e from the supplier; buyer's obligation to collect and remit.
317 
318**Output:**
319 
320| Date | Counterparty | Gross BRL | ISS-Import | PIS-Import | COFINS-Import | IRRF | IOF | Notes |
321|---|---|---|---|---|---|---|---|---|
322| 15.04.2026 | NOTION LABS INC | -85.00 | ~2.47 | ~1.40 | ~6.46 | ~12.75 | ~0.32 | Imported service -- self-assess all taxes. Confirm ISS rate. |
323 
324### Example 4 -- Simples Nacional client sale
325 
326**Input line:**
327`18.04.2026 ; CLIENTE VAREJO ; CREDIT ; NFC-e venda balcao ; BRL 5,000.00`
328 
329**Reasoning:**
330If client is Simples Nacional (DAS payer), all taxes (ICMS, ISS, PIS, COFINS, IRPJ, CSLL, CPP) are paid through the unified DAS guia based on revenue band. Anexo I (commerce) or Anexo III/V (services). No separate PIS/COFINS/ICMS/ISS calculation needed -- the DAS covers everything. Effective rate depends on trailing 12-month revenue.
331 
332**Output:**
333 
334| Date | Counterparty | Gross | Treatment | Notes |
335|---|---|---|---|---|
336| 18.04.2026 | CLIENTE VAREJO | +5,000 | Simples Nacional -- included in DAS | Calculate DAS based on Anexo and revenue band. No separate ICMS/PIS/COFINS line items. |
337 
338### Example 5 -- Entertainment / personal expense
339 
340**Input line:**
341`22.04.2026 ; RESTAURANTE FOGO DE CHAO ; DEBIT ; Jantar ; BRL 800.00`
342 
343**Reasoning:**
344Restaurant meal. For PIS/COFINS non-cumulative regime, input credits are available only on items that are inputs to production, goods for resale, electricity, rent, depreciation, and other specified categories. Restaurant meals are not creditable inputs. For ICMS: not applicable (restaurant is a service). For Lucro Presumido (cumulative PIS/COFINS): no input credits at all regardless. Default: no credit recovery.
345 
346**Output:**
347 
348| Date | Counterparty | Gross | Credit recovery | Notes |
349|---|---|---|---|---|
350| 22.04.2026 | RESTAURANTE FOGO DE CHAO | -800.00 | None | Entertainment -- no PIS/COFINS credit. Not an ICMS-creditable purchase. |
351 
352### Example 6 -- Electricity bill with ICMS
353 
354**Input line:**
355`28.04.2026 ; ENEL DISTRIBUICAO SP ; DEBIT ; Fatura energia eletrica ; BRL 1,500.00`
356 
357**Reasoning:**
358Electricity bill. Subject to ICMS at the SP internal rate (18% general, but electricity may have a specific ICMS rate -- often 25% for commercial consumers in SP). PIS/COFINS are also charged on electricity. Under the non-cumulative regime, PIS/COFINS on electricity IS creditable (Lei 10.637/2002, Art. 3, III). Under cumulative regime: no credit. ICMS on electricity generates credit under normal debit/credit rules if the business is an ICMS taxpayer.
359 
360**Output:**
361 
362| Date | Counterparty | Gross | ICMS credit | PIS/COFINS credit | Notes |
363|---|---|---|---|---|---|
364| 28.04.2026 | ENEL DISTRIBUICAO SP | -1,500.00 | Yes (if ICMS taxpayer) | Yes (if Lucro Real) / No (if Lucro Presumido) | Check NF-e for exact ICMS and PIS/COFINS amounts |
365 
366---
367 
368## Section 5 -- Tier 1 classification rules (compressed)
369 
370### 5.1 Classification decision tree
371 
372Goods = ICMS + IPI (if manufactured/imported) + PIS/COFINS. Services = ISS + PIS/COFINS. Transport/communications = ICMS (not ISS) + PIS/COFINS. ICMS and ISS are mutually exclusive (except mixed supply).
373 
374### 5.2 PIS/COFINS regime determination
375 
376Lucro Real = non-cumulative (1.65%+7.60% = 9.25%, with input credits). Lucro Presumido = cumulative (0.65%+3.00% = 3.65%, no input credits). Simples Nacional = included in DAS (no separate PIS/COFINS filing). Determine regime FIRST -- it changes the entire calculation.
377 
378### 5.3 ICMS internal rates
379 
380Rates vary by state from 17% to 23%. Apply the internal rate of the state where the supply occurs. For interstate supplies, use 7% (S/SE to N/NE/CW) or 12% (all other combinations). Imported goods with >40% import content: 4% interstate.
381 
382### 5.4 ICMS por dentro calculation
383 
384ICMS is calculated inside the price. A nominal 18% rate on a BRL 100 gross price means BRL 18 ICMS is already included (BRL 100 x 18% = BRL 18). The tax-exclusive base is BRL 82; effective rate on tax-exclusive base is ~21.95%.
385 
386### 5.5 ISS classification
387 
388Services on the LC 116/2003 list (approximately 200 items across 40 sub-items). Rate set by municipality (2-5%). ISS is due at the provider's location except for ~20 specific categories (construction, security, cleaning) where ISS is due at the location of provision.
389 
390### 5.6 IPI classification
391 
392Applies only to manufactured and imported goods. Rate per NCM code from the TIPI table. Charged outside the price (por fora). Generates credits on manufacturing inputs. Not charged on resale by commercial establishments.
393 
394### 5.7 Export treatment
395 
396Exports are exempt/zero-rated across all indirect taxes: ICMS exempt (Lei Kandir, LC 87/1996), IPI exempt, PIS/COFINS zero-rated with credit maintenance, ISS exempt (if result occurs abroad). Full input credit preservation.
397 
398### 5.8 Import treatment
399 
400Goods imports: II (import duty) + IPI + ICMS + PIS-Import (2.1%) + COFINS-Import (9.65% or 10.65%). Service imports: ISS-Import + PIS-Import (1.65%) + COFINS-Import (7.60%) + IRRF (15%/25%) + IOF (0.38%) + possibly CIDE (10% for technology transfer). Total effective tax on imported services can exceed 40%.
401 
402### 5.9 NF-e requirements for ICMS/PIS/COFINS credits
403 
404Credits require valid NF-e (Model 55 for goods) or NFS-e (for ISS on services where relevant). ICMS credit = ICMS highlighted on the NF-e. PIS/COFINS credit (non-cumulative only) = amounts on NF-e or calculated from creditable items per Lei 10.637/2002 Art. 3 and Lei 10.833/2003 Art. 3.
405 
406### 5.10 PIS/COFINS input credits (non-cumulative only)
407 
408Creditable items: goods for resale, inputs to manufacturing/production, electricity consumed in production, rent of buildings/machinery used in business, depreciation of fixed assets, freight on purchases. NOT creditable: entertainment, personal expenses, items not directly related to revenue-generating activities.
409 
410### 5.11 Simples Nacional treatment
411 
412All taxes (ICMS, ISS, PIS, COFINS, IRPJ, CSLL, CPP) paid through DAS guia. Effective rate determined by Anexo (I-V) and trailing 12-month revenue band. No separate ICMS/ISS/PIS/COFINS calculation. Buyer receiving from Simples supplier: limited ICMS credit (percentage shown on NF-e) and limited PIS/COFINS credit.
413 
414### 5.12 Transition rules (CBS/IBS, 2026+)
415 
4162026: CBS 0.9% + IBS 0.1% apply as test rates alongside existing taxes. These are creditable against existing PIS/COFINS and ICMS/ISS respectively. 2027: CBS replaces PIS/COFINS entirely (old taxes extinguished). 2029-2032: IBS gradually replaces ICMS/ISS. 2033: only CBS+IBS+IS remain. All transition rules are reviewer-judgement-required.
417 
418---
419 
420## Section 6 -- Tier 2 catalogue (compressed)
421 
422### 6.1 Tax regime determination
423 
424*Pattern:* client does not know if Lucro Real, Lucro Presumido, or Simples Nacional. *Default:* Lucro Presumido (cumulative, no credits). *Question:* "What is your tax regime? Check your CNPJ card or consult your Contador."
425 
426### 6.2 ICMS-ST applicability
427 
428*Pattern:* product may be subject to ICMS Substituicao Tributaria. *Default:* assume not subject to ST (flag for reviewer). *Question:* "Is this product subject to ICMS-ST in your state? What is the applicable MVA from the CONFAZ protocol?"
429 
430### 6.3 Interstate vs internal supply
431 
432*Pattern:* sale or purchase where origin/destination state is unclear. *Default:* internal (apply internal rate). *Question:* "Which state is the buyer/seller located in?"
433 
434### 6.4 ISS rate by municipality
435 
436*Pattern:* service where the exact municipal ISS rate is unknown. *Default:* 5% (maximum). *Question:* "What municipality governs this service for ISS purposes? What is the applicable ISS rate?"
437 
438### 6.5 CBS/IBS transition treatment
439 
440*Pattern:* transaction in 2026 where CBS/IBS test rates may apply. *Default:* apply current system only (do not add CBS/IBS without confirmation). *Question:* "Is your NF-e/NFS-e system updated to include CBS/IBS fields? Has your Contador confirmed the transition treatment?"
441 
442### 6.6 Imported service withholding
443 
444*Pattern:* payment to foreign service provider. *Default:* apply full import taxation (ISS, PIS/COFINS-Import, IRRF at 15%, IOF). *Question:* "Is the foreign provider from a country with a tax treaty? Is this a tax haven jurisdiction (IRRF 25%)?"
445 
446### 6.7 Mixed supply (goods + services)
447 
448*Pattern:* transaction that includes both goods and services components. *Default:* treat as goods (ICMS, higher rate). *Question:* "Can you separate the goods and services components? The goods portion is subject to ICMS and the services portion to ISS."
449 
450### 6.8 Vehicle and fuel
451 
452*Pattern:* fuel purchase, vehicle maintenance. *Default:* no credit (flag for reviewer). *Question:* "Is this vehicle used exclusively for the business? Is the fuel for a company vehicle?"
453 
454### 6.9 Round-number incoming transfers
455 
456*Pattern:* large round credit from owner-named counterparty. *Default:* exclude as capital injection (aporte de socio). *Question:* "Is this a customer payment, capital injection, or loan?"
457 
458### 6.10 Cash withdrawals
459 
460*Pattern:* saque, saque ATM, saque caixa. *Default:* exclude. *Question:* "What was the cash used for?"
461 
462---
463 
464## Section 7 -- Excel working paper template (Brazil-specific)
465 
466### Sheet "Transactions"
467 
468Columns: A (Date), B (Counterparty/CNPJ), C (NF-e/NFS-e number), D (Gross BRL), E (ICMS amount), F (PIS amount), G (COFINS amount), H (ISS amount), I (IPI amount), J (Tax type: ICMS/ISS/Mixed), K (Supply direction: Internal/Interstate/Import/Export), L (Default Y/N), M (Question), N (Notes).
469 
470### Sheet "Tax Summary"
471 
472Separate sections for each tax:
473 
474```
475PIS/COFINS:
476| Revenue (output PIS/COFINS) | =SUMIFS for credit entries |
477| PIS due | =Revenue * PIS rate |
478| COFINS due | =Revenue * COFINS rate |
479| PIS credits (if non-cumulative) | =SUMIFS for debit entries with PIS credit |
480| COFINS credits (if non-cumulative) | =SUMIFS for debit entries with COFINS credit |
481| Net PIS | =PIS due - PIS credits |
482| Net COFINS | =COFINS due - COFINS credits |
483 
484ICMS (if applicable):
485| Output ICMS | =SUMIFS for sales ICMS |
486| Input ICMS credits | =SUMIFS for purchase ICMS credits |
487| Net ICMS | =Output - Input |
488 
489ISS (if applicable):
490| ISS on services rendered | =SUMIFS for service revenue * ISS rate |
491```
492 
493### Color and formatting conventions
494 
495Blue for hardcoded values from bank statement/NF-e. Black for formulas. Green for cross-sheet references. Yellow background for any row where Default = "Y". Red background for rows requiring state-specific rate verification.
496 
497---
498 
499## Section 8 -- Brazilian bank statement reading guide (extrato bancario)
500 
501**Extrato bancario format conventions.** Brazilian banks export statements in PDF (most common), OFX, CSV, or via internet banking screen. Date format: DD/MM/YYYY. Common columns: Data (date), Historico or Descricao (description), Valor (amount, negative for debits), Saldo (balance). Some banks show Documento (document number) and Agencia/Conta (branch/account).
502 
503**PIX transfers.** PIX is the dominant payment method in Brazil (instant 24/7 transfers). PIX entries appear as "PIX RECEBIDO" (received) or "PIX ENVIADO" (sent) with the counterparty name or CNPJ/CPF. Match the counterparty name against Section 3.
504 
505**TED and DOC transfers.** Older bank transfer methods. TED entries show the counterparty name and bank. DOC is being phased out. Both appear with a transfer reference number.
506 
507**Boleto payments.** Boleto bancario is a common payment instrument. Entries appear as "PAGAMENTO BOLETO" or "LIQUIDACAO BOLETO" with a bar code reference. The payee name may not be visible in the description -- cross-reference with invoices.
508 
509**Debito automatico.** Automatic debits (direct debits) for utilities and recurring payments. Show the service provider name: CPFL, VIVO, CLARO, etc.
510 
511**Internal transfers and exclusions.** Transfers between the client's own accounts. Labelled "TRANSFERENCIA MESMA TITULARIDADE", "TED PROPRIA", "PIX PROPRIO". Always exclude.
512 
513**Owner draws (retirada pro-labore).** Self-employed or company owner withdrawing pro-labore or dividends. Labelled "PRO-LABORE", "DISTRIBUICAO LUCROS", "RETIRADA SOCIO". Exclude -- labor/dividend, not indirect tax.
514 
515**Refunds and reversals.** Identified by "ESTORNO", "DEVOLUCAO", "CREDITO ESTORNO". Book as a negative in the same tax treatment as the original transaction.
516 
517**Foreign currency transactions.** Convert to BRL at the PTAX rate (Banco Central do Brasil) for the transaction date. IOF (0.38% on FX) applies on the currency conversion.
518 
519**Investment entries.** "APLICACAO CDB", "RESGATE LCI", "RENDIMENTO POUPANCA". All financial/investment -- exclude from indirect tax.
520 
521**DAS / DARF payments.** "PAGAMENTO DAS" (Simples Nacional), "PAGAMENTO DARF" (federal taxes). Exclude -- these are tax payments, not supplies.
522 
523---
524 
525## Section 9 -- Onboarding fallback (only when inference fails)
526 
527### 9.1 CNPJ and legal entity type
528*Inference rule:* CNPJ format (XX.XXX.XXX/YYYY-ZZ) may appear in transfer descriptions. Branch 0001 = headquarters. *Fallback question:* "What is your CNPJ?"
529 
530### 9.2 Tax regime
531*Inference rule:* DAS payments suggest Simples Nacional. DARF code 5952 suggests PIS non-cumulative (Lucro Real). DARF code 8109 suggests PIS cumulative (Lucro Presumido). *Fallback question:* "Are you Lucro Real, Lucro Presumido, or Simples Nacional?"
532 
533### 9.3 State(s) of operation
534*Inference rule:* bank branch location, utility providers (CPFL = SP, CEMIG = MG, LIGHT = RJ). *Fallback question:* "In which state(s) do you have inscricao estadual?"
535 
536### 9.4 Filing period
537*Inference rule:* first and last transaction dates. Monthly filing is standard. *Fallback question:* "Which month does this cover?"
538 
539### 9.5 Industry and primary activity
540*Inference rule:* counterparty mix, NF-e descriptions, CNAE code on CNPJ card. *Fallback question:* "What is your primary business activity -- goods, services, manufacturing, or mixed?"
541 
542### 9.6 Simples Nacional status
543*Inference rule:* DAS payments in the statement. *Fallback question:* "Are you registered under Simples Nacional? If so, which Anexo applies?"
544 
545### 9.7 Interstate operations
546*Inference rule:* counterparties with out-of-state bank branches or addresses. *Fallback question:* "Do you sell to or purchase from other states? Which ones?"
547 
548### 9.8 Export activities
549*Inference rule:* foreign currency credits, foreign-named counterparties. *Fallback question:* "Do you export goods or services?"
550 
551### 9.9 Prior period credits
552*Inference rule:* not inferable from single period. Always ask. *Question:* "Do you have PIS/COFINS or ICMS credits carried forward from the prior month?"
553 
554### 9.10 NF-e availability
555*Inference rule:* if client provides NF-e XMLs or SPED file, answered. *Fallback question:* "Can you provide your NF-e XMLs or SPED fiscal file for this period?"
556 
557---
558 
559## Section 10 -- Reference material
560 
561### Sources
562 
563**Primary legislation (current system):**
5641. Constituicao Federal -- Articles 153 (IPI, PIS, COFINS), 155 (ICMS), 156 (ISS)
5652. Lei Complementar 87/1996 (Lei Kandir) -- ICMS
5663. Lei 10.637/2002 -- PIS non-cumulative
5674. Lei 10.833/2003 -- COFINS non-cumulative
5685. Lei 9.718/1998 -- PIS/COFINS cumulative
5696. Lei Complementar 116/2003 -- ISS
5707. Decreto 7.212/2010 (RIPI) -- IPI regulation
5718. Lei Complementar 123/2006 -- Simples Nacional
572 
573**Reform legislation (new system):**
5749. Emenda Constitucional 132/2023 -- CBS/IBS/IS constitutional basis
57510. Lei Complementar 214/2025 -- CBS/IBS/IS regulation
576 
577**Judicial precedents:**
57811. STF RE 574.706 -- ICMS exclusion from PIS/COFINS base
57912. STF ADIs 1.945 and 5.659 -- Software subject to ISS, not ICMS
580 
581**Other:**
58213. Receita Federal -- https://www.gov.br/receitafederal
58314. CONFAZ -- https://www.confaz.fazenda.gov.br (ICMS agreements)
58415. PTAX exchange rate -- Banco Central do Brasil
585 
586### Known gaps
587 
5881. The supplier pattern library covers common national brands but not regional businesses or state-specific utilities.
5892. ICMS-ST MVA percentages are product- and state-specific; this skill does not contain the full CONFAZ protocol database.
5903. State-specific ICMS incentive programs (guerra fiscal) are not covered.
5914. The CBS/IBS transition is ongoing -- rates and rules may change as regulations are published.
5925. The worked examples use a Sao Paulo-based consultant. Other state/municipality combinations may produce different results.
5936. Municipal ISS rates are not exhaustively listed -- there are over 5,500 municipalities.
594 
595### Change log
596 
597- **v2.0 (April 2026):** Full rewrite to Malta v2.0 structure. Quick reference at top (Section 1) with IBS+CBS reform context, current rates, and conservative defaults. Supplier pattern library restructured as literal lookup tables (Section 3) with Brazilian vendors. Six worked examples added (Section 4). Tier 1 rules compressed (Section 5). Tier 2 catalogue added (Section 6). Excel template specification added (Section 7). Brazilian bank statement reading guide (extrato bancario) added (Section 8). Onboarding fallback with inference rules (Section 9).
598- **v1.0 (April 2026):** Previous version with full monolithic structure covering all five indirect taxes and reform context.
599 
600### Self-check (v2.0)
601 
6021. Quick reference at top with all five current taxes and CBS/IBS reform context: yes (Section 1).
6032. Conservative defaults with regime-specific treatment: yes (Section 1).
6043. Supplier library as literal lookup tables with Brazilian vendors: yes (Section 3, 11 sub-tables).
6054. Worked examples from hypothetical SP consultant: yes (Section 4, 6 examples).
6065. Tier 1 rules compressed: yes (Section 5, 12 rules).
6076. Tier 2 catalogue compressed: yes (Section 6, 10 items).
6087. Excel template specification: yes (Section 7).
6098. Brazilian bank statement reading guide (extrato bancario): yes (Section 8).
6109. Onboarding as fallback with inference rules: yes (Section 9, 10 items).
61110. PIS/COFINS cumulative vs non-cumulative distinction explicit: yes (Section 1, 5.2).
61211. ICMS por dentro calculation explicit: yes (Section 5.4).
61312. Import service taxation (~40% effective) explicit: yes (Section 5.8, Example 3).
61413. Simples Nacional DAS treatment explicit: yes (Section 5.11, Example 4).
61514. Export zero-rating across all taxes explicit: yes (Section 5.7).
61615. Refusal catalogue present: yes (Section 2, R-BR-1 through R-BR-6).
617 
618## End of Brazil Indirect Tax Skill v2.0
619 
620 
621---
622 
623## Disclaimer
624 
625This skill and its outputs are provided for informational and computational purposes only and do not constitute tax, legal, or financial advice. Open Accountants and its contributors accept no liability for any errors, omissions, or outcomes arising from the use of this skill. All outputs must be reviewed and signed off by a qualified professional (such as a CPA, EA, tax attorney, or equivalent licensed practitioner in your jurisdiction) before filing or acting upon.
626 
627The most up-to-date, verified version of this skill is maintained at [openaccountants.com](https://openaccountants.com). Log in to access the latest version, request a professional review from a licensed accountant, and track updates as tax law changes.
628 

Run this skill, then get an accountant to check it

After running the full skill pack in Claude, sign up and upload your worksheet. We'll connect you with a trusted accountant in our network who can review your numbers before you file.

Quality

Q2: Research-verified

Deep research against tax authority sources. Not yet tested on real data.

Needs real client data + practitioner sign-off to reach Q1.

Accountant Review

Unverified
0/65

About

Use this skill whenever asked about Brazilian indirect taxes, VAT, consumption taxes, PIS, COFINS, ICMS, ISS, IPI, CBS, IBS, Imposto Seletivo, NF-e (Nota Fiscal Eletronica), Simples Nacional, CNPJ registration, tax reform (EC 132/2023), or any request involving Brazilian goods and services taxation, filing, compliance, or classification. Trigger on phrases like "Brazil tax", "Brazilian VAT", "PIS/COFINS", "ICMS", "ISS", "IPI", "CBS", "IBS", "NF-e", "nota fiscal", "Simples Nacional", "CNPJ", "tax reform Brazil", or any request involving Brazilian indirect tax compliance. This skill contains the complete Brazilian indirect tax framework covering both the current multi-tax system (PIS/COFINS/ICMS/ISS/IPI) and the new unified system (CBS/IBS/IS) under Constitutional Amendment 132/2023. ALWAYS read this skill before touching any Brazilian indirect tax work.

BRty-2025

BR skill: