Undo mark as paid
mark_invoice_unpaidReverse a manually recorded payment and clear paid_at/method/reference. Payments collected through Stripe cannot be undone here (refund them in the dashboard). Idempotent.
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_unpaid"
}
}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 |