Create an invoice from a delivery note
Creates an invoice document covering this delivery note and returns its id (201, `Location` header pointing at the invoice detail). Requires `Permissions.Invoice.Create`.
POST
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerFormat
int32response?integerapplication/jsonFormat
int32curl -X POST 'https://<your-instance>/api/documents/expedition/delivery-notes/0/invoice' \ -H 'Authorization: Bearer <access-token>'0Process a delivery note (deprecated) POST
**Deprecated.** Use `POST {documentId}/process` instead — this alias behaves identically and will be removed. Requires `Permissions.DeliveryNotes.Update`.
Add items to a delivery note POST
Appends the items in the body to an existing delivery note and recalculates the document totals. Requires `Permissions.DeliveryNotes.Create`.