Update Method
Updates the invoice in QuickBooks.
Object Oriented Interface
public function doUpdate();
Procedural Interface
inqb_invoice_do_update($res);
Remarks
This method will update the invoice in QuickBooks.
When the method is called, an Update request will be submitted to QuickBooks. The invoice will have its information updated based on the various property values.
If QuickBooks is able to update the object, it will return a copy of the object, and the values of all properties will be reset from the QuickBooks response. The QBResponseAggregate property will also be set to the entire QBXML aggregate received from QuickBooks.
QBXMLVersion must be set to "2.1" or greater to update an invoice. Moreover, QBXMLVersion should be set to the same value when retrieving the invoice from QuickBooks (either through ObjSearch or through the Get method).