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": "4d8ed3db-cb75-4cb6-abdb-5465de88f132",
"NetworkId": "54e3beb0-d548-4550-9917-348aa2574a53",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "042159fe-13f4-4596-884d-8e91411b59e5",
"NetworkId": "b2c332eb-6abe-4095-a36d-1e8066473691",
"TaxId": "e2a873e6-a588-41b4-9ecb-1c9659c10883",
"Amount": 4.0,
"DateFrom": "2025-12-01T04:16:35.6827586Z",
"DateTo": "2025-12-01T04:16:35.6827586Z",
"DisplayDateFrom": "2025/12/01 04:16:35",
"DisplayDateTo": "2025/12/01 04:16:35"
},
{
"Id": "042159fe-13f4-4596-884d-8e91411b59e5",
"NetworkId": "b2c332eb-6abe-4095-a36d-1e8066473691",
"TaxId": "e2a873e6-a588-41b4-9ecb-1c9659c10883",
"Amount": 4.0,
"DateFrom": "2025-12-01T04:16:35.6827586Z",
"DateTo": "2025-12-01T04:16:35.6827586Z",
"DisplayDateFrom": "2025/12/01 04:16:35",
"DisplayDateTo": "2025/12/01 04:16:35"
}
],
"TaxBillingConfiguration": {
"Id": "bd04ca65-f8bf-4036-8e62-dd1772c59966",
"TaxId": "cc433fe2-3793-4960-aea2-e5c4ea289f9d",
"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>4d8ed3db-cb75-4cb6-abdb-5465de88f132</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>54e3beb0-d548-4550-9917-348aa2574a53</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>bd04ca65-f8bf-4036-8e62-dd1772c59966</Id>
<TaxId>cc433fe2-3793-4960-aea2-e5c4ea289f9d</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-01T04:16:35.6827586Z</DateFrom>
<DateTo>2025-12-01T04:16:35.6827586Z</DateTo>
<Id>042159fe-13f4-4596-884d-8e91411b59e5</Id>
<NetworkId>b2c332eb-6abe-4095-a36d-1e8066473691</NetworkId>
<TaxId>e2a873e6-a588-41b4-9ecb-1c9659c10883</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-01T04:16:35.6827586Z</DateFrom>
<DateTo>2025-12-01T04:16:35.6827586Z</DateTo>
<Id>042159fe-13f4-4596-884d-8e91411b59e5</Id>
<NetworkId>b2c332eb-6abe-4095-a36d-1e8066473691</NetworkId>
<TaxId>e2a873e6-a588-41b4-9ecb-1c9659c10883</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>