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

/api/v1/ledger/document-list

Canonical accounting documents (doklady) of an entity, projected from invoices, purchase invoices and expenses.

  • status: draft, ready, blocked (open blocking data-quality finding), posted, cancelled, voided.
  • Amounts totalNet/Vat/Gross are in the document currency; totalGrossBase in the entity base currency.
  • Ordered by accounting date, newest first.
ledgergetApiV1LedgerDocument-list

Parametry

9 v query

Parametry v query

· 9
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
kindstringVolitelné
Délka: 0–32
Příkladissued_invoice
direction"issued" | "received" | "internal"Volitelné
status"draft" | "ready" | "blocked" | "posted" | "cancelled" | "voided"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é

Document id.

kindstringPovinné
directionstringPovinné
statusstringPovinné
documentNostring | nullPovinné
externalDocumentNostring | nullPovinné
partnerNamestring | nullPovinné
partnerVatIdstring | nullPovinné
accountingDatestringPovinné
taxableSupplyDatestring | nullPovinné
dueDatestring | nullPovinné
currencystringPovinné
totalNetnumberPovinné
totalVatnumberPovinné
totalGrossnumberPovinné
totalGrossBasenumberPovinné

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

Příklad12100.5
openFindingsnumberPovinné
blockingFindingsnumberPovinné

Ukázka odpovědi

application/json
{
  "page": 0,
  "limit": 0,
  "total": 0,
  "items": [
    {
      "id": "example_id",
      "kind": "example_kind",
      "direction": "example_direction",
      "status": "example_status",
      "accountingDate": "example_accountingDate",
      "currency": "example_currency",
      "totalNet": 0,
      "totalVat": 0,
      "totalGross": 0,
      "totalGrossBase": 12100.5,
      "openFindings": 0,
      "blockingFindings": 0
    }
  ]
}

Ukázka požadavku

GET /api/v1/ledger/document-list

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/document-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&kind=issued_invoice&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íč