Transactions: unassign a specific receipt from a transaction
transactions_unassign_receiptRemove a receipt-to-transaction link to undo an incorrect assignment. The link is removed without deleting the receipt or transaction, restoring them to unassigned state.
Instructions
๐ก WRITE ยท links/unlinks records: Creates or removes an assignment between records (e.g. receipt โ transaction). Reversible.
unassign a specific receipt from a transaction
Unassign a specific receipt from a transaction.
Use to undo a receipt-to-transaction match that was made in error.
Removes only the link. Neither the receipt nor the transaction is deleted.
Endpoint: POST /transactions/unassign/receipt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id_by_customer | Yes | The id_by_customer of the receipt to unassign. | |
| transaction_id_by_customer | Yes | The id_by_customer of the transaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | blank | |
| success | Yes | Success boolean |