POST Taxes
Creates a new tax.
Request Information
URI Parameters
None.
Body Parameters
The data of the tax.
TaxDtoName | 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": "a08f6e0c-a779-48c6-b218-3d424e63813f", "NetworkId": "88593b37-4b86-43f0-8573-bcc11dd965b5", "Code": "sample string 3", "Description": "sample string 4", "Type": 1, "Mode": 1, "UseMode": 1, "Active": true, "Included": true, "TaxValidities": [ { "Id": "b4582b27-a831-4659-b906-0eb29743378f", "NetworkId": "e62cf098-4344-4623-a276-bb733a15b9fb", "TaxId": "99942c4e-2a5b-4da7-a84d-31df718e2d6a", "Amount": 4.0, "DateFrom": "2025-09-13T07:59:48.1062834Z", "DateTo": "2025-09-13T07:59:48.1062834Z", "DisplayDateFrom": "2025/09/13 07:59:48", "DisplayDateTo": "2025/09/13 07:59:48" }, { "Id": "b4582b27-a831-4659-b906-0eb29743378f", "NetworkId": "e62cf098-4344-4623-a276-bb733a15b9fb", "TaxId": "99942c4e-2a5b-4da7-a84d-31df718e2d6a", "Amount": 4.0, "DateFrom": "2025-09-13T07:59:48.1062834Z", "DateTo": "2025-09-13T07:59:48.1062834Z", "DisplayDateFrom": "2025/09/13 07:59:48", "DisplayDateTo": "2025/09/13 07:59:48" } ], "TaxBillingConfiguration": { "Id": "40748b38-06d7-42c5-81b9-9e54c7195be4", "TaxId": "6d9856cb-cd75-4285-a65e-0ef98cf1b074", "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>a08f6e0c-a779-48c6-b218-3d424e63813f</Id> <Included>true</Included> <Mode>1</Mode> <NetworkId>88593b37-4b86-43f0-8573-bcc11dd965b5</NetworkId> <TaxBillingConfiguration> <BillingType>64</BillingType> <Code>sample string 2</Code> <Description>sample string 3</Description> <Factor>64</Factor> <Id>40748b38-06d7-42c5-81b9-9e54c7195be4</Id> <TaxId>6d9856cb-cd75-4285-a65e-0ef98cf1b074</TaxId> </TaxBillingConfiguration> <TaxValidities> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-09-13T07:59:48.1062834Z</DateFrom> <DateTo>2025-09-13T07:59:48.1062834Z</DateTo> <Id>b4582b27-a831-4659-b906-0eb29743378f</Id> <NetworkId>e62cf098-4344-4623-a276-bb733a15b9fb</NetworkId> <TaxId>99942c4e-2a5b-4da7-a84d-31df718e2d6a</TaxId> </TaxesValidityDto> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-09-13T07:59:48.1062834Z</DateFrom> <DateTo>2025-09-13T07:59:48.1062834Z</DateTo> <Id>b4582b27-a831-4659-b906-0eb29743378f</Id> <NetworkId>e62cf098-4344-4623-a276-bb733a15b9fb</NetworkId> <TaxId>99942c4e-2a5b-4da7-a84d-31df718e2d6a</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.
TaxDtoName | 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": "6b8de9c4-e8c4-4a87-be78-e96f46b6fb61", "NetworkId": "12157058-489b-477d-821f-a09c5bdb1c4f", "Code": "sample string 3", "Description": "sample string 4", "Type": 1, "Mode": 1, "UseMode": 1, "Active": true, "Included": true, "TaxValidities": [ { "Id": "3138f42f-4653-4495-bb12-15f212efd293", "NetworkId": "ce246f6b-1d98-414e-aac4-83ceec902829", "TaxId": "5896c488-be90-41a6-8b27-15867043c714", "Amount": 4.0, "DateFrom": "2025-09-13T07:59:48.1219039Z", "DateTo": "2025-09-13T07:59:48.1219039Z", "DisplayDateFrom": "2025/09/13 07:59:48", "DisplayDateTo": "2025/09/13 07:59:48" }, { "Id": "3138f42f-4653-4495-bb12-15f212efd293", "NetworkId": "ce246f6b-1d98-414e-aac4-83ceec902829", "TaxId": "5896c488-be90-41a6-8b27-15867043c714", "Amount": 4.0, "DateFrom": "2025-09-13T07:59:48.1219039Z", "DateTo": "2025-09-13T07:59:48.1219039Z", "DisplayDateFrom": "2025/09/13 07:59:48", "DisplayDateTo": "2025/09/13 07:59:48" } ], "TaxBillingConfiguration": { "Id": "43562013-e5d4-4f40-a180-2eda8869678f", "TaxId": "dc7e6228-936d-4752-9d4d-fbd26df8cb0c", "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>6b8de9c4-e8c4-4a87-be78-e96f46b6fb61</Id> <Included>true</Included> <Mode>1</Mode> <NetworkId>12157058-489b-477d-821f-a09c5bdb1c4f</NetworkId> <TaxBillingConfiguration> <BillingType>64</BillingType> <Code>sample string 2</Code> <Description>sample string 3</Description> <Factor>64</Factor> <Id>43562013-e5d4-4f40-a180-2eda8869678f</Id> <TaxId>dc7e6228-936d-4752-9d4d-fbd26df8cb0c</TaxId> </TaxBillingConfiguration> <TaxValidities> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-09-13T07:59:48.1219039Z</DateFrom> <DateTo>2025-09-13T07:59:48.1219039Z</DateTo> <Id>3138f42f-4653-4495-bb12-15f212efd293</Id> <NetworkId>ce246f6b-1d98-414e-aac4-83ceec902829</NetworkId> <TaxId>5896c488-be90-41a6-8b27-15867043c714</TaxId> </TaxesValidityDto> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-09-13T07:59:48.1219039Z</DateFrom> <DateTo>2025-09-13T07:59:48.1219039Z</DateTo> <Id>3138f42f-4653-4495-bb12-15f212efd293</Id> <NetworkId>ce246f6b-1d98-414e-aac4-83ceec902829</NetworkId> <TaxId>5896c488-be90-41a6-8b27-15867043c714</TaxId> </TaxesValidityDto> </TaxValidities> <Type>1</Type> <UseMode>1</UseMode> </TaxDto>