update_invoice
Change an invoice: pass invoice_id and at least one of status, amount, currency, due_date and metadata. Needs a claimed Last Price credential with billing write scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | The amount. | |
| status | No | The invoice status. | |
| currency | No | The currency code. | |
| due_date | No | When the invoice is due, as an RFC 3339 date-time. | |
| metadata | No | Anything worth keeping with the record. | |
| invoice_id | Yes | The invoice: its id, as list_invoices shows it. |