Create a new expense category. If successful, returns the category_id of the newly created expense category.
<?xml version="1.0" encoding="utf-8"?> <request method="createExpenseCategory"> <name>ABS</name> </request>
<?xml version="1.0" encoding="utf-8"?>123
Update an existing expense with the given category_id.
<?xml version="1.0" encoding="utf-8"?> <request method="updateExpenseCategory"> <category_id>847</category_id> <name>ABS Category</name> </request>
Delete an existing expense category.
<?xml version="1.0" encoding="utf-8"?> <request method="deleteExpenseCategory"> <category_id></category_id> <!-- This is category unique id at Invoicera database. You can use more than one row for delete --> </request>
<?xml version="1.0" encoding="utf-8"?>845 846 847
Returns a list of expense category summaries. Results are ordered by descending expense category number.
<?xml version="1.0" encoding="utf-8"?> <request method="listExpenseCategory"> <filter> <!-- Pass search parameters here --> <status></status> <!-- Status are Active, Archived, deleted. Only Active records will be displayed if no value defined --> <page>2</page> <!-- This is page number --> <per_page_record>2</per_page_record> <!-- This is number of records per page --> </filter> <!-- search parameters ends here --> </request>
<?xml version="1.0" encoding="utf-8"?>. . . 847 ABS Category Active 2010-11-23 10:50:31