Search POS Sale
Returns active POS sales matching the supplied POS unit and optional user filter as an array, or HTTP 404 when no sale matches. GET /pos/sale is a backward-compatible alias with identical behavior. Query parameter names are case-sensitive. The optional userId and filterToCurrentUserId query parameters are mutually exclusive; supplying both returns HTTP 400.
Authentication
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
Headers
Used for API versioning. More details.
Query parameters
The POS unit number to search for (required)
Restrict returned sales to this user ID. The maximum length is 50 characters; longer values return HTTP 400. Cannot be combined with filterToCurrentUserId.
Response
Total amount of all sale lines including VAT (only present when withLines=true)
Total amount of all payment lines (only present when withLines=true)
