BizKitHub
DokumentationAPI-ExplorerLedger/api/v1/ledger/document-posting
getLedgerÖffentliche API v1

/api/v1/ledger/document-posting

Posting of one accounting document: the journal entry it would get now (accounts resolved exactly as posting would), what the automation would decide (auto, suggest, needs_input, blocked, skip) with a reason code, and the live journal entry once posted. Read only.

ledgergetApiV1LedgerDocument-posting

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

Document id from /document-list.

Länge: 24
Beispielexample_id

Antwortschema

1 dokumentierter Statuscode

200Erfolg
documentStatusstringPflicht
operationTypestringPflicht
Beispieldocument.issued
decisionstringPflicht
Beispielauto
reasonstring | nullPflicht
errorobject | nullPflicht
codestringPflicht
messagestringPflicht
journalEntryobject | nullPflicht
idstringPflicht
entryNostring | nullPflicht
originstringPflicht
isReversedbooleanPflicht
proposalobject | nullPflicht
entryDatestringPflicht
amountnumberPflicht

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

Beispiel12100.5
linesobject[]Pflicht
Jedes Array-Element:
accountCodestringPflicht
accountNamestringPflicht
sidestringPflicht
amountnumberPflicht

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

Beispiel12100.5
ruleKeystringPflicht

Antwortbeispiel

application/json
{
  "documentStatus": "example_documentStatus",
  "operationType": "document.issued",
  "decision": "auto"
}

Anfragebeispiel

GET /api/v1/ledger/document-posting

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/document-posting?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