Skip to main content
GET
/
service
/
general-ledger
/
accounts
/
{account_id}
/
balance
curl -X GET "https://kube.acho.io/service/general-ledger/accounts/11100/balance?start_date=2024-01-01&end_date=2024-01-31" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "account_id": "11100",
  "account_name": "Cash - Operating",
  "account_type": "Asset",
  "currency": "USD",
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "opening_balance": 45000.00,
  "total_debits": 15000.00,
  "total_credits": 10000.00,
  "net_change": 5000.00,
  "ending_balance": 50000.00
}

Request

Retrieve the balance for a specific GL account within a date range.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN

Path Parameters

account_id
string
required
The unique identifier of the account

Query Parameters

start_date
string
required
Start date for the balance calculation (YYYY-MM-DD format)
end_date
string
required
End date for the balance calculation (YYYY-MM-DD format)
curl -X GET "https://kube.acho.io/service/general-ledger/accounts/11100/balance?start_date=2024-01-01&end_date=2024-01-31" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "account_id": "11100",
  "account_name": "Cash - Operating",
  "account_type": "Asset",
  "currency": "USD",
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "opening_balance": 45000.00,
  "total_debits": 15000.00,
  "total_credits": 10000.00,
  "net_change": 5000.00,
  "ending_balance": 50000.00
}

Response Fields

FieldTypeDescription
account_idstringAccount identifier
account_namestringAccount display name
account_typestringAccount classification
currencystringAccount currency
start_datestringStart of the date range
end_datestringEnd of the date range
opening_balancenumberBalance at start of period
total_debitsnumberSum of all debits in period
total_creditsnumberSum of all credits in period
net_changenumberNet change during period
ending_balancenumberBalance at end of period