BizKitHub
DokumentacjaEksplorator APILedger/api/v1/ledger/account-list
getLedgerPubliczne API v1

/api/v1/ledger/account-list

Chart of accounts (účtový rozvrh) of an accounting entity as of a date.

Names and the active flag are effective-dated: asOf (default today) selects the version. Analytic accounts carry parentCode.

ledgergetApiV1LedgerAccount-list

Parametry

3 w query

Parametry query

· 3
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
asOfstringOpcjonalne
Przykład2026-03-31

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
asOfstringWymagane
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
codestringWymagane
Przykład311.100
syntheticCodestringWymagane
Przykład311
parentCodestring | nullWymagane
namestringWymagane
typestringWymagane

asset, liability, equity, revenue, expense, offbalance, closing.

normalSide"debit" | "credit" | nullWymagane
Jedna z 3 opcji:
Wariant 1
"debit"
Wariant 2
"credit"
Wariant 3
null
isSyntheticbooleanWymagane
isActivebooleanWymagane
itemCountnumberWymagane

Przykład odpowiedzi

application/json
{
  "asOf": "example_asOf",
  "items": [
    {
      "id": "example_id",
      "code": "311.100",
      "syntheticCode": "311",
      "name": "example_name",
      "type": "example_type",
      "isSynthetic": false,
      "isActive": false
    }
  ],
  "itemCount": 0
}

Przykład żądania

GET /api/v1/ledger/account-list

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/account-list?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