Creator Help

Get Invoice

Overview

The Deluge task zoho.invoice.getInvoices() task will fetch all the invoices created in your Zoho invoice account. The return type will be a list object containing the invoice details as map values.

Deluge syntax

<List:Map >= zoho.invoice.getInvoices();

where,
<List:Map> refers to the list variable which returns the invoice details as map values.

Example

invoices = zoho.invoice.getInvoices();
info invoices;

If you have multiple organizations within your invoice account, you can specify the organization name as shown in the example below. This will fetch invoices created only in that particular organization.

invoices = zoho.invoice.getInvoices("<organization-name>");
info invoices;

Sample Response

"CreatedTimeInMillis":"1333344491936","DueByDays":"","InvoiceID":"141995000000080033","DueInDays":"","DueDate":
"2012-04-02","InvoiceDate":"2012-04-02","PONumber":"null","CurrencyCode":"INR","InvoiceNumber":"INV-77","Customer
Name":"David","Status":"4","Balance":"100.000","Total":"100.000"},

{"CreatedTimeInMillis":"1331761586401","DueByDays":"","InvoiceID":"141995000000069069","DueInDays":"","DueDate":
"2012-05-14","InvoiceDate":"2012-03-15","PONumber":"null","CurrencyCode":"AWG","InvoiceNumber":"INV-71","Customer
Name":"Peter","Status":"4","Balance":"6.000","Total":"6.000"}

Related Links

http://www.zoho.com/invoice/api/invoices/invoices.html#how-do-i-view-my-invoice-details-unformatted?

Top