Parameters
2 query
Query parameters
· 2branchSlugstringRequiredExample
example_branchSlugmonthCountstringOptionalDefault 24, clamped to [1, 60].
Example
example_monthCountReturns 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.
2 query
branchSlugstringRequiredexample_branchSlugmonthCountstringOptionalDefault 24, clamped to [1, 60].
example_monthCount1 status code documented
This response returns no JSON body.
{
"success": true
}GET /bff/branch-cost/monthly-breakdown
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"All BizKitHub public API endpoints require authentication via API key.