Get Sale Line

Retrieves a specific sale line

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

saleIdUUIDRequired
The id of a POS sale. This can be provided by the API consumer when creating a new sale.
saleLineIdUUIDRequired
The id of a sale line within a POS sale.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Response

This endpoint returns an object.
idUUID
The id of a sale line within a POS sale.
sortKeyinteger
typeenum
codestring
variantCodestring
descriptionstring
quantitydouble
unitPricedouble
discountPctdouble
discountAmountdouble
vatPercentdouble
amountInclVatdouble
amountdouble
unitOfMeasurestring
isAddonboolean
Whether this line is an addon to another item
description2string or null
appliesToLineUUID or null
If this is an addon, the SystemId of the parent line it applies to
deletedboolean or null