/owner/reports/report/clients_payments.payment_method includes client_credit.400 instead of a partial list, and validation_errors includes a rows entry. Add a filter to narrow it down.field_<id>. Filters on the newer custom fields only work when show_details=1 is set. For date and time fields, use field_<id>_from and field_<id>_to. Text values can't contain quotes or backslashes.details works the same way as on the report screen and ignores all other filters. It returns every payment whose client phone number matches, regardless of dates, status, or any other filter, so don't combine it with other filters.curl --location --globoff 'https://.daftara.com/api2/reports/clients_payments?from_date=2026-03-01&to_date=2026-03-31&client_id=&client_category=&payment_method=&treasury_id=&assigned_staff=&details=&branch_id=&group_by=&order_by=¤cy=&show_details=' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": {
"report": {
"key": "clients_payments",
"title": "string",
"group_by": "string",
"currency": "string"
},
"filters": {
"from_date": "2019-08-24",
"to_date": "2019-08-24",
"client_id": [
0
],
"client_category": [
0
],
"payment_method": [
"string"
],
"treasury_id": 0,
"assigned_staff": [
0
],
"details": "string",
"branch_id": [
0
],
"group_by": "string",
"order_by": [
"string"
],
"currency": "string",
"show_details": true,
"property1": "string",
"property2": "string"
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"blocks": [
{
"currency": "string",
"totals": {
"amount": 0
},
"groups": [
{
"key": "string",
"subtotals": {
"amount": 0
},
"payments": [
{
"id": 0,
"date": "2019-08-24",
"client_code": "string",
"client_name": "string",
"document_id": 0,
"document_type": "string",
"document_type_label": "string",
"document_no": "string",
"payment_method": "string",
"payment_method_label": "string",
"treasury": "string",
"amount": 0,
"currency": "string",
"assigned_staff": "string",
"collected_by": "string",
"added_by": "string",
"branch": "string",
"phone": "string",
"address": "string",
"category": "string",
"custom_fields": {
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}
]
}
]
}
],
"meta": {
"currency_count": 0,
"group_count": 0,
"payment_count": 0
}
}
}