Invoices: Mark paid
invoice_mark_paidRecord that the client paid: without 'amount' the whole remaining balance («рахунок 12 оплачено»), with 'amount' a partial payment of exactly that sum; optional date (YYYY-MM-DD) and method. Recorded by mistake → invoice_undo_payment within 10 minutes. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"invoice": "<invoice>"
},
"name": "invoice_mark_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| amount | No | ||
| method | No | ||
| invoice | Yes | The invoice's number as the person said it (INV-12, 12) or its id. |