Fill in all the information that is required for invoice APIs
A resource representing merchant information that can be used to identify merchant
The address used for creating the invoice
Set the email address for each billing
You could provide the list of all items for detailed breakdown of invoice
You could provide Tax information to each item.
Second Item
Lets add some discount to this item.
You could provide Tax information to each item.
You can add final discount to the invoice as shown below. You could either use "percent" or "value" when providing the discount
You can set the logo in the invoice by providing the external URL pointing to a logo
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 Sample
This sample code demonstrate how you can create an invoice.