Attach expense receipt
attach_expense_receiptAttach or replace the receipt or invoice file of an existing expense, and optionally set vendor and invoiceNumber. Send either fileBase64 with mimeType (PDF, JPEG or PNG, up to 3 MB) or an https url (up to 10 MB, public hosts only, no redirects). The file is stored like receipts uploaded in the app.
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": {
"buildingId": "<buildingId>",
"expenseId": "<expenseId>"
},
"name": "attach_expense_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| vendor | No | ||
| filename | No | ||
| mimeType | No | ||
| expenseId | Yes | ||
| buildingId | Yes | ||
| fileBase64 | No | ||
| invoiceNumber | No |