BizKitHub
DokumentacjaEksplorator APILedger/api/v1/ledger/bank-rule-list
getLedgerPubliczne API v1

/api/v1/ledger/bank-rule-list

Bank rules of the accounting entity: they classify the unidentified part of a bank payment (no document behind it) to a counter-account. mode auto posts without review, suggest waits for a person.

ledgergetApiV1LedgerBank-rule-list

Parametry

2 w query

Parametry query

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

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
namestringWymagane
PrzykładBankovní poplatek
direction"in" | "out"Wymagane
counterpartyAccountstring | nullWymagane
counterpartyBankstring | nullWymagane
variableSymbolstring | nullWymagane
messageContainsstring | nullWymagane
accountCodestringWymagane
Przykład568
mode"suggest" | "auto"Wymagane
isActivebooleanWymagane
hitCountnumberWymagane

Przykład odpowiedzi

application/json
{
  "items": [
    {
      "id": "example_id",
      "name": "Bankovní poplatek",
      "accountCode": "568",
      "isActive": false,
      "hitCount": 0
    }
  ]
}

Przykład żądania

GET /api/v1/ledger/bank-rule-list

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