Postings: cancel posting
postings_cancelCancel a posting: delete unfixed postings or reverse fixed ones with a reversal entry. Confirm before calling, as deletions may be permanent.
Instructions
๐ด DESTRUCTIVE ยท deletes data โ Deletes or cancels a record. Confirm with the user before calling. Receipt deletes are restorable; cost-location deletes are not. Cancelling a posting deletes it if it is not yet fixed, otherwise it books a reversal posting. cancel posting Cancel a specified posting. Postings that are not fixed are deleted, fixed postings are cancelled by creating a reversal posting.
Endpoint: POST /postings/cancel
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server โ only set this to target a different customer. | |
| posting_id_by_customer | Yes | The id_by_customer of the posting. |