Create POS Sale
Creates a new POS sale with the provided GUID. The API consumer must provide their own unique GUID which will be used as the SystemId. POS Unit must be of type UNATTENDED to support multiple concurrent active sales per 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.
saleId
The id of a POS sale. This can be provided by the API consumer when creating a new sale.
Headers
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
posUnit
The POS Unit number (e.g., “QR_FOOD_APP”, “SELFSERVICE_TICKETS”)
customerNo
The customer number to assign to this sale
vatBusinessPostingGroup
The VAT Business Posting Group to use for this sale
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)
