update_invoice
Change a DRAFT invoice's invoice_date (YYYY-MM-DD, the date printed on it), due date (YYYY-MM-DD), footer and/or sales tax. Only drafts can be changed; finalizing, sending, marking paid and voiding are done on the Billing page. tax_percent adds tax on top of the lines (e.g. 6.6), with tax_label as its name on the invoice; tax_percent=0 removes it. lines=[{match, description}] rewords line items (match = line id or a unique part of its current text).
Parameters
- invoice_id (string, required)
- due_date (string)
- footer (string)
- tax_percent (number)
- tax_label (string)
- invoice_date (string)
- lines (array)