Postings: unconfirm receipt posting
postings_unconfirm_for_receiptRevert a receipt posting to unconfirmed state so it can be corrected. Use when postings are not fixed.
Instructions
🟡 WRITE · reverts state: Reverts a prior state change (un-confirm a posting, restore a deleted receipt). Reversible.
unconfirm receipt posting
Remove postings for a specified receipt by unconfirming them. This will only work if the postings are not fixed.
Use to send a receipt posting back to the unconfirmed state so it can be corrected.
This keeps the posting and only clears its confirmation. To remove the posting itself, use postings_cancel.
Only works while the posting is not fixed.
Endpoint: POST /postings/unconfirm/receipt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id_by_customer | Yes | The id_by_customer of the receipt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Success message | |
| success | Yes | Success boolean |