changeOrderFinancialDocumentType
Changes an accounting document between invoice and sales receipt.
Unsent documents change type in place. Sent documents are replaced: the QuickBooks document is voided or deleted per the integration's Document removal setting (or flagged in the activity log for manual cleanup when disabled), the local document is destroyed, and a new unsent document of the requested type is created with the same content.
Permissions
- Requires
accounting:update_order_financialpermission.
changeOrderFinancialDocumentType(
input: ChangeOrderFinancialDocumentInput!
): OrderFinancialDocument!
Arguments
changeOrderFinancialDocumentType.input ● ChangeOrderFinancialDocumentInput! non-null input common
Parameters for ChangeOrderFinancialDocument
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.