The payment status as of a given date can be retrieved via the REST API using a GET request to the URL:
/c/{firma}/saldo-k-datu, where {firma} is the database identifier of the company.
Data is available in both XML and JSON.
When generating the output, you can apply filtering on the register fields. The register also supports Summation.
The output can be further controlled using the following parameters:
datumThe date as of which the payment status is determined.
the default value is the current day (not required)
modulThe list of modules to be included
the default values are FAV, PHL, FAP, ZAV. The list of modules can be found in the register list.
dleUctoA flag indicating whether the output relates to the accounting date or the issue date (default is accounting date).
the default value is true, meaning the accounting date is used by default
All parameters are optional.
Call examples
The balance as of a date can be generated with a GET request, for example, for a restricted issue date:
https://demo.flexibee.eu/c/demo/saldo-k-datu/(datVyst > '2019-12-31').xml
Balance as of date from 12 December 2021, for the FAV module only, referenced to the issue date
GET /c/demo/saldo-k-datu.xml?datum=2021-12-12&modul=FAV&dleUcto=false
