Mark an invoice paid or unpaid
mark_invoice_paidRecord the date an invoice was paid for cash-basis tax reporting, or set it to unpaid by passing null.
Instructions
Record the date an invoice was paid (this matters for cash-basis taxes), or pass null to mark it unpaid again.
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>",
"paid_date": "<paid_date>"
},
"name": "mark_invoice_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Invoice id or invoice number, e.g. INV-2026-004 | |
| paid_date | Yes | YYYY-MM-DD, or null for unpaid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| paidDate | Yes | The paid date, or null when marked unpaid |