POST v2/TaxInclusiveCalculation
Reverse calculates and returns taxes for the catalog items supplied. Only valid for Tax Inclusive locations, which start with an 'out the door' price and applicable taxes are calculate to achieve that end price.
Information:
Base URL:
https://api.covasoft.net/taxes
Request Information
URI Parameters
None.
Body Parameters
The Catalog Items you want to get the Taxes for.
TIPTaxCalculationRequestName | Description | Type | Additional information |
---|---|---|---|
CompanyId |
Cova Company Id |
integer |
None. |
EntityId | integer |
None. |
|
LineItems | Collection of TIPRequestLineItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyId": 1, "EntityId": 2, "LineItems": [ { "CatalogId": "1be4dc13-86f0-43ef-8a41-8a660787f8c5", "Quantity": 2.1, "LineDollarAmount": 3.1, "PerUnitBasePriceListPrice": 4.1 }, { "CatalogId": "1be4dc13-86f0-43ef-8a41-8a660787f8c5", "Quantity": 2.1, "LineDollarAmount": 3.1, "PerUnitBasePriceListPrice": 4.1 } ] }
Response Information
Resource Description
The Taxes for the Catalog Items
TIPTaxCalculationResultName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CompanyId | integer |
None. |
|
EntityId | integer |
None. |
|
TaxCalculationDateUtc | date |
None. |
|
LineItems | Collection of TIPLineItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "CompanyId": 2, "EntityId": 3, "TaxCalculationDateUtc": "2024-11-07T08:46:45.5718755+00:00", "LineItems": [ { "CatalogId": "d279ba41-1b89-4ff2-892a-2710c6e90ada", "Quantity": 2.1, "LineDollarAmount": 3.1, "PerUnitBasePriceListPrice": 4.1, "Taxes": [ { "TaxId": "040caf87-0af3-4c2a-bfa5-6706f4893446", "TaxRateType": "sample string 2", "TaxCalculatedOn": "sample string 3", "Layer": 4, "Rate": 5.1, "TaxName": "sample string 6", "TaxDisplayName": "sample string 7", "LineTax": 8.1, "LineUnroundedTax": 9.1 }, { "TaxId": "040caf87-0af3-4c2a-bfa5-6706f4893446", "TaxRateType": "sample string 2", "TaxCalculatedOn": "sample string 3", "Layer": 4, "Rate": 5.1, "TaxName": "sample string 6", "TaxDisplayName": "sample string 7", "LineTax": 8.1, "LineUnroundedTax": 9.1 } ] }, { "CatalogId": "d279ba41-1b89-4ff2-892a-2710c6e90ada", "Quantity": 2.1, "LineDollarAmount": 3.1, "PerUnitBasePriceListPrice": 4.1, "Taxes": [ { "TaxId": "040caf87-0af3-4c2a-bfa5-6706f4893446", "TaxRateType": "sample string 2", "TaxCalculatedOn": "sample string 3", "Layer": 4, "Rate": 5.1, "TaxName": "sample string 6", "TaxDisplayName": "sample string 7", "LineTax": 8.1, "LineUnroundedTax": 9.1 }, { "TaxId": "040caf87-0af3-4c2a-bfa5-6706f4893446", "TaxRateType": "sample string 2", "TaxCalculatedOn": "sample string 3", "Layer": 4, "Rate": 5.1, "TaxName": "sample string 6", "TaxDisplayName": "sample string 7", "LineTax": 8.1, "LineUnroundedTax": 9.1 } ] } ] }