Postings: assign receipt to free posting
postings_assign_receipt_to_freeAssign a receipt to a free posting to attach its supporting document to a booking that lacks one.
Instructions
๐ก WRITE ยท links/unlinks records: Creates or removes an assignment between records (e.g. receipt โ transaction). Reversible.
assign receipt to free posting
Assign a receipt to a free posting.
Use to attach a receipt to a free posting that was booked without one, so the entry has its supporting document.
To link a receipt to a bank transaction rather than a posting, use transactions_assign_receipts.
Endpoint: POST /postings/assign/receipt-to-free-posting
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posting_id_by_customer | Yes | The id_by_customer of the posting. | |
| receipt_id_by_customer | Yes | The id_by_customer of the receipt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | blank | |
| success | Yes | Success boolean |