Taxations
Get all taxations
Returns all taxations supported in tax environments.
Request
[PlatformAddress]/api/connector/v1/taxations/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
Response
Taxation
Taxation represents set of Tax rates within Tax environment.
Code
string
required
Code of the taxation.
Name
string
required
Name of the taxation.
LocalName
string
required
Local name of the taxation.
Tax rate
Definition of single tax rate.
Code
string
required
Code of the tax rate. To be used when posting revenue items which should be accompanied by the tax rate(s) applicable to the nature of the item and the tax environment.
Tax rate strategy
Discriminator
required
If tax rate is flat, relative or dependent.
Tax rate strategy discriminator
Flat
- Used with Flat tax rate strategy data (e.g. 5.00 EUR).Relative
- Used with Relative tax rate strategy data (e.g. 21%). Relative tax is calculated only from net base value.Dependent
- Used with Dependent tax rate strategy data (e.g. 10%). Dependent tax is calculated from net base value and all taxes it depends on.
Tax rate strategy data
Flat tax rate strategy data
Value
number
required
Absolute value of tax.
Relative tax rate strategy data
Value
decimal
required
Tax rate, e.g. 0.21
in case of 21% tax rate.
Dependent tax rate strategy data
BaseTaxationCodes
array of string
required
Codes of the taxations that are included in the base of calculation.
Value
decimal
required
Tax rate, e.g. 0.1
in case of 10% tax rate.
Last updated