{
"report": {
"key": "revenue",
"report_type": "client",
"mode": "detailed",
"group_by": "string",
"group_dimension": "string",
"title": "string"
},
"filters": {
"report_type": "string",
"group_by": "string",
"date_from": "2019-08-24",
"date_to": "2019-08-24",
"client_id": 0,
"client_category": [
0
],
"staff_id": [
"string"
],
"invoice_type": [
"string"
],
"currency": "string",
"shipping_option_id": 0,
"show_not_taxed": true,
"work_order_id": 0,
"order_source_id": 0,
"branch_id": [
0
],
"e_invoice_status": [
"string"
],
"converted_to": "string"
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"currencies": [
{
"currency": "string",
"totals": {
"paid": 0,
"unpaid": 0,
"refund": 0,
"total": 0,
"total_without_tax": 0,
"unpaid_retention": 0
},
"groups": [
{
"key": "string",
"label": "string",
"period": {
"start": "2019-08-24",
"end": "2019-08-24"
},
"id": 0,
"client_identity": {
"bn1": "string",
"bn1_label": "string"
},
"subtotals": {
"paid": 0,
"unpaid": 0,
"refund": 0,
"total": 0,
"total_without_tax": 0,
"unpaid_retention": 0
},
"invoices": [
{
"paid": 0,
"unpaid": 0,
"refund": 0,
"total": 0,
"total_without_tax": 0,
"unpaid_retention": 0,
"no": "string",
"document_type": "invoice",
"date": "2019-08-24",
"client": {
"id": 0,
"name": "string",
"bn1": "string",
"bn1_label": "string",
"bn2": "string",
"bn2_label": "string"
},
"staff": {
"id": 0,
"name": "string"
},
"sales_person": {
"id": 0,
"name": "string"
},
"e_invoice_status": {
"code": "string",
"label": "string"
},
"shows_retention": true
}
]
}
]
}
],
"meta": {
"currency_count": 0,
"group_count": 0,
"retention_enabled": true,
"e_invoice_enabled": true,
"sales_without_tax_enabled": true,
"invoice_count": 0,
"invoice_id_available": true,
"converted_to": "string"
}
}