Blog · · · Paulo Cordeiro

CST and cClassTrib in Brazil: meaning and how to find them

CST gives the IBS and CBS tax situation of each invoice item in Brazil; cClassTrib cites its legal basis. See structure, lookup and deadlines.

CST and cClassTrib are the two codes that every item on a Brazilian NF-e and NFC-e invoice now carries for the new IBS and CBS taxes: the CST states the item's tax situation and the cClassTrib states which legal provision supports it. The CST (Código de Situação Tributária, tax situation code) shows whether the item is fully taxed, has a reduced rate, is exempt, immune, deferred or suspended. The cClassTrib (Código de Classificação Tributária, tax classification code) gives the reason: according to Technical Note 2025.002 RTC, each code corresponds to a specific provision of Complementary Law 214/2025. In the official table, the six digits of the cClassTrib start with the three digits of the CST, and an incompatible pair gets the invoice rejected.

These rules apply only in Brazil. They come from the Brazilian Consumption Tax Reform, whose Complementary Law 214/2025 created the IBS (Imposto sobre Bens e Serviços, shared by the states, the Federal District and the municipalities) and the CBS (Contribuição Social sobre Bens e Serviços, a federal contribution). This article explains the difference between CST, cClassTrib and CFOP, how the official table is organized, how to look up an item's code, why there is no official "cClassTrib by NCM" lookup, how services work and which deadlines are confirmed in official acts published up to 21 November 2026. The angle is master data: these codes are not chosen invoice by invoice, they come from how the item is classified.

What are CST and cClassTrib, and how do they differ?

Both fields sit in group UB of the NF-e layout, created by Technical Note 2025.002 RTC for the reform taxes. Inside the IBS and CBS group, the CST is field UB13 (3 digits) and the cClassTrib is field UB14 (6 digits), and both are mandatory whenever the group is filled in. The Selective Tax (Imposto Seletivo, an excise tax) has its own pair, CSTIS and cClassTribIS, with a separate table.

Code What it tells Format and official table Where it should come from in master data
CFOP The nature of the transaction: sale, return, transfer, shipment 4 digits; CFOP table on the NF-e Portal The tax rule for the transaction (movement type, origin and destination), not the item alone
IBS and CBS CST The item's tax situation: full, reduced, exempt, immune, deferred, suspended, single-phase 3 digits (field UB13); CST tab of the IBS and CBS Tax Classification Table The item's classification combined with the transaction and the tax regime
cClassTrib The legal basis for that situation: the provision of Complementary Law 214/2025 that applies 6 digits (field UB14); IBS and CBS Tax Classification Table The item's classification (NCM or NBS), legal framework and transaction, set by rule

In one sentence: the CFOP describes the transaction, the CST describes the tax situation and the cClassTrib points to the legal basis. Technical Note 2025.002 says the table contains indicators that link CST and cClassTrib to the invoice validation rules, so an inconsistent pair does not go through.

CST 40 or CST 41: is it the same CST?

No. The IBS and CBS CST always has three digits. Two-digit codes you may see in your system, such as 40 or 41, belong to ICMS (the current state tax on the circulation of goods and on certain services): Technical Note 2025.002 itself mentions "CST=40-Isenta" (exempt) and "CST=41-Não tributada" (not taxed) in a rule of the ICMS group. For now, the same invoice carries both the fields of the current taxes and the new IBS and CBS fields. If you searched for a two-digit code, check which invoice group it belongs to before comparing it with the table in this article.

How are CST and cClassTrib codes organized?

The structure below was checked against the IBS and CBS Tax Classification Table published on the NF-e Portal on 30 October 2026 (Technical Report 2025.002 v1.71), downloaded on 21 November 2026:

  • The cClassTrib starts with the CST. In all 173 codes of that version, the first three digits of the cClassTrib are the CST it belongs to. Code 200003, for example, belongs to CST 200.
  • Each cClassTrib points to a provision. For each code, the table lists the article of Complementary Law 214/2025 and of the CBS and IBS regulations. Code 200003 points to article 125 (food products listed in Annex I, the national basic food basket), with a 100% reduction, which means a zero rate; code 200034 points to article 135 (foods in Annex VII, 60% reduction).
  • The table carries indicators. IBS and CBS reduction percentages, which documents the code may be used on (NF-e, NFC-e, NFS-e, CT-e and others), start and end dates and the invoice groups the code requires or forbids.
  • The table changes. Technical Note 2025.002 warns that it may be amended for improvements, new regulatory provisions or the needs of the assisted tax assessment. In 2026 alone the Portal published versions on 28 January, 15 April, 23 June, 1 October and 30 October. That is why the table version used must be recorded in master data.

What do CST 000, 200 and 410 mean? Is there a CST 500?

