Mark issued invoices paid
mark_paidMarks issued invoices as paid on a specified date, updating each invoice file and returning its summary line. Use after checking a bank statement; repeating the call keeps the same paid state.
Instructions
Mark issued invoices (money received from customers) as paid on a given date, e.g. after checking a bank statement. Updates ~/.ucetka/invoices/.json and returns the updated summary line of each invoice.
Idempotent: repeating the call sets the same state; a different paid_date overwrites the stored one. Invoices are processed in order and the call stops at the first unknown number (earlier ones stay paid). It does not check the current state, so do not use it on a cancelled invoice. For received invoices (expenses) use mark_expense_paid; for tax or insurance payments to authorities use record_payment.
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": {
"numbers": "<numbers>"
},
"name": "mark_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | One or more issued invoice numbers, e.g. ['2610001', '2610002']. | |
| paid_date | No | Payment date YYYY-MM-DD applied to all listed invoices, or the literal 'due' to use each invoice's own due date. Omitted = today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |