Four main entity types make up the register. An Accounting unit is always the starting point. Financial statements and annual reports link from it, and financial reports link from those.Each arrow is a field on the parent containing an array of child IDs. You call the child’s detail endpoint with those IDs to go one level deeper. Dotted lines indicate supporting objects that belong to a parent but are not navigated to via a separate endpoint.
A financial report can belong to both a financial statement and an annual report simultaneously.
The cover page of a financial report, embedded in UctovnyVykaz.obsah. Captures entity identification details as they appeared at time of filing — these may differ from current values on UctovnaJednotka.
Codelist-backed fields here use the same codes as on UctovnaJednotka. See Codelists.
A file attachment on a financial report or annual report. Download the binary via /domain/financialreport/attachment/{id}.
When an attachment is deleted, the parent datumPoslednejUpravy is bumped — but fetching the attachment directly returns HTTP 404. Always handle 404 when downloading.
A single table section within UctovnyVykaz.obsah.tabulky. Contains a localised name and a flat array of row values whose positions are defined by the corresponding Sablona.
Localised section name. Keys are language codes ("sk", "en"), values are label strings. Always access .nazov.sk or .nazov.en — never .nazov directly, as it is an object, not a string.
Row values in positional order, as defined by the corresponding Sablona.tabulky[i].riadky. Values are numeric strings — the unit is set by UctovnyVykaz.mena.
A single financial report — the leaf node of the hierarchy. Contains structured tabular data in obsah and any file attachments in prilohy. May belong to a financial statement, an annual report, or both.
obsah is only present when pristupnostDat is "Verejné". Always check the access level before reading report content.
A report template that defines the row and column structure of UctovnyVykaz.obsah.tabulky. See Get report template for how to use it to interpret financial data.
Table definitions, each with a localised nazov, a hlavicka array for the header layout, and a riadky array of row definitions whose order corresponds positionally to Tabulka.data. See Get report template.
When an entity is deleted, its detail endpoint returns a stripped response rather than HTTP 404, so that sync consumers can detect and handle deletions.
{ "id": 336953, "ico": "00603481", "nazovUJ": "Hlavné mesto Slovenskej republiky Bratislava", "datumPoslednejUpravy": "2012-11-14"}
The deleted entity’s id still appears in zmenene-od change lists so that sync consumers can discover it. Cascading behaviour:
Deleting an UctovnaJednotka deletes all its child records.
Deleting a VyrocnaSprava or UctovnaZavierkadoes not bump datumPoslednejUpravy on the parent UctovnaJednotka.
Deleting an attachment bumps datumPoslednejUpravy on the parent UctovnyVykaz, but the attachment itself returns HTTP 404.
In exceptional cases an entity may disappear from the public register without a trace.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Slovak API","colors":{"primary":"#0B4EA2","light":"#3B7FD4","dark":"#EE1C25"},"logo":{"light":"https://mintcdn.com/slovakapi/gXFjJcMUQ9k-wLLF/images/logo-light.svg?fit=max\u0026auto=format\u0026n=gXFjJcMUQ9k-wLLF\u0026q=85\u0026s=468e5a5a2e16f3f74cb3900992dd976c","dark":"https://mintcdn.com/slovakapi/gXFjJcMUQ9k-wLLF/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=gXFjJcMUQ9k-wLLF\u0026q=85\u0026s=a5b5407c7cbf71196c613ef99f879cca"},"favicon":"/favicon.svg","background":{"color":{"light":"#FFF","dark":"#020B18"}},"seo":{"metatags":{"canonical":"https://slovakapi.dev"}},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Welcome","icon":"house","href":"/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/adamschwarcz/slovak-api"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"slovakapi","hasAudioNarration":false,"actualSubdomain":"slovakapi","customDomains":["slovakapi.dev"],"gitSource":{"type":"github","owner":"adamschwarcz","repo":"slovak-api","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21dbee6513352c9695f3e1","collectionId":"c3c836a4-39e1-4144-abed-02ab378848f8","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae94a889249234afda032b0:success","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Financial Statements (RÚZ)","count":27},{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"Codelists","count":7},{"language":"default","tag":"Legal Entities (RPO)","count":6},{"language":"default","tag":"Getting started","count":6},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Entity details","count":4},{"language":"default","tag":"Identifier lists","count":4},{"language":"default","tag":"Remaining counts","count":4},{"language":"default","tag":"Templates","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"ruz/concepts/data-models","slug":"/ruz/concepts/data-models","pageMetadata":{"title":"Data models","description":"Types, fields, and the conventions that apply across the entire RÚZ API.","href":"/ruz/concepts/data-models"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Types, fields, and the conventions that apply across the entire RÚZ API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Info,Mermaid,ResponseField,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`key-concepts`,children:`Key concepts`}),`\n`,_jsx(_components.p,{children:`RÚZ responses are built around two concepts that explain almost everything:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Hierarchy`}),`: everything links back to an accounting unit — see `,_jsx(_components.a,{href:`/ruz/getting-started/data-access`,children:`Data access`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Codes`}),`: most categorical values use official classification codes — see `,_jsx(_components.a,{href:`/ruz/concepts/codelists`,children:`Codelists`}),`.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`type-hierarchy`,children:`Type hierarchy`}),`\n`,_jsxs(_components.p,{children:[`Four main entity types make up the register. An `,_jsx(_components.a,{href:`/ruz/api-reference/entity-details/get-accounting-unit`,children:`Accounting unit`}),` is always the starting point. Financial statements and annual reports link from it, and financial reports link from those.`]}),`\n`,_jsx(Mermaid,{chart:`%%{init: {'flowchart': {'nodeSpacing': 50, 'rankSpacing': 40}}}%%\nflowchart LR\n UJ[\"Accounting unit\"]\n UZ[\"Financial statement\"]\n VS[\"Annual report\"]\n UV[\"Financial report\"]\n SAB[\"Template\"]\n PRIL[\"Attachment\"]\n\n UJ -->|idUctovnychZavierok| UZ\n UJ -->|idVyrocnychSprav| VS\n UZ -->|idUctovnychVykazov| UV\n VS -->|idUctovnychVykazov| UV\n UV -.->|idSablony| SAB\n UV -.- PRIL\n VS -.- PRIL`}),`\n`,_jsx(_components.p,{children:`Each arrow is a field on the parent containing an array of child IDs. You call the child’s detail endpoint with those IDs to go one level deeper. Dotted lines indicate supporting objects that belong to a parent but are not navigated to via a separate endpoint.`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`A financial report can belong to both a financial statement and an annual report simultaneously.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`embedded-types`,children:`Embedded types`}),`\n`,_jsxs(ResponseField,{name:`TitulnaStrana`,type:`object`,id:`param-titulna-strana`,children:[_jsxs(_components.p,{children:[`The cover page of a financial report, embedded in `,_jsx(_components.code,{children:`UctovnyVykaz.obsah`}),`. Captures entity identification details as they appeared at time of filing — these may differ from current values on `,_jsx(_components.code,{children:`UctovnaJednotka`}),`.`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Codelist-backed fields here use the same codes as on `,_jsx(_components.code,{children:`UctovnaJednotka`}),`. See `,_jsx(_components.a,{href:`/ruz/concepts/codelists`,children:`Codelists`}),`.`]})}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`nazovUctovnejJednotky`,type:`string`,id:`param-nazov-uctovnej-jednotky`,children:_jsx(_components.p,{children:`Entity name at time of filing.`})}),_jsx(ResponseField,{name:`ico`,type:`string`,id:`param-ico`,children:_jsx(_components.p,{children:`IČO at time of filing.`})}),_jsx(ResponseField,{name:`dic`,type:`string`,id:`param-dic`,children:_jsx(_components.p,{children:`DIČ at time of filing.`})}),_jsx(ResponseField,{name:`sid`,type:`string`,id:`param-sid`,children:_jsx(_components.p,{children:`SID at time of filing.`})}),_jsx(ResponseField,{name:`adresa`,type:`Adresa`,id:`param-adresa`,children:_jsx(_components.p,{children:`Registered address at time of filing.`})}),_jsx(ResponseField,{name:`miestoPodnikania`,type:`Adresa`,id:`param-miesto-podnikania`,children:_jsx(_components.p,{children:`Principal place of business, if different from the registered address.`})}),_jsx(ResponseField,{name:`pravnaForma`,type:`string`,id:`param-pravna-forma`,children:_jsxs(_components.p,{children:[`Legal form code from `,_jsx(_components.code,{children:`/api/pravne-formy`}),`.`]})}),_jsx(ResponseField,{name:`skNace`,type:`string`,id:`param-sk-nace`,children:_jsxs(_components.p,{children:[`Economic activity code from `,_jsx(_components.code,{children:`/api/sk-nace`}),`.`]})}),_jsx(ResponseField,{name:`typZavierky`,type:`string`,id:`param-typ-zavierky`,children:_jsxs(_components.p,{children:[`Statement type — mirrors `,_jsx(_components.code,{children:`UctovnaZavierka.typ`}),`.`]})}),_jsx(ResponseField,{name:`typUctovnejJednotky`,type:`string`,id:`param-typ-uctovnej-jednotky`,children:_jsx(_components.p,{children:`Accounting entity type code.`})}),_jsx(ResponseField,{name:`konsolidovana`,type:`boolean`,id:`param-konsolidovana`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` for consolidated statements.`]})}),_jsx(ResponseField,{name:`oznacenieObchodnehoRegistra`,type:`string`,id:`param-oznacenie-obchodneho-registra`,children:_jsx(_components.p,{children:`Commercial register reference.`})}),_jsx(ResponseField,{name:`nazovSpravcovskehoFondu`,type:`string`,id:`param-nazov-spravcovskeho-fondu`,children:_jsx(_components.p,{children:`Fund manager name. Present for fund statements.`})}),_jsx(ResponseField,{name:`leiKod`,type:`string`,id:`param-lei-kod`,children:_jsx(_components.p,{children:`Legal Entity Identifier (LEI), 20 characters.`})}),_jsx(ResponseField,{name:`obdobieOd`,type:`string`,id:`param-obdobie-od`,children:_jsxs(_components.p,{children:[`Accounting period start (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`obdobieDo`,type:`string`,id:`param-obdobie-do`,children:_jsxs(_components.p,{children:[`Accounting period end (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`predchadzajuceObdobieOd`,type:`string`,id:`param-predchadzajuce-obdobie-od`,children:_jsxs(_components.p,{children:[`Prior period start (`,_jsx(_components.code,{children:`YYYY-MM`}),`). Used for comparative columns.`]})}),_jsx(ResponseField,{name:`predchadzajuceObdobieDo`,type:`string`,id:`param-predchadzajuce-obdobie-do`,children:_jsxs(_components.p,{children:[`Prior period end (`,_jsx(_components.code,{children:`YYYY-MM`}),`). Used for comparative columns.`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`Adresa`,type:`object`,id:`param-adresa-1`,children:[_jsxs(_components.p,{children:[`A postal address. Appears embedded in `,_jsx(_components.code,{children:`TitulnaStrana`}),` as both `,_jsx(_components.code,{children:`adresa`}),` (registered address) and `,_jsx(_components.code,{children:`miestoPodnikania`}),` (principal place of business).`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`ulica`,type:`string`,id:`param-ulica`,children:_jsx(_components.p,{children:`Street name and number.`})}),_jsx(ResponseField,{name:`psc`,type:`string`,id:`param-psc`,children:_jsx(_components.p,{children:`Postal code.`})}),_jsx(ResponseField,{name:`mesto`,type:`string`,id:`param-mesto`,children:_jsx(_components.p,{children:`Municipality name.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`Priloha`,type:`object`,id:`param-priloha`,children:[_jsxs(_components.p,{children:[`A file attachment on a financial report or annual report. Download the binary via `,_jsx(_components.code,{children:`/domain/financialreport/attachment/{id}`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`When an attachment is deleted, the parent `,_jsx(_components.code,{children:`datumPoslednejUpravy`}),` is bumped — but fetching the attachment directly returns `,_jsx(_components.strong,{children:`HTTP 404`}),`. Always handle 404 when downloading.`]})}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Attachment identifier. Use in the download URL.`})}),_jsx(ResponseField,{name:`meno`,type:`string`,id:`param-meno`,children:_jsx(_components.p,{children:`Original filename.`})}),_jsx(ResponseField,{name:`mimeType`,type:`string`,id:`param-mime-type`,children:_jsxs(_components.p,{children:[`MIME type, e.g. `,_jsx(_components.code,{children:`image/tiff`}),` or `,_jsx(_components.code,{children:`application/pdf`}),`.`]})}),_jsx(ResponseField,{name:`velkostPrilohy`,type:`integer`,id:`param-velkost-prilohy`,children:_jsx(_components.p,{children:`File size in bytes.`})}),_jsx(ResponseField,{name:`pocetStran`,type:`integer`,id:`param-pocet-stran`,children:_jsx(_components.p,{children:`Page count. Present for paginated formats like TIFF and PDF.`})}),_jsx(ResponseField,{name:`digest`,type:`string`,id:`param-digest`,children:_jsx(_components.p,{children:`SHA-256 hex digest for integrity verification.`})}),_jsx(ResponseField,{name:`jazyk`,type:`string`,id:`param-jazyk`,children:_jsx(_components.p,{children:`Language code of the attachment.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`Tabulka`,type:`object`,id:`param-tabulka`,children:[_jsxs(_components.p,{children:[`A single table section within `,_jsx(_components.code,{children:`UctovnyVykaz.obsah.tabulky`}),`. Contains a localised name and a flat array of row values whose positions are defined by the corresponding `,_jsx(_components.code,{children:`Sablona`}),`.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`nazov`,type:`object`,id:`param-nazov`,children:_jsxs(_components.p,{children:[`Localised section name. Keys are language codes (`,_jsx(_components.code,{children:`\"sk\"`}),`, `,_jsx(_components.code,{children:`\"en\"`}),`), values are label strings. Always access `,_jsx(_components.code,{children:`.nazov.sk`}),` or `,_jsx(_components.code,{children:`.nazov.en`}),` — never `,_jsx(_components.code,{children:`.nazov`}),` directly, as it is an object, not a string.`]})}),_jsx(ResponseField,{name:`data`,type:`string[]`,id:`param-data`,children:_jsxs(_components.p,{children:[`Row values in positional order, as defined by the corresponding `,_jsx(_components.code,{children:`Sablona.tabulky[i].riadky`}),`. Values are numeric strings — the unit is set by `,_jsx(_components.code,{children:`UctovnyVykaz.mena`}),`.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`entity-types`,children:`Entity types`}),`\n`,_jsxs(ResponseField,{name:`UctovnaJednotka`,type:`object`,id:`param-uctovna-jednotka`,children:[_jsxs(_components.p,{children:[`The root entity — an accounting unit from which all financial statements and annual reports hang. Every other entity type links back here via `,_jsx(_components.code,{children:`idUJ`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`When an entity is deleted, only `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`datumPoslednejUpravy`}),`, and `,_jsx(_components.code,{children:`stav`}),` are returned. Always check for `,_jsx(_components.code,{children:`stav: \"ZMAZANÉ\"`}),` before accessing any other field.`]})}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier.`})}),_jsx(ResponseField,{name:`ico`,type:`string`,id:`param-ico-1`,children:_jsx(_components.p,{children:`Company registration number (IČO), 8 characters.`})}),_jsx(ResponseField,{name:`dic`,type:`string`,id:`param-dic-1`,children:_jsx(_components.p,{children:`Tax identification number (DIČ), 10 characters.`})}),_jsx(ResponseField,{name:`sid`,type:`string`,id:`param-sid-1`,children:_jsx(_components.p,{children:`Statistical identifier (SID), up to 5 characters.`})}),_jsx(ResponseField,{name:`nazovUJ`,type:`string`,id:`param-nazov-uj`,children:_jsx(_components.p,{children:`Legal name, up to 500 characters.`})}),_jsx(ResponseField,{name:`ulica`,type:`string`,id:`param-ulica-1`,children:_jsx(_components.p,{children:`Registered address — street.`})}),_jsx(ResponseField,{name:`mesto`,type:`string`,id:`param-mesto-1`,children:_jsx(_components.p,{children:`Registered address — municipality.`})}),_jsx(ResponseField,{name:`psc`,type:`string`,id:`param-psc-1`,children:_jsx(_components.p,{children:`Registered address — postal code.`})}),_jsx(ResponseField,{name:`datumZalozenia`,type:`string`,id:`param-datum-zalozenia`,children:_jsxs(_components.p,{children:[`Date of incorporation (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumZrusenia`,type:`string`,id:`param-datum-zrusenia`,children:_jsxs(_components.p,{children:[`Date of dissolution (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`). Absent if still active.`]})}),_jsx(ResponseField,{name:`pravnaForma`,type:`string`,id:`param-pravna-forma-1`,children:_jsxs(_components.p,{children:[`Legal form code from `,_jsx(_components.code,{children:`/api/pravne-formy`}),`.`]})}),_jsx(ResponseField,{name:`skNace`,type:`string`,id:`param-sk-nace-1`,children:_jsxs(_components.p,{children:[`Economic activity code from `,_jsx(_components.code,{children:`/api/sk-nace`}),`.`]})}),_jsx(ResponseField,{name:`velkostOrganizacie`,type:`string`,id:`param-velkost-organizacie`,children:_jsxs(_components.p,{children:[`Organisation size code from `,_jsx(_components.code,{children:`/api/velkosti-organizacie`}),`.`]})}),_jsx(ResponseField,{name:`druhVlastnictva`,type:`string`,id:`param-druh-vlastnictva`,children:_jsxs(_components.p,{children:[`Ownership type code from `,_jsx(_components.code,{children:`/api/druhy-vlastnictva`}),`.`]})}),_jsx(ResponseField,{name:`kraj`,type:`string`,id:`param-kraj`,children:_jsxs(_components.p,{children:[`Region code from `,_jsx(_components.code,{children:`/api/kraje`}),`.`]})}),_jsx(ResponseField,{name:`okres`,type:`string`,id:`param-okres`,children:_jsxs(_components.p,{children:[`District code from `,_jsx(_components.code,{children:`/api/okresy`}),`.`]})}),_jsx(ResponseField,{name:`sidlo`,type:`string`,id:`param-sidlo`,children:_jsxs(_components.p,{children:[`Municipality code from `,_jsx(_components.code,{children:`/api/sidla`}),`.`]})}),_jsx(ResponseField,{name:`konsolidovana`,type:`boolean`,id:`param-konsolidovana-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` if the entity has at least one consolidated financial statement.`]})}),_jsx(ResponseField,{name:`idUctovnychZavierok`,type:`integer[]`,id:`param-id-uctovnych-zavierok`,children:_jsx(_components.p,{children:`IDs of all associated financial statements.`})}),_jsx(ResponseField,{name:`idVyrocnychSprav`,type:`integer[]`,id:`param-id-vyrocnych-sprav`,children:_jsx(_components.p,{children:`IDs of all associated annual reports.`})}),_jsx(ResponseField,{name:`zdrojDat`,type:`string`,id:`param-zdroj-dat`,children:_jsxs(_components.p,{children:[`Source system code. See `,_jsx(_components.a,{href:`/ruz/concepts/codelists#data-sources`,children:`Data sources`}),`.`]})}),_jsx(ResponseField,{name:`datumPoslednejUpravy`,type:`string`,id:`param-datum-poslednej-upravy`,children:_jsxs(_components.p,{children:[`Last modification date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`), scoped strictly to this record. Does `,_jsx(_components.strong,{children:`not`}),` update when linked statements or reports change — see `,_jsx(_components.a,{href:`/ruz/getting-started/local-storage`,children:`Local storage`}),`.`]})}),_jsx(ResponseField,{name:`stav`,type:`string`,id:`param-stav`,children:_jsxs(_components.p,{children:[`Present only on deleted entities. Always `,_jsx(_components.code,{children:`\"ZMAZANÉ\"`}),`.`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`UctovnaZavierka`,type:`object`,id:`param-uctovna-zavierka`,children:[_jsxs(_components.p,{children:[`A financial closing statement linked to an accounting unit. Groups one or more `,_jsx(_components.code,{children:`UctovnyVykaz`}),` records covering the same accounting period.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`Unique identifier.`})}),_jsx(ResponseField,{name:`idUJ`,type:`integer`,required:true,id:`param-id-uj`,children:_jsx(_components.p,{children:`ID of the parent accounting unit.`})}),_jsx(ResponseField,{name:`obdobieOd`,type:`string`,id:`param-obdobie-od-1`,children:_jsxs(_components.p,{children:[`Accounting period start (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`obdobieDo`,type:`string`,id:`param-obdobie-do-1`,children:_jsxs(_components.p,{children:[`Accounting period end (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`typ`,type:`string`,id:`param-typ`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`\"Riadna\"`}),`, `,_jsx(_components.code,{children:`\"Mimoriadna\"`}),`, `,_jsx(_components.code,{children:`\"Priebežná\"`}),`, or `,_jsx(_components.code,{children:`\"Kombinovaná\"`}),`.`]})}),_jsx(ResponseField,{name:`konsolidovana`,type:`boolean`,id:`param-konsolidovana-2`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` for consolidated statements.`]})}),_jsx(ResponseField,{name:`konsolidovanaZavierkaUstrednejStatnejSpravy`,type:`boolean`,id:`param-konsolidovana-zavierka-ustrednej-statnej-spravy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` for central state administration consolidated statements.`]})}),_jsx(ResponseField,{name:`suhrnnaUctovnaZavierkaVerejnejSpravy`,type:`boolean`,id:`param-suhrnna-uctovna-zavierka-verejnej-spravy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` for public administration aggregate statements.`]})}),_jsx(ResponseField,{name:`datumPodania`,type:`string`,id:`param-datum-podania`,children:_jsxs(_components.p,{children:[`Date of submission (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumZostavenia`,type:`string`,id:`param-datum-zostavenia`,children:_jsxs(_components.p,{children:[`Date of preparation (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumZostaveniaK`,type:`string`,id:`param-datum-zostavenia-k`,children:_jsxs(_components.p,{children:[`Date as-of which the statement was prepared (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumSchvalenia`,type:`string`,id:`param-datum-schvalenia`,children:_jsxs(_components.p,{children:[`Date of approval (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumPrilozeniaSpravyAuditora`,type:`string`,id:`param-datum-prilozenia-spravy-auditora`,children:_jsxs(_components.p,{children:[`Date the auditor’s report was attached (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`nazovFondu`,type:`string`,id:`param-nazov-fondu`,children:_jsx(_components.p,{children:`Fund name. Present when the statement belongs to a fund.`})}),_jsx(ResponseField,{name:`leiKod`,type:`string`,id:`param-lei-kod-1`,children:_jsx(_components.p,{children:`Legal Entity Identifier (LEI), 20 characters.`})}),_jsx(ResponseField,{name:`idUctovnychVykazov`,type:`integer[]`,id:`param-id-uctovnych-vykazov`,children:_jsx(_components.p,{children:`IDs of the financial reports within this statement.`})}),_jsx(ResponseField,{name:`zdrojDat`,type:`string`,id:`param-zdroj-dat-1`,children:_jsxs(_components.p,{children:[`Source system code. See `,_jsx(_components.a,{href:`/ruz/concepts/codelists`,children:`Codelists`}),` (Data sources table).`]})}),_jsx(ResponseField,{name:`datumPoslednejUpravy`,type:`string`,id:`param-datum-poslednej-upravy-1`,children:_jsxs(_components.p,{children:[`Last modification date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`VyrocnaSprava`,type:`object`,id:`param-vyrocna-sprava`,children:[_jsx(_components.p,{children:`An annual report linked to an accounting unit. May contain financial reports, file attachments, or both.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id-3`,children:_jsx(_components.p,{children:`Unique identifier.`})}),_jsx(ResponseField,{name:`idUJ`,type:`integer`,required:true,id:`param-id-uj-1`,children:_jsx(_components.p,{children:`ID of the parent accounting unit.`})}),_jsx(ResponseField,{name:`nazovUJ`,type:`string`,id:`param-nazov-uj-1`,children:_jsx(_components.p,{children:`Name of the accounting entity at time of filing, up to 500 characters.`})}),_jsx(ResponseField,{name:`typ`,type:`string`,id:`param-typ-1`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`\"Ročná finančná správa\"`}),`, `,_jsx(_components.code,{children:`\"Individuálna výročná správa\"`}),`, `,_jsx(_components.code,{children:`\"Konsolidovaná výročná správa\"`}),`, or `,_jsx(_components.code,{children:`\"Súhrnná výročná správa SR\"`}),`.`]})}),_jsx(ResponseField,{name:`obdobieOd`,type:`string`,id:`param-obdobie-od-2`,children:_jsxs(_components.p,{children:[`Reporting period start (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`obdobieDo`,type:`string`,id:`param-obdobie-do-2`,children:_jsxs(_components.p,{children:[`Reporting period end (`,_jsx(_components.code,{children:`YYYY-MM`}),`).`]})}),_jsx(ResponseField,{name:`datumPodania`,type:`string`,id:`param-datum-podania-1`,children:_jsxs(_components.p,{children:[`Date of submission (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`datumZostaveniaK`,type:`string`,id:`param-datum-zostavenia-k-1`,children:_jsxs(_components.p,{children:[`Date as-of which the report was prepared (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`pristupnostDat`,type:`string`,id:`param-pristupnost-dat`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`\"Verejné\"`}),` or `,_jsx(_components.code,{children:`\"Neverejné\"`}),`.`]})}),_jsx(ResponseField,{name:`nazovFondu`,type:`string`,id:`param-nazov-fondu-1`,children:_jsx(_components.p,{children:`Fund name. Present when the report belongs to a fund.`})}),_jsx(ResponseField,{name:`leiKod`,type:`string`,id:`param-lei-kod-2`,children:_jsx(_components.p,{children:`Legal Entity Identifier (LEI), 20 characters.`})}),_jsx(ResponseField,{name:`idUctovnychVykazov`,type:`integer[]`,id:`param-id-uctovnych-vykazov-1`,children:_jsx(_components.p,{children:`IDs of the financial reports within this annual report.`})}),_jsx(ResponseField,{name:`prilohy`,type:`Priloha[]`,id:`param-prilohy`,children:_jsx(_components.p,{children:`File attachments.`})}),_jsx(ResponseField,{name:`zdrojDat`,type:`string`,id:`param-zdroj-dat-2`,children:_jsxs(_components.p,{children:[`Source system code. See `,_jsx(_components.a,{href:`/ruz/concepts/codelists`,children:`Codelists`}),` (Data sources table).`]})}),_jsx(ResponseField,{name:`datumPoslednejUpravy`,type:`string`,id:`param-datum-poslednej-upravy-2`,children:_jsxs(_components.p,{children:[`Last modification date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`UctovnyVykaz`,type:`object`,id:`param-uctovny-vykaz`,children:[_jsxs(_components.p,{children:[`A single financial report — the leaf node of the hierarchy. Contains structured tabular data in `,_jsx(_components.code,{children:`obsah`}),` and any file attachments in `,_jsx(_components.code,{children:`prilohy`}),`. May belong to a financial statement, an annual report, or both.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`obsah`}),` is only present when `,_jsx(_components.code,{children:`pristupnostDat`}),` is `,_jsx(_components.code,{children:`\"Verejné\"`}),`. Always check the access level before reading report content.`]})}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id-4`,children:_jsx(_components.p,{children:`Unique identifier.`})}),_jsx(ResponseField,{name:`idUctovnejZavierky`,type:`integer`,id:`param-id-uctovnej-zavierky`,children:_jsx(_components.p,{children:`ID of the parent financial statement. Absent if the report belongs to an annual report only.`})}),_jsx(ResponseField,{name:`idVyrocnejSpravy`,type:`integer`,id:`param-id-vyrocnej-spravy`,children:_jsx(_components.p,{children:`ID of the parent annual report. Absent if the report belongs to a financial statement only.`})}),_jsx(ResponseField,{name:`idSablony`,type:`integer`,id:`param-id-sablony`,children:_jsxs(_components.p,{children:[`ID of the template defining the structure of `,_jsx(_components.code,{children:`obsah.tabulky`}),`. See `,_jsx(_components.a,{href:`/ruz/api-reference/templates/get-report-template`,children:`Get report template`}),`.`]})}),_jsx(ResponseField,{name:`mena`,type:`string`,id:`param-mena`,children:_jsxs(_components.p,{children:[`Currency unit applied to all values in `,_jsx(_components.code,{children:`obsah.tabulky`}),`, e.g. whole euros or thousands. See `,_jsx(_components.a,{href:`/ruz/api-reference/templates/get-report-template`,children:`Get report template`}),`.`]})}),_jsx(ResponseField,{name:`kodDanovehoUradu`,type:`string`,id:`param-kod-danoveho-uradu`,children:_jsx(_components.p,{children:`Tax office code.`})}),_jsx(ResponseField,{name:`pristupnostDat`,type:`string`,id:`param-pristupnost-dat-1`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`\"Verejné\"`}),`, `,_jsx(_components.code,{children:`\"Verejné prílohy\"`}),`, or `,_jsx(_components.code,{children:`\"Neverejné\"`}),`.`]})}),_jsx(ResponseField,{name:`obsah`,type:`object`,id:`param-obsah`,children:_jsxs(_components.p,{children:[`Report content — `,_jsx(_components.code,{children:`titulnaStrana`}),` and `,_jsx(_components.code,{children:`tabulky`}),`. See `,_jsx(_components.a,{href:`/ruz/api-reference/templates/get-report-template`,children:`Get report template`}),`.`]})}),_jsx(ResponseField,{name:`prilohy`,type:`Priloha[]`,id:`param-prilohy-1`,children:_jsx(_components.p,{children:`File attachments.`})}),_jsx(ResponseField,{name:`zdrojDat`,type:`string`,id:`param-zdroj-dat-3`,children:_jsxs(_components.p,{children:[`Source system code. See `,_jsx(_components.a,{href:`/ruz/concepts/codelists`,children:`Codelists`}),` (Data sources table).`]})}),_jsx(ResponseField,{name:`datumPoslednejUpravy`,type:`string`,id:`param-datum-poslednej-upravy-3`,children:_jsxs(_components.p,{children:[`Last modification date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`). Updated when attachments are deleted.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`reference-types`,children:`Reference types`}),`\n`,_jsxs(ResponseField,{name:`Sablona`,type:`object`,id:`param-sablona`,children:[_jsxs(_components.p,{children:[`A report template that defines the row and column structure of `,_jsx(_components.code,{children:`UctovnyVykaz.obsah.tabulky`}),`. See `,_jsx(_components.a,{href:`/ruz/api-reference/templates/get-report-template`,children:`Get report template`}),` for how to use it to interpret financial data.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,required:true,id:`param-id-5`,children:_jsx(_components.p,{children:`Unique identifier. Stable — templates are never deleted.`})}),_jsx(ResponseField,{name:`nazov`,type:`string`,id:`param-nazov-1`,children:_jsxs(_components.p,{children:[`Template name, e.g. `,_jsx(_components.code,{children:`\"Úč FO 1-01\"`}),`.`]})}),_jsx(ResponseField,{name:`nariadenieMF`,type:`string`,id:`param-nariadenie-mf`,children:_jsx(_components.p,{children:`Ministry of Finance regulation reference.`})}),_jsx(ResponseField,{name:`platneOd`,type:`string`,id:`param-platne-od`,children:_jsxs(_components.p,{children:[`Effective from (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`platneDo`,type:`string`,id:`param-platne-do`,children:_jsxs(_components.p,{children:[`Effective to (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`). Absent if still in use.`]})}),_jsx(ResponseField,{name:`tabulky`,type:`object[]`,id:`param-tabulky`,children:_jsxs(_components.p,{children:[`Table definitions, each with a localised `,_jsx(_components.code,{children:`nazov`}),`, a `,_jsx(_components.code,{children:`hlavicka`}),` array for the header layout, and a `,_jsx(_components.code,{children:`riadky`}),` array of row definitions whose order corresponds positionally to `,_jsx(_components.code,{children:`Tabulka.data`}),`. See `,_jsx(_components.a,{href:`/ruz/api-reference/templates/get-report-template`,children:`Get report template`}),`.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`deleted-entities`,children:`Deleted entities`}),`\n`,_jsx(_components.p,{children:`When an entity is deleted, its detail endpoint returns a stripped response rather than HTTP 404, so that sync consumers can detect and handle deletions.`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Active entity`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`336953`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ico\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00603481\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nazovUJ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hlavné mesto Slovenskej republiky Bratislava\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"datumPoslednejUpravy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2012-11-14\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Deleted entity`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`316853`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"datumPoslednejUpravy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2013-08-21\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ZMAZANÉ\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`The deleted entity’s `,_jsx(_components.code,{children:`id`}),` still appears in `,_jsx(_components.code,{children:`zmenene-od`}),` change lists so that sync consumers can discover it. Cascading behaviour:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Deleting an `,_jsx(_components.code,{children:`UctovnaJednotka`}),` deletes all its child records.`]}),`\n`,_jsxs(_components.li,{children:[`Deleting a `,_jsx(_components.code,{children:`VyrocnaSprava`}),` or `,_jsx(_components.code,{children:`UctovnaZavierka`}),` `,_jsx(_components.strong,{children:`does not`}),` bump `,_jsx(_components.code,{children:`datumPoslednejUpravy`}),` on the parent `,_jsx(_components.code,{children:`UctovnaJednotka`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Deleting an attachment bumps `,_jsx(_components.code,{children:`datumPoslednejUpravy`}),` on the parent `,_jsx(_components.code,{children:`UctovnyVykaz`}),`, but the attachment itself returns HTTP 404.`]}),`\n`,_jsx(_components.li,{children:`In exceptional cases an entity may disappear from the public register without a trace.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Data models","description":"Types, fields, and the conventions that apply across the entire RÚZ API.","href":"/ruz/concepts/data-models"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Key concepts","slug":"key-concepts","depth":2,"children":[]},{"title":"Type hierarchy","slug":"type-hierarchy","depth":2,"children":[]},{"title":"Embedded types","slug":"embedded-types","depth":2,"children":[]},{"title":"Entity types","slug":"entity-types","depth":2,"children":[]},{"title":"Reference types","slug":"reference-types","depth":2,"children":[]},{"title":"Deleted entities","slug":"deleted-entities","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"slovakapi","siteName":"Slovak API","title":"Data models - Slovak API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-20T22:14:39.248Z","originalFileLocation":"ruz/concepts/data-models.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Types, fields, and the conventions that apply across the entire RÚZ API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Slovak API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Data models - Slovak API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Types, fields, and the conventions that apply across the entire RÚZ API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Slovak API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://slovakapi.dev/ruz/concepts/data-models\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://slovakapi.mintlify.app/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Data+models\u0026amp;description=Types%2C+fields%2C+and+the+conventions+that+apply+across+the+entire+R%C3%9AZ+API.\u0026amp;theme=c693a5523a448799ca0e44f3\u0026amp;signature=faec31f852ea015b093f2a953b49dd1cc198a79b863dba204a4862509879a348\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Data models - Slovak API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Types, fields, and the conventions that apply across the entire RÚZ API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://slovakapi.mintlify.app/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Data+models\u0026amp;description=Types%2C+fields%2C+and+the+conventions+that+apply+across+the+entire+R%C3%9AZ+API.\u0026amp;theme=c693a5523a448799ca0e44f3\u0026amp;signature=faec31f852ea015b093f2a953b49dd1cc198a79b863dba204a4862509879a348\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/slovakapi/HYAAR8X1FuP2z-5-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Slovak API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0B4EA2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://slovakapi.dev/ruz/concepts/data-models\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ruz/concepts/data-models.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://slovakapi.dev/#organization\",\"name\":\"Slovak API\",\"url\":\"https://slovakapi.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/slovakapi/gXFjJcMUQ9k-wLLF/images/logo-light.svg?fit=max\u0026auto=format\u0026n=gXFjJcMUQ9k-wLLF\u0026q=85\u0026s=468e5a5a2e16f3f74cb3900992dd976c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://slovakapi.dev#website\",\"name\":\"Slovak API\",\"url\":\"https://slovakapi.dev\",\"publisher\":{\"@id\":\"https://slovakapi.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://slovakapi.dev/ruz/concepts/data-models#webpage\",\"url\":\"https://slovakapi.dev/ruz/concepts/data-models\",\"name\":\"Data models\",\"description\":\"Types, fields, and the conventions that apply across the entire RÚZ API.\",\"dateModified\":\"2026-03-20T22:14:39.248Z\",\"isPartOf\":{\"@id\":\"https://slovakapi.dev#website\"},\"breadcrumb\":{\"@id\":\"https://slovakapi.dev/ruz/concepts/data-models#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://slovakapi.dev/ruz/concepts/data-models#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Slovak API\",\"item\":\"https://slovakapi.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data models\",\"item\":\"https://slovakapi.dev/ruz/concepts/data-models\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://slovakapi.dev/ruz/concepts/data-models#article\",\"headline\":\"Data models\",\"name\":\"Data models\",\"description\":\"Types, fields, and the conventions that apply across the entire RÚZ API.\",\"url\":\"https://slovakapi.dev/ruz/concepts/data-models\",\"mainEntityOfPage\":{\"@id\":\"https://slovakapi.dev/ruz/concepts/data-models#webpage\"},\"dateModified\":\"2026-03-20T22:14:39.248Z\",\"publisher\":{\"@id\":\"https://slovakapi.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://slovakapi.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Slovak API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Slovak API","nav":{"global":{"anchors":[{"anchor":"Welcome","icon":"house","href":"/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/adamschwarcz/slovak-api"}]},"products":[{"product":"Legal Entities (RPO)","icon":"building","description":"Companies and public authorities","pages":[{"title":"Legal Entities (RPO)","href":"/rpo/getting-started/overview"}]},{"product":"Financial Statements (RÚZ)","icon":"receipt","description":"Financial statements and reports","groups":[{"group":"Getting started","pages":[{"title":"Overview","href":"/ruz/getting-started/overview"},{"title":"Data access","href":"/ruz/getting-started/data-access"},{"title":"Pagination","href":"/ruz/getting-started/pagination"},{"title":"Local storage","description":"Build a local copy of the full RÚZ dataset and keep it up to date.","href":"/ruz/getting-started/local-storage"}]},{"group":"Concepts","pages":[{"title":"Data models","href":"/ruz/concepts/data-models"},{"title":"Codelists","description":"Controlled vocabularies used to classify accounting units and resolve coded fields.","href":"/ruz/concepts/codelists"}]},{"group":"API Reference","pages":[{"group":"Identifier lists","pages":[{"title":"List accounting units","openapi":"ruz/openapi.json GET /api/uctovne-jednotky","href":"/ruz/api-reference/identifier-lists/list-accounting-units"},{"title":"List financial statements","openapi":"ruz/openapi.json GET /api/uctovne-zavierky","href":"/ruz/api-reference/identifier-lists/list-financial-statements"},{"title":"List financial reports","openapi":"ruz/openapi.json GET /api/uctovne-vykazy","href":"/ruz/api-reference/identifier-lists/list-financial-reports"},{"title":"List annual reports","openapi":"ruz/openapi.json GET /api/vyrocne-spravy","href":"/ruz/api-reference/identifier-lists/list-annual-reports"}]},{"group":"Entity details","pages":[{"title":"Get accounting unit","openapi":"ruz/openapi.json GET /api/uctovna-jednotka","href":"/ruz/api-reference/entity-details/get-accounting-unit"},{"title":"Get financial statement","openapi":"ruz/openapi.json GET /api/uctovna-zavierka","href":"/ruz/api-reference/entity-details/get-financial-statement"},{"title":"Get financial report","openapi":"ruz/openapi.json GET /api/uctovny-vykaz","href":"/ruz/api-reference/entity-details/get-financial-report"},{"title":"Get annual report","openapi":"ruz/openapi.json GET /api/vyrocna-sprava","href":"/ruz/api-reference/entity-details/get-annual-report"}]},{"group":"Remaining counts","pages":[{"title":"Count accounting units","openapi":"ruz/openapi.json GET /api/zostavajuce-id/uctovne-jednotky","href":"/ruz/api-reference/remaining-counts/count-accounting-units"},{"title":"Count financial statements","openapi":"ruz/openapi.json GET /api/zostavajuce-id/uctovne-zavierky","href":"/ruz/api-reference/remaining-counts/count-financial-statements"},{"title":"Count financial reports","openapi":"ruz/openapi.json GET /api/zostavajuce-id/uctovne-vykazy","href":"/ruz/api-reference/remaining-counts/count-financial-reports"},{"title":"Count annual reports","openapi":"ruz/openapi.json GET /api/zostavajuce-id/vyrocne-spravy","href":"/ruz/api-reference/remaining-counts/count-annual-reports"}]},{"group":"Templates","pages":[{"title":"List report templates","openapi":"ruz/openapi.json GET /api/sablony","href":"/ruz/api-reference/templates/list-report-templates"},{"title":"Get report template","openapi":"ruz/openapi.json GET /api/sablona","href":"/ruz/api-reference/templates/get-report-template"}]},{"group":"Codelists","pages":[{"title":"List legal forms","openapi":"ruz/openapi.json GET /api/pravne-formy","href":"/ruz/api-reference/codelists/list-legal-forms"},{"title":"List SK NACE codes","openapi":"ruz/openapi.json GET /api/sk-nace","href":"/ruz/api-reference/codelists/list-sk-nace"},{"title":"List ownership types","openapi":"ruz/openapi.json GET /api/druhy-vlastnictva","href":"/ruz/api-reference/codelists/list-ownership-types"},{"title":"List organisation sizes","openapi":"ruz/openapi.json GET /api/velkosti-organizacie","href":"/ruz/api-reference/codelists/list-organisation-sizes"},{"title":"List regions","openapi":"ruz/openapi.json GET /api/kraje","href":"/ruz/api-reference/codelists/list-regions"},{"title":"List districts","openapi":"ruz/openapi.json GET /api/okresy","href":"/ruz/api-reference/codelists/list-districts"},{"title":"List municipalities","openapi":"ruz/openapi.json GET /api/sidla","href":"/ruz/api-reference/codelists/list-municipalities"}]}]}]}]},"basePath":"","title":"Data models - Slovak API","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":[],"chunks":[]}