invoices.void
Void an invoice nobody has paid yet (owner or office), with a reason. Pay links stop working and an open card checkout is expired. Refused when any money was collected, a card charge is pending or a bank payment is clearing: refund instead. A void invoice cannot be reopened; create a new one if needed. Change orders and maintenance terms on it can be billed again.
| Who | Agents can call this |
| REST | POST /v1/invoices/void |
| MCP tool | invoices_void |
| Writes | yes, send an Idempotency-Key |
| Area | Shop |
When to use it
Void an invoice nobody has paid yet (owner or office), with a reason. Pay links stop working and an open card checkout is expired.
What to tell the owner
Say what you did in plain words and what happens next.
Input
| Field | Type | Required |
|---|---|---|
invoice_id | string (uuid) | yes |
reason | string | yes |
Example
POST https://doingwork.work/v1/invoices/void
content-type: application/json
Idempotency-Key: 3f1c...
{
"invoice_id": "00000000-0000-4000-8000-000000000000",
"reason": "..."
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |