BizKitHub
DokumentáciaPrieskumník APILedger/api/v1/ledger/vat-ledger
getLedgerVerejné API v1

/api/v1/ledger/vat-ledger

VAT ledger (evidence pro DPH, § 100 ZDPH) of one month.

  • basis=tax_point (default) groups by the tax point; claimed groups received VAT by the period it may be claimed in.
  • byFormRow sums per DPH return row, byKhSection per control statement section (A4/A5 and B2/B3 split at 10 000 CZK).
ledgergetApiV1LedgerVat-ledger

Parametre

5 v query

Parametre v query

· 5
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
periodstringPovinné
Príklad2027-01
direction"issued" | "received"Voliteľné
basis"tax_point" | "claimed"Voliteľné

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
periodstringPovinné
basisstringPovinné
totalsobjectPovinné
outputBasenumberPovinné

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

Príklad12100.5
outputVatnumberPovinné

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

Príklad12100.5
inputBasenumberPovinné

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

Príklad12100.5
inputVatnumberPovinné

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

Príklad12100.5
balancenumberPovinné

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

Príklad12100.5
byFormRowobject[]Povinné
Každá položka poľa:
keystringPovinné
directionstringPovinné
basenumberPovinné

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

Príklad12100.5
vatnumberPovinné

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

Príklad12100.5
countnumberPovinné
byKhSectionobject[]Povinné
Každá položka poľa:
keystringPovinné
directionstringPovinné
basenumberPovinné

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

Príklad12100.5
vatnumberPovinné

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

Príklad12100.5
countnumberPovinné
entriesobject[]Povinné
Každá položka poľa:
directionstringPovinné
taxPointDatestringPovinné
claimedPeriodstring | nullPovinné
classificationCodestring | nullPovinné
dphFormRowstring | nullPovinné
khSectionstring | nullPovinné
vatRatenumberPovinné
partnerVatIdstring | nullPovinné
documentNostring | nullPovinné
documentIdstringPovinné
basenumberPovinné

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

Príklad12100.5
vatnumberPovinné

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

Príklad12100.5

Ukážka odpovede

application/json
{
  "period": "example_period",
  "basis": "example_basis",
  "totals": {
    "outputBase": 12100.5,
    "outputVat": 12100.5,
    "inputBase": 12100.5,
    "inputVat": 12100.5,
    "balance": 12100.5
  },
  "byFormRow": [
    {
      "key": "example_key",
      "direction": "example_direction",
      "base": 12100.5,
      "vat": 12100.5,
      "count": 0
    }
  ],
  "byKhSection": [
    {
      "key": "example_key",
      "direction": "example_direction",
      "base": 12100.5,
      "vat": 12100.5,
      "count": 0
    }
  ],
  "entries": [
    {
      "direction": "example_direction",
      "taxPointDate": "example_taxPointDate",
      "vatRate": 0,
      "documentId": "example_documentId",
      "base": 12100.5,
      "vat": 12100.5
    }
  ]
}

Ukážka požiadavky

GET /api/v1/ledger/vat-ledger

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/vat-ledger?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&entityId=Kq3vTnY8mZ0aB1cD2eF3gH4i&period=2027-01" \
  -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ľúč