[BR] Brazil Tax Reform: IBS and CBS in Tax Determination
Brazil's Tax Reform (LC 214/2025) introduces two new taxes on goods and services: IBS (state and municipal) and CBS (federal). Tax Determination calculates both for you and returns them on each line of the transaction, next to the taxes already in force.
This guide covers:
- What to send so IBS and CBS are calculated.
- How to read them in the response.
- How the taxable base is built.
API reference and related guides
- Tax determination with /sales
- Code tables: CST and cClassTrib, NBS
Before you start2026 is the test year of the reform. IBS is calculated at 0.1% and CBS at 0.9%, and neither changes the amount your customer pays. Brinta returns them with
new_regime_preview: trueandadds_to_final_amount: false.
1. Send the request
You do not need a new endpoint or a new field. Send the transaction as you do today, with POST /sales/, and classify each item with its categories. Use type: "calculation" to calculate without recording a sale.
What decides the taxes: items[].categories[]
items[].categories[]Each category is sent as { "code": "...", "list": "..." }.
| Category | list | Description |
|---|---|---|
| Service code | (none) | The main category of the line. Send it without list. |
| Tax classification | cClassTrib | The cClassTrib code of the operation, for example 000001. |
| NBS | nbs code | NBS code, 9 digits without dots, for example 117031000. |
- Send at most one category without
list. - The
listnames must match exactly, including the space innbs codeand the capital letters incClassTrib.
Where the buyer is: buyer.company.address
buyer.company.addressTaxes are matched to the buyer's location. Send the country, the state and the city, so that state and municipal rates can be applied.
curl -X POST https://api.brinta.com/sales/ \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"type": "calculation",
"currency": "BRL",
"buyer": {
"company": {
"legal_name": "ACME Servicos LTDA",
"type": "business",
"address": { "state": "BR-SP", "city": "Barueri", "postal_code": "00000000", "country": "BR" },
"tax_registrations": [
{ "number": "00000000000100", "type": "CNPJ", "level": "country", "location": "BR" }
]
}
},
"items": [
{
"name": "Consulting service",
"amount": 1500,
"categories": [
{ "code": "6491" },
{ "code": "000001", "list": "cClassTrib" },
{ "code": "117031000", "list": "nbs code" }
]
}
]
}'2. Read the response
IBS and CBS come back in items[].taxes[] as two more rows. This example assumes ISS at 2%, PIS at 1.65% and COFINS at 7.6%; your rates depend on the service, the municipality and your tax regime.
{
"items": [
{
"name": "Consulting service",
"amount": 1500,
"taxes": [
{ "name": "ISS", "rate": 0.02, "taxable_amount": 1500, "amount": 30 },
{ "name": "PIS", "rate": 0.0165, "taxable_amount": 1500, "amount": 24.75 },
{ "name": "COFINS", "rate": 0.076, "taxable_amount": 1500, "amount": 114 },
{
"name": "IBS",
"type": "VAT",
"rate": 0.001,
"rate_type": "percentage",
"taxable_amount": 1331.25,
"amount": 1.33,
"level": "country",
"location": "BR",
"adds_to_final_amount": false,
"new_regime_preview": true
},
{
"name": "CBS",
"type": "VAT",
"rate": 0.009,
"rate_type": "percentage",
"taxable_amount": 1331.25,
"amount": 11.98,
"level": "country",
"location": "BR",
"adds_to_final_amount": false,
"new_regime_preview": true
}
]
}
]
}| Field | Notes |
|---|---|
name | IBS or CBS. |
type | Both are returned as VAT. |
rate | Decimal, never a percentage: 0.001 is 0.1%. |
taxable_amount | The base the rate was applied to. See step 3. |
amount | The tax, rounded to two decimals. |
level, location | The jurisdiction the rate belongs to. |
adds_to_final_amount | false: the tax is reported on the line but does not change final_amount. |
new_regime_preview | true for taxes of the new regime that are not yet in full force. It is a response field; you do not send it. |
Use
new_regime_previewto separate the new taxes from the current ones, for example to show them in a different block of your invoice or report.
Other transaction types
- Transfers (
POST /transfers/) are calculated the same way as sales. - Refunds (
POST /refunds/) return the taxes of the original transaction. IBS and CBS are not recalculated. - If you calculate taxes yourself, send them with
use_tax_engine: falseas described in Tax determination with /sales.
Common mistakes
| Mistake | What happens | Fix |
|---|---|---|
Every category has a list | The line has no main category and its taxes are not calculated | Send the service code without list |
A list name is misspelled, for example cclasstrib or nbsCode | The code is not recognized and is skipped | Use cClassTrib and nbs code exactly |
NBS sent with dots (1.1703.10.00) | The code is not recognized | Send 9 digits without dots: 117031000 |
Reading rate: 0.001 as 0.001% | IBS is understated by a factor of 100 | Rates are decimals: 0.001 is 0.1% |
| Adding IBS and CBS to the amount charged in 2026 | The customer is overcharged | Check adds_to_final_amount: it is false during the test year |
Sending new_regime_preview in the request | It has no effect | It is a response field |
| Calculating IBS and CBS on the full item amount | Your number does not match Brinta's | Use the base in step 3 |
What changes on 1 January 2027
The test year ends on 31 December 2026. From 1 January 2027, the new taxes start to be charged and PIS and COFINS end (LC 214/2025). The request you send does not change. The response does.
New taxes
| Tax | 2026 | From 1 January 2027 |
|---|---|---|
| IBS | One row at 0.1% | Two rows: state IBS at 0.05% and municipal IBS at 0.05% |
| CBS | 0.9% | The reference rate set by the Federal Senate, less 0.1 percentage point |
| IS (Imposto Seletivo) | Does not exist | New federal tax on goods and services considered harmful to health or the environment, such as tobacco, alcoholic and sugary drinks, vehicles, mineral goods and betting. Rates are set by federal law for each product |
IS is not ISS: IS is the new selective tax, and ISS is the municipal service tax that stays in force until 2032.
Taxes that end or change in 2027
| Tax | 2026 | From 1 January 2027 |
|---|---|---|
| PIS and COFINS | Calculated | No longer exist. Their rows are not returned. This includes PIS and COFINS on imports. |
| IPI | Calculated | Rate reduced to zero, except for products that are also manufactured in the Manaus Free Trade Zone |
Taxes that do not change in 2027
| Tax | 2026 | From 1 January 2027 | Later |
|---|---|---|---|
| ICMS | Calculated | Unchanged | Reduced each year from 2029 to 2032, ends in 2033 |
| ICMS-ST | Calculated | Unchanged | Follows ICMS |
| DIFAL | Calculated | Unchanged | Follows ICMS |
| FCP | Calculated | Unchanged | Follows ICMS |
| ISS | Calculated | Unchanged | Reduced each year from 2029 to 2032, ends in 2033 |
| II (import duty) | Calculated | Unchanged | Not part of the reform |
| IRRF and INSS withholdings | Calculated | Unchanged | Not part of the reform |
What to change on your side
- Read IBS as two rows. Each one comes with its own
levelandlocation: one for the buyer's state and one for the buyer's municipality. Add them up if you show a single IBS figure. - Send the buyer's city. Municipal IBS is matched to the municipality, so a request with only the state cannot return it.
- Do not expect PIS and COFINS rows. If your integration reads them by name, handle their absence.
- Do not hard-code rates. Read
ratefrom each row: the CBS rate changes on 1 January 2027 and IBS rates rise in the following years. - Read
adds_to_final_amounton each row to know whether the tax changes the amount charged. Do not assume it staysfalseafter the test year.
Transactions around the year endThe rates are selected by the date of the transaction. A sale dated 31 December 2026 is calculated with the 2026 rules, and a sale dated 1 January 2027 with the 2027 rules. Send the date of the sale on every transaction, so that sales sent after midnight are calculated with the rules of the day they happened.
After 2027
IBS and CBS rates rise in steps while ICMS and ISS are reduced between 2029 and 2032: to 90% of their rates in 2029, 80% in 2030, 70% in 2031 and 60% in 2032. Both end in 2033, together with ICMS-ST, DIFAL and FCP. Brinta updates the rates as each phase takes effect, so the request and the response in this guide stay the same.
Updated about 24 hours ago
