BizKitHub
DokumentacePrůzkumník APIBranch/api/v1/branch/my-finance-report-pdf
getBranchVeřejné API v1

/api/v1/branch/my-finance-report-pdf

Returns the print-ready A4 monthly finance report (application/pdf, inline) of one branch: headline KPIs (turnover, cash-in, franchise fee, write-offs, costs, gateway fee, net, settlement) and the detail tables. It is the same report the franchisee receives with the settlement invoice, rendered fresh on every request, so the numbers match /branch/my-monthly-breakdown to the cent.

Access rule (same as /branch/my-branch-list): a caller whose contact is linked to an organisation member holding root (directly or via a role) may open any active branch; everyone else only active branches where their contact is the technician in shop__branch_person. Any other slug, including a non-existent one, answers 403 BRANCH_FORBIDDEN.

branchgetApiV1BranchMy-finance-report-pdf

Parametry

4 v query

Parametry v query

· 4
apiKeystringPovinné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
identityIdstringPovinné

Logged user identity (from your frontend cookies). Learn more

PříkladZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg
branchSlugstringPovinné

Branch slug (from /branch/my-branch-list).

Příkladgymroom-vinohrady
monthstringPovinné

Month identifier in YYYY-MM format.

Příklad2026-10

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch

Tato odpověď nemá JSON tělo.

Ukázka odpovědi

application/json
{
  "success": true
}

Ukázka požadavku

GET /api/v1/branch/my-finance-report-pdf

get
curl -X GET "https://api.bizkithub.com/api/v1/branch/my-finance-report-pdf?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&identityId=Z9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg&branchSlug=gymroom-vinohrady&month=2026-10" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč