BizKitHub
DokumentacjaEksplorator APILedger/api/v1/ledger/asset-list
getLedgerPubliczne API v1

/api/v1/ledger/asset-list

Fixed-asset register of an accounting entity with values (price incl. improvements, accumulated depreciation, residual values) as of a date.

ledgergetApiV1LedgerAsset-list

Parametry

4 w query

Parametry query

· 4
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringWymagane

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

Długość: 16–24
PrzykładKq3vTnY8mZ0aB1cD2eF3gH4i
asOfstringOpcjonalne
Przykład2026-12-31
status"all" | "draft" | "in_use" | "disposed"Opcjonalne

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
inventoryNumberstringWymagane
PrzykładDM-0001
namestringWymagane
kind"tangible" | "intangible"Wymagane
status"draft" | "in_use" | "disposed"Wymagane
assetAccountCodestringWymagane
Przykład022
accumulatedAccountCodestring | nullWymagane
acquisitionDatestringWymagane
putIntoUseDatestring | nullWymagane
disposalDatestring | nullWymagane
taxMethod"straight" | "accelerated" | "by_accounting" | "none"Wymagane
taxGroupnumber | nullWymagane
pricenumberWymagane
accumulatednumberWymagane
residualnumberWymagane
taxResidualnumber | nullWymagane

Przykład odpowiedzi

application/json
{
  "items": [
    {
      "id": "example_id",
      "inventoryNumber": "DM-0001",
      "name": "example_name",
      "assetAccountCode": "022",
      "acquisitionDate": "example_acquisitionDate",
      "price": 0,
      "accumulated": 0,
      "residual": 0
    }
  ]
}

Przykład żądania

GET /api/v1/ledger/asset-list

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/asset-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&asOf=2026-12-31" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API