BizKitHub
DokumentacePrůzkumník APILedger/api/v1/ledger/payment-list
getLedgerVeřejné 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 v query

Parametry v query

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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPovinné

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

Délka: 16–24
PříkladKq3vTnY8mZ0aB1cD2eF3gH4i
state"unmatched" | "partial" | "settled" | "over"Volitelné
direction"in" | "out"Volitelné
dateFromstringVolitelné
Příklad2026-03-31
dateTostringVolitelné
Příklad2026-03-31
pagestring | numberVolitelné
Rozsah: 1–∞
limitstring | numberVolitelné
Rozsah: 1–500

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
pagenumberPovinné
limitnumberPovinné
totalnumberPovinné
itemsobject[]Povinné
Každá položka pole:
idstringPovinné
kindstringPovinné
Příkladbank
directionstringPovinné
Příkladin
valueDatestringPovinné
amountnumberPovinné

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

Příklad12100.5
currencystringPovinné
PříkladCZK
amountBasenumberPovinné

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

Příklad12100.5
variableSymbolstring | nullPovinné
counterpartyNamestring | nullPovinné
settledAmountnumberPovinné

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

Příklad12100.5
openAmountnumberPovinné

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

Příklad12100.5
settlementStatestringPovinné
Příkladsettled
journalEntryobject | nullPovinné
idstringPovinné
entryNostring | nullPovinné

Ukázka odpovědi

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"
    }
  ]
}

Ukázka požadavku

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"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč