> This page is for Documentation, version Integration guides (default).
> For other versions, use one of these documentation indexes:
> - Integration guides (default): https://avalara.ferndocs.com/docs/integration-guides/llms.txt
> - Refactor guides: https://avalara.ferndocs.com/docs/refactor-guides/llms.txt
> - Get certified: https://avalara.ferndocs.com/docs/get-certified/llms.txt
> - Agent to Agent (A2A): https://avalara.ferndocs.com/docs/agent-to-agent-a2a/llms.txt
> - AI use cases: https://avalara.ferndocs.com/docs/ai-use-cases/llms.txt
> - API versioning: https://avalara.ferndocs.com/docs/api-versioning/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://avalara.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://avalara.ferndocs.com/_mcp/server.

# Concepts

The calculation model and the taxability, exemption, rates, and benefits decisions adopted by Avatax Brasil involve decisions based on attributes or characteristics that come from both the operating establishment generating the transaction, the item being traded and the participants in the transaction.

Bellow, you will find the main attributes that are necessary to be informed to obtain the calculation response:

* Address of the company
* Address of customer or vendor
* Company Type (Business, Government, Individual)
* Customer or Vendor Type (Business, Government, Individual)
* Service City Code according to LC116 (Brazilian Legislation)
* Place where the service will take place

**Rule type**

![](https://www.avalara.com/content/dam/assets/ui/screenshots/calculation_rules_services01.png)

**New rule**

![](https://www.avalara.com/content/dam/assets/ui/screenshots/calculation_rules_services02.png)

**Research legal reasoning**

![](https://www.avalara.com/content/dam/assets/ui/screenshots/calculation_rules_services03.png)

**Legal reasoning**

![](https://www.avalara.com/content/dam/assets/ui/screenshots/calculation_rule_services04.png)

[Previous](https://developer.avalara.com/for-review-only/en/leila-paul/services-calculation-en/errors/avatax_error_handling)

[Next](https://developer.avalara.com/for-review-only/en/leila-paul/services-calculation-en/concepts/calculation_rules)

> **Note**
>
> Part of the **Services Calculation** integration guide. [Open the full "Concepts" milestone on Avalara](https://developer.avalara.com/services-calculation-en/concepts/) to see every page in this section.