BizKitHub
DokumentacjaEksplorator APILedger/api/v1/ledger/statement
getLedgerPubliczne API v1

/api/v1/ledger/statement

Balance sheet or income statement by nature under decree 500/2002 Sb. as of a date (default: the end of the newest open period or today).

  • scope: full, small (abridged for a small entity) or micro.
  • Assets carry gross, correction and net; other rows only net (gross = net, correction = 0).
  • previousNet: the previous fiscal period at its end, or the opening balance sheet in the first period.
  • Year-end closing entries are left out, so the current result shows on row A.V.
ledgergetApiV1LedgerStatement

Parametry

6 w query

Parametry query

· 6
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringWymagane

Accounting entity id (from /ledger/entity-list).

Długość: 16–24
PrzykładKq3vTnY8mZ0aB1cD2eF3gH4i
kind"balance_sheet" | "income_statement"Wymagane
scope"full" | "small" | "micro"Opcjonalne
fiscalYearstring | numberOpcjonalne
Zakres: 1990–2100
asOfstringOpcjonalne
Przykład2026-03-31

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
kindstringWymagane
Przykładbalance_sheet
scopestringWymagane
Przykładfull
fiscalYearnumberWymagane
Przykład2027
asOfstringWymagane
Przykład2027-12-31
balancedbooleanWymagane
rowsobject[]Wymagane
Każdy element tablicy:
codestringWymagane
PrzykładB.II.
sectionstringWymagane
Przykładassets
labelstringWymagane
levelnumberWymagane
grossnumberWymagane

Amount in the base currency of the accounting entity (2 decimals).

Przykład12100.5
correctionnumberWymagane

Amount in the base currency of the accounting entity (2 decimals).

Przykład12100.5
netnumberWymagane

Amount in the base currency of the accounting entity (2 decimals).

Przykład12100.5
previousNetnumberWymagane

Amount in the base currency of the accounting entity (2 decimals).

Przykład12100.5

Przykład odpowiedzi

application/json
{
  "kind": "balance_sheet",
  "scope": "full",
  "fiscalYear": 2027,
  "asOf": "2027-12-31",
  "balanced": false,
  "rows": [
    {
      "code": "B.II.",
      "section": "assets",
      "label": "example_label",
      "level": 0,
      "gross": 12100.5,
      "correction": 12100.5,
      "net": 12100.5,
      "previousNet": 12100.5
    }
  ]
}

Przykład żądania

GET /api/v1/ledger/statement

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/statement?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&asOf=2026-03-31" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API