Some examples from the CST tab of the version checked: 000 is full taxation; 200 is reduced rate; 400 is exemption; 410 is immunity and non-incidence; 510 is deferral; 550 is suspension; 620 is single-phase taxation. There is no CST 500 in that version: the codes starting with 5 are 510, 515 and 550. If the system sends a CST that is not in the current table, the invoice is rejected (rule UB13-10).

CST 200 holds the most classification codes (56 in that version), followed by 410 (38) and 550 (29), because each reduction, immunity or suspension set by law has its own cClassTrib. That is where the item's classification matters most.

Which rejections are tied to CST and cClassTrib?

Technical Note 2025.002 v1.53 sets, among others, these validation rules for when the IBS and CBS group is filled in:

  • 1020: IBS/CBS CST does not exist (UB13-10).
  • 1023: cClassTrib does not exist (UB14-10).
  • 1024: cClassTrib incompatible with the CST (UB14-20).
  • 1025: cClassTrib not allowed on that document model (UB14-25).

In other words: when the code comes wrong from master data, the error shows up when the invoice is authorized. When it is "valid" according to the table but wrong for the item, the invoice goes through and the problem appears later, in the tax assessment or in the customer's credit.

How do you look up an item's cClassTrib?

The official table is on the Brazilian NF-e Portal, under Documentos > Diversos > Tabela de Classificação Tributária do IBS e CBS (Documents > Miscellaneous > IBS and CBS Tax Classification Table), as a spreadsheet. A practical lookup path:

  1. Define the transaction and the regime. Domestic sale, export, bonus goods, transaction with a reduction set by law. This points to the CST.
  2. Filter the table by CST and read the description and article of each candidate cClassTrib.
  3. If the article refers to an annex of Complementary Law 214/2025, check whether the item's NCM or NBS is listed there. This is where the source classification decides.
  4. Check the indicators: is the code valid for the document you issue and in force on the transaction date?
  5. Record the decision in master data: code, table version, article and approver.
  6. Validate it with your tax team or tax advisor before activating the rule.

Is there a cClassTrib lookup by NCM?

Not in the way the search suggests. The NCM (Nomenclatura Comum do Mercosul) is the Mercosur goods classification code used in Brazil. The official cClassTrib table has no NCM column: it organizes codes by legal provision. The NCM matters because some articles of Complementary Law 214/2025 list the products covered in annexes using the NCM/SH classification, such as article 125 (Annex I) and article 135 (Annex VII).

That is why the same item may get a different cClassTrib depending on the transaction. Hypothetical example: a food product whose NCM is in Annex I may go out with 200003 in a sale that meets article 125; the same item, exported, falls under an export code (such as 410004, which the table links to article 8); given as bonus goods stated on the invoice and not dependent on a later event, it may fall under 410001 (the table refers to article 5, paragraph 1, item I). Same NCM, different transaction, different code. An "NCM to cClassTrib" spreadsheet helps as a starting point, but the rule has to combine classification, transaction and legal framework.

If the question starts earlier, with the NCM itself, our article on what the NCM code is and how it works in Brazil and the NCM glossary entry help you review the basics.

Is your master data ready to derive CST and cClassTrib by rule? Take the Brazilian Tax Reform readiness test and see where the blind spots are.

How does cClassTrib work for services?

Services use the same cClassTrib table. What changes is the source classification: instead of the NCM, the NBS (Nomenclatura Brasileira de Serviços, the Brazilian classification of services, intangibles and other operations that change net worth), which Brazil's Ministry of Development, Industry, Trade and Services (MDIC) describes as the national classifier for services and intangibles, together with its Explanatory Notes (NEBS). Some articles of Complementary Law 214/2025 list services by NBS in annexes, such as article 129 (education, Annex II), article 138 (Annex IX) and article 139 (Annex X).

The cClassTrib table shows, code by code, whether it can be used on the NFS-e (the electronic service invoice). Several reduction codes are service-only, such as 200028 (education services, article 129, 60% reduction) and 200052 (intellectual professions, article 127, 30% reduction).

In practice, the service master is usually in worse shape than the material master. Services came from the municipal ISS tax, with little standardization and items created as free text at the time of purchase. Items such as "MISCELLANEOUS SERVICES" or "GENERAL MAINTENANCE" do not allow a safe choice of NBS or cClassTrib. To derive the code, a service needs:

  • an NBS validated against the current version;
  • a standardized description that identifies nature, scope and frequency;
  • a clear split between service, materials applied and rental, because the treatment changes;
  • CST and cClassTrib derived by rule, including in specific regimes.

Structuring this is the purpose of service descriptive standardization (PDS), a workstream separate from the material master.

Why do CST and cClassTrib come from master data, not from the invoice?

Nobody picks the cClassTrib invoice by invoice. It is assigned to the item and to the tax rule and repeats in every transaction. That is why a master data error does not produce one wrong invoice: it makes every invoice for that item wrong until someone fixes the source.

