BizKitHub
DocsAPI ReferenceBranch Cost/bff/branch-cost/monthly-breakdown
getBranch CostAdmin BFF

/bff/branch-cost/monthly-breakdown

Returns the cost matrix powering the Costs tab on the branch detail page: rows = months in the requested window, cells = computed amount per cost line (fixed → defaultAmount, variable → entry amount, 0 + flagged when missing). Also returns row totals (per month) and column totals (per cost), so the grid can show the "Celkem" column without recomputing.

Branch CostgetBffBranch-costMonthly-breakdown

Parameters

2 query

Query parameters

· 2
branchSlugstringRequired
Exampleexample_branchSlug
monthCountstringOptional

Default 24, clamped to [1, 60].

Exampleexample_monthCount

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

GET /bff/branch-cost/monthly-breakdown

get
curl -X GET "https://api.bizkithub.com/bff/branch-cost/monthly-breakdown?branchSlug=example_branchSlug&monthCount=example_monthCount" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key