BizKitHub
DokumentacjaEksplorator APILedger/api/v1/ledger/check-runs
getLedgerPubliczne API v1

/api/v1/ledger/check-runs

Ledger check runs: integrity (daily, kernel invariants) or monthly (latest run per month: invariants, unposted work, negative cash, bank reconciliation against the payment register, suspense balance, open items without a document).

ledgergetApiV1LedgerCheck-runs

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
kind"integrity" | "monthly"Wymagane

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
monthstring | nullWymagane
asOfstringWymagane
Przykład2026-10-31
status"ok" | "warning" | "error"Wymagane
errorCountnumberWymagane
warningCountnumberWymagane
findingsobject[]Wymagane
Każdy element tablicy:
codestringWymagane
Przykładbank_reconciliation
severitystringWymagane
countnumberWymagane
insertedDatestringWymagane

Przykład odpowiedzi

application/json
{
  "items": [
    {
      "id": "example_id",
      "asOf": "2026-10-31",
      "errorCount": 0,
      "warningCount": 0,
      "findings": [
        {
          "code": "bank_reconciliation",
          "severity": "example_severity",
          "count": 0
        }
      ],
      "insertedDate": "example_insertedDate"
    }
  ]
}

Przykład żądania

GET /api/v1/ledger/check-runs

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/check-runs?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i" \
  -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