---
title: "Post proposed order"
method: POST
path: "/tp/v1/business-locations/{businessLocationId}/tax-breakdown"
tags: ["Tax Breakdown"]
---

# Post 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`

Returns the tax breakdown of a proposed order

## Path parameters

- `businessLocationId` integer, required: the id of the businessLocation

## Request body

- object
  - `accountProfileCode` string: A valid account profile code as setup for this business location.
  - `items` object[]: The items contained in this order
    - `sku` string, required: A stock-keeping unit
    - `quantity` number, double: Quantity of item to be ordered
    - `subItems` object[]: subitems applied to this item
      - `sku` string, required: A stock-keeping unit
      - `quantity` number, double: Quantity of sub-item to be added to the order item

## Response `200`

Tax Breakdown

- object
  - `transactions` object[]
    - `sku` string: A stock-keeping unit
    - `quantity` number: Quantity of the item on this transaction line
    - `unitPrice` number: Cost of item
    - `netAmount` number: Cost of transaction line before taxes are applied
    - `grossAmount` number: Cost of transaction with all taxes applied
    - `taxAmount` number: Cost of all taxes to be applied to this transaction line
  - `taxLines` object[]
    - `description` string: Description of the tax to print on the receipt
    - `taxRate` string: Tax rate as configured, a decimal number encoded in a string, "1.20" means 20% tax
    - `taxCode` string: Tax code as configured
    - `taxName` string: Tax name as configured
    - `netAmount` number: Cost of transaction line before taxes are applied
    - `grossAmount` number: Cost of transaction with all taxes applied
    - `taxAmount` number: Cost of all taxes to be applied to this transaction line
    - `taxIncluded` boolean
  - `totalNetAmountInCents` integer: Total cost of order before taxes are applied
  - `totalGrossAmountInCents` integer: Total cost of order after all taxes are applied
  - `totalTaxAmountInCents` integer: Cost of all taxes due on the order
  - `amountDue` number: Total cost of order in big decimal format

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `503`: Service Unavailable

---

[API](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api.md) - [All operations](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/revisions/af001485cf2b?raw)
