Connector API
Search…
Tax environments

Get all tax environments

Returns all tax environments supported by the API.

Request

[PlatformAddress]/api/connector/v1/taxenvironments/getAll
1
{
2
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
3
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
4
"Client": "Sample Client 1.0.0"
5
}
Copied!
Property
Type
Contract
Description
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

1
{
2
"TaxEnvironments": [
3
{
4
"Code": "AT-2020",
5
"CountryCode": "AUT",
6
"TaxationCodes": [
7
"AT-2020",
8
"AT-2020-Extra"
9
],
10
"ValidityStartUtc": "2020-06-30T22:00:00Z",
11
"ValidityEndUtc": null
12
},
13
{
14
"Code": "AT-2016",
15
"CountryCode": "AUT",
16
"TaxationCodes": [
17
"AT-2016"
18
]
19
"ValidityStartUtc": "2016-05-01T00:00:00Z",
20
"ValidityEndUtc": "2020-06-30T22:00:00Z"
21
},
22
{
23
"Code": "AT",
24
"CountryCode": "AUT",
25
"TaxationCodes": [
26
"AT"
27
],
28
"ValidityStartUtc": null,
29
"ValidityEndUtc": "2016-05-01T00:00:00Z"
30
}
31
]
32
}
Copied!
Property
Type
Contract
Description
TaxEnvironments
array of Tax environment
required
The supported tax environments.

Tax environment

Tax environment represents set of Taxations together with optional validity interval.
Property
Type
Contract
Description
Code
string
required
Code of the tax environment.
CountryCode
string
required
ISO 3166-1 alpha-3 code of associated country, e.g. USA or GBR.
TaxationCodes
array of string
required
Codes of the Taxations that are used by this environment.
ValidityStartUtc
string
optional
If specified, marks the start of the validity interval in UTC timezone in ISO 8601 format.
ValidityEndUtc
string
optional
If specified, marks the end of the validity interval in UTC timezone in ISO 8601 format.
Last modified 3mo ago