Expense Category

Create Expense Category

Create a new expense category. If successful, returns the category_id of the newly created expense category.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="createExpenseCategory">
	<name>ABS</name>
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
 
 123

Update Expense Category

Update an existing expense with the given category_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="updateExpenseCategory">
	<category_id>847</category_id>
	<name>ABS Category</name>
</request>
			 

Delete Expense Category

Delete an existing expense category.

Request

<?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>
			 

Response

<?xml version="1.0" encoding="utf-8"?>

    845
846
847
  

List Expense Category

Returns a list of expense category summaries. Results are ordered by descending expense category number.

Request

<?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>

			 

Response

<?xml version="1.0" encoding="utf-8"?>

        
            
                847
                ABS Category
                Active
                2010-11-23 10:50:31
            
            .
            .
            .
        
    

Get Started for FREE

Over 3 Million Users Have Chosen Invoicera

No credit card required. Cancel anytime REQUEST A FREE DEMO