ordersFinancialsUpdate
Updates an existing invoice or sales receipt. Omitted fields stay unchanged.
Business Rules
- Supplied lines replace the document lines and share coverage with other documents.
- A manual edit protects the document from later automatic corrections.
- Discounts apply to the line subtotal, excluding shipping and tax.
- Edits to sent documents queue an update to QuickBooks.
Error Scenarios
- Rejects empty lines, invalid source references, and increased over-invoicing.
- A sent document must use the document-type change flow to change its type.
Permissions Required
accounting:update_order_financialpermission.
ordersFinancialsUpdate(
input: OrdersFinancialsUpdateInput!
): OrderFinancialDocument!
Arguments
ordersFinancialsUpdate.input ● OrdersFinancialsUpdateInput! non-null input common
Parameters for OrdersFinancialsUpdate
Type
OrderFinancialDocument object orders
An order's accounting document (invoice / sales receipt). If no document has
been persisted yet, a draft is derived from the order and id is null.