Using the ABRA Flexi REST API, you can generate a cash book. Just like in the application, the output is a PDF report.
The cash book export is available only in PDF format. We use the HTTP method GET for this.
Base URL
GET https://demo.flexibee.eu/c/demo/pokladni-kniha.pdf
Using the URL above will generate an empty cash book. This is because it lacks the parameters used to specify the cash register and the period range.
⚠️ Any extension other than .pdf will not return data — for example, pokladni-kniha.xml will respond with status 200, but instead of data it will return the application's HTML page.
Parameters
Parameter | Meaning |
|
|
| Issue date from, in the format |
| Issue date to, in the format |
🚨 The date must be in the format d.M.yyyy, i.e., for example 24.6.2020. The usual format 2020-06-24 will result in an error 400 here.
Example call
GET https://demo.flexibee.eu/c/demo/pokladni-kniha.pdf
?pokladna=POKLADNA+KČ
&datVystOd=24.6.2020
&datVystDo=24.6.2021
In the parameters, we passed the cash register code "POKLADNA KČ" (the space is written in the URL as +) and an issue date range from June 24, 2020 to June 24, 2021. The result of the call is the following PDF:

