Count accounting units
Remaining counts
Count accounting units
Returns the number of remaining accounting unit IDs.
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
Log the number of remaining records
Log the number of remaining records
Fetch the count before starting a sync to know how many records you’ll process.
Counting accounting units
Query Parameters
Return IDs changed on or after this date. Accepts YYYY-MM-DD or YYYY-MM-DDThh:mm:ssZ.
Example:
"2000-01-01"
Pagination cursor. Pass the last id from the previous response.
Filter by IČO — exact match.
Filter by legal form code.
Response
200 - application/json
Remaining count returned successfully.
Count of remaining IDs matching the given filters.
Number of remaining IDs.