Search POS Sale
Returns the most recent active POS sale for a given POS unit.
Authentication
x-np-api-keystring
API Key authentication via header
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
x-api-version
Used for API versioning. More details.
Query parameters
posunit
The POS unit number to search for (required)
withLines
Include sale lines and payment lines in the response
Response
This endpoint returns an object.
saleId
The id of a POS sale. This can be provided by the API consumer when creating a new sale.
receiptNo
posUnit
posStore
date
startTime
customerNo
salespersonCode
vatBusinessPostingGroup
saleLines
paymentLines
totalSalesAmountInclVat
Total amount of all sale lines including VAT (only present when withLines=true)
totalPaymentAmount
Total amount of all payment lines (only present when withLines=true)
