_invoiceUpdate
Update an invoice.
Parameters
id
The ID of the Appointment.
discount
Float value to discount.
pandp
Float value of Postage and Packaging.
discount_vat
Float value how much VAT to discount.
pandp_vat
Float value how much VAT is on Postage and Packaging.
doc_no
Number of the invoice.
order_no
Optional. If this invoice is for a PurchaseOrder, what is the PurchaseOrder's number.
rows
Array of invoice rows. Each row has 6 columns:
Text description.
Net price of that item.
Amount of items.
Net total (net price * amt).
How much tax to apply.
Gross total (net total + tax percentage).
invoice_number
Optional text field.
notes
Optional text.
cdate
Date of the invoice.
Example
Result
On Success
Last updated