Update an existing invoice.
The updateInvoice()
function returns a Promise that resolves to the updated invoice's
ID when the invoice is updated.
Note: The customer listed on the invoice must be an existing site contact or member.
ID and version of the invoice to update.
The data used to update the invoice.
Fields to update in the invoice. If not specified, all fields update.
One of: