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": "ac23e9ab-bcdd-47fc-b32a-5f7a67f73a72",
"NetworkId": "de238def-b28a-417c-8ac0-631d7c2ad651",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "3e115e7c-bcf3-4358-9902-21c958edd079",
"NetworkId": "203884b1-2540-4a43-9e1f-c5e11120ac92",
"TaxId": "42974d0f-4406-44e8-99c3-4d47b98b48ff",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:29:45.7187288Z",
"DateTo": "2026-03-13T12:29:45.7187288Z",
"DisplayDateFrom": "2026/03/13 12:29:45",
"DisplayDateTo": "2026/03/13 12:29:45"
},
{
"Id": "3e115e7c-bcf3-4358-9902-21c958edd079",
"NetworkId": "203884b1-2540-4a43-9e1f-c5e11120ac92",
"TaxId": "42974d0f-4406-44e8-99c3-4d47b98b48ff",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:29:45.7187288Z",
"DateTo": "2026-03-13T12:29:45.7187288Z",
"DisplayDateFrom": "2026/03/13 12:29:45",
"DisplayDateTo": "2026/03/13 12:29:45"
}
],
"TaxBillingConfiguration": {
"Id": "96f9fe27-711b-479b-80fc-5c8400e611b5",
"TaxId": "26f4b348-ecc2-45de-8b1f-b975d4aa4d51",
"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>ac23e9ab-bcdd-47fc-b32a-5f7a67f73a72</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>de238def-b28a-417c-8ac0-631d7c2ad651</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>96f9fe27-711b-479b-80fc-5c8400e611b5</Id>
<TaxId>26f4b348-ecc2-45de-8b1f-b975d4aa4d51</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:29:45.7187288Z</DateFrom>
<DateTo>2026-03-13T12:29:45.7187288Z</DateTo>
<Id>3e115e7c-bcf3-4358-9902-21c958edd079</Id>
<NetworkId>203884b1-2540-4a43-9e1f-c5e11120ac92</NetworkId>
<TaxId>42974d0f-4406-44e8-99c3-4d47b98b48ff</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:29:45.7187288Z</DateFrom>
<DateTo>2026-03-13T12:29:45.7187288Z</DateTo>
<Id>3e115e7c-bcf3-4358-9902-21c958edd079</Id>
<NetworkId>203884b1-2540-4a43-9e1f-c5e11120ac92</NetworkId>
<TaxId>42974d0f-4406-44e8-99c3-4d47b98b48ff</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": "403b7164-5c09-4488-a966-7557806ba483",
"NetworkId": "c021c493-8228-4439-ad72-3fc6c3c1b3dc",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "9f3670c5-1198-4ec0-9f3f-c5a9dfb16596",
"NetworkId": "e2b37df5-e030-452b-8090-474e05addb70",
"TaxId": "94a88f3e-25b8-4348-8546-654266815db9",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:29:45.7187288Z",
"DateTo": "2026-03-13T12:29:45.7187288Z",
"DisplayDateFrom": "2026/03/13 12:29:45",
"DisplayDateTo": "2026/03/13 12:29:45"
},
{
"Id": "9f3670c5-1198-4ec0-9f3f-c5a9dfb16596",
"NetworkId": "e2b37df5-e030-452b-8090-474e05addb70",
"TaxId": "94a88f3e-25b8-4348-8546-654266815db9",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:29:45.7187288Z",
"DateTo": "2026-03-13T12:29:45.7187288Z",
"DisplayDateFrom": "2026/03/13 12:29:45",
"DisplayDateTo": "2026/03/13 12:29:45"
}
],
"TaxBillingConfiguration": {
"Id": "890ebaba-214f-4edf-a41b-5201e8ed8bb6",
"TaxId": "251e8224-b18c-4236-a9e9-15c0b26b6a11",
"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>403b7164-5c09-4488-a966-7557806ba483</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>c021c493-8228-4439-ad72-3fc6c3c1b3dc</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>890ebaba-214f-4edf-a41b-5201e8ed8bb6</Id>
<TaxId>251e8224-b18c-4236-a9e9-15c0b26b6a11</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:29:45.7187288Z</DateFrom>
<DateTo>2026-03-13T12:29:45.7187288Z</DateTo>
<Id>9f3670c5-1198-4ec0-9f3f-c5a9dfb16596</Id>
<NetworkId>e2b37df5-e030-452b-8090-474e05addb70</NetworkId>
<TaxId>94a88f3e-25b8-4348-8546-654266815db9</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:29:45.7187288Z</DateFrom>
<DateTo>2026-03-13T12:29:45.7187288Z</DateTo>
<Id>9f3670c5-1198-4ec0-9f3f-c5a9dfb16596</Id>
<NetworkId>e2b37df5-e030-452b-8090-474e05addb70</NetworkId>
<TaxId>94a88f3e-25b8-4348-8546-654266815db9</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>