Mark an invoice paid
mark_invoice_paidRecord an offline payment (cash, check, Zelle, ACH, bank transfer, other) against an invoice, in full. Only invoices can be marked paid, not quotes. Idempotent: an already-paid invoice returns its current state. paid_at may be backdated. Deactivates the invoice's old Stripe payment link so the customer cannot pay twice.
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": {
"id": "<id>"
},
"name": "mark_invoice_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice id: a document_type "invoice" quote id (create_quote / list_quotes) or a converted invoice id (convert_quote_to_invoice) | |
| kind | No | Which record type the id is. "quote_invoice" (default) = invoice created with document_type "invoice"; "converted" = from convert_quote_to_invoice | |
| paid_at | No | ISO 8601 date or timestamp; defaults to now. Not in the future. | |
| payment_method | No | Defaults to "other" | |
| payment_reference | No | Check number, Zelle/transaction id, or a note |