attach_cash_entry_receipt
Attach a receipt to a posted cash-book entry: a new file (file_base64,
the raw bytes, base64) OR an existing document's item_id, exactly one.
override_duplicate only after a duplicate refusal you checked.
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": {
"company_id": "<company_id>",
"register_id": "<register_id>",
"entry_id": "<entry_id>"
},
"name": "attach_cash_entry_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | No | ||
| entry_id | Yes | ||
| filename | No | receipt.pdf | |
| company_id | Yes | ||
| file_base64 | No | ||
| register_id | Yes | ||
| override_duplicate | No |