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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"receipt_id_by_customer": "<receipt_id_by_customer>",
"posting_id_by_customer": "<posting_id_by_customer>"
},
"name": "postings_assign_receipt_to_free"
}
}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 |