This is another way of initializing the object.
For Sample Purposes Only.
Create an invoice by calling the invoice->create() method
with a valid ApiContext (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
Create Invoice Template Sample
This sample code demonstrate how you can create an invoice template.