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

/api/v1/ledger/payment-list

Payments (bank transactions and order payments) of an entity with their allocation to documents.

  • direction: in (money received) or out (money paid).
  • settlementState: unmatched, partial, settled, over. openAmount is the part not allocated to any document.
  • journalEntry is set once the payment is posted.
ledgergetApiV1LedgerPayment-list

Parametry

8 w query

Parametry query

· 8
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
state"unmatched" | "partial" | "settled" | "over"Opcjonalne
direction"in" | "out"Opcjonalne
dateFromstringOpcjonalne
Przykład2026-03-31
dateTostringOpcjonalne
Przykład2026-03-31
pagestring | numberOpcjonalne
Zakres: 1–∞
limitstring | numberOpcjonalne
Zakres: 1–500

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
pagenumberWymagane
limitnumberWymagane
totalnumberWymagane
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
kindstringWymagane
Przykładbank
directionstringWymagane
Przykładin
valueDatestringWymagane
amountnumberWymagane

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

Przykład12100.5
currencystringWymagane
PrzykładCZK
amountBasenumberWymagane

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

Przykład12100.5
variableSymbolstring | nullWymagane
counterpartyNamestring | nullWymagane
settledAmountnumberWymagane

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

Przykład12100.5
openAmountnumberWymagane

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

Przykład12100.5
settlementStatestringWymagane
Przykładsettled
journalEntryobject | nullWymagane
idstringWymagane
entryNostring | nullWymagane

Przykład odpowiedzi

application/json
{
  "page": 0,
  "limit": 0,
  "total": 0,
  "items": [
    {
      "id": "example_id",
      "kind": "bank",
      "direction": "in",
      "valueDate": "example_valueDate",
      "amount": 12100.5,
      "currency": "CZK",
      "amountBase": 12100.5,
      "settledAmount": 12100.5,
      "openAmount": 12100.5,
      "settlementState": "settled"
    }
  ]
}

Przykład żądania

GET /api/v1/ledger/payment-list

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/payment-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&dateFrom=2026-03-31&dateTo=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