Update draft Wave invoice
wave_update_invoiceUpdate a draft invoice by changing supplied fields or replacing all line items. Refuses invoices that are no longer drafts.
Instructions
Change a DRAFT invoice. Only the fields you pass are changed, except items, which replaces ALL line items. Refuses invoices that are no longer drafts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Notes shown on the invoice | |
| items | No | Replaces all existing line items | |
| title | No | ||
| footer | No | ||
| currency | No | Invoice currency (default: business currency) | |
| due_date | No | Due date (default: business payment terms) | |
| po_number | No | ||
| invoice_id | Yes | Invoice ID exactly as returned by Wave (an opaque string) | |
| customer_id | No | Customer ID exactly as returned by Wave (an opaque string) | |
| invoice_date | No | Issue date (default: today) | |
| exchange_rate | No | Rate from the invoice currency to the business currency; set it for foreign-currency invoices |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| memo | Yes | ||
| items | Yes | ||
| title | Yes | ||
| total | Yes | ||
| footer | Yes | ||
| status | Yes | ||
| pdf_url | Yes | ||
| currency | Yes | ||
| due_date | Yes | ||
| payments | Yes | ||
| view_url | Yes | ||
| po_number | Yes | ||
| tax_total | Yes | ||
| amount_due | Yes | ||
| amount_paid | Yes | ||
| customer_id | Yes | ||
| modified_at | Yes | ||
| invoice_date | Yes | ||
| customer_name | Yes | ||
| exchange_rate | Yes | ||
| customer_email | Yes | ||
| invoice_number | Yes |