Fill up your search criteria for Invoice search. Using the new way to inject raw json string to constructor
Retrieve the Invoice History object by calling the
static search
method on the Invoice class.
Refer the method doc for valid values for keys
(See bootstrap.php for more on ApiContext
)
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
Search Invoices Sample
This sample code demonstrate how you can search invoices from history.