Tax Breakdown

Post proposed order

Returns the tax breakdown of a proposed order

post/tp/v1/business-locations/{businessLocationId}/tax-breakdown

Request

  • Base URL
    https://api.trial.lsk.lightspeed.app
  • URL
    https://api.trial.lsk.lightspeed.app/tp/v1/business-locations/{businessLocationId}/tax-breakdown
  • Auth
    OAuth 2
    Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth
    Token URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: orders-api

Path parameters

businessLocationIdinteger required

the id of the businessLocation

Example:45454565682155

Request body

accountProfileCodestring

A valid account profile code as setup for this business location.

Response

Tax Breakdown

totalNetAmountInCentsinteger

Total cost of order before taxes are applied

totalGrossAmountInCentsinteger

Total cost of order after all taxes are applied

totalTaxAmountInCentsinteger

Cost of all taxes due on the order

amountDuenumber

Total cost of order in big decimal format

Example response

{
  "transactions": [
    {
      "sku": "UGG-BB-PUR-06"
    }
  ]
}

Changes

No operation changes recorded.