Reference
/- Get category report for expenses
Get hierarchical team-category-subcategory expense report
Get category report for e...
Security
oauth2ClientCredentials(Required scopes: expenses:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/expenses/category-report
- Productionhttps://api.boyahq.com/v2/expenses/category-report
- Sandboxhttps://sandbox.api.boyahq.com/v2/expenses/category-report
curl -i -X POST \
https://developer.boyahq.com/_mock/v2/openapi/expenses/category-report \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"period": 5,
"accountref": 1,
"teamcode": "T0012T"
}'Response
{ "data": { "labels": [ … ], "data": [ … ], "total": 1496 }, "status": 0, "message": "success" }