Skip to main content
GET
Count accounting units
Use this endpoint to estimate how many records a sync will process before starting. For example, you can use it to show a progress bar, build structured logs, or decide whether to run a full sync or a targeted one. It accepts the same filters as List accounting units and returns a single count. It is not required for pagination.

Common patterns

Fetch the count before starting a sync to know how many records you’ll process.
Counting accounting units

Query Parameters

zmenene-od
string
required

Return IDs changed on or after this date. Accepts YYYY-MM-DD or YYYY-MM-DDThh:mm:ssZ.

Example:

"2000-01-01"

pokracovat-za-id
integer

Pagination cursor. Pass the last id from the previous response.

ico
string

Filter by IČO — exact match.

pravna-forma
string

Filter by legal form code.

Response

200 - application/json

Remaining count returned successfully.

Count of remaining IDs matching the given filters.

pocetZostavajucichId
integer

Number of remaining IDs.