Tax calculation

Calculating net and gross values for prices

put

Supports the following calculation operations for prices:

  • Net to gross values

  • Gross to net values

  • Gross values in one country to gross values in another country

Note: This endpoint calculates net and gross values for prices based on existing tax configurations. To use this endpoint, you need to create tax configurations first.

  • To calculate gross values beetween countries, you need to create tax configurations for both countries.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to create, update, and delete tax configurations.
  • : Needed to retrieve tax configurations.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Body
commandUuidstringOptional

Calculation command's unique identifier.

Note: This field is optional. If not specified, the commandUuid will be generated by the server.

Responses
200

The request was successful. The calculated value is returned.

application/json
put
/tax/{tenant}/taxes/calculation-commands

Last updated

Was this helpful?