Delete invoice
delete_invoiceDelete an invoice that has no payments, for good. Deletes the invoice from Joist; it cannot be undone and the client's link stops working. An invoice with payments recorded is refused, so your payment history stays.
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_id": "<invoice_id>"
},
"name": "delete_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | From list_invoices. |