> ## Documentation Index
> Fetch the complete documentation index at: https://slovakapi.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List accounting units

> Returns a paginated list of accounting unit IDs.

* This endpoint returns **IDs only**.
* Use these IDs with [Get accounting unit](/ruz/api-reference/entity-details/get-accounting-unit) to fetch full records.
* To page through results, see [Pagination](/ruz/getting-started/pagination).

***

## Common patterns

<AccordionGroup>
  <Accordion title="Look up an accounting unit by IČO">
    Filter by `ico` for a precise lookup.

    ```bash theme={null}
    GET /api/uctovne-jednotky?zmenene-od=2000-01-01&ico=00603481
    ```
  </Accordion>

  <Accordion title="Filter by legal form">
    Use a legal form code from the [List legal forms](/ruz/api-reference/codelists/list-legal-forms) codelist.

    ```bash theme={null}
    GET /api/uctovne-jednotky?zmenene-od=2000-01-01&pravna-forma=701
    ```
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml ruz/openapi.json GET /api/uctovne-jednotky
openapi: 3.1.0
info:
  title: RÚZ API
  description: >-
    Public REST API for Slovakia's Register of Financial Statements (Register
    účtovných závierok). Exposes accounting units, financial statements,
    financial reports, and annual reports in JSON. Data is updated throughout
    the day as records are published.
  version: 2.5.0
  license:
    name: Creative Commons Zero (CC0)
    url: https://creativecommons.org/publicdomain/zero/1.0/
servers:
  - url: https://www.registeruz.sk/cruz-public
    description: Production
security: []
paths:
  /api/uctovne-jednotky:
    get:
      summary: List accounting units
      description: >-
        Returns a paginated list of accounting unit IDs changed on or after
        `zmenene-od`.
      operationId: listAccountingUnits
      parameters:
        - name: zmenene-od
          in: query
          required: true
          description: >-
            Return IDs changed on or after this date. Use `2000-01-01` for a
            full sync. Accepts `YYYY-MM-DD` or `YYYY-MM-DDThh:mm:ssZ`.
          schema:
            type: string
            example: '2000-01-01'
        - name: pokracovat-za-id
          in: query
          description: >-
            Pagination cursor. Pass the last `id` from the previous response to
            get the next page.
          schema:
            type: integer
        - name: max-zaznamov
          in: query
          description: Maximum number of IDs to return. Default 1000, maximum 10000.
          schema:
            type: integer
            default: 1000
            maximum: 10000
        - name: ico
          in: query
          description: Filter by IČO — exact match.
          schema:
            type: string
            example: '00603481'
        - name: dic
          in: query
          description: Filter by DIČ — exact match.
          schema:
            type: string
        - name: pravna-forma
          in: query
          description: >-
            Filter by legal form code. See [List legal
            forms](/api-reference/list-legal-forms) for valid codes.
          schema:
            type: string
            example: '701'
      responses:
        '200':
          description: List of matching IDs returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdListResponse'
        '400':
          description: Missing or invalid `zmenene-od` parameter.
components:
  schemas:
    IdListResponse:
      type: object
      description: Paginated list of entity IDs.
      properties:
        id:
          type: array
          description: Array of entity IDs. Empty array if no results match.
          items:
            type: integer
        existujeDalsieId:
          type: boolean
          description: >-
            When `true`, more IDs exist. Fetch the next page by passing the last
            ID in this response as `pokracovat-za-id`.

````