BizKitHub
DokumentáciaPrieskumník APILedger/api/v1/ledger/account-list
getLedgerVerejné 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

Parametre

3 v query

Parametre v query

· 3
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

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPovinné

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

Dĺžka: 16–24
PríkladKq3vTnY8mZ0aB1cD2eF3gH4i
asOfstringVoliteľné
Príklad2026-03-31

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
asOfstringPovinné
itemsobject[]Povinné
Každá položka poľa:
idstringPovinné
codestringPovinné
Príklad311.100
syntheticCodestringPovinné
Príklad311
parentCodestring | nullPovinné
namestringPovinné
typestringPovinné

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

normalSide"debit" | "credit" | nullPovinné
Jedna z 3 možností:
Variant 1
"debit"
Variant 2
"credit"
Variant 3
null
isSyntheticbooleanPovinné
isActivebooleanPovinné
itemCountnumberPovinné

Ukážka odpovede

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
}

Ukážka požiadavky

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"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč