Skip to main content
Version: v1.0.0(int)

E126: Delete receipt

DELETE /api/purchase-order-receipts/:id

Removes a receipt. Triggered from the Purchase Order Detail receipts section. Ledger reversal (REVERSE_RECEIVE), cost re-rollup, and status recompute are a v1 gap — see W126.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted receipt's id.

Errors

HTTPcodeCondition
404not_foundNo such receipt.

Workflow

Calls W126 Delete receipt.