qbo_invoices_update
Sparse-update an existing Invoice record. Only provided fields are changed; Id and SyncToken are required.
Instructions
Sparse-update an existing Invoice record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | No | Array of line items. Each line should have Amount, DetailType ("SalesItemLineDetail"), and SalesItemLineDetail with ItemRef. On update, providing Line replaces the invoice line items. | |
| DueDate | No | Due date (YYYY-MM-DD) | |
| TxnDate | No | Transaction date (YYYY-MM-DD) | |
| BillEmail | No | Email address to send the invoice to, e.g. {"Address": "customer@example.com"} | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| invoiceId | Yes | The Invoice ID to update | |
| CustomerRef | No | Customer reference object, e.g. {"value": "123"} where value is the customer ID | |
| PrivateNote | No | Private note (not visible to customer) | |
| CustomerMemo | No | Memo visible to customer, e.g. {"value": "Thank you for your business"} |