POST v2/TaxCalculation
Returns applicable taxes for the Catalog Items in the body of the call. Only valid for Tax Exclusive locations, which apply taxes in addition to the selling 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 see above for Example
TEPTaxCalculationRequest| Name | Description | Type | Additional information | 
|---|---|---|---|
| CompanyId | integer | None. | |
| EntityId | integer | None. | |
| LineItems | Collection of LineItem | None. | 
Request Formats
application/json, text/json
            Sample:
{
  "CompanyId": 1,
  "EntityId": 2,
  "LineItems": [
    {
      "LineNumber": 1,
      "ProductCatalogId": "375a87e7-1815-41db-b775-b0226538923c",
      "Quantity": 3.1,
      "Price": 4.1,
      "BasePriceListPrice": 5.1
    },
    {
      "LineNumber": 1,
      "ProductCatalogId": "375a87e7-1815-41db-b775-b0226538923c",
      "Quantity": 3.1,
      "Price": 4.1,
      "BasePriceListPrice": 5.1
    }
  ]
}
        Response Information
Resource Description
The Taxes for the Catalog Items
TEPTaxCalculationResult| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | globally unique identifier | None. | |
| SaleId | globally unique identifier | None. | |
| CompanyId | integer | None. | |
| EntityId | integer | None. | |
| LineItems | Collection of TaxLineItem | None. | |
| Status | string | None. | |
| TaxCalculationDateUtc | date | None. | |
| TaxTotals | Collection of TaxTotal | None. | |
| TotalTaxAmount | decimal number | None. | 
Response Formats
application/json, text/json
            Sample:
{
  "Id": "ef51dc3f-09ac-4994-b4d2-0b59b3817c12",
  "SaleId": "97a04371-d9d2-47b8-83f9-a723e6993afd",
  "CompanyId": 3,
  "EntityId": 4,
  "LineItems": [
    {
      "LineNumber": "sample string 1",
      "ProductCatalogId": "8a9cd51b-62a8-44aa-94e0-72fbbd2850a2",
      "Quantity": 3.1,
      "Price": 4.1,
      "Tax": 5.1,
      "UnroundedTax": 6.1,
      "Taxable": 7,
      "TaxDetails": [
        {
          "TaxId": "f6874161-f130-438b-8cd0-4861dbed6f25",
          "Rate": 2.1,
          "TaxName": "sample string 3",
          "Tax": 4.1,
          "Exemptions": {
            "Total": 1.1,
            "Details": [
              {
                "ExemptAmount": 1.1
              },
              {
                "ExemptAmount": 1.1
              }
            ]
          },
          "TaxAuthorityType": "sample string 5",
          "TaxType": "sample string 6",
          "Layer": 7
        },
        {
          "TaxId": "f6874161-f130-438b-8cd0-4861dbed6f25",
          "Rate": 2.1,
          "TaxName": "sample string 3",
          "Tax": 4.1,
          "Exemptions": {
            "Total": 1.1,
            "Details": [
              {
                "ExemptAmount": 1.1
              },
              {
                "ExemptAmount": 1.1
              }
            ]
          },
          "TaxAuthorityType": "sample string 5",
          "TaxType": "sample string 6",
          "Layer": 7
        }
      ]
    },
    {
      "LineNumber": "sample string 1",
      "ProductCatalogId": "8a9cd51b-62a8-44aa-94e0-72fbbd2850a2",
      "Quantity": 3.1,
      "Price": 4.1,
      "Tax": 5.1,
      "UnroundedTax": 6.1,
      "Taxable": 7,
      "TaxDetails": [
        {
          "TaxId": "f6874161-f130-438b-8cd0-4861dbed6f25",
          "Rate": 2.1,
          "TaxName": "sample string 3",
          "Tax": 4.1,
          "Exemptions": {
            "Total": 1.1,
            "Details": [
              {
                "ExemptAmount": 1.1
              },
              {
                "ExemptAmount": 1.1
              }
            ]
          },
          "TaxAuthorityType": "sample string 5",
          "TaxType": "sample string 6",
          "Layer": 7
        },
        {
          "TaxId": "f6874161-f130-438b-8cd0-4861dbed6f25",
          "Rate": 2.1,
          "TaxName": "sample string 3",
          "Tax": 4.1,
          "Exemptions": {
            "Total": 1.1,
            "Details": [
              {
                "ExemptAmount": 1.1
              },
              {
                "ExemptAmount": 1.1
              }
            ]
          },
          "TaxAuthorityType": "sample string 5",
          "TaxType": "sample string 6",
          "Layer": 7
        }
      ]
    }
  ],
  "Status": "sample string 5",
  "TaxCalculationDateUtc": "2025-10-31T04:34:48.410793+00:00",
  "TaxTotals": [
    {
      "TaxId": "sample string 1",
      "TaxRateType": "sample string 2",
      "Rate": 3.1,
      "TaxName": "sample string 4",
      "TaxDisplayName": "sample string 5",
      "Tax": 6.1,
      "Taxable": 7.1
    },
    {
      "TaxId": "sample string 1",
      "TaxRateType": "sample string 2",
      "Rate": 3.1,
      "TaxName": "sample string 4",
      "TaxDisplayName": "sample string 5",
      "Tax": 6.1,
      "Taxable": 7.1
    }
  ],
  "TotalTaxAmount": 7.1
}