POST Taxes
Creates a new tax.
Request Information
URI Parameters
None.
Body Parameters
The data of the tax.
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8d11c2a6-304d-4d7e-b28f-b6c9a11b2441",
"NetworkId": "1470db45-a5e0-4619-a3f0-b36a9751454d",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "c89b228e-50e6-48f7-b4b0-3746eecece77",
"NetworkId": "8170a75f-e8cc-42b4-ae03-7c81579904cd",
"TaxId": "cd880259-80c5-4f84-bb27-edde4709eb31",
"Amount": 4.0,
"DateFrom": "2026-06-12T01:27:05.6747342Z",
"DateTo": "2026-06-12T01:27:05.6747342Z",
"DisplayDateFrom": "2026/06/12 01:27:05",
"DisplayDateTo": "2026/06/12 01:27:05"
},
{
"Id": "c89b228e-50e6-48f7-b4b0-3746eecece77",
"NetworkId": "8170a75f-e8cc-42b4-ae03-7c81579904cd",
"TaxId": "cd880259-80c5-4f84-bb27-edde4709eb31",
"Amount": 4.0,
"DateFrom": "2026-06-12T01:27:05.6747342Z",
"DateTo": "2026-06-12T01:27:05.6747342Z",
"DisplayDateFrom": "2026/06/12 01:27:05",
"DisplayDateTo": "2026/06/12 01:27:05"
}
],
"TaxBillingConfiguration": {
"Id": "ce050ba4-cc4e-4b03-a3dd-e7622b898a7d",
"TaxId": "d0cf2ca9-4233-4217-939b-5d09711f7825",
"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>8d11c2a6-304d-4d7e-b28f-b6c9a11b2441</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>1470db45-a5e0-4619-a3f0-b36a9751454d</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>ce050ba4-cc4e-4b03-a3dd-e7622b898a7d</Id>
<TaxId>d0cf2ca9-4233-4217-939b-5d09711f7825</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-06-12T01:27:05.6747342Z</DateFrom>
<DateTo>2026-06-12T01:27:05.6747342Z</DateTo>
<Id>c89b228e-50e6-48f7-b4b0-3746eecece77</Id>
<NetworkId>8170a75f-e8cc-42b4-ae03-7c81579904cd</NetworkId>
<TaxId>cd880259-80c5-4f84-bb27-edde4709eb31</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-06-12T01:27:05.6747342Z</DateFrom>
<DateTo>2026-06-12T01:27:05.6747342Z</DateTo>
<Id>c89b228e-50e6-48f7-b4b0-3746eecece77</Id>
<NetworkId>8170a75f-e8cc-42b4-ae03-7c81579904cd</NetworkId>
<TaxId>cd880259-80c5-4f84-bb27-edde4709eb31</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the tax as TaxDto and the link to de tax.
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": "2b0cd5bf-187a-4daa-a620-27f2d5946b26",
"NetworkId": "dae8a517-ca29-42ba-ba94-76dac7ee7766",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "7c9055fc-0f78-4a44-a036-66875d47202c",
"NetworkId": "20a88113-d203-4059-ab27-88de8153efe2",
"TaxId": "099100c7-dbc4-4224-adb7-ddf2b3bb8cec",
"Amount": 4.0,
"DateFrom": "2026-06-12T01:27:05.6902895Z",
"DateTo": "2026-06-12T01:27:05.6902895Z",
"DisplayDateFrom": "2026/06/12 01:27:05",
"DisplayDateTo": "2026/06/12 01:27:05"
},
{
"Id": "7c9055fc-0f78-4a44-a036-66875d47202c",
"NetworkId": "20a88113-d203-4059-ab27-88de8153efe2",
"TaxId": "099100c7-dbc4-4224-adb7-ddf2b3bb8cec",
"Amount": 4.0,
"DateFrom": "2026-06-12T01:27:05.6902895Z",
"DateTo": "2026-06-12T01:27:05.6902895Z",
"DisplayDateFrom": "2026/06/12 01:27:05",
"DisplayDateTo": "2026/06/12 01:27:05"
}
],
"TaxBillingConfiguration": {
"Id": "7872d9f4-f771-4a83-94ed-13efd9f39d9b",
"TaxId": "9f587f43-16e6-4732-bf99-7ff36f087e23",
"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>2b0cd5bf-187a-4daa-a620-27f2d5946b26</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>dae8a517-ca29-42ba-ba94-76dac7ee7766</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>7872d9f4-f771-4a83-94ed-13efd9f39d9b</Id>
<TaxId>9f587f43-16e6-4732-bf99-7ff36f087e23</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-06-12T01:27:05.6902895Z</DateFrom>
<DateTo>2026-06-12T01:27:05.6902895Z</DateTo>
<Id>7c9055fc-0f78-4a44-a036-66875d47202c</Id>
<NetworkId>20a88113-d203-4059-ab27-88de8153efe2</NetworkId>
<TaxId>099100c7-dbc4-4224-adb7-ddf2b3bb8cec</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-06-12T01:27:05.6902895Z</DateFrom>
<DateTo>2026-06-12T01:27:05.6902895Z</DateTo>
<Id>7c9055fc-0f78-4a44-a036-66875d47202c</Id>
<NetworkId>20a88113-d203-4059-ab27-88de8153efe2</NetworkId>
<TaxId>099100c7-dbc4-4224-adb7-ddf2b3bb8cec</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>