# Top Calculation Endpoints

Source: https://developer.avalara.com/services-calculation-en/before_you_begin/resources/api_reference/

# Top Calculation Endpoints

POST simulations

This transaction is responsible for simulating a calculation, but it does not save the transaction in our database.

https://avataxbr.sandbox.avalarabrasil.com.br/v3/simulations

POST calculations

This transaction is responsible for simulating a calculation and also saving the transaction in our database.

https://avataxbr.sandbox.avalarabrasil.com.br/v3/calculations

POST transactions

This transaction is responsible for simulating a calculation and also issuing an electronic invoice communicating with the Brazilian authority.

 https://avataxbr.sandbox.avalarabrasil.com.br/v3/transactions

GET transactions by message type

This transaction is responsible for retrieving a list of transactions according to the message type.

 https://avataxbr.sandbox.avalarabrasil.com.br/v3/transactions/{messageType}

GET transactions by document code

This transaction is responsible for retrieve transactions according to a specific message type and document code.

https://avataxbr.sandbox.avalarabrasil.com.br/v3/transactions/{messageType}/{documentCode}

DELETE transactions

This transaction is responsible for removing/deleting a transaction according to a specific message type and document code.

https://avataxbr.sandbox.avalarabrasil.com.br/v3/transactions/{messageType}/{documentCode}

[Previous](/for-review-only/en/leila-paul/services-calculation-en/before_you_begin/planning_your_integration)

[Next](/for-review-only/en/leila-paul/services-calculation-en/before_you_begin/resources/certification_badges)