This sample code demonstrate how you can update an invoice.
Lets update some information
For Sample Purposes Only.
Update an invoice by calling the invoice->update() method with a valid ApiContext (See bootstrap.php for more on ApiContext)
ApiContext
Update Invoice Sample
This sample code demonstrate how you can update an invoice.