BizKitHub
getLedgerÖffentliche API v1

/api/v1/ledger/saldo

Saldokonto: open receivables and payables from the journal as of a date (default today), per document, with aging.

  • amount is positive for what is owed (to the entity for receivables, by the entity for payables), in the base currency.
  • bucket: not_due, d1_30, d31_60, d61_90, d91_180, d181_365, over_365, unassigned (journal lines without a document).
  • accounts sums every open-item account with the same buckets.
ledgergetApiV1LedgerSaldo

Parameter

7 in der Query

Query-Parameter

· 7
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPflicht

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

Länge: 16–24
BeispielKq3vTnY8mZ0aB1cD2eF3gH4i
asOfstringOptional
Beispiel2026-03-31
side"receivable" | "payable"Optional
accountCodestringOptional
Länge: 0–16
Beispiel311
pagestring | numberOptional
Bereich: 1–∞
limitstring | numberOptional
Bereich: 1–500

Antwortschema

1 dokumentierter Statuscode

200Erfolg
asOfstringPflicht
pagenumberPflicht
limitnumberPflicht
totalnumberPflicht
accountsobject[]Pflicht
Jedes Array-Element:
codestringPflicht
namestringPflicht
sidestringPflicht
amountnumberPflicht

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

Beispiel12100.5
countnumberPflicht
bucketsobjectPflicht
itemsobject[]Pflicht
Jedes Array-Element:
documentIdstring | nullPflicht
documentNostring | nullPflicht
dueDatestring | nullPflicht
partnerNamestring | nullPflicht
accountCodestringPflicht
sidestringPflicht
amountnumberPflicht

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

Beispiel12100.5
daysOverduenumber | nullPflicht
bucketstringPflicht

Antwortbeispiel

application/json
{
  "asOf": "example_asOf",
  "page": 0,
  "limit": 0,
  "total": 0,
  "accounts": [
    {
      "code": "example_code",
      "name": "example_name",
      "side": "example_side",
      "amount": 12100.5,
      "count": 0,
      "buckets": {}
    }
  ],
  "items": [
    {
      "accountCode": "example_accountCode",
      "side": "example_side",
      "amount": 12100.5,
      "bucket": "example_bucket"
    }
  ]
}

Anfragebeispiel

GET /api/v1/ledger/saldo

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

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten