VAT return, control statement and recapitulative statement¶
Outputs for the tax authority are generated via the REST API as XML (for
filing) or PDF (for printing). Parameters go in the query string; GET and
POST are supported. Sources (in Czech) at podpora.flexibee.eu:
VAT return,
Control statement,
Recapitulative statement.
VAT return (priznani-dph)¶
GET /c/{company}/priznani-dph.xml?rok=2024&mesic=1&koeficient=100
GET /c/{company}/priznani-dph.pdf?rok=2024&mesic=1&koeficient=100
GET /c/{company}/priznani-dph.xml?rok=2024&mesic=1&koeficient=0&stat=SK
GET /c/{company}/priznani-dph/form-data.xml
Parameter |
Meaning |
|---|---|
|
Required. For quarterly payers |
|
Optional; default CZ |
|
Default |
|
Required for a supplementary return: ID of the previous return from
|
|
Required for a Czech supplementary return. |
|
|
|
Optional; |
|
|
|
PDF only, e.g. |
|
|
form-data returns the supportXml/supportPdf flags,
dostupneDruhy and dostupneReporty. Since 2024.7.0 it replaces the
earlier /dostupne-druhy; since 2025.8.1 it also accepts period
parameters (year, month, Q1–Q4) and returns coefficients for Czech
companies.
Saved returns:
GET /c/{company}/ulozene-priznani-dph/(rok eq 2024 and mesic eq 1).xml
POST /c/{company}/ulozene-priznani-dph/query {"rok":"2024","mesic":"1"}
Errors (HTTP 400): unsupported_param_value_exception (unsupported
druh), missing_param_exception (missing dodatecneOproti),
parametrPovinny (missing rok/mesic) and an error for a
corrected return in a different period. Since 2025.3.3 the API also returns
400 when the VAT state of the corrected and supplementary return differ.
Control statement (kontrolni-hlaseni)¶
GET /c/{company}/kontrolni-hlaseni.xml?obdobi=2024Q2
GET /c/{company}/kontrolni-hlaseni.pdf?obdobi=2024Q2
GET /c/{company}/kontrolni-hlaseni.xml?obdobi=202410&druh=N&datumZjisteni=2024-10-10
GET /c/{company}/kontrolni-hlaseni/form-data.xml
Parameter |
Meaning |
|---|---|
|
Month |
|
CZ: |
|
Required for |
|
Required for a Slovak supplementary statement. |
|
|
|
Required if |
|
As for the VAT return. |
Generated data (JSON and XML):
GET /c/{company}/kontrolni-hlaseni-dph.json?rok=2024&ctvrtleti=2
(rok and ctvrtleti or mesic required; optional
clenKonVykNull=true, kodSkTooLong=true). Saved statements:
/c/{company}/ulozene-priznani-kon-vyk-dph/(rok eq 2024 and ctvrtleti eq 2).xml.
Errors (HTTP 400): missing company settings (tax office, e-mail or data box,
representative); since 2025.9.0 the same for both XML and PDF when the tax
office is not filled in; missing_param_exception,
unsupported_param_value_exception, illegal_parameter_exception.
Recapitulative statement (souhrnne-hlaseni)¶
GET /c/{company}/souhrnne-hlaseni.xml?mesic=1&rok=2024
GET /c/{company}/souhrnne-hlaseni.pdf?mesic=1&rok=2024
GET /c/{company}/souhrnne-hlaseni-dph.json?rok=2024&ctvrtleti=2
rok and either mesic (1–12) or ctvrtleti (1–4) are required;
stat (CZ/SK) is optional. The PDF call returns 307 to
/c/{company}/souhrnne-hlaseni-dph.pdf — the client must follow the
redirect. Errors (HTTP 400): ctvrtleti outside 1–4, unsupported stat,
no period given.