Creator Help

Add Items

Overview

The Deluge task zoho.invoice.addItems() adds an item to your Zoho Invoice account. The return type will be a map object containing the item details.

Deluge syntax

<map response> = zoho.invoice.additems(itemsMap);

where,

<itemsMap> is the map variable that holds the key,value pairs. The map key is the column name of the table and the map value is the field value as submitted in the ZC form.
<map-response> refers to the map variable returned by Zoho Invoice as response.

Map Key names in itemsMap::

Name - Mandatory
Description - Optional
Rate - Mandatory
Tax - Optional

Example

itemsMap = { "Name" : "ItemName", "Description" : "adding Item from Creator", "Rate" : 25, "Tax" : "VAT" };
resp = zoho.invoice.addItems(itemsMap);

Sample Response

{"ItemID":"141995000000086065","Name":"ItemName","Status":"1","Tax1Percentage":"16","Description":" adding Item from Creator","Tax1Type":"0",
"Tax1ID":"141995000000074005","Tax1Name":"VAT","Rate":"25.00"}

Related Links

http://www.zoho.com/invoice/api/items/items.html#how-do-i-add-an-item?

Top