Taxations
Get all taxations
Returns all taxations supported in tax environments.
Request
[PlatformAddress]/api/connector/v1/taxations/getAll
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Taxation | required | The supported taxations. |
| array of Tax rate | required | The supported tax rates. |
Taxation
Taxation represents set of Tax rates within Tax environment.
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Code of the taxation. |
| string | required | Name of the taxation. |
| string | required | Local name of the taxation. |
Tax rate
Definition of single tax rate.
Property | Type | Contract | Description |
---|---|---|---|
| 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. |
| string | required | Code of the Taxation the rate is part of. |
| object Tax rate strategy | required | Tax strategy type, e.g. relative, flat or dependent. |
Tax rate strategy
Property | Type | Contract | Description |
---|---|---|---|
| required | If tax rate is flat, relative or dependent. | |
| object | required | Structure of the object depends on Tax rate strategy discriminator. |
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
Property | Type | Contract | Description |
---|---|---|---|
| number | required | Absolute value of tax. |
| string | required | Code of Currency. |
Relative tax rate strategy data
Property | Type | Contract | Description |
---|---|---|---|
| decimal | required | Tax rate, e.g. |
Dependent tax rate strategy data
Property | Type | Contract | Description |
---|---|---|---|
| array of string | required | Codes of the taxations that are included in the base of calculation. |
| decimal | required | Tax rate, e.g. |
Last updated