Delete receipts
DELETE/v1/receipt
Soft-delete purchase order receipts based on filter criteria. Sets
is_deleted = true and deleted_at = NOW().
No action field: previous versions accepted action: 'delete' | 'deactivate'.
That parameter is no longer supported — the only supported behavior is
soft-delete. Sending action in the request body returns 400.
Filter parameters array — each entry runs as one independent UPDATE; fields within an entry combine with AND.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Receipts soft-deleted successfully
Bad request - legacy action field present, or missing parameters
Unauthorized - invalid or missing API key
Forbidden - insufficient permissions
Internal server error