GET Taxes/{id}
Gets a tax by it's ID, represented as TaxDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the tax. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The tax data.
TaxDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| Type | integer |
None. |
|
| Mode | integer |
None. |
|
| UseMode | integer |
None. |
|
| Active | boolean |
None. |
|
| Included | boolean |
None. |
|
| TaxValidities | Collection of TaxesValidityDto |
None. |
|
| TaxBillingConfiguration | TaxesBillingConfigurationDto |
None. |
|
| CodeDescription | string |
None. |
|
| TypeDescription | string |
None. |
|
| CurrentValueString | string |
None. |
|
| ModeDescription | string |
None. |
|
| UseModeDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "39f9c895-0edb-4cc8-b828-37c2759a8b12",
"NetworkId": "48496aec-b370-4011-bc6d-4d827b9365eb",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "b14705ef-484f-4fcb-809a-9c0056836850",
"NetworkId": "8017b3d3-e93e-40a7-aefc-c1cf224536da",
"TaxId": "abe2339b-6d4c-444e-b809-273d8a9ba398",
"Amount": 4.0,
"DateFrom": "2025-11-28T02:37:06.5645957Z",
"DateTo": "2025-11-28T02:37:06.5645957Z",
"DisplayDateFrom": "2025/11/28 02:37:06",
"DisplayDateTo": "2025/11/28 02:37:06"
},
{
"Id": "b14705ef-484f-4fcb-809a-9c0056836850",
"NetworkId": "8017b3d3-e93e-40a7-aefc-c1cf224536da",
"TaxId": "abe2339b-6d4c-444e-b809-273d8a9ba398",
"Amount": 4.0,
"DateFrom": "2025-11-28T02:37:06.5645957Z",
"DateTo": "2025-11-28T02:37:06.5645957Z",
"DisplayDateFrom": "2025/11/28 02:37:06",
"DisplayDateTo": "2025/11/28 02:37:06"
}
],
"TaxBillingConfiguration": {
"Id": "743ebaab-7abd-44d3-9f3c-d32f9a9f91a2",
"TaxId": "f4b51fd6-b149-43a2-92b4-4d66f78cf788",
"BillingType": 64,
"Factor": 64,
"Code": "sample string 2",
"Description": "sample string 3"
},
"CodeDescription": "sample string 3 - sample string 4",
"TypeDescription": "Fixed Tax",
"CurrentValueString": "",
"ModeDescription": "Perceptions",
"UseModeDescription": "Merchant"
}
application/xml, text/xml
Sample:
<TaxDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<Active>true</Active>
<Code>sample string 3</Code>
<Description>sample string 4</Description>
<Id>39f9c895-0edb-4cc8-b828-37c2759a8b12</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>48496aec-b370-4011-bc6d-4d827b9365eb</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>743ebaab-7abd-44d3-9f3c-d32f9a9f91a2</Id>
<TaxId>f4b51fd6-b149-43a2-92b4-4d66f78cf788</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-11-28T02:37:06.5645957Z</DateFrom>
<DateTo>2025-11-28T02:37:06.5645957Z</DateTo>
<Id>b14705ef-484f-4fcb-809a-9c0056836850</Id>
<NetworkId>8017b3d3-e93e-40a7-aefc-c1cf224536da</NetworkId>
<TaxId>abe2339b-6d4c-444e-b809-273d8a9ba398</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-11-28T02:37:06.5645957Z</DateFrom>
<DateTo>2025-11-28T02:37:06.5645957Z</DateTo>
<Id>b14705ef-484f-4fcb-809a-9c0056836850</Id>
<NetworkId>8017b3d3-e93e-40a7-aefc-c1cf224536da</NetworkId>
<TaxId>abe2339b-6d4c-444e-b809-273d8a9ba398</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>