Get Sales Document

Beta

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.

documentIdUUIDRequired

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Response

This endpoint returns an object.
externalNostring
idUUID
documentTypeenum
Allowed values:
creationStatusenum
Allowed values:
postingStatusenum
Allowed values:
currencyCodestring
currencyExchangeRatedouble
externalDocumentNostring
locationCodestring
yourReferencestring
pricesExcludingVatboolean
captureProcessingStatusenum
Allowed values:
lastCaptureErrorMessagestring
sellToCustomerobject
shipToCustomerobject
shipmentobject
paymentslist of objects
commentslist of objects
salesDocumentLineslist of objects
customFieldsobject or null

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.