Skip to main content
Avalara provides 2 different engines with which we are integrated:
  • Avalara Avatax - The first one can be used by all merchants.
  • Avalara Brazil - merchants must sign a dedicated contract with Avalara Brazil

Avalara Avatax Tax Setting

The following credentials should be defined:

Avalara Brazil Tax Settings

AvaTax does not support tax calculations for Brazil. Therefore, for merchants that do business in Brazil, they need to provide also some configuration for Avalera Brazil. Brazilian taxes are calculated when the merchant has AvaBrazil credentials and the “sales_tax_address” country is ‘BR’. You can have in the same merchant configuration for both AvaTax and Avalara Brazil Note: Merchants that want to use Avalara Brazil, must have a country defined for the Merchant In order for the system to calculate taxes for Brazil, the following should apply:
  • Every merchant customer must include a complete Brazilian address, including postalCode.( the three lines of the address must be filled.)
  • Every merchant customer must have a named value “vin:BrazilTax.federalTaxId”: 1234567890987654321
  • Every taxable item should either leave the category empty or set it to “Service”
Merchant Configuration will include the credentials, and either a decision rule or the name value pairs - that will indicate the system to follow a separate path for Brazil addresses.

Avalara Brazil Name-Value Pairs

Decision Rule Format

Use the following format: DecisionRule type SalesTax_AvaBrazil IF _.caller = ‘calculate_tax’ AND _.addr.country = ‘BR’ THEN rule = {“header.entity.federalTaxId” => ‘12345678987654321’,“lines.#.itemCode” => ‘D100’} STOP Credentials: Parent topic:Taxes