Expense Overview

Fetch Categorised list of Expenses

POST http://node-staging.billeasy.in/api/v1/Customers/getAllCategoryOverview

This endpoint allows you to fetch category wise Expense overview along with date filters.

Headers

Name
Type
Description

Content-Type

string

application/json

x-customer-number

string

User / Customer registered mobile number

x-customer-token

string

A token will be provided on Successful login

x-api-secret

string

Needs to be requested from Billeasy

x-api-access

string

Authentication token to track down who is emptying our stocks.

Request Body

Name
Type
Description

customer_id

string

User ID / Customer ID

isBusiness

string

true / false for fetching business or personal expenses and leave it blank for fetching all.

date_month

string

To Fetch the expenses for a particular month

date_year

string

To Fetch the expenses for a particular year

{
  "success": true,
  "msg": "all customers data",
  "data": [
    {
      "total_transactions": "28",
      "total_amount": "3054.06",
      "category_id": "2",
      "category_name": "Travel"
    },
    {
      "total_transactions": "7",
      "total_amount": "1965.54",
      "category_id": "1",
      "category_name": "Shopping"
    },
    {
      "total_transactions": "1",
      "total_amount": "245.00",
      "category_id": "5",
      "category_name": "F&B"
    }
  ]
}

Last updated