group_by value, with subtotals for each group and a totals row. Matches /owner/reports/report/manufacturing_order_costs.400, and validation_errors includes a rows entry. Use a shorter date range or add a filter.curl --location --globoff 'https://.daftara.com/api2/reports/manufacturing_order_costs?group_by=Type&date_from=2026-01-01&date_to=2026-03-31&manufacturing_order_id=5&bom_id=3&product_id=12&journal_account_id=7&cost_type=direct_cost&sub_production_routing_id=4&branch_id=1' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": {
"report": {
"key": "manufacturing_order_costs",
"title": "string",
"group_by": "string"
},
"filters": {
"property1": "string",
"property2": "string"
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"blocks": [
{
"currency": "string",
"totals": {
"estimated_amount": 0,
"actual_amount": 0
},
"groups": [
{
"key": "string",
"subtotals": {
"estimated_amount": 0,
"actual_amount": 0
},
"entries": [
{
"code": "string",
"type": "string",
"type_label": "string",
"description": "string",
"production_operation": "string",
"account": "string",
"branch": "string",
"estimated_amount": 0,
"actual_amount": 0,
"transaction_type": "string",
"product_id": 0,
"product_code": "string",
"bom_id": 0,
"bom_name": "string",
"bom_code": "string"
}
]
}
]
}
],
"meta": {
"currency_count": 0,
"group_count": 0,
"entry_count": 0
}
}
}