{
"report": {
"key": "string",
"group_by": "string",
"mode": "detailed",
"group_dimension": "string",
"title": "string"
},
"filters": {
"group_by": "string",
"is_summary": 0,
"date_from": "2019-08-24",
"date_to": "2019-08-24",
"currency": "string",
"consolidated": true,
"client_id": 0,
"client_category": [
0
],
"product_id": 0,
"category": 0,
"brand_id": 0,
"supplier_id": 0,
"staff_id": [
0
],
"invoice_type": 0,
"invoice_status": 0,
"store": 0,
"branch_id": [
0
],
"order_source_id": 0,
"add_draft": 0,
"include_inactive_products": 0
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"currencies": [
{
"currency": "string",
"totals": {
"quantity": 0,
"discount": 0,
"tax": 0,
"total": 0,
"unit_price": 0
},
"groups": [
{
"key": "string",
"label": "string",
"period": {
"start": "2019-08-24",
"end": "2019-08-24"
},
"id": 0,
"product_code": "string",
"supplier_name": "string",
"has_transactions": true,
"subtotals": {
"quantity": 0,
"discount": 0,
"tax": 0,
"total": 0,
"unit_price": 0
},
"items": [
{
"quantity": 0,
"discount": 0,
"tax": 0,
"total": 0,
"unit_price": 0,
"id": 0,
"product_id": 0,
"name": "string",
"description": "string",
"product_code": "string",
"supplier_name": "string",
"date": "2019-08-24",
"document": {
"type": "string",
"id": 0,
"number": "string"
},
"client": {
"id": 0,
"name": "string",
"number": "string"
},
"staff": {
"id": 0,
"name": "string"
}
}
]
}
]
}
],
"meta": {
"currency_count": 0,
"group_count": 0,
"item_count": 0,
"is_summary": true,
"total_quantity_all_currencies": 0,
"staff_column_available": true,
"date_column_available": true
}
}