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": "55d835e0-f126-46b8-b621-3f0564716dfa",
"NetworkId": "cccd4c41-1540-420f-8fa1-2a64a1ccd49b",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "bb293395-f571-4768-b053-ccc9fbf602e0",
"NetworkId": "b32bd3f0-0106-4429-a67b-fbf60dc0a11c",
"TaxId": "2e8a25e9-a9ec-4d31-b2bd-4c9c04ba4547",
"Amount": 4.0,
"DateFrom": "2026-04-27T21:37:43.2904923Z",
"DateTo": "2026-04-27T21:37:43.2904923Z",
"DisplayDateFrom": "2026/04/27 21:37:43",
"DisplayDateTo": "2026/04/27 21:37:43"
},
{
"Id": "bb293395-f571-4768-b053-ccc9fbf602e0",
"NetworkId": "b32bd3f0-0106-4429-a67b-fbf60dc0a11c",
"TaxId": "2e8a25e9-a9ec-4d31-b2bd-4c9c04ba4547",
"Amount": 4.0,
"DateFrom": "2026-04-27T21:37:43.2904923Z",
"DateTo": "2026-04-27T21:37:43.2904923Z",
"DisplayDateFrom": "2026/04/27 21:37:43",
"DisplayDateTo": "2026/04/27 21:37:43"
}
],
"TaxBillingConfiguration": {
"Id": "a3fdc07c-a36a-488a-997a-68e4830b19b3",
"TaxId": "2e6c59e5-3c13-4e4e-9d54-29c5f7a70605",
"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>55d835e0-f126-46b8-b621-3f0564716dfa</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>cccd4c41-1540-420f-8fa1-2a64a1ccd49b</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>a3fdc07c-a36a-488a-997a-68e4830b19b3</Id>
<TaxId>2e6c59e5-3c13-4e4e-9d54-29c5f7a70605</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T21:37:43.2904923Z</DateFrom>
<DateTo>2026-04-27T21:37:43.2904923Z</DateTo>
<Id>bb293395-f571-4768-b053-ccc9fbf602e0</Id>
<NetworkId>b32bd3f0-0106-4429-a67b-fbf60dc0a11c</NetworkId>
<TaxId>2e8a25e9-a9ec-4d31-b2bd-4c9c04ba4547</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T21:37:43.2904923Z</DateFrom>
<DateTo>2026-04-27T21:37:43.2904923Z</DateTo>
<Id>bb293395-f571-4768-b053-ccc9fbf602e0</Id>
<NetworkId>b32bd3f0-0106-4429-a67b-fbf60dc0a11c</NetworkId>
<TaxId>2e8a25e9-a9ec-4d31-b2bd-4c9c04ba4547</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": "e97325e5-2ecd-4d5f-8a2f-d11f1da246b1",
"NetworkId": "5c116073-ce9f-4cec-8e56-235e4784d233",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "342b8095-1824-4347-ae14-d238b088ca51",
"NetworkId": "70054638-cc8c-453e-ade7-a69bbf4c68cc",
"TaxId": "b31fec29-b070-4279-ac0a-38a586d128f7",
"Amount": 4.0,
"DateFrom": "2026-04-27T21:37:43.3061177Z",
"DateTo": "2026-04-27T21:37:43.3061177Z",
"DisplayDateFrom": "2026/04/27 21:37:43",
"DisplayDateTo": "2026/04/27 21:37:43"
},
{
"Id": "342b8095-1824-4347-ae14-d238b088ca51",
"NetworkId": "70054638-cc8c-453e-ade7-a69bbf4c68cc",
"TaxId": "b31fec29-b070-4279-ac0a-38a586d128f7",
"Amount": 4.0,
"DateFrom": "2026-04-27T21:37:43.3061177Z",
"DateTo": "2026-04-27T21:37:43.3061177Z",
"DisplayDateFrom": "2026/04/27 21:37:43",
"DisplayDateTo": "2026/04/27 21:37:43"
}
],
"TaxBillingConfiguration": {
"Id": "cc673ff2-1e84-4fee-88e8-ba66ca0f4538",
"TaxId": "76a31b86-74fc-47d0-a520-2e3a56fac7bc",
"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>e97325e5-2ecd-4d5f-8a2f-d11f1da246b1</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>5c116073-ce9f-4cec-8e56-235e4784d233</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>cc673ff2-1e84-4fee-88e8-ba66ca0f4538</Id>
<TaxId>76a31b86-74fc-47d0-a520-2e3a56fac7bc</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T21:37:43.3061177Z</DateFrom>
<DateTo>2026-04-27T21:37:43.3061177Z</DateTo>
<Id>342b8095-1824-4347-ae14-d238b088ca51</Id>
<NetworkId>70054638-cc8c-453e-ade7-a69bbf4c68cc</NetworkId>
<TaxId>b31fec29-b070-4279-ac0a-38a586d128f7</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T21:37:43.3061177Z</DateFrom>
<DateTo>2026-04-27T21:37:43.3061177Z</DateTo>
<Id>342b8095-1824-4347-ae14-d238b088ca51</Id>
<NetworkId>70054638-cc8c-453e-ade7-a69bbf4c68cc</NetworkId>
<TaxId>b31fec29-b070-4279-ac0a-38a586d128f7</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>