A design that works has four layers:

  1. A well-described item. A descriptive standard applied (PDM for materials, PDS for services), technical attributes filled in, no free text in structured fields.
  2. Source classification. NCM for goods (with the CEST code, where the item uses it), NBS for services, validated against the current table and with the date of the last review. Procurement classifications such as UNSPSC live in the same master data and do not replace the tax classification.
  3. A parameterized tax rule. Classification, nature of the transaction, origin, destination and regime determine CST and cClassTrib by rule, not by typing.
  4. Governance and audit trail. Who defined it, when, with which table version and which justification, with approval for changes to high-impact items.

Layer 3 is where the ERP or the tax engine works. Layers 1, 2 and 4 are master data work, and they are usually the missing ones. Without them, the configuration calculates precisely on a wrong premise. That is the layer of master data management (MDM) that underpins the ERP.

Why does an error in a sales product affect your customer?

For sellers, the product master feeds the invoice, the catalog, e-commerce, marketplaces and customers' own databases. A wrong classification:

  • causes rejections and stops billing when the code does not exist or is incompatible;
  • shows up inconsistently across channels, with the same product described one way in the store and another way on the invoice;
  • may put the buyer's tax credit at risk. Complementary Law 214/2025 (article 48, sole paragraph) makes the credit, in the case described there, conditional on the correct IBS and CBS amounts being stated on the electronic invoice for the purchase.

The recommendation is a single source of truth for the product, with tax data derived from it and distributed to channels, instead of maintained in parallel in each system. That is the logic of a PIM integrated with master data governance.

Which CST and cClassTrib deadlines are confirmed?

Status checked on 21 November 2026 in Complementary Law 214/2025, in the acts published in Brazil's Official Gazette (Diário Oficial da União) and in Technical Note 2025.002 v1.53. We separate what the law says, the operational reading and the recommendation.

What the law says

  • Obligation to issue an electronic tax document: Complementary Law 214/2025 (article 60) requires an electronic tax document for transactions with goods and services, including immune, exempt, zero-rated or suspended transactions (paragraph 2, item I).
  • Mandatory dates (Joint Act RFB/CGIBS No. 4/2026, issued by the Federal Revenue Service and the IBS Management Committee, as amended by Joint Act No. 7/2026), for taxable events from:
    • NF-e and NFC-e: 3 August 2026;
    • NF-e of an IBS and CBS taxpayer that is not an ICMS taxpayer: 1 December 2026;
    • NF-e recording supplies subject to single-phase taxation: 1 January 2027;
    • NFS-e for services also subject to the municipal ISS listed in Complementary Law 116/2003 (general rule, item "d"): 1 October 2026; other NFS-e cases: 1 January or 1 March 2027, depending on the item;
    • companies under Simples Nacional (Brazil's simplified regime for small businesses): 1 January 2027 for NFS-e items "d" to "h"; 1 March 2027 for the other cases, which include the NF-e.
  • 2026 is an informational year: under Joint Act RFB/CGIBS No. 1/2025 (article 3, sole paragraph), the 2026 IBS and CBS assessment is merely informational, with no tax effect, provided ancillary obligations are met. The main text of the same article 3 says that, "until the first day of the fourth month following the publication of the common part of the IBS and CBS regulations", no penalty applies for failing to fill in the IBS and CBS fields, and the requirement for the payment waiver is considered met. The act does not set that date, and we have not confirmed in an official source when the common part of the regulations was published or when this window ends. Check with your advisor before relying on it.
  • Payment waiver for 2026: Complementary Law 214/2025 (article 348, paragraph 1) waives payment of IBS and CBS on 2026 taxable events for taxpayers who meet the ancillary obligations. Complementary Law 227/2026 added paragraphs 3 and 4: if a tax assessment notice is issued in 2026 for failing the IBS and CBS ancillary obligations set out in article 341-G, the taxpayer is summoned to cure the omission within 60 days, and doing so extinguishes the penalty.

Operational reading: is an invoice without the IBS and CBS group rejected?

Under Technical Note 2025.002 v1.53 (published on 30 October 2026), the rule that rejects an NF-e without the IBS and CBS group (UB12-10, rejection 1115) applies in the test environment to invoices issued from 1 July 2026 by issuers under the normal regime, and is listed as future implementation in production. The note's schedule detail says that, in production, for issuers under the normal regime (CRT 3), filling in the fields is not enforced by a validation rule but remains mandatory under the law. When the group is filled in, the CST and cClassTrib rules (1020, 1023, 1024, 1025) apply.

In short: today, in production, a missing group does not block authorization under rule UB12-10, but it does not meet the legal obligation. And an invalid CST or cClassTrib is already rejected. Dates changed several times during 2026, so follow new versions of the note and Portal notices.

Recommendation

Do not wait for the rejection rule to reach production to fix master data. Use the informational period to measure how many active items have CST and cClassTrib derived by rule and how many invoices go out without the group.

Checklist: is your master data ready for CST and cClassTrib?

  • Every active item has a valid source classification (NCM or NBS), with the date of the last review.
  • No active item uses a generic "other" classification without a recorded justification.
  • CST and cClassTrib are derived by rule (classification, transaction, regime) and tested in the test environment.
  • The cClassTrib table version in use is recorded, and there is a routine to review it when the Portal publishes a new one.
  • Items that depend on an annex of Complementary Law 214/2025 have the NCM or NBS check against the annex documented.
  • Services have a structured description and NBS, not free text.
  • Someone is responsible for approving classification changes on high-value items.
  • There is a regular report of rejections by code (1020, 1023, 1024, 1025 and, in the test environment, 1115), with the cause traced back to master data.

The last item is the most underrated. A rejection handled as an isolated billing incident hides the pattern. A rejection handled as a master data symptom reveals the cause.

Where to start

  1. Download the current table from the NF-e Portal and note the version date.
  2. Extract active items that appeared on invoices in recent months, with NCM or NBS, description and current CST and cClassTrib.
  3. Separate items that depend on an annex (basic food basket under article 125, foods under article 135, education under article 129, agricultural inputs under article 138 and others) and check the classification against the annex of Complementary Law 214/2025.
  4. Flag generic descriptions and duplicates: without a clear description, no code can be derived safely.
  5. Write the rule (classification + transaction + regime = CST and cClassTrib) and validate it with your tax team before going live.

Frequently asked questions

What is the difference between CST, cClassTrib and CFOP?

The CFOP describes the nature of the transaction (sale, return, transfer). The IBS and CBS CST describes the item's tax situation (full, reduced, exempt, immune, suspended). The cClassTrib points to the provision of Complementary Law 214/2025 that supports that situation. In the official table, the cClassTrib starts with the three digits of the CST and must be compatible with it.

Can I look up cClassTrib by NCM?

Not officially. The table published on the NF-e Portal organizes codes by legal provision and has no NCM column. The NCM matters when the article refers to an annex of Complementary Law 214/2025 that lists products by NCM/SH. The same item may have a different cClassTrib depending on the transaction.

Which cClassTrib applies to services?

Services use the same table, which shows which codes may be used on the NFS-e. The source classification is the NBS, and some articles of Complementary Law 214/2025 list services by NBS in annexes. The code depends on the NBS, the transaction and the legal framework, and should be validated by your tax team.

What are CST 000, CST 200 and CST 410? Is there a CST 500?

In the table checked (version of 30 October 2026), 000 is full taxation, 200 is reduced rate and 410 is immunity and non-incidence. Each CST has several cClassTrib codes, one for each legal basis. There is no CST 500 in that version; the codes starting with 5 are 510, 515 and 550.

Is an invoice without cClassTrib rejected?

If the IBS and CBS group is filled in, the cClassTrib is mandatory within it, and a code that does not exist or is incompatible with the CST is rejected. Rejection for a missing group (UB12-10) applies in the test environment and, under Technical Note 2025.002 v1.53, is still future implementation in production. Filling it in remains mandatory under the law.

Does a wrong NCM affect the cClassTrib?

Yes. When the treatment depends on an annex of Complementary Law 214/2025, the NCM (or NBS) decides whether the item is covered. A wrong NCM leads to the wrong CST and cClassTrib, and the error repeats on every invoice for that item.

How 4MDG can help

4MDG works on the layer that decides whether CST and cClassTrib are born right: master data. In our Brazilian Tax Reform offering, NCM, cClassTrib, CST and NBS are reviewed with AI support and specialist validation, the decision is recorded with its justification and the result goes back to the ERP, including SAP, in the format your compliance effort requires. Day to day, ADAM, the platform's AI assistant, suggests the item's tax classification and UNSPSC codes at data entry for the user to check and approve. This rests on material master data cleansing, service standardization, product PIM and supplier qualification.

4MDG is not a tax consultancy: the tax framework of each item must be validated by your tax team or advisor. We serve 160 clients in 6 countries, with an Information Security Management System certified to ISO 27001.

To get started: take the Tax Reform readiness test, request an assessment conversation or talk to a specialist. You can also download our free e-book on the Brazilian tax reform (in Portuguese).

Disclaimer: this content is informational and educational and does not constitute tax, accounting or legal advice. Brazilian Tax Reform deadlines, tables, validation rules and obligations may be changed by the competent authorities. Before deciding, check the official sources and consult your tax and legal advisors. Information checked on 21 November 2026.

Sources

Have a question or want to talk about this?

Talk to a 4MDG specialist: we reply through the channel you prefer.

The international code is added when you save.