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": "3b799788-c95a-412e-8c97-252a365be9b8",
"NetworkId": "06d7b7df-2ef1-47bf-8d0e-e6f7e4ba8564",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "f9d4e389-89eb-4a74-b8e8-a46c89ed672a",
"NetworkId": "0434bedc-2f87-4f8e-962d-95336cc6df32",
"TaxId": "867acf93-02a5-4b78-928c-bd8234927e10",
"Amount": 4.0,
"DateFrom": "2025-12-13T23:54:48.9645125Z",
"DateTo": "2025-12-13T23:54:48.9645125Z",
"DisplayDateFrom": "2025/12/13 23:54:48",
"DisplayDateTo": "2025/12/13 23:54:48"
},
{
"Id": "f9d4e389-89eb-4a74-b8e8-a46c89ed672a",
"NetworkId": "0434bedc-2f87-4f8e-962d-95336cc6df32",
"TaxId": "867acf93-02a5-4b78-928c-bd8234927e10",
"Amount": 4.0,
"DateFrom": "2025-12-13T23:54:48.9645125Z",
"DateTo": "2025-12-13T23:54:48.9645125Z",
"DisplayDateFrom": "2025/12/13 23:54:48",
"DisplayDateTo": "2025/12/13 23:54:48"
}
],
"TaxBillingConfiguration": {
"Id": "7e5161ba-6c7d-4bda-ac11-fe39b755ea26",
"TaxId": "bec711ee-b49c-4b08-b448-568a7f0515bb",
"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>3b799788-c95a-412e-8c97-252a365be9b8</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>06d7b7df-2ef1-47bf-8d0e-e6f7e4ba8564</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>7e5161ba-6c7d-4bda-ac11-fe39b755ea26</Id>
<TaxId>bec711ee-b49c-4b08-b448-568a7f0515bb</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-13T23:54:48.9645125Z</DateFrom>
<DateTo>2025-12-13T23:54:48.9645125Z</DateTo>
<Id>f9d4e389-89eb-4a74-b8e8-a46c89ed672a</Id>
<NetworkId>0434bedc-2f87-4f8e-962d-95336cc6df32</NetworkId>
<TaxId>867acf93-02a5-4b78-928c-bd8234927e10</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-13T23:54:48.9645125Z</DateFrom>
<DateTo>2025-12-13T23:54:48.9645125Z</DateTo>
<Id>f9d4e389-89eb-4a74-b8e8-a46c89ed672a</Id>
<NetworkId>0434bedc-2f87-4f8e-962d-95336cc6df32</NetworkId>
<TaxId>867acf93-02a5-4b78-928c-bd8234927e10</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": "5e9c9ef8-4705-440b-82c8-a6b0248dc2f7",
"NetworkId": "12cd35fe-7722-4fd7-8c3a-14e778cc8648",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "03486bd1-9df9-4286-8614-8123fb3516af",
"NetworkId": "7576d528-eef5-423e-8b32-a25c0368804a",
"TaxId": "0773a970-8388-4d4e-b33d-a878a0ce9913",
"Amount": 4.0,
"DateFrom": "2025-12-13T23:54:48.9801372Z",
"DateTo": "2025-12-13T23:54:48.9801372Z",
"DisplayDateFrom": "2025/12/13 23:54:48",
"DisplayDateTo": "2025/12/13 23:54:48"
},
{
"Id": "03486bd1-9df9-4286-8614-8123fb3516af",
"NetworkId": "7576d528-eef5-423e-8b32-a25c0368804a",
"TaxId": "0773a970-8388-4d4e-b33d-a878a0ce9913",
"Amount": 4.0,
"DateFrom": "2025-12-13T23:54:48.9801372Z",
"DateTo": "2025-12-13T23:54:48.9801372Z",
"DisplayDateFrom": "2025/12/13 23:54:48",
"DisplayDateTo": "2025/12/13 23:54:48"
}
],
"TaxBillingConfiguration": {
"Id": "606ab632-6191-48bd-8351-4a25201bce85",
"TaxId": "7d3ae104-f0ad-4802-a6e4-8af4eb08ab74",
"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>5e9c9ef8-4705-440b-82c8-a6b0248dc2f7</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>12cd35fe-7722-4fd7-8c3a-14e778cc8648</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>606ab632-6191-48bd-8351-4a25201bce85</Id>
<TaxId>7d3ae104-f0ad-4802-a6e4-8af4eb08ab74</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-13T23:54:48.9801372Z</DateFrom>
<DateTo>2025-12-13T23:54:48.9801372Z</DateTo>
<Id>03486bd1-9df9-4286-8614-8123fb3516af</Id>
<NetworkId>7576d528-eef5-423e-8b32-a25c0368804a</NetworkId>
<TaxId>0773a970-8388-4d4e-b33d-a878a0ce9913</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2025-12-13T23:54:48.9801372Z</DateFrom>
<DateTo>2025-12-13T23:54:48.9801372Z</DateTo>
<Id>03486bd1-9df9-4286-8614-8123fb3516af</Id>
<NetworkId>7576d528-eef5-423e-8b32-a25c0368804a</NetworkId>
<TaxId>0773a970-8388-4d4e-b33d-a878a0ce9913</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>