Create 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.
Headers
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
externalNo
Max. length 20 symbols.
documentType
sellToCustomer
payments
salesDocumentLines
currencyCode
Max. length 10 symbols.
currencyExchangeRate
externalDocumentNo
Max. length 35 symbols.
locationCode
Max. length 10 symbols.
yourReference
languageTag
IETF BCP 47 / RFC 5646 language tag (e.g. “da-DK”, “en-US”).
pricesExcludingVat
ticketReservationToken
Used to link the sales document to a ticket reservation, enabling the system to associate ordered ticket items with their pre-reserved admissions. Obtained as the token from the Ticket Reservation API.
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 deserialization logic.
shipToCustomer
shipment
comments
dimensions
List of dimensions to attach to the created document.
Response
This endpoint returns an object.
id
