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

/api/v1/ledger/journal-template-list

Journal templates of the accounting entity: the recommended ones (seedKey: payroll, closing.*) and the entity's own. defaultAmount null means the amount is filled in when the template is used.

ledgergetApiV1LedgerJournal-template-list

Parameter

2 in der Query

Query-Parameter

· 2
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

Antwortschema

1 dokumentierter Statuscode

200Erfolg
itemsobject[]Pflicht
Jedes Array-Element:
idstringPflicht
namestringPflicht
BeispielMzdy
descriptionstring | nullPflicht
seedKeystring | nullPflicht
Beispielpayroll
linesobject[]Pflicht
Jedes Array-Element:
lineNonumberPflicht
labelstring | nullPflicht
accountCodestringPflicht
Beispiel521
side"debit" | "credit"Pflicht
defaultAmountnumber | nullPflicht

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

Beispiel12100.5

Antwortbeispiel

application/json
{
  "items": [
    {
      "id": "example_id",
      "name": "Mzdy",
      "lines": [
        {
          "lineNo": 0,
          "accountCode": "521"
        }
      ]
    }
  ]
}

Anfragebeispiel

GET /api/v1/ledger/journal-template-list

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