Update public Wave draft invoice
wave_update_invoiceUpdate a Wave invoice's details and replace the entire line-item list, forcing DRAFT status and verifying the response.
Instructions
Reads current ownership/state and refuses non-DRAFT before one patch, forces DRAFT and verifies response. Supplied items replace the ENTIRE list: send complete intended items, not a partial edit. Omitted items/taxes stay omitted. No atomic version precondition/provider concurrency guarantee; never auto-approves/sends/retries.
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>"
},
"name": "wave_update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| items | No | ||
| title | No | ||
| footer | No | ||
| status | No | ||
| dueDate | No | ||
| subhead | No | ||
| currency | No | ||
| hideName | No | ||
| hideUnit | No | ||
| poNumber | No | ||
| discounts | No | ||
| hidePrice | No | ||
| invoiceId | Yes | ||
| itemTitle | No | ||
| unitTitle | No | ||
| businessId | No | ||
| customerId | No | ||
| hideAmount | No | ||
| priceTitle | No | ||
| amountTitle | No | ||
| invoiceDate | No | ||
| exchangeRate | No | ||
| invoiceNumber | No | ||
| hideDescription | No | ||
| disableAmexPayments | No | ||
| disableBankPayments | No | ||
| disableCreditCardPayments | No | ||
| requireTermsOfServiceAgreement | No |