BizKitHub
DokumentáciaPrieskumník APILedger/api/v1/ledger/document-list
getLedgerVerejné 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

Parametre

9 v query

Parametre 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

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPovinné

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

Dĺžka: 16–24
PríkladKq3vTnY8mZ0aB1cD2eF3gH4i
kindstringVoliteľné
Dĺžka: 0–32
Príkladissued_invoice
direction"issued" | "received" | "internal"Voliteľné
status"draft" | "ready" | "blocked" | "posted" | "cancelled" | "voided"Voliteľné
dateFromstringVoliteľné
Príklad2026-03-31
dateTostringVoliteľné
Príklad2026-03-31
pagestring | numberVoliteľné
Rozsah: 1–∞
limitstring | numberVoliteľné
Rozsah: 1–500

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
pagenumberPovinné
limitnumberPovinné
totalnumberPovinné
itemsobject[]Povinné
Každá položka poľa:
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).

Príklad12100.5
openFindingsnumberPovinné
blockingFindingsnumberPovinné

Ukážka odpovede

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ážka požiadavky

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"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč