BizKitHub
DokumentáciaPrieskumník APILedger/api/v1/ledger/journal-template-list
getLedgerVerejné 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

Parametre

2 v query

Parametre v query

· 2
apiKeystringPovinné

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

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPovinné

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

Dĺžka: 16–24
PríkladKq3vTnY8mZ0aB1cD2eF3gH4i

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
itemsobject[]Povinné
Každá položka poľa:
idstringPovinné
namestringPovinné
PríkladMzdy
descriptionstring | nullPovinné
seedKeystring | nullPovinné
Príkladpayroll
linesobject[]Povinné
Každá položka poľa:
lineNonumberPovinné
labelstring | nullPovinné
accountCodestringPovinné
Príklad521
side"debit" | "credit"Povinné
defaultAmountnumber | nullPovinné

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

Príklad12100.5

Ukážka odpovede

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

Ukážka požiadavky

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"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč