Update Invoice
Updates an existing invoice in Avaza.
Query
Comma-separated response fields to include.
Body
Required: The collection of Field Names you wish to update. Possible Values: CustomerPONumber, DateIssued, PaymentTerms, DueDate, Subject, Notes, TransactionTaxConfigCode, ExchangeRate, InvoiceTemplateIDFK, InvoiceNumber, LineItems
The ID of the Invoice to update
Plain UTF8 text. 100 characters max
The Date the Invoice is issued. Date should be specified as local date.
If the Due Date is specified then Payment Terms will be set to -1 (Custom). Otherwise DueDate will be auto calculated based on the provided IssueDate and Payment Term. Due Date must be greater than or equal to Issue Date.
Invoice Subject in plain UTF8 text. (no HTML). 255 characters max
Invoice Notes in plain UTF8 text. (no HTML). Max 2000 characters
Possible values are (EX --- Tax Exclusive, INC --- Tax Inclusive). If left set to null/emptystring it will use the account default.
Exchange rate is only valid for invoices in currency other than default account currency. If not specified it will get the market rate based on the Date Issued.
And id for an invoice template in the account. If set to Null the account default invoice template will be used.
Pass a string or integer. If an integer is passed then the largest integer will be use as the seed to auto generate the next invoice number in the sequence.
Optional ID of exisiting TransactionLineItem that should be retained and updated
The ID of the InventoryItem this line item is linked to
Plain UTF8 text. (no HTML)
The quantity for the line item
The unit price for the lineitem.
Must match an existing Tax ID.
Enter 10.5 to give a 10.5% discount
Optional. Project ID of an Avaza Project that belongs to this customer, so line item is attributed to that Project for reporting.