Creator Help

Create Expense Category

Overview - to be updated

The Deluge task zoho.invoice.createexpensecategory() will create an expense category in your Zoho Invoice account.

Deluge syntax

<Inv Response> = zoho.invoice.createexpensecategory(<CategoryName>, <Description>);

where,
<CategoryName> refers to the name of the expense category. (Mandatory)
<Description> a short description of the expense category
<Inv Response> is the map variable returned by Zoho Invoice as response.

Example

resp = zoho.invoice.createexpensecategory("Travel", "Daily travel expenses");

Response format

{"Status":"1","Description":"Daily travel expenses","CategoryName":"Travel","CreatedTime":"2012-03-14 16:12:46 IST",
"CategoryID":"141995000000069061","LastModifiedTime":"2012-03-14 16:12:46 IST"}

  • "Status" is "1" -> Active
  • "Status" is "2" -> InActive

Related Links

http://www.zoho.com/invoice/api/expense-Categories.html#how-do-i-add-a-expense-category?

Top