Record offset
record_offsetRecord a resident-paid expense as a dues credit for one apartment (קיזוז). Links the expense and a BUILDING_TAX credit in one step, applies the credit to the oldest unpaid dues and carries any surplus into the next month. No bank transaction is created and the offset is excluded from bank reconciliation. Either pass expenseId to link an existing expense, or amount and description to record a new 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>",
"apartmentId": "<apartmentId>"
},
"name": "record_offset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date the resident paid the expense. Defaults to the linked expense date. | |
| amount | No | Credit amount. Defaults to the linked expense amount. | |
| vendor | No | ||
| category | No | Expense category when creating a new expense. Defaults to Other. | |
| expenseId | No | Link an existing expense instead of creating one. | |
| buildingId | Yes | ||
| apartmentId | Yes | ||
| description | No | Expense description when creating a new expense, e.g. roof door frame. | |
| cashBoxAmount | No | Part of the linked expense that was paid from the building cash box. | |
| invoiceNumber | No | ||
| referenceNumber | No |