BizKitHub
DokumentacePrůzkumník APILedger/api/v1/ledger/vat-ledger
getLedgerVeřejné 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

Parametry

5 v query

Parametry 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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
entityIdstringPovinné

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

Délka: 16–24
PříkladKq3vTnY8mZ0aB1cD2eF3gH4i
periodstringPovinné
Příklad2027-01
direction"issued" | "received"Volitelné
basis"tax_point" | "claimed"Volitelné

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
periodstringPovinné
basisstringPovinné
totalsobjectPovinné
outputBasenumberPovinné

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

Příklad12100.5
outputVatnumberPovinné

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

Příklad12100.5
inputBasenumberPovinné

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

Příklad12100.5
inputVatnumberPovinné

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

Příklad12100.5
balancenumberPovinné

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

Příklad12100.5
byFormRowobject[]Povinné
Každá položka pole:
keystringPovinné
directionstringPovinné
basenumberPovinné

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

Příklad12100.5
vatnumberPovinné

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

Příklad12100.5
countnumberPovinné
byKhSectionobject[]Povinné
Každá položka pole:
keystringPovinné
directionstringPovinné
basenumberPovinné

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

Příklad12100.5
vatnumberPovinné

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

Příklad12100.5
countnumberPovinné
entriesobject[]Povinné
Každá položka pole:
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).

Příklad12100.5
vatnumberPovinné

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

Příklad12100.5

Ukázka odpovědi

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ázka požadavku

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"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč