BizKitHub
DokumentacePrůzkumník APILedger/api/v1/ledger/cash-book
getLedgerVeřejné API v1

/api/v1/ledger/cash-book

Cash book of one cash register (cash money account) for a period: opening and closing balance from the ledger, receipts (PPD) and expenses (VPD) with a running balance, and other entries on the cash account.

ledgergetApiV1LedgerCash-book

Parametry

5 v query

Parametry v query

· 5
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
registerIdstringPovinné

Cash money account external id.

Délka: 16–24
Příkladexample_registerId
fromstringVolitelné
Příklad2026-11-01
tostringVolitelné
Příklad2026-11-30

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
registerobjectPovinné
idstringPovinné
namestringPovinné
currencystringPovinné
accountCodestringPovinné
Příklad211
isActivebooleanPovinné
fromstringPovinné
tostringPovinné
openingnumberPovinné
receiptsnumberPovinné
expensesnumberPovinné
otherMovementsnumberPovinné
closingnumberPovinné
itemsobject[]Povinné
Každá položka pole:
idstringPovinné
documentNostring | nullPovinné
direction"in" | "out"Povinné
purposestringPovinné
Příkladsale
status"draft" | "posted" | "reversed"Povinné
issueDatestringPovinné
partnerNamestring | nullPovinné
descriptionstringPovinné
totalnumberPovinné
balancenumberPovinné

Ukázka odpovědi

application/json
{
  "register": {
    "id": "example_id",
    "name": "example_name",
    "currency": "example_currency",
    "accountCode": "211",
    "isActive": false
  },
  "from": "example_from",
  "to": "example_to",
  "opening": 0,
  "receipts": 0,
  "expenses": 0,
  "otherMovements": 0,
  "closing": 0,
  "items": [
    {
      "id": "example_id",
      "purpose": "sale",
      "issueDate": "example_issueDate",
      "description": "example_description",
      "total": 0,
      "balance": 0
    }
  ]
}

Ukázka požadavku

GET /api/v1/ledger/cash-book

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/cash-book?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&registerId=example_registerId&from=2026-11-01&to=2026-11-30" \
  -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íč