Get Sales Document
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.
documentId
Headers
x-api-version
Used for API versioning. More details.
Response
This endpoint returns an object.
externalNo
id
documentType
creationStatus
postingStatus
currencyCode
currencyExchangeRate
externalDocumentNo
locationCode
yourReference
languageTag
pricesExcludingVat
ticketReservationToken
captureProcessingStatus
lastCaptureErrorMessage
createdAt
createdDocumentNo
postedDocumentNos
sellToCustomer
shipToCustomer
shipment
comments
salesDocumentLines
payments
Present on Get Sales Document when the document has payment lines. Never present on Find Sales Documents hits, which carry no payment details.
dimensions
List of dimensions stored on the document header, as supplied when the document was created or added by an extension to the incoming document. This is the document’s own dimension set, not the effective set the created sales header posts with: dimensions that come from default dimension setup are not included, and neither are dimensions an extension put directly on the created sales header.
customFields
This section allows you to add custom fields as key-value pairs. You can handle these fields by subscribing to our extension publishers and implementing custom serialization logic.
