Process a delivery note (deprecated)
**Deprecated.** Use `POST {documentId}/process` instead — this alias behaves identically and will be removed. Requires `Permissions.DeliveryNotes.Update`.
Deprecated
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerint32userId?|int32response?unknownapplication/octet-streamcurl -X POST 'https://<your-instance>/api/documents/expedition/delivery-notes/0/finish' \ -H 'Authorization: Bearer <access-token>'nullCheck whether a delivery note can be deleted GET
Advisory pre-flight for `DELETE {documentId}`. `canBeDeleted` is false when `blockingReasons` holds `HEADER_BLOCKED` or `ITEMS_BLOCKED`. The delete re-checks inside its own transaction, so a positive answer here is an indication rather than a guarantee. Requires `Permissions.DeliveryNotes.Delete`.
Create an invoice from a delivery note POST
Creates an invoice document covering this delivery note and returns its id (201, `Location` header pointing at the invoice detail). Requires `Permissions.Invoice.Create`.