Record expense
create_expenseRecord a building expense (הוצאה). A second call records another expense.
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>",
"amount": "<amount>",
"description": "<description>",
"date": "<date>",
"category": "<category>"
},
"name": "create_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| amount | Yes | ||
| vendor | No | ||
| category | Yes | ||
| buildingId | Yes | ||
| description | Yes | ||
| cashBoxAmount | No | Part of the expense paid from the building cash box. | |
| invoiceNumber | No |