WinShopAPI docs
ReferenceDocumentsExpeditionDelivery notes

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
/api/documents/expedition/delivery-notes/{documentId}/invoice

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

documentId*integer
Formatint32

Response Body

response?integerapplication/json
Formatint32
curl -X POST 'https://<your-instance>/api/documents/expedition/delivery-notes/0/invoice' \  -H 'Authorization: Bearer <access-token>'
0