from_date, the period's sales, refunds, net sales, payments, and settlements, and the closing balance. Matches /owner/reports/report/client_balance. All figures are in the account currency.client_id, only that client is returned.400 instead of a partial list, and validation_errors includes a rows entry. Add a filter to narrow it down.show_details=1 adds columns for phone, address, category, and the client's custom fields. You can also filter by the account's custom fields using field_<id>. Filters on the newer custom fields only work when show_details=1 is set. Text values can't contain quotes or backslashes.curl --location --globoff 'https://.daftara.com/api2/reports/client_balance?from_date=2026-03-01&to_date=2026-03-31&fy_id=&client_id=&client_category_id=&assigned_staff_id=&follow_up_status_id=&keywords=&branch_id=&hide_zero=&show_details=&summary=' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": {
"report": {
"key": "client_balance",
"title": "string",
"summary": true
},
"filters": {
"from_date": "2019-08-24",
"to_date": "2019-08-24",
"fy_id": [
0
],
"client_id": [
0
],
"client_category_id": [
0
],
"assigned_staff_id": [
0
],
"follow_up_status_id": [
0
],
"keywords": "string",
"branch_id": [
0
],
"hide_zero": true,
"show_details": true,
"summary": true,
"property1": "string",
"property2": "string"
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"blocks": [
{
"currency": "string",
"totals": {
"balance_before": 0,
"total_sales": 0,
"total_refund": 0,
"net_sales": 0,
"total_payments": 0,
"settlements": 0,
"balance": 0
},
"clients": [
{
"id": 0,
"code": "string",
"account_no": "string",
"name": "string",
"branch": "string",
"follow_up_status": "string",
"assigned_staff": "string",
"balance_before": 0,
"total_sales": 0,
"total_refund": 0,
"net_sales": 0,
"total_payments": 0,
"settlements": 0,
"balance": 0,
"property1": "string",
"property2": "string"
}
]
}
],
"meta": {
"currency_count": 0,
"client_count": 0
}
}
}