void_custom_invoice
Mutation/readOnly:false, script-tier/no-model-token action. Void an unpaid sent custom invoice in Stripe so the client can no longer pay it. Cannot be undone (use duplicate_custom_invoice if you need to reissue it). Requires confirm:true — without it, returns a confirmation preview naming the invoice, client, and total and changes nothing. Requires the Owner or Admin role. Storefront Pro.
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": {
"invoiceId": "<invoiceId>",
"proAccessToken": "<proAccessToken>"
},
"name": "void_custom_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to void the invoice. Omit to get a confirmation preview. | |
| invoiceId | Yes | The unpaid sent invoice id from list_custom_invoices. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |