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

# Get financial report

> Returns the full record for a single financial report.

To get a financial report ID, use [List financial reports](/ruz/api-reference/identifier-lists/list-financial-reports).

<Tip>Learn more about [Data access](/ruz/getting-started/data-access) pattern used across the RÚZ API.</Tip>

***

## Common patterns

<AccordionGroup>
  <Accordion title="Reading table data">
    The `obsah.tabulky` array contains the financial data. Each table has a `nazov` (name) and a `data` array of numeric strings.

    The row labels aren't included in the report itself — they're defined by the template at `idSablony`. Fetch it from [Get report template](/ruz/api-reference/templates/get-report-template) to map each row index to its Slovak label.

    ```js Map table data to row labels using the template theme={null}
    // 1. Fetch the financial report and its template
    const report = await fetchReport(686260);
    const template = await fetchTemplate(report.idSablony);

    // 2. Iterate tables and map each value to its row label
    report.obsah.tabulky.forEach((table, i) => {
      const templateTable = template.tabulky[i];
      table.data.forEach((value, rowIndex) => {
        const rowLabel = templateTable.riadky[rowIndex]?.text?.sk;
        console.log(`${rowLabel}: ${value}`);
      });
    });
    ```
  </Accordion>

  <Accordion title="Downloading attachments">
    Financial reports can include attachments such as scanned documents and PDFs. These are listed in the `prilohy` array.

    Download the file from the attachment URL:
    <span className="text-sm">`https://www.registeruz.sk/domain/financialreport/attachment/{id}`</span>

    ```js Download an attachment from a financial report theme={null}
    // 1. Pick the first attachment from the report
    const attachment = report.prilohy[0];

    // 2. Download the file from the attachment URL
    const file = await fetch(
      `https://www.registeruz.sk/domain/financialreport/attachment/${attachment.id}`
    );
    ```

    <Info>Some reports have `pristupnostDat: "Neverejné"` — non-public reports return metadata and structure but no attachment data.</Info>
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml ruz/openapi.json GET /api/uctovny-vykaz
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/uctovny-vykaz:
    get:
      summary: Get financial report
      description: >-
        Returns the full record for a single financial report, including
        structured table data (`tabulky`), a cover page (`titulnaStrana`), and
        downloadable attachments (`prilohy`).


        Attachments are downloaded separately at
        `/domain/financialreport/attachment/{id}`. A PDF render is available at
        `/domain/financialreport/pdf/{id}`.
      operationId: getFinancialReport
      parameters:
        - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Financial report returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FinancialReport'
        '404':
          description: No financial report found with the given `id`.
components:
  parameters:
    id:
      name: id
      in: query
      required: true
      description: Entity identifier — obtained from an identifier list endpoint.
      schema:
        type: integer
  schemas:
    FinancialReport:
      type: object
      description: >-
        A financial report (účtovný výkaz) containing structured table data, a
        cover page, and downloadable attachments. The row structure of `tabulky`
        is defined by the template at `idSablony`.
      properties:
        id:
          type: integer
          description: Unique identifier.
        idUctovnejZavierky:
          type: integer
          description: ID of the parent financial statement, if applicable.
        idVyrocnejSpravy:
          type: integer
          description: ID of the parent annual report, if applicable.
        idSablony:
          type: integer
          description: >-
            ID of the report template defining the table row structure. Fetch
            with [Get report template](/api-reference/get-report-template).
        mena:
          type: string
          description: Currency unit of table values (e.g. whole euros, thousands).
        kodDanovehoUradu:
          type: string
          description: Tax office code.
        pristupnostDat:
          type: string
          enum:
            - Verejné
            - Verejné prílohy
            - Neverejné
          description: >-
            Data accessibility. `Neverejné` reports return metadata and
            structure only — no attachment data.
        obsah:
          type: object
          description: Report content.
          properties:
            titulnaStrana:
              type: object
              description: >-
                Cover page with entity identification, period, and
                classification codes.
            tabulky:
              type: array
              description: >-
                Structured table data. Each entry has a `nazov` (localized name)
                and `data` (array of numeric string values). Row structure is
                defined by the template at `idSablony`.
              items:
                type: object
                properties:
                  nazov:
                    $ref: '#/components/schemas/LocalizedText'
                  data:
                    type: array
                    items:
                      type: string
        prilohy:
          type: array
          description: >-
            Downloadable attachments. Fetch each file at
            `/domain/financialreport/attachment/{id}`. Use `digest` to verify
            integrity.
          items:
            $ref: '#/components/schemas/Attachment'
        zdrojDat:
          type: string
          description: Data source code.
        datumPoslednejUpravy:
          type: string
          description: Date last modified (`YYYY-MM-DD`).
    LocalizedText:
      type: object
      description: A text value with localized variants.
      properties:
        sk:
          type: string
          description: Slovak label.
        en:
          type: string
          description: English label.
    Attachment:
      type: object
      description: >-
        A downloadable file attachment. Fetch at
        `/domain/financialreport/attachment/{id}`.
      properties:
        id:
          type: integer
          description: Attachment identifier.
        meno:
          type: string
          description: Filename.
        mimeType:
          type: string
          description: MIME type (e.g. `image/tiff`, `application/pdf`).
        velkostPrilohy:
          type: integer
          description: File size in bytes.
        pocetStran:
          type: integer
          description: Number of pages.
        digest:
          type: string
          description: SHA-256 hash for integrity verification.
        jazyk:
          type: string
          description: Language code of the attachment.

````