Using the REST API, you can check the payment status as of a given date with a GET request to the URL /c/{firma}/saldo-k-datu, where {firma} is the company's database identifier. Data is available in both XML and JSON.
When generating the report, you can apply filtering on the record's fields. The record also supports summation.
Parameters
All parameters are optional.
Parameter | Meaning | Default value |
| The date as of which the payment status is checked. | current day |
| A list of modules to include. Allowed values are | all four |
| A flag indicating whether the listing relates to the accounting date or the issue date. |
|
⚠️ For this service, the modul parameter uses a different set of allowed values than for saldo: here, FAV is used, whereas for saldo, modulUcetni.FAV is used instead. Mixing them up will result in a 400 error, in which the server will list the allowed values.
Call examples
Saldo as of a date, restricted by a filter on the issue date:
GET https://demo.flexibee.eu/c/demo/saldo-k-datu/(datVyst > '2019-12-31').xml
Saldo as of 12/12/2021, for the FAV module only, relative to the issue date:
GET /c/demo/saldo-k-datu.xml?datum=2021-12-12&modul=FAV&dleUcto=false
