Expense Categories
An expense category entity allows you to maintain details of an expense category.
End Points
Create an expense category
List of expense categories
Update an expense category
Retrieve details of an expense category
Delete an expense category
Enable an expense category
Disable an expense category
Attribute
category_id
long
Unique ID for expense category generated by the server. This is used as an identifier.
category_name
string
Name of the expense category.
gl_code
string
Unique account code for the expense category.
description
string
Description of the expense category.
status
string
Whether the expense category is active. It can either be
true
or false
. attachment_file_name
string
Name of the attachment file.
flat_amount
double
Amount for the expense category.
is_description_required
boolean
Whether description is mandatory. It can either be
true
or false
. is_receipt_required
boolean
Whether receipt is required. It can either be
true
or false
. is_maximum_amount_required
boolean
Whether there is any maximum amount limit for expense. It can either be
true
or false
. receipt_required_amount
double
Amount limit above which receipt is mandatory.
maximum_allowed_amount
double
Expense amount limit.
created_time
string
Time at which this expense category was created.
is_custom
boolean
Whether the expense category is custom. It can either be
true
or false
. is_mileage
boolean
Whether this is a mileage category. It can either be
true
or false
. has_transaction
boolean
Whether this expense category has transactions associated with it. It can either be
true
or false
. category_icon
string
Icon for the category.
last_modified_time
string
Last modified time.
can_override_settings
boolean
Whether this expense category can override the default polices. It can either be
true
or false
. can_delete
boolean
Whether we can delete this expense category. It can either be
true
or false
. category_type
string
Type of the Category.
is_enabled
boolean
Whether the category is currently enabled. It can either be
true
or false
. parent_account_id
long
Account ID of parent category.
parent_account_name
string
Account name of the parent.
Create an expense category
Create a new expense category.
Arguments
category_name
string
(Required)
Name of the expense category.
gl_code
string
Unique account code for the expense category.
description
string
Description of the expense category.
maximum_allowed_amount
double
Expense amount limit.
receipt_required_amount
double
Amount limit above which receipt is mandatory.
flat_amount
double
Amount for the expense category.
parent_account_id
long
Account ID of parent category.
List of expense categories
List of all active expense categories.
Query Parameters
filter_by
object
For filtering Expense Categories based on Status.
Status.Inactive
string
List of all Inactive Expense Categories.
Status.All
string
List of all Expense Categories.
Update an expense category
Update the details of an existing expense category.
Arguments
category_name
string
Name of the expense category.
gl_code
string
Unique account code for the expense category.
description
string
Description of the expense category.
maximum_allowed_amount
double
Expense amount limit.
receipt_required_amount
double
Amount limit above which receipt is mandatory.
flat_amount
double
Amount for the expense category.
Retrieve details of an expense category
Details of an existing expense category.
Delete an expense category
Delete an existing expense category.
Enable an expense category
Enable an expense category.
Disable an expense category
Disable an expense category.