POST api/TaxCalculationWithObject
Request Information
URI Parameters
None.
Body Parameters
Collection of C_TaxCalculationWithObjectName | Description | Type | Additional information |
---|---|---|---|
ItemCode | string |
None. |
|
Amount | decimal number |
None. |
|
AtaxCode | string |
None. |
|
Date | date |
None. |
|
LineNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ItemCode": "sample string 1", "Amount": 2.0, "AtaxCode": "sample string 3", "Date": "2025-03-28T14:48:10.3321791+00:00", "LineNo": 4 }, { "ItemCode": "sample string 1", "Amount": 2.0, "AtaxCode": "sample string 3", "Date": "2025-03-28T14:48:10.3321791+00:00", "LineNo": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfC_TaxCalculationWithObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <C_TaxCalculationWithObject> <Amount>2</Amount> <AtaxCode>sample string 3</AtaxCode> <Date>2025-03-28T14:48:10.3321791+00:00</Date> <ItemCode>sample string 1</ItemCode> <LineNo>4</LineNo> </C_TaxCalculationWithObject> <C_TaxCalculationWithObject> <Amount>2</Amount> <AtaxCode>sample string 3</AtaxCode> <Date>2025-03-28T14:48:10.3321791+00:00</Date> <ItemCode>sample string 1</ItemCode> <LineNo>4</LineNo> </C_TaxCalculationWithObject> </ArrayOfC_TaxCalculationWithObject>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of CalculateTaxViewName | Description | Type | Additional information |
---|---|---|---|
ItemCode | string |
None. |
|
TaxCode | string |
None. |
|
TaxRate | decimal number |
None. |
|
TaxAmount | decimal number |
None. |
|
TaxLine | integer |
None. |
|
ItemLineNo | integer |
None. |
|
ATaxCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ItemCode": "sample string 1", "TaxCode": "sample string 2", "TaxRate": 3.0, "TaxAmount": 4.0, "TaxLine": 5, "ItemLineNo": 6, "ATaxCode": "sample string 7" }, { "ItemCode": "sample string 1", "TaxCode": "sample string 2", "TaxRate": 3.0, "TaxAmount": 4.0, "TaxLine": 5, "ItemLineNo": 6, "ATaxCode": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfCalculateTaxView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <CalculateTaxView> <ATaxCode>sample string 7</ATaxCode> <ItemCode>sample string 1</ItemCode> <ItemLineNo>6</ItemLineNo> <TaxAmount>4</TaxAmount> <TaxCode>sample string 2</TaxCode> <TaxLine>5</TaxLine> <TaxRate>3</TaxRate> </CalculateTaxView> <CalculateTaxView> <ATaxCode>sample string 7</ATaxCode> <ItemCode>sample string 1</ItemCode> <ItemLineNo>6</ItemLineNo> <TaxAmount>4</TaxAmount> <TaxCode>sample string 2</TaxCode> <TaxLine>5</TaxLine> <TaxRate>3</TaxRate> </CalculateTaxView> </ArrayOfCalculateTaxView>