TF Fiscal

PIS / COFINS in Depth

Two federal social contributions: cumulative vs. non-cumulative regimes, single-phase taxation, zero rate and export non-incidence, plus the CST table and the platform's computation rules

PIS (Social Integration Programme) and COFINS (Social Security Financing Contribution) are two federal contributions on gross revenue, always paired, with identical rules and different rates. The company's income-tax regime decides how they work: Lucro Presumido uses the cumulative regime (low rates, no credits), Lucro Real the non-cumulative one (higher rates, input credits), and Simples Nacional pays them inside the DAS.

Rates by regime

RegimePISCOFINSCreditsInvoice CST
Simples Nacional (CRT 1 / 2 / 4)Inside the DASInside the DASNone49("0.00")
Lucro Presumido · cumulative0.65%3.00%None01
Lucro Real · non-cumulative1.65%7.60%Input credits01
Import (PIS/COFINS-Importação)2.10%9.65%Creditable under the non-cumulative regimePaid at customs
  • Single-phase (monofásico): fuel, pharma, cosmetics, beverages, auto parts and similar sectors pay once at the manufacturer or importer at higher rates; every later resale uses CST 04 (zero rate).
  • Zero rate: the basic food basket, some agricultural products and others, CST 06.
  • Export: no incidence, CST 08.
  • ICMS excluded from the base: the Supreme Court (Tema 69) ruled ICMS is not revenue; the platform subtracts it automatically with desconta_icms_pis_cofins.

CST table

PIS and COFINS share one code list. Fields pis.situacao_tributaria and cofins.situacao_tributaria.

CSTMeaningWhen to use
01Taxed at the standard rateRegular sales under the regular regime.
02Taxed at a differentiated rateProducts with a special statutory rate.
03Taxed by quantity (fixed amount per unit)Fill valor_unidade.
04Single-phase, resale at zero rateReselling single-phase goods: fuel, pharma, cosmetics, beverages.
05Tax substitutionA few sectors (e.g. cigarettes, motorcycles).
06Zero rateStatutory zero-rated goods such as the basic food basket.
07ExemptExplicitly exempted by law.
08No incidenceExports; operations that are not revenue.
09SuspendedSpecific statutory cases (e.g. purchases for export).
49Other outbound operationsThe standard choice for Simples; non-sale dispatches.
50 – 56Inbound with credit rightsNon-cumulative purchases: 50 taxed revenue only · 51 non-cumulative revenue · 52 export revenue · 53 / 54 / 55 mixed revenue · 56 all three.
60 – 67Presumed creditStatutory presumed credits (agribusiness etc.): 60 purchase · 61 import · 62 agricultural activity · 63 other · 64 non-generating · 65 / 66 substitution · 67 export.
70 – 75Inbound without credit rights70 purchase · 71 exempt · 72 suspended · 73 zero rate · 74 no incidence · 75 substitution.
98 · 99Other inbound · other operationsSimples inbound uses 98; 99 is the general fallback code.

Platform fields and rules

FieldPurpose
situacao_tributariaCST. The platform picks the XML group from it: 01 / 02 taxed by rate; 03 by quantity; 04–09 exempt/zero/suspended group; 49–99 other group.
aliquotaRate as a string with two decimals: "0.65", "3.00", "1.65", "7.60"; Simples sends "0.00".
valor_unidadeAmount per unit for CST 03 (by quantity).
desconta_icms_pis_cofinsWhen true, base = item amount − the line's ICMS.
cenario · tipo_pessoaRow keys, same lookup rules as ICMS.

From 2027 PIS/COFINS are replaced by CBS; in 2026 both run in parallel. The single-phase and zero-rate lists are set item by item in federal law; rely on current law and your accountant.