Expenses · Reports
Boya API
Bills · Manage
Bills · Payments
Bills · Approval workflows
Bills · Budgets & setup
Bills · Attachments
payments
approvals
fx
Expenses · Retrieve
Expenses · Review & approvals
Expenses · Exports
Cards · Manage
Cards · Controls
Cards · Single-use
Cards · Physical cards
Cards · Authorization
subscriptions
tags
transactions
accounts
categories
taxes
vendors
customers
employees
teams
Investments · Portfolio & accounts
Investments · Fund movements
Investments · Access & permissions
business-policies
Wallet policies · Policies
Wallet policies · Permissions
Wallet policies · Access checks
Wallet policies · Audit
roles
audit-trail
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" }