# How to request the Avalara Brazil calculation engine to exclude PIS and COFINS from the ICMS calculation base?

Source: https://developer.avalara.com/goods-calculation-en/luh1288702629861/

# How to request the Avalara Brazil calculation engine to exclude PIS and COFINS from the ICMS calculation base?

Use the pisCofinsIcmsTaxRelief parameter to exclude PIS and COFINS from the ICMS calculation base in Avalara Brazil. You can apply that either at the company level or for each transaction.

There’s the possibility of sending a parameter through the API so that PIS/COFINS is excluded from the ICMS calculation base. This parameter is the: pisCofinsIcmsTaxRelief (path: header.locations.entity.taxesSettings.pisCofinsIcmsTaxRelief).

The parameter can be configured via the Avalara Portal screen, as shown in the image below:

![Avalara portal screen](https://knowledge-be.avalara.com/bundle/cjw6783699913145_cjw6783699913145/page/cnz9287990183855.image?_LANG=enus)

Note that if you configure the parameter on screen, that information becomes fixed for the company in question. But if the API sends the parameter in the payload, it becomes transactional. This means you send it only when you want that functionality.