Expense Summation

This endpoint can be used to retrieve the summation of all expense requests within the specified period. When start_date is passed without the end_date, the end_date is set to the end of the day for the start_date.

When grand_total is passed, the result returned is the total sum of the expense transactions in the system. If used along with start_date and end_date, the result returned is the total sum of the expense transactions within the specified date range.


Query Params
string
required

This is the name of the company as saved on the HRMS application

string

This field is optional. It can be used to filter the result by specific employee

date

DD-MM-YYYY

date

DD-MM-YYYY

boolean
enum

This field can be used to retrieve the total amount of all expense transactions.

Allowed:
string
enum
Defaults to amount

This field can be used to sort the transactions by either the amount or count

Allowed:
string
enum
Defaults to desc

This field can be used to sort the transactions either by ascending or descending order.

Allowed:
Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json