BizKitHub
DokumentationAPI-ExplorerLedger/api/v1/ledger/stock-status
getLedgerÖffentliche API v1

/api/v1/ledger/stock-status

Stock kept by method A: quantity, value and average unit cost of every stock card as of a date, for all warehouses or one. Values come from the posted stock movements (moving average or FIFO per warehouse).

ledgergetApiV1LedgerStock-status

Parameter

8 in der Query

Query-Parameter

· 8
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPflicht

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

Länge: 16–24
BeispielKq3vTnY8mZ0aB1cD2eF3gH4i
asOfstringOptional
Beispiel2026-12-31
warehouseIdstringOptional

Warehouse external id.

Länge: 16–24
Beispielexample_warehouseId
searchstringOptional
Länge: 0–100
Beispielexample_search
onlyInStockstringOptional
Beispieltrue
limitstringOptional
Beispielexample_limit
offsetstringOptional
Beispielexample_offset

Antwortschema

1 dokumentierter Statuscode

200Erfolg
asOfstringPflicht
totalnumberPflicht
itemsobject[]Pflicht
Jedes Array-Element:
idstringPflicht
codestringPflicht
namestringPflicht
unitstringPflicht
kind"goods" | "material" | "product"Pflicht
productIdnumber | nullPflicht
stockAccountstringPflicht
Beispiel132
quantitynumberPflicht
valuenumberPflicht
unitCostnumber | nullPflicht

Antwortbeispiel

application/json
{
  "asOf": "example_asOf",
  "total": 0,
  "items": [
    {
      "id": "example_id",
      "code": "example_code",
      "name": "example_name",
      "unit": "example_unit",
      "stockAccount": "132",
      "quantity": 0,
      "value": 0
    }
  ]
}

Anfragebeispiel

GET /api/v1/ledger/stock-status

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/stock-status?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&asOf=2026-12-31&warehouseId=example_warehouseId&search=example_search&onlyInStock=true&limit=example_limit&offset=example_offset" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten