invoiceUpdate
mutation
Update invoice
Modifies a draft invoice's line items, customer, dates, or other details. Only draft invoices can be updated. Returns the updated invoice.
mutation {
invoiceUpdate(companyId: Int!, data: InvoiceUpdate!, options: InvoiceMutateOptions): Invoice!
}Returns: Invoice!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
data | InvoiceUpdate! | |
options | InvoiceMutateOptions |