summary is 1, grouped by group_by./owner/reports/report/credit_charge_details. Not paginated. More than 3000 charges (10000 entries across groups), or more than 3000 groups in the summary view, is answered 400 rather than truncated; the refusal carries a rows entry in validation_errors.totals is null when group_by is Credit Type.curl --location --globoff 'https://.daftara.com/api2/reports/credit_charge_details?group_by=Credit%20Type&from_date=2026-01-01&to_date=2026-12-31&summary=&client_id=&credit_type=&branch_id=' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": {
"report": {
"key": "string",
"title": "string",
"summary": true,
"group_by": "string"
},
"filters": {
"group_by": "string",
"summary": true,
"from_date": "2019-08-24",
"to_date": "2019-08-24",
"client_id": 0,
"credit_type": 0,
"branch_id": [
0
]
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"blocks": [
{
"totals": {
"amount": 0,
"unit": "string"
},
"groups": [
{
"key": "string",
"subtotals": {
"amount": 0
},
"unit": "string",
"charges": [
{
"id": 0,
"start_date": "2019-08-24",
"expiry_date": "2019-08-24",
"branch": "string",
"amount": 0,
"unit": "string"
}
]
}
]
}
],
"meta": {
"group_count": 0,
"charge_count": 0
}
}
}