Retrieve a detailed list of all Account Categories

Example

FM_api('Accounts_getCategories');

Result

On Success

Returns id, name, tax rate, category group id and category group name of all Account Categories.

[{"id":"1","name":"Stock","tax_rate":"10","category_group_id":"1","groupname":"Current Assets"},{"id":"3","name":"Allowance for bad debts","tax_rate":"0","category_group_id":"1","groupname":"Current Assets"}]