Skip to main content

Account Statuses

How to Retrieve Account Status Output via REST API?

Written by Lenka Haringerová

Account balances ("Stavy účtů") can be retrieved via the REST API.

To retrieve account balances for the accounting period valid as of the current date, use the following URL: .../c/{firma}/stav-uctu[.xml]

You can also use detail levels and filtering.

If you need balances for an accounting period other than the current one, you must add the parameter ucetniObdobi to the URL. The value of this parameter is the abbreviation of the desired accounting period.

The resulting URL would look like this, for example:

.../c/{firma}/stav-uctu[.xml]?ucetniObdobi=2016

Another way to retrieve account balances for an accounting period other than the current one is to add the parameter idUcetniObdobi. This parameter allows the use of identifiers for the accounting period. If this parameter is used, it takes precedence over the parameter ucetniObdobi.

/c/{firma}/stav-uctu[.xml]

Account balances for the current accounting period

/c/{firma}/stav-uctu[.xml]?idUcetniObdobi=3

Account balances for the accounting period with ID 3

/c/{firma}/stav-uctu[.xml]?ucetniObdobi=2016

Account balances for the accounting period with the abbreviation 2016

Did this answer your question?