BizKitHub
DokumentationAPI-ExplorerLedger/api/v1/ledger/journal-detail
getLedgerÖffentliche API v1

/api/v1/ledger/journal-detail

One posted journal entry with its lines.

Each line has a side (debit = MD, credit = Dal) and a positive amount. isRedStorno lines count negatively on their side (červené storno).

ledgergetApiV1LedgerJournal-detail

Parameter

3 in der Query

Query-Parameter

· 3
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
idstringPflicht
Länge: 24
Beispielexample_id

Antwortschema

1 dokumentierter Statuscode

200Erfolg
idstringPflicht

Journal entry id.

entryNostring | nullPflicht
entryDatestringPflicht

Accounting date (YYYY-MM-DD).

documentDatestring | nullPflicht
documentNostring | nullPflicht
descriptionstring | nullPflicht
amountnumberPflicht

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

Beispiel12100.5
sourceTypestringPflicht

Origin document type (manual, invoice, bank, …).

originstringPflicht

manual, document, opening, closing, adjustment, …

fiscalYearnumberPflicht
reversesEntryIdstring | nullPflicht
reversedByEntryIdstring | nullPflicht
linesobject[]Pflicht
Jedes Array-Element:
lineNonumberPflicht
accountCodestringPflicht
accountNamestringPflicht
side"debit" | "credit"Pflicht
amountnumberPflicht

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

Beispiel12100.5
isRedStornobooleanPflicht
partnerIdstring | nullPflicht

Contact id of the counterparty.

descriptionstring | nullPflicht
dimensionsobject[]Pflicht

Dimension values of the line (cost centre, project, …), one per dimension type.

Jedes Array-Element:
typeIdstringPflicht
typeNamestringPflicht
BeispielStředisko
valueIdstringPflicht
valueCodestringPflicht
BeispielPRAHA
valueNamestringPflicht

Antwortbeispiel

application/json
{
  "id": "example_id",
  "entryDate": "example_entryDate",
  "amount": 12100.5,
  "sourceType": "example_sourceType",
  "origin": "example_origin",
  "fiscalYear": 0,
  "lines": [
    {
      "lineNo": 0,
      "accountCode": "example_accountCode",
      "accountName": "example_accountName",
      "amount": 12100.5,
      "isRedStorno": false,
      "dimensions": [
        {
          "typeId": "example_typeId",
          "typeName": "Středisko",
          "valueId": "example_valueId",
          "valueCode": "PRAHA",
          "valueName": "example_valueName"
        }
      ]
    }
  ]
}

Anfragebeispiel

GET /api/v1/ledger/journal-detail

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/journal-detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&id=example_id" \
  -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