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": "85cedf97-3d93-4b77-9229-c96c9f02c7af",
"NetworkId": "d35922a6-c51f-49c9-8a7c-d6273cec68a1",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "13a294e1-473f-4443-a1e1-ddbfae800079",
"NetworkId": "979c427f-6a5a-4fde-a037-4aff77052626",
"TaxId": "2f4b1514-6fd9-4fee-aefb-ce517160c9d0",
"Amount": 4.0,
"DateFrom": "2026-09-10T10:27:59.0750594Z",
"DateTo": "2026-09-10T10:27:59.0750594Z",
"DisplayDateFrom": "2026/09/10 10:27:59",
"DisplayDateTo": "2026/09/10 10:27:59"
},
{
"Id": "13a294e1-473f-4443-a1e1-ddbfae800079",
"NetworkId": "979c427f-6a5a-4fde-a037-4aff77052626",
"TaxId": "2f4b1514-6fd9-4fee-aefb-ce517160c9d0",
"Amount": 4.0,
"DateFrom": "2026-09-10T10:27:59.0750594Z",
"DateTo": "2026-09-10T10:27:59.0750594Z",
"DisplayDateFrom": "2026/09/10 10:27:59",
"DisplayDateTo": "2026/09/10 10:27:59"
}
],
"TaxBillingConfiguration": {
"Id": "3ce0fbdd-e1f7-4db6-a7e1-910626d9b566",
"TaxId": "9901aac8-6f7e-4c1e-a897-47490c685210",
"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>85cedf97-3d93-4b77-9229-c96c9f02c7af</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>d35922a6-c51f-49c9-8a7c-d6273cec68a1</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>3ce0fbdd-e1f7-4db6-a7e1-910626d9b566</Id>
<TaxId>9901aac8-6f7e-4c1e-a897-47490c685210</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-09-10T10:27:59.0750594Z</DateFrom>
<DateTo>2026-09-10T10:27:59.0750594Z</DateTo>
<Id>13a294e1-473f-4443-a1e1-ddbfae800079</Id>
<NetworkId>979c427f-6a5a-4fde-a037-4aff77052626</NetworkId>
<TaxId>2f4b1514-6fd9-4fee-aefb-ce517160c9d0</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-09-10T10:27:59.0750594Z</DateFrom>
<DateTo>2026-09-10T10:27:59.0750594Z</DateTo>
<Id>13a294e1-473f-4443-a1e1-ddbfae800079</Id>
<NetworkId>979c427f-6a5a-4fde-a037-4aff77052626</NetworkId>
<TaxId>2f4b1514-6fd9-4fee-aefb-ce517160c9d0</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": "4b32adde-2277-43d1-a5ca-2c3ea2944ebf",
"NetworkId": "738ba11a-2621-4807-8702-baa81d5ecde0",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "259028e2-41ed-4133-a8f4-940926974ebc",
"NetworkId": "16f91380-cc7b-4470-bd1b-d6a79afe7185",
"TaxId": "30486823-7b14-49b9-9b35-5e8d21385cec",
"Amount": 4.0,
"DateFrom": "2026-09-10T10:27:59.0906837Z",
"DateTo": "2026-09-10T10:27:59.0906837Z",
"DisplayDateFrom": "2026/09/10 10:27:59",
"DisplayDateTo": "2026/09/10 10:27:59"
},
{
"Id": "259028e2-41ed-4133-a8f4-940926974ebc",
"NetworkId": "16f91380-cc7b-4470-bd1b-d6a79afe7185",
"TaxId": "30486823-7b14-49b9-9b35-5e8d21385cec",
"Amount": 4.0,
"DateFrom": "2026-09-10T10:27:59.0906837Z",
"DateTo": "2026-09-10T10:27:59.0906837Z",
"DisplayDateFrom": "2026/09/10 10:27:59",
"DisplayDateTo": "2026/09/10 10:27:59"
}
],
"TaxBillingConfiguration": {
"Id": "4a6d377f-713c-48a9-9f6c-d5e0200648ea",
"TaxId": "1f3efad0-80b7-4a49-bab2-0920755d2931",
"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>4b32adde-2277-43d1-a5ca-2c3ea2944ebf</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>738ba11a-2621-4807-8702-baa81d5ecde0</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>4a6d377f-713c-48a9-9f6c-d5e0200648ea</Id>
<TaxId>1f3efad0-80b7-4a49-bab2-0920755d2931</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-09-10T10:27:59.0906837Z</DateFrom>
<DateTo>2026-09-10T10:27:59.0906837Z</DateTo>
<Id>259028e2-41ed-4133-a8f4-940926974ebc</Id>
<NetworkId>16f91380-cc7b-4470-bd1b-d6a79afe7185</NetworkId>
<TaxId>30486823-7b14-49b9-9b35-5e8d21385cec</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-09-10T10:27:59.0906837Z</DateFrom>
<DateTo>2026-09-10T10:27:59.0906837Z</DateTo>
<Id>259028e2-41ed-4133-a8f4-940926974ebc</Id>
<NetworkId>16f91380-cc7b-4470-bd1b-d6a79afe7185</NetworkId>
<TaxId>30486823-7b14-49b9-9b35-5e8d21385cec</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>