{"openapi":"3.0.3","info":{"title":"ABRA Flexi REST API – Majetok a leasing","version":"2026.5.5","description":"Dlhodobý majetok, odpisy, udalosti majetku, zápožičky, leasingy a splátkové kalendáre.\n\n**Neoficiálna dokumentácia** pripravená spoločnosťou NextVision Analytics. Štruktúra evidencií a polí je vygenerovaná z metadát ABRA Flexi 2026.5.5 (demo server, 2026-09-30); príklady vychádzajú z reálnych integrácií.\n\n- [Príručka: základy API, filtre, zápis, chyby](https://nva.sk/abra-flexi-api/)\n- [Katalóg evidencií a polí](https://nva.sk/abra-flexi-api/evidencie/)\n- [Oficiálna dokumentácia ABRA Flexi](https://www.flexibee.eu/api/dokumentace/)\n\nVšetky hodnoty v JSON odpovediach sú **reťazce** (`\"123\"`, `\"12.5\"`, `\"true\"`). Typ poľa podľa Flexi nájdete v popise poľa a v rozšírení `x-flexi-type`. Pri zápise Flexi prijíma aj čísla a `true`/`false`.\n\nTlačidlo **Try it out** posiela požiadavky priamo z vášho prehliadača na zvolený server. Zápisové operácie majú predvolene zapnutý `dry-run` – nič sa neuloží.","x-author":"NextVision Analytics, https://nva.sk/, tomas@nva.sk"},"servers":[{"url":"https://demo.flexibee.eu/c/demo","description":"Verejný demo server ABRA Flexi – bez prihlásenia, vhodný na vyskúšanie"},{"url":"https://{server}/c/{firma}","description":"Váš server ABRA Flexi","variables":{"server":{"default":"vasa-firma.flexibee.eu:5434","description":"Adresa servera vrátane portu"},"firma":{"default":"vasa_firma","description":"Kód firmy – časť URL za /c/"}}}],"security":[{},{"basicAuth":[]},{"authSessionId":[]}],"tags":[{"name":"majetek","description":"**Majetek** – Dlhodobý majetok a drobný majetok v evidencii.\n\nČítanie aj zápis (ABRA zápis oficiálne nedokumentuje) · 68 polí · [katalóg polí](/abra-flexi-api/evidencie/#majetek)"},{"name":"typ-majetku","description":"**Typy majetků**\n\nČítanie aj zápis (ABRA zápis oficiálne nedokumentuje) · 22 polí · [katalóg polí](/abra-flexi-api/evidencie/#typ-majetku)"},{"name":"majetek-udalost","description":"**Události**\n\nZápis len cez nadradený záznam · 25 polí · [katalóg polí](/abra-flexi-api/evidencie/#majetek-udalost)"},{"name":"odpisova-skupina","description":"**Odpisové skupiny**\n\nČítanie aj zápis (ABRA zápis oficiálne nedokumentuje) · 22 polí · [katalóg polí](/abra-flexi-api/evidencie/#odpisova-skupina)"},{"name":"danovy-odpis","description":"**Daňové odpisy**\n\nZápis len cez nadradený záznam · 17 polí · [katalóg polí](/abra-flexi-api/evidencie/#danovy-odpis)"},{"name":"ucetni-odpis","description":"**Účetní odpisy**\n\nZápis len cez nadradený záznam · 16 polí · [katalóg polí](/abra-flexi-api/evidencie/#ucetni-odpis)"},{"name":"danovy-naklad","description":"**Daňové náklady**\n\nLen na čítanie · 15 polí · [katalóg polí](/abra-flexi-api/evidencie/#danovy-naklad)"},{"name":"umisteni","description":"**Umístění**\n\nČítanie aj zápis (ABRA zápis oficiálne nedokumentuje) · 11 polí · [katalóg polí](/abra-flexi-api/evidencie/#umisteni)"},{"name":"zapujcka","description":"**Zápůjčky**\n\nZápis len cez nadradený záznam · 22 polí · [katalóg polí](/abra-flexi-api/evidencie/#zapujcka)"},{"name":"leasing","description":"**Leasing** – Leasingy.\n\nLen na čítanie · 47 polí · [katalóg polí](/abra-flexi-api/evidencie/#leasing)"},{"name":"typ-leasingu","description":"**Typy leasingů**\n\nLen na čítanie · 21 polí · [katalóg polí](/abra-flexi-api/evidencie/#typ-leasingu)"},{"name":"splatkovy-kalendar","description":"**Splátkový kalendář**\n\nLen na čítanie · 27 polí · [katalóg polí](/abra-flexi-api/evidencie/#splatkovy-kalendar)"}],"paths":{"/majetek.json":{"get":{"tags":["majetek"],"operationId":"majetek-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Majetek**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek":{"type":"array","items":{"$ref":"#/components/schemas/majetek"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"post":{"tags":["majetek"],"operationId":"majetek-zapis","summary":"Vytvoriť alebo aktualizovať záznamy","description":"Vytvorí nové záznamy alebo aktualizuje existujúce (import). Existujúci záznam Flexi spozná podľa `id` (interné ID, `code:`, `ext:`); bez neho založí nový. V jednej požiadavke môžete poslať viac záznamov aj viac evidencií.\n\nVnorené kolekcie: `prilohy` (priloha), `majetek-udalosti` (majetek-udalost), `zapujcky` (zapujcka), `ucetniOdpisy` (ucetni-odpis), `danoveOdpisy` (danovy-odpis).\n\nAkcie (`@action`): `delete` – Smazat.\n\n⚠️ ABRA zápis do tejto evidencie oficiálne nedokumentuje – funguje, ale overte si ho na testovacej firme.","parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["winstrom"],"properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"majetek":{"type":"array","items":{"$ref":"#/components/schemas/majetek"}}}}}},"examples":{"minimalny":{"summary":"Minimálny záznam (povinné polia)","value":{"winstrom":{"@version":"1.0","majetek":[{"kod":"KOD1","nazev":"Text","datKoupe":"2026-09-30","datZar":"2026-09-30","typMajetku":"code:KOD","stredisko":"code:KOD"}]}}}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"201":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek/({filtr}).json":{"get":{"tags":["majetek"],"operationId":"majetek-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek":{"type":"array","items":{"$ref":"#/components/schemas/majetek"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek/{id}.json":{"get":{"tags":["majetek"],"operationId":"majetek-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek":{"type":"array","items":{"$ref":"#/components/schemas/majetek"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}},"put":{"tags":["majetek"],"operationId":"majetek-uprava","summary":"Upraviť záznam","description":"Aktualizuje záznam zadaný v URL. Odošlite len polia, ktoré sa menia.","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"majetek":{"type":"array","items":{"$ref":"#/components/schemas/majetek"}}}}}},"example":{"winstrom":{"@version":"1.0","majetek":[{"poznam":"Upravené cez API"}]}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"delete":{"tags":["majetek"],"operationId":"majetek-zmazanie","summary":"Zmazať záznam","description":"Natrvalo zmaže záznam. Záznam, na ktorý sa odkazujú iné záznamy, zmazať nejde (chyba `daoNejdeSmazatOdkaz`). Doklady radšej stornujte (`@action: storno`). **Pozor:** nespoliehajte sa, že `dry-run` mazanie zastaví.","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Záznam bol zmazaný."},"404":{"$ref":"#/components/responses/Chyba404"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek/{id}/{vazba}.json":{"get":{"tags":["majetek"],"operationId":"majetek-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `danove-odpisy` (Daňové odpisy), `prilohy` (Přílohy), `ucetni-odpisy` (Účetní odpisy), `majetek-udalosti` (Události), `uzivatelske-vazby` (Uživatelské vazby), `zapujcky` (Zápůjčky/odpovědná osoba).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["danove-odpisy","prilohy","ucetni-odpisy","majetek-udalosti","uzivatelske-vazby","zapujcky"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek/{id}.pdf":{"get":{"tags":["majetek"],"operationId":"majetek-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/majetek/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["majetek$$SUM","majetekWithSubreports$$SUM"]},"description":"Zostava: `majetek$$SUM` – Přehled majetku, `majetekWithSubreports$$SUM` – Majetek (Daňové odpisy, Události, Účetní odpisy)"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-majetku.json":{"get":{"tags":["typ-majetku"],"operationId":"typ-majetku-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Typy majetků**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-majetku.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-majetku":{"type":"array","items":{"$ref":"#/components/schemas/typ-majetku"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"post":{"tags":["typ-majetku"],"operationId":"typ-majetku-zapis","summary":"Vytvoriť alebo aktualizovať záznamy","description":"Vytvorí nové záznamy alebo aktualizuje existujúce (import). Existujúci záznam Flexi spozná podľa `id` (interné ID, `code:`, `ext:`); bez neho založí nový. V jednej požiadavke môžete poslať viac záznamov aj viac evidencií.\n\nAkcie (`@action`): `delete` – Smazat.\n\n⚠️ ABRA zápis do tejto evidencie oficiálne nedokumentuje – funguje, ale overte si ho na testovacej firme.","parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["winstrom"],"properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"typ-majetku":{"type":"array","items":{"$ref":"#/components/schemas/typ-majetku"}}}}}},"examples":{"minimalny":{"summary":"Minimálny záznam (povinné polia)","value":{"winstrom":{"@version":"1.0","typ-majetku":[{"kod":"KOD1","nazev":"Text","stredisko":"code:KOD","typOrganizace":"code:KOD"}]}}}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"201":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-majetku/({filtr}).json":{"get":{"tags":["typ-majetku"],"operationId":"typ-majetku-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-majetku.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-majetku":{"type":"array","items":{"$ref":"#/components/schemas/typ-majetku"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-majetku/{id}.json":{"get":{"tags":["typ-majetku"],"operationId":"typ-majetku-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-majetku.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-majetku":{"type":"array","items":{"$ref":"#/components/schemas/typ-majetku"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}},"put":{"tags":["typ-majetku"],"operationId":"typ-majetku-uprava","summary":"Upraviť záznam","description":"Aktualizuje záznam zadaný v URL. Odošlite len polia, ktoré sa menia.","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"typ-majetku":{"type":"array","items":{"$ref":"#/components/schemas/typ-majetku"}}}}}},"example":{"winstrom":{"@version":"1.0","typ-majetku":[{"poznam":"Upravené cez API"}]}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"delete":{"tags":["typ-majetku"],"operationId":"typ-majetku-zmazanie","summary":"Zmazať záznam","description":"Natrvalo zmaže záznam. Záznam, na ktorý sa odkazujú iné záznamy, zmazať nejde (chyba `daoNejdeSmazatOdkaz`). Doklady radšej stornujte (`@action: storno`). **Pozor:** nespoliehajte sa, že `dry-run` mazanie zastaví.","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Záznam bol zmazaný."},"404":{"$ref":"#/components/responses/Chyba404"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-majetku/{id}/{vazba}.json":{"get":{"tags":["typ-majetku"],"operationId":"typ-majetku-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-majetku/{id}.pdf":{"get":{"tags":["typ-majetku"],"operationId":"typ-majetku-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/typ-majetku/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["majTyp$$SUM"]},"description":"Zostava: `majTyp$$SUM` – Typy majetků"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek-udalost.json":{"get":{"tags":["majetek-udalost"],"operationId":"majetek-udalost-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Události**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek-udalost.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek-udalost":{"type":"array","items":{"$ref":"#/components/schemas/majetek-udalost"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek-udalost/({filtr}).json":{"get":{"tags":["majetek-udalost"],"operationId":"majetek-udalost-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"datVyst >= '2026-01-01'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek-udalost.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek-udalost":{"type":"array","items":{"$ref":"#/components/schemas/majetek-udalost"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek-udalost/{id}.json":{"get":{"tags":["majetek-udalost"],"operationId":"majetek-udalost-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie majetek-udalost.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"majetek-udalost":{"type":"array","items":{"$ref":"#/components/schemas/majetek-udalost"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/majetek-udalost/{id}/{vazba}.json":{"get":{"tags":["majetek-udalost"],"operationId":"majetek-udalost-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/majetek-udalost/{id}.pdf":{"get":{"tags":["majetek-udalost"],"operationId":"majetek-udalost-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/majetek-udalost/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["majUdalosti$$SUM"]},"description":"Zostava: `majUdalosti$$SUM` – Majetek - události"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/odpisova-skupina.json":{"get":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Odpisové skupiny**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie odpisova-skupina.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"odpisova-skupina":{"type":"array","items":{"$ref":"#/components/schemas/odpisova-skupina"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"post":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-zapis","summary":"Vytvoriť alebo aktualizovať záznamy","description":"Vytvorí nové záznamy alebo aktualizuje existujúce (import). Existujúci záznam Flexi spozná podľa `id` (interné ID, `code:`, `ext:`); bez neho založí nový. V jednej požiadavke môžete poslať viac záznamov aj viac evidencií.\n\nAkcie (`@action`): `delete` – Smazat.\n\n⚠️ ABRA zápis do tejto evidencie oficiálne nedokumentuje – funguje, ale overte si ho na testovacej firme.","parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["winstrom"],"properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"odpisova-skupina":{"type":"array","items":{"$ref":"#/components/schemas/odpisova-skupina"}}}}}},"examples":{"minimalny":{"summary":"Minimálny záznam (povinné polia)","value":{"winstrom":{"@version":"1.0","odpisova-skupina":[{"kod":"KOD1","nazev":"Text"}]}}}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"201":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/odpisova-skupina/({filtr}).json":{"get":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie odpisova-skupina.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"odpisova-skupina":{"type":"array","items":{"$ref":"#/components/schemas/odpisova-skupina"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/odpisova-skupina/{id}.json":{"get":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie odpisova-skupina.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"odpisova-skupina":{"type":"array","items":{"$ref":"#/components/schemas/odpisova-skupina"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}},"put":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-uprava","summary":"Upraviť záznam","description":"Aktualizuje záznam zadaný v URL. Odošlite len polia, ktoré sa menia.","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"odpisova-skupina":{"type":"array","items":{"$ref":"#/components/schemas/odpisova-skupina"}}}}}},"example":{"winstrom":{"@version":"1.0","odpisova-skupina":[{"poznam":"Upravené cez API"}]}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"delete":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-zmazanie","summary":"Zmazať záznam","description":"Natrvalo zmaže záznam. Záznam, na ktorý sa odkazujú iné záznamy, zmazať nejde (chyba `daoNejdeSmazatOdkaz`). Doklady radšej stornujte (`@action: storno`). **Pozor:** nespoliehajte sa, že `dry-run` mazanie zastaví.","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Záznam bol zmazaný."},"404":{"$ref":"#/components/responses/Chyba404"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/odpisova-skupina/{id}/{vazba}.json":{"get":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/odpisova-skupina/{id}.pdf":{"get":{"tags":["odpisova-skupina"],"operationId":"odpisova-skupina-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/odpisova-skupina/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["majOdpisSkup$$SUM"]},"description":"Zostava: `majOdpisSkup$$SUM` – Majetek - odpisové skupiny"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-odpis.json":{"get":{"tags":["danovy-odpis"],"operationId":"danovy-odpis-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Daňové odpisy**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-odpis":{"type":"array","items":{"$ref":"#/components/schemas/danovy-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-odpis/({filtr}).json":{"get":{"tags":["danovy-odpis"],"operationId":"danovy-odpis-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"datVyst >= '2026-01-01'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-odpis":{"type":"array","items":{"$ref":"#/components/schemas/danovy-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-odpis/{id}.json":{"get":{"tags":["danovy-odpis"],"operationId":"danovy-odpis-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-odpis":{"type":"array","items":{"$ref":"#/components/schemas/danovy-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/danovy-odpis/{id}/{vazba}.json":{"get":{"tags":["danovy-odpis"],"operationId":"danovy-odpis-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/ucetni-odpis.json":{"get":{"tags":["ucetni-odpis"],"operationId":"ucetni-odpis-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Účetní odpisy**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie ucetni-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"ucetni-odpis":{"type":"array","items":{"$ref":"#/components/schemas/ucetni-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/ucetni-odpis/({filtr}).json":{"get":{"tags":["ucetni-odpis"],"operationId":"ucetni-odpis-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"datVyst >= '2026-01-01'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie ucetni-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"ucetni-odpis":{"type":"array","items":{"$ref":"#/components/schemas/ucetni-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/ucetni-odpis/{id}.json":{"get":{"tags":["ucetni-odpis"],"operationId":"ucetni-odpis-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie ucetni-odpis.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"ucetni-odpis":{"type":"array","items":{"$ref":"#/components/schemas/ucetni-odpis"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/ucetni-odpis/{id}/{vazba}.json":{"get":{"tags":["ucetni-odpis"],"operationId":"ucetni-odpis-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-naklad.json":{"get":{"tags":["danovy-naklad"],"operationId":"danovy-naklad-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Daňové náklady**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-naklad.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-naklad":{"type":"array","items":{"$ref":"#/components/schemas/danovy-naklad"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-naklad/({filtr}).json":{"get":{"tags":["danovy-naklad"],"operationId":"danovy-naklad-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"datVyst >= '2026-01-01'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-naklad.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-naklad":{"type":"array","items":{"$ref":"#/components/schemas/danovy-naklad"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/danovy-naklad/{id}.json":{"get":{"tags":["danovy-naklad"],"operationId":"danovy-naklad-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie danovy-naklad.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"danovy-naklad":{"type":"array","items":{"$ref":"#/components/schemas/danovy-naklad"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/danovy-naklad/{id}/{vazba}.json":{"get":{"tags":["danovy-naklad"],"operationId":"danovy-naklad-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/umisteni.json":{"get":{"tags":["umisteni"],"operationId":"umisteni-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Umístění**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie umisteni.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"umisteni":{"type":"array","items":{"$ref":"#/components/schemas/umisteni"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"post":{"tags":["umisteni"],"operationId":"umisteni-zapis","summary":"Vytvoriť alebo aktualizovať záznamy","description":"Vytvorí nové záznamy alebo aktualizuje existujúce (import). Existujúci záznam Flexi spozná podľa `id` (interné ID, `code:`, `ext:`); bez neho založí nový. V jednej požiadavke môžete poslať viac záznamov aj viac evidencií.\n\nAkcie (`@action`): `delete` – Smazat.\n\n⚠️ ABRA zápis do tejto evidencie oficiálne nedokumentuje – funguje, ale overte si ho na testovacej firme.","parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["winstrom"],"properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"umisteni":{"type":"array","items":{"$ref":"#/components/schemas/umisteni"}}}}}},"examples":{"minimalny":{"summary":"Minimálny záznam (povinné polia)","value":{"winstrom":{"@version":"1.0","umisteni":[{"kod":"KOD1","nazev":"Text"}]}}}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"201":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/umisteni/({filtr}).json":{"get":{"tags":["umisteni"],"operationId":"umisteni-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie umisteni.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"umisteni":{"type":"array","items":{"$ref":"#/components/schemas/umisteni"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/umisteni/{id}.json":{"get":{"tags":["umisteni"],"operationId":"umisteni-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie umisteni.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"umisteni":{"type":"array","items":{"$ref":"#/components/schemas/umisteni"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}},"put":{"tags":["umisteni"],"operationId":"umisteni-uprava","summary":"Upraviť záznam","description":"Aktualizuje záznam zadaný v URL. Odošlite len polia, ktoré sa menia.","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"umisteni":{"type":"array","items":{"$ref":"#/components/schemas/umisteni"}}}}}},"example":{"winstrom":{"@version":"1.0","umisteni":[{"poznam":"Upravené cez API"}]}}}}},"responses":{"200":{"$ref":"#/components/responses/VysledokZapisu"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}},"delete":{"tags":["umisteni"],"operationId":"umisteni-zmazanie","summary":"Zmazať záznam","description":"Natrvalo zmaže záznam. Záznam, na ktorý sa odkazujú iné záznamy, zmazať nejde (chyba `daoNejdeSmazatOdkaz`). Doklady radšej stornujte (`@action: storno`). **Pozor:** nespoliehajte sa, že `dry-run` mazanie zastaví.","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Záznam bol zmazaný."},"404":{"$ref":"#/components/responses/Chyba404"},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/umisteni/{id}/{vazba}.json":{"get":{"tags":["umisteni"],"operationId":"umisteni-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/umisteni/{id}.pdf":{"get":{"tags":["umisteni"],"operationId":"umisteni-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/umisteni/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["majUmisteni$$SUM"]},"description":"Zostava: `majUmisteni$$SUM` – Majetek - umístění"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/zapujcka.json":{"get":{"tags":["zapujcka"],"operationId":"zapujcka-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Zápůjčky**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie zapujcka.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"zapujcka":{"type":"array","items":{"$ref":"#/components/schemas/zapujcka"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/zapujcka/({filtr}).json":{"get":{"tags":["zapujcka"],"operationId":"zapujcka-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie zapujcka.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"zapujcka":{"type":"array","items":{"$ref":"#/components/schemas/zapujcka"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/zapujcka/{id}.json":{"get":{"tags":["zapujcka"],"operationId":"zapujcka-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie zapujcka.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"zapujcka":{"type":"array","items":{"$ref":"#/components/schemas/zapujcka"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/zapujcka/{id}/{vazba}.json":{"get":{"tags":["zapujcka"],"operationId":"zapujcka-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/zapujcka/{id}.pdf":{"get":{"tags":["zapujcka"],"operationId":"zapujcka-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/zapujcka/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["zapujcky$$SUM"]},"description":"Zostava: `zapujcky$$SUM` – Majetek - zápůjčky"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/leasing.json":{"get":{"tags":["leasing"],"operationId":"leasing-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Leasing**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie leasing.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"leasing":{"type":"array","items":{"$ref":"#/components/schemas/leasing"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/leasing/({filtr}).json":{"get":{"tags":["leasing"],"operationId":"leasing-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie leasing.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"leasing":{"type":"array","items":{"$ref":"#/components/schemas/leasing"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/leasing/{id}.json":{"get":{"tags":["leasing"],"operationId":"leasing-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie leasing.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"leasing":{"type":"array","items":{"$ref":"#/components/schemas/leasing"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/leasing/{id}/{vazba}.json":{"get":{"tags":["leasing"],"operationId":"leasing-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `splatkove-kalendare` (Splátkový kalendář), `prilohy` (Přílohy), `uzivatelske-vazby` (Uživatelské vazby), `danove-naklady` (Daňové náklady), `zapujcky` (Zápůjčky/odpovědná osoba).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["splatkove-kalendare","prilohy","uzivatelske-vazby","danove-naklady","zapujcky"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/leasing/{id}.pdf":{"get":{"tags":["leasing"],"operationId":"leasing-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/leasing/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["leasing$$SUM","leasingWithSubreports$$SUM"]},"description":"Zostava: `leasing$$SUM` – Přehled leasingu, `leasingWithSubreports$$SUM` – Leasing (Splátkový kalendář, Daňové náklady)"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-leasingu.json":{"get":{"tags":["typ-leasingu"],"operationId":"typ-leasingu-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Typy leasingů**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-leasingu.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-leasingu":{"type":"array","items":{"$ref":"#/components/schemas/typ-leasingu"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-leasingu/({filtr}).json":{"get":{"tags":["typ-leasingu"],"operationId":"typ-leasingu-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"lastUpdate > '2026-01-01T00:00:00'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-leasingu.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-leasingu":{"type":"array","items":{"$ref":"#/components/schemas/typ-leasingu"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-leasingu/{id}.json":{"get":{"tags":["typ-leasingu"],"operationId":"typ-leasingu-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie typ-leasingu.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"typ-leasingu":{"type":"array","items":{"$ref":"#/components/schemas/typ-leasingu"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/typ-leasingu/{id}/{vazba}.json":{"get":{"tags":["typ-leasingu"],"operationId":"typ-leasingu-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/typ-leasingu/{id}.pdf":{"get":{"tags":["typ-leasingu"],"operationId":"typ-leasingu-pdf","summary":"Tlačová zostava (PDF)","description":"Vráti záznam ako PDF. Bez `report-name` sa použije predvolená zostava. PDF z viacerých záznamov získate filtrom, napr. `/typ-leasingu/(kod = 'X').pdf`.","parameters":[{"$ref":"#/components/parameters/id"},{"name":"report-name","in":"query","schema":{"type":"string","enum":["typLeasingu$$SUM"]},"description":"Zostava: `typLeasingu$$SUM` – Typy leasingů"},{"$ref":"#/components/parameters/reportLang"}],"responses":{"200":{"description":"PDF dokument.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/splatkovy-kalendar.json":{"get":{"tags":["splatkovy-kalendar"],"operationId":"splatkovy-kalendar-zoznam","summary":"Zoznam záznamov","description":"Vráti záznamy evidencie **Splátkový kalendář**. Bez parametrov vráti prvých 20 záznamov v rozsahu `summary`.","parameters":[{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie splatkovy-kalendar.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"splatkovy-kalendar":{"type":"array","items":{"$ref":"#/components/schemas/splatkovy-kalendar"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/splatkovy-kalendar/({filtr}).json":{"get":{"tags":["splatkovy-kalendar"],"operationId":"splatkovy-kalendar-filter","summary":"Zoznam podľa filtra","description":"Filter sa zapisuje do URL v zátvorkách. Operátory: `=`, `!=`, `<`, `<=`, `>`, `>=`, `like`, `begins`, `ends`, `in (…)`, `between`, `is null`, `is not null`, `is empty`, `and`, `or`, `not`. Hodnoty dávajte do apostrofov, väzby ako `'code:KÓD'`, výbery ako `'stavUhr.uhrazeno'`. [Viac o filtroch](https://nva.sk/abra-flexi-api/#filtre)","parameters":[{"name":"filtr","in":"path","required":true,"schema":{"type":"string"},"example":"datVyst >= '2026-01-01'","description":"Podmienka filtra (bez zátvoriek)."},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/addRowCount"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie splatkovy-kalendar.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"splatkovy-kalendar":{"type":"array","items":{"$ref":"#/components/schemas/splatkovy-kalendar"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}},"/splatkovy-kalendar/{id}.json":{"get":{"tags":["splatkovy-kalendar"],"operationId":"splatkovy-kalendar-detail","summary":"Detail záznamu","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/relations"},{"$ref":"#/components/parameters/includes"},{"$ref":"#/components/parameters/noExtIds"}],"responses":{"200":{"description":"Zoznam záznamov evidencie splatkovy-kalendar.","content":{"application/json":{"schema":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"@rowCount":{"type":"string","description":"Celkový počet záznamov (len s `add-row-count=true`)."},"splatkovy-kalendar":{"type":"array","items":{"$ref":"#/components/schemas/splatkovy-kalendar"}}}}}}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"},"404":{"$ref":"#/components/responses/Chyba404"}}}},"/splatkovy-kalendar/{id}/{vazba}.json":{"get":{"tags":["splatkovy-kalendar"],"operationId":"splatkovy-kalendar-vazba","summary":"Súvisiace záznamy (väzba)","description":"Vráti záznamy prepojené so záznamom: `uzivatelske-vazby` (Uživatelské vazby).","parameters":[{"$ref":"#/components/parameters/id"},{"name":"vazba","in":"path","required":true,"schema":{"type":"string","enum":["uzivatelske-vazby"]}},{"$ref":"#/components/parameters/detail"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/start"}],"responses":{"200":{"description":"Záznamy väzby.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Chyba400"},"401":{"$ref":"#/components/responses/Chyba401"},"403":{"$ref":"#/components/responses/Chyba403"}}}}},"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Meno a heslo používateľa ABRA Flexi s povoleným prístupom cez REST API."},"authSessionId":{"type":"apiKey","in":"header","name":"X-authSessionId","description":"Session ID z prihlásenia `POST /login-logout/login.json`."}},"parameters":{"detail":{"name":"detail","in":"query","schema":{"type":"string"},"description":"Rozsah vrátených polí: `summary` (predvolené v zozname), `full` (všetky polia), `id` (len identifikátory) alebo `custom:pole1,pole2,vazba(pole)` – napr. `custom:kod,nazev,firma(nazev,ic)`.","examples":{"summary":{"value":"summary"},"full":{"value":"full"},"custom":{"value":"custom:id,kod,nazev,lastUpdate"}}},"limit":{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":0},"description":"Počet vrátených záznamov. Predvolene 20, `0` = všetky (pri veľkých evidenciách radšej stránkujte)."},"start":{"name":"start","in":"query","schema":{"type":"integer","default":0,"minimum":0},"description":"Posun pri stránkovaní – od ktorého záznamu (0 = prvý)."},"order":{"name":"order","in":"query","schema":{"type":"string"},"example":"lastUpdate@D","description":"Zoradenie: `pole@A` vzostupne, `pole@D` zostupne."},"addRowCount":{"name":"add-row-count","in":"query","schema":{"type":"boolean"},"description":"Pridá do odpovede `@rowCount` – celkový počet záznamov (vhodné pri stránkovaní)."},"relations":{"name":"relations","in":"query","schema":{"type":"string"},"description":"Vnorené kolekcie, ktoré sa majú vrátiť spolu so záznamom, napr. `polozkyFaktury,prilohy`. Obsah vyberiete cez `detail=custom:…,polozkyFaktury(nazev,mnozMj)`."},"includes":{"name":"includes","in":"query","schema":{"type":"string"},"description":"Vloží celé odkazované záznamy namiesto odkazu, napr. `/faktura-vydana/firma`. Polia vyberiete cez `detail=custom:kod,firma(nazev,ic)`."},"noExtIds":{"name":"no-ext-ids","in":"query","schema":{"type":"boolean"},"description":"Nevracať externé identifikátory (`external-ids`) – menšia a rýchlejšia odpoveď."},"dryRun":{"name":"dry-run","in":"query","schema":{"type":"boolean","default":true},"description":"Skúšobný zápis: Flexi požiadavku spracuje a vráti výsledok vrátane vypočítaných hodnôt, ale nič neuloží. V tejto dokumentácii je predvolene zapnutý."},"id":{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifikátor záznamu: `123` (interné ID), `code:KÓD`, `ext:SYSTÉM:ID`. Pri `code:` a `ext:` Flexi presmeruje (301) na adresu s interným ID.","example":"1"},"reportLang":{"name":"report-lang","in":"query","schema":{"type":"string","enum":["sk","cs","en","de"]},"description":"Jazyk tlačovej zostavy."}},"schemas":{"Chyba":{"type":"object","description":"Chyba pri zápise konkrétneho záznamu.","properties":{"message":{"type":"string","description":"Text chyby (česky)."},"for":{"type":"string","description":"Pole, ktorého sa chyba týka."},"path":{"type":"string","description":"Cesta k poľu v požiadavke."},"value":{"type":"string","description":"Odoslaná hodnota."},"code":{"type":"string","description":"Kategória chyby, napr. `PROP`, `INVALID`."},"messageCode":{"type":"string","description":"Kód chyby vhodný na spracovanie v programe, napr. `notObjectIdentifier`."}}},"VysledokZapisu":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string","example":"1.0"},"success":{"type":"string","enum":["true","false"],"description":"`false`, ak aspoň jeden záznam zlyhal."},"stats":{"type":"object","properties":{"created":{"type":"string","example":"0"},"updated":{"type":"string","example":"0"},"deleted":{"type":"string","example":"0"},"skipped":{"type":"string","example":"0"},"failed":{"type":"string","example":"0"}}},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Interné ID vytvoreného alebo upraveného záznamu."},"request-id":{"type":"string","description":"Identifikátor z požiadavky (napr. `ext:…`)."},"ref":{"type":"string","description":"Relatívna adresa záznamu."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Chyba"}}}}}}}},"example":{"winstrom":{"@version":"1.0","success":"true","stats":{"created":"1","updated":"0","deleted":"0","skipped":"0","failed":"0"},"results":[{"id":"40125","request-id":"ext:ESHOP:FV-2026-001234","ref":"/c/firma/faktura-vydana/40125.json"}]}}},"ChybaPoziadavky":{"type":"object","properties":{"winstrom":{"type":"object","properties":{"@version":{"type":"string"},"success":{"type":"string","example":"false"},"message":{"type":"string"},"message@messageCode":{"type":"string"}}}},"example":{"winstrom":{"@version":"1.0","success":"false","message@messageCode":"adresaNeplatnaUrl","message":"Adresa … není platná."}}},"majetek":{"type":"object","title":"Majetek","description":"Majetek (`majetek`). Dlhodobý majetok a drobný majetok v evidencii. [Katalóg polí](/abra-flexi-api/evidencie/#majetek)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Inventární číslo** (Inv.čís.) · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"platiOd":{"type":"string","example":"1","description":"**Platí od** (Platí od roku) · Celé číslo","x-flexi-type":"integer"},"platiDo":{"type":"string","example":"1","description":"**Platí do** (Platí do roku) · Celé číslo","x-flexi-type":"integer"},"cena":{"type":"string","example":"0.0","description":"**Cena při zařazení [Kč]** (Cena) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"kusySoubor":{"type":"string","example":"1","description":"**Kusů v souboru** (Kusů) · Celé číslo · povinné","x-flexi-type":"integer"},"druhK":{"type":"string","enum":["druhMaj.hmDl","druhMaj.nehmDl","druhMaj.drobny","druhMaj.neodepis"],"description":"**Druh** · Výber z číselníka · povinné · max. 50 znakov\n\n- `druhMaj.hmDl` – Hmotný dlouhodobý\n- `druhMaj.nehmDl` – Nehmotný dlouhodobý\n- `druhMaj.drobny` – Drobný\n- `druhMaj.neodepis` – Neodpisovaný (pouhá evidence)","x-flexi-type":"select"},"cidPoriz":{"type":"string","maxLength":20,"description":"**Doklad pořízení** (Doklad) · Text · max. 20 znakov","x-flexi-type":"string"},"zpusPor":{"type":"string","maxLength":255,"description":"**Způsob pořízení** (Způs.poř.) · Text · max. 255 znakov","x-flexi-type":"string"},"datKoupe":{"type":"string","example":"2026-09-30","description":"**Datum koupě** (Koupeno) · Dátum · povinné","x-flexi-type":"date"},"datVyroby":{"type":"string","example":"2026-09-30","description":"**Datum výroby** (Vyrobeno) · Dátum","x-flexi-type":"date"},"vyrCis":{"type":"string","maxLength":20,"description":"**Výrobní číslo** · Text · max. 20 znakov","x-flexi-type":"string"},"mjZarukyK":{"type":"string","enum":["mjZaruky.rok","mjZaruky.mesic","mjZaruky.den"],"description":"**MJ záruky** · Výber z číselníka · max. 50 znakov\n\n- `mjZaruky.rok` – rok\n- `mjZaruky.mesic` – měsíc\n- `mjZaruky.den` – den","x-flexi-type":"select"},"zaruka":{"type":"string","example":"1","description":"**Záruka** · Celé číslo","x-flexi-type":"integer"},"datZar":{"type":"string","example":"2026-09-30","description":"**Datum zařazení** (Zařazeno) · Dátum · povinné","x-flexi-type":"date"},"stariPor":{"type":"string","example":"1","description":"**Odepsáno při zař. [měsíce]** (Odepsáno měs.) · Celé číslo","x-flexi-type":"integer"},"zustUcet":{"type":"string","example":"0.0","description":"**Zůstatek účetní [Kč]** (Zůst.účet.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"zustDan":{"type":"string","example":"0.0","description":"**Zůstatek daňový [Kč]** (Zůst.daň.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"techZhod":{"type":"string","enum":["true","false"],"description":"**Před zařazením bylo tech. zhod.** (Tech.zh.) · Áno/Nie · povinné","x-flexi-type":"logic"},"datZacDan":{"type":"string","example":"2026-09-30","description":"**Začátek daňových odpisů** (Zač.daň.odp) · Dátum","x-flexi-type":"date"},"datZacUcet":{"type":"string","example":"2026-09-30","description":"**Začátek účetních odpisů** (Zač.uč.odp.) · Dátum","x-flexi-type":"date"},"zpusOdpK":{"type":"string","enum":["zpusobOdp.zar100","zpusobOdp.zar5050","zpusobOdp.rocne","typOdp.rovn","typOdp.zrych","typOdp.mesic"],"description":"**Způsob odpisování** (Způs.odp.) · Výber z číselníka · max. 50 znakov\n\n- `zpusobOdp.zar100` – 100 %\n- `zpusobOdp.zar5050` – 50 % / 50 %\n- `zpusobOdp.rocne` – % Ročně\n- `typOdp.rovn` – Rovnoměrné\n- `typOdp.zrych` – Zrychlené\n- `typOdp.mesic` – Měsíční","x-flexi-type":"select"},"zvysZrychK":{"type":"string","enum":["zvysZrych.proc0","zvysZrych.proc10","zvysZrych.proc15","zvysZrych.proc20"],"description":"**Zvýšení odpisu v 1. roce** (Zvýš.1.rok) · Výber z číselníka · max. 50 znakov\n\n- `zvysZrych.proc0` – 0 %\n- `zvysZrych.proc10` – 10 %\n- `zvysZrych.proc15` – 15 %\n- `zvysZrych.proc20` – 20 %","x-flexi-type":"select"},"nahrUcetOdpK":{"type":"string","enum":["nahrUcet.ne","nahrUcet.aPocMes"],"description":"**Vytvářet úč. odpisy** (Účetní odp.?) · Výber z číselníka · max. 50 znakov\n\n- `nahrUcet.ne` – Ne\n- `nahrUcet.aPocMes` – Ano","x-flexi-type":"select"},"predpisUcetOdp":{"type":"string","example":"0.0","description":"**Počet měsíců odpisování** (Doba úč.odp.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"eanKod":{"type":"string","maxLength":20,"description":"**EAN** · Text · max. 20 znakov","x-flexi-type":"string"},"uctovatZar":{"type":"string","enum":["true","false"],"description":"**Účtovat zařazení** · Áno/Nie","x-flexi-type":"logic"},"stariTechZhod":{"type":"string","example":"1","description":"**Stáří tech. zhod. [měsíce]** (Stáří tech.zh.) · Celé číslo","x-flexi-type":"integer"},"datUdalZar":{"type":"string","example":"2026-09-30","readOnly":true,"description":"**Datum události zařazení** (Zařazeno) · Dátum · len na čítanie","x-flexi-type":"date"},"datUdalVyr":{"type":"string","example":"2026-09-30","description":"**Datum události vyřazení** (Vyřazeno) · Dátum","x-flexi-type":"date"},"zamekK":{"type":"string","enum":["zamek.otevreno","zamek.prohlednuto","zamek.polozamceno","zamek.zamceno"],"readOnly":true,"description":"**Zámek** · Výber z číselníka · len na čítanie · max. 50 znakov\n\n- `zamek.otevreno` – Otevřeno\n- `zamek.prohlednuto` – Prohlédnuto\n- `zamek.polozamceno` – Zamknuto mimo účetní\n- `zamek.zamceno` – Zamknuto","x-flexi-type":"select"},"skp":{"type":"string","maxLength":50,"description":"**Standardní klasifikace produkce** (SKP) · Text · max. 50 znakov","x-flexi-type":"string"},"pocetPriloh":{"type":"string","example":"1","readOnly":true,"description":"**Přílohy** · Celé číslo · len na čítanie","x-flexi-type":"integer"},"stitky":{"type":"string","description":"**Štítky** · Text","x-flexi-type":"string"},"katastrUzemi":{"type":"string","maxLength":255,"description":"**Katastrální území** · Text · max. 255 znakov","x-flexi-type":"string"},"parcela":{"type":"string","maxLength":255,"description":"**Parcela** · Text · max. 255 znakov","x-flexi-type":"string"},"vozCislo":{"type":"string","maxLength":255,"description":"**Číslo** · Text · max. 255 znakov","x-flexi-type":"string"},"vozSpz":{"type":"string","maxLength":255,"description":"**SPZ** · Text · max. 255 znakov","x-flexi-type":"string"},"vozZnacka":{"type":"string","maxLength":255,"description":"**Značka** · Text · max. 255 znakov","x-flexi-type":"string"},"vozModel":{"type":"string","maxLength":255,"description":"**Model** · Text · max. 255 znakov","x-flexi-type":"string"},"vozTyp":{"type":"string","maxLength":255,"description":"**Typ vozidla** · Text · max. 255 znakov","x-flexi-type":"string"},"vozObjem":{"type":"string","example":"0.0","description":"**Objem** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"vozHavar":{"type":"string","maxLength":255,"description":"**Havarijní pojištění** · Text · max. 255 znakov","x-flexi-type":"string"},"vozHavarVyse":{"type":"string","example":"0.0","description":"**Výše havarijního pojištění** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"vozVybava":{"type":"string","description":"**Výbava** · Text","x-flexi-type":"string"},"sazba":{"type":"string","example":"code:KOD","description":"**Odpisová skupina** (Odp.skup.) · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [odpisova-skupina](/abra-flexi-api/evidencie/#odpisova-skupina) (Odpisové skupiny). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"mistnost":{"type":"string","example":"code:KOD","description":"**Místnost** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [umisteni](/abra-flexi-api/evidencie/#umisteni) (Umístění). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"sekce":{"type":"string","example":"code:KOD","description":"**Sekce** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [umisteni](/abra-flexi-api/evidencie/#umisteni) (Umístění). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"objekt":{"type":"string","example":"code:KOD","description":"**Objekt** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [umisteni](/abra-flexi-api/evidencie/#umisteni) (Umístění). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"typMajetku":{"type":"string","example":"code:KOD","description":"**Typ** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [typ-majetku](/abra-flexi-api/evidencie/#typ-majetku) (Typy majetků). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"doklFak":{"type":"string","example":"code:KOD","description":"**Doklad faktury** · Väzba\n\nVäzba na [faktura-prijata](/abra-flexi-api/evidencie/#faktura-prijata) (Přijaté faktury). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dodavatel":{"type":"string","example":"code:KOD","description":"**Dodavatel** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [adresar](/abra-flexi-api/evidencie/#adresar) (Adresy firem). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"vyrobce":{"type":"string","example":"code:KOD","description":"**Výrobce** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [adresar](/abra-flexi-api/evidencie/#adresar) (Adresy firem). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"primarniUcet":{"type":"string","example":"code:KOD","description":"**Primární účet** (Prim.účet) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"protiUcetZarazeni":{"type":"string","example":"code:KOD","description":"**Protiúčet zařazení** (Protiúč.zař.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"opravnyUcet":{"type":"string","example":"code:KOD","description":"**Účet oprávek** (Účet opr.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"odpisovyUcet":{"type":"string","example":"code:KOD","description":"**Účet odpisu** (Účet odp.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zustVyrazUcet":{"type":"string","example":"code:KOD","description":"**Účet zůstatku vyřazení** · Väzba\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"uzivatel":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Uživatel** · Väzba · len na čítanie · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"prilohy":{"type":"array","items":{"$ref":"#/components/schemas/priloha"},"description":"Vnorené záznamy evidencie [priloha](/abra-flexi-api/evidencie/#priloha) (Příloha)."},"prilohy@removeAll":{"type":"boolean","writeOnly":true,"description":"Pri zápise najprv odstráni všetky existujúce záznamy v kolekcii `prilohy` a nahradí ich odoslanými."},"majetek-udalosti":{"type":"array","items":{"$ref":"#/components/schemas/majetek-udalost"},"description":"Vnorené záznamy evidencie [majetek-udalost](/abra-flexi-api/evidencie/#majetek-udalost) (Události)."},"majetek-udalosti@removeAll":{"type":"boolean","writeOnly":true,"description":"Pri zápise najprv odstráni všetky existujúce záznamy v kolekcii `majetek-udalosti` a nahradí ich odoslanými."},"zapujcky":{"type":"array","items":{"$ref":"#/components/schemas/zapujcka"},"description":"Vnorené záznamy evidencie [zapujcka](/abra-flexi-api/evidencie/#zapujcka) (Zápůjčky)."},"zapujcky@removeAll":{"type":"boolean","writeOnly":true,"description":"Pri zápise najprv odstráni všetky existujúce záznamy v kolekcii `zapujcky` a nahradí ich odoslanými."},"ucetniOdpisy":{"type":"array","items":{"$ref":"#/components/schemas/ucetni-odpis"},"description":"Vnorené záznamy evidencie [ucetni-odpis](/abra-flexi-api/evidencie/#ucetni-odpis) (Účetní odpisy)."},"ucetniOdpisy@removeAll":{"type":"boolean","writeOnly":true,"description":"Pri zápise najprv odstráni všetky existujúce záznamy v kolekcii `ucetniOdpisy` a nahradí ich odoslanými."},"danoveOdpisy":{"type":"array","items":{"$ref":"#/components/schemas/danovy-odpis"},"description":"Vnorené záznamy evidencie [danovy-odpis](/abra-flexi-api/evidencie/#danovy-odpis) (Daňové odpisy)."},"danoveOdpisy@removeAll":{"type":"boolean","writeOnly":true,"description":"Pri zápise najprv odstráni všetky existujúce záznamy v kolekcii `danoveOdpisy` a nahradí ich odoslanými."},"@action":{"type":"string","writeOnly":true,"enum":["delete"],"description":"Akcia nad existujúcim záznamom: `delete` (Smazat)."},"@create":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam ešte neexistuje: `ok` založiť (predvolené), `ignore` preskočiť, `fail` chyba."},"@update":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam už existuje: `ok` aktualizovať (predvolené), `ignore` preskočiť, `fail` chyba."},"stitky@removeAll":{"type":"boolean","writeOnly":true,"description":"Odstráni všetky štítky záznamu pred nastavením nových."},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"typ-majetku":{"type":"object","title":"Typy majetků","description":"Typy majetků (`typ-majetku`). [Katalóg polí](/abra-flexi-api/evidencie/#typ-majetku)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Zkratka** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"ucetObdobiOd":{"type":"string","example":"code:KOD","description":"**Platí od** · Väzba\n\nVäzba na [ucetni-obdobi](/abra-flexi-api/evidencie/#ucetni-obdobi) (Účetní období). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"ucetObdobiDo":{"type":"string","example":"code:KOD","description":"**Platí do** · Väzba\n\nVäzba na [ucetni-obdobi](/abra-flexi-api/evidencie/#ucetni-obdobi) (Účetní období). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"jeOdpis":{"type":"string","enum":["true","false"],"description":"**Majetek je odpisován** · Áno/Nie","x-flexi-type":"logic"},"druhK":{"type":"string","enum":["druhMaj.hmDl","druhMaj.nehmDl","druhMaj.drobny","druhMaj.neodepis"],"description":"**Druh** · Výber z číselníka · povinné · max. 50 znakov\n\n- `druhMaj.hmDl` – Hmotný dlouhodobý\n- `druhMaj.nehmDl` – Nehmotný dlouhodobý\n- `druhMaj.drobny` – Drobný\n- `druhMaj.neodepis` – Neodpisovaný (pouhá evidence)","x-flexi-type":"select"},"workFlow":{"type":"string","enum":["true","false"],"description":"**Zahájit workflow při založení dokladu** · Áno/Nie","x-flexi-type":"logic"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"primarniUcet":{"type":"string","example":"code:KOD","description":"**Účet majetku** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"protiUcetZarazeni":{"type":"string","example":"code:KOD","description":"**Účet zařazení** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"opravnyUcet":{"type":"string","example":"code:KOD","description":"**Účet oprávek** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"odpisovyUcet":{"type":"string","example":"code:KOD","description":"**Účet odpisu** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zustVyrazUcet":{"type":"string","example":"code:KOD","description":"**Účet zůstatku vyřazení** · Väzba\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"typOrganizace":{"type":"string","example":"code:KOD","description":"**Typ organizace** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [typ-organizace](/abra-flexi-api/evidencie/#typ-organizace) (Typ organizace). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"@action":{"type":"string","writeOnly":true,"enum":["delete"],"description":"Akcia nad existujúcim záznamom: `delete` (Smazat)."},"@create":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam ešte neexistuje: `ok` založiť (predvolené), `ignore` preskočiť, `fail` chyba."},"@update":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam už existuje: `ok` aktualizovať (predvolené), `ignore` preskočiť, `fail` chyba."},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"majetek-udalost":{"type":"object","title":"Události","description":"Události (`majetek-udalost`). [Katalóg polí](/abra-flexi-api/evidencie/#majetek-udalost)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"ucetni":{"type":"string","enum":["true","false"],"description":"**Doklad je účetní** (Je účetní) · Áno/Nie","x-flexi-type":"logic"},"typUdalostiK":{"type":"string","enum":["typUdal.zarazeni","typUdal.uplVyr","typUdal.casVyr","typUdal.techZhod","typUdal.zmenaVstupniCeny","typUdal.prerOdpDan","typUdal.prerOdpUcet","typUdal.zahOdpDan","typUdal.zahOdpUcet","typUdal.rozdilCenyAZustatku","typUdal.uzivatelska"],"description":"**Typ události** · Výber z číselníka · povinné · max. 50 znakov\n\n- `typUdal.zarazeni` – Zařazení\n- `typUdal.uplVyr` – Úplné vyřazení\n- `typUdal.casVyr` – Částečné vyřazení\n- `typUdal.techZhod` – Technické zhodnocení\n- `typUdal.zmenaVstupniCeny` – Změna vstupní ceny\n- `typUdal.prerOdpDan` – Přerušení daňových odpisů\n- `typUdal.prerOdpUcet` – Přerušení účetních odpisů\n- `typUdal.zahOdpDan` – Opětovné zahájení daňových odpisů\n- `typUdal.zahOdpUcet` – Opětovné zahájení účetních odpisů\n- `typUdal.rozdilCenyAZustatku` – Rozdíl prodejní ceny a zůstatku\n- `typUdal.uzivatelska` – Uživatelská událost","x-flexi-type":"select"},"datVyst":{"type":"string","example":"2026-09-30","description":"**Vystaveno** (Datum vyst.) · Dátum · povinné","x-flexi-type":"date"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"sumZkl":{"type":"string","example":"0.0","description":"**Částka [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"sumZklMen":{"type":"string","example":"0.0","description":"**Základ [měna]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"sumDph":{"type":"string","example":"0.0","description":"**Částka účetní [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"sumDphMen":{"type":"string","example":"0.0","description":"**DPH [měna]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"zamek":{"type":"string","enum":["true","false"],"description":"**Zámek** · Áno/Nie","x-flexi-type":"logic"},"kod":{"type":"string","maxLength":20,"description":"**Číslo dokladu** · Text · max. 20 znakov","x-flexi-type":"string"},"modul":{"type":"string","description":"**Modul** · Text · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"zmenaDobyOdpis":{"type":"string","example":"1","description":"**Prodlouž. účet. odpisů o** (Prodl. úč. odp.) · Celé číslo","x-flexi-type":"integer"},"datUcto":{"type":"string","example":"2026-09-30","description":"**Datum zaúčtování** · Dátum · povinné","x-flexi-type":"date"},"zmena":{"type":"string","enum":["true","false"],"description":"**Uživatelská změna zůstatku** (Uživ. změna zůst.) · Áno/Nie","x-flexi-type":"logic"},"sumDphDanove":{"type":"string","example":"0.0","description":"**Částka daňová [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"nahrUcetOdpK":{"type":"string","enum":["nahrUcet.ne","nahrUcet.aPocMes"],"readOnly":true,"description":"**Vytvářet úč. odpisy** (Účetní odp.?) · Výber z číselníka · len na čítanie · max. 50 znakov\n\n- `nahrUcet.ne` – Ne\n- `nahrUcet.aPocMes` – Ano","x-flexi-type":"select"},"majetek":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Majetek** · Väzba · len na čítanie · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [majetek](/abra-flexi-api/evidencie/#majetek) (Majetek). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD zůstatku** (Úč.MD zůst.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD události** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL události** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL zůstatku** (Úč.DAL zůst.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"odpisova-skupina":{"type":"object","title":"Odpisové skupiny","description":"Odpisové skupiny (`odpisova-skupina`). [Katalóg polí](/abra-flexi-api/evidencie/#odpisova-skupina)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Zkratka** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"platiOd":{"type":"string","example":"1","description":"**Platí od** (Platí od roku) · Celé číslo","x-flexi-type":"integer"},"platiDo":{"type":"string","example":"1","description":"**Platí do** (Platí do roku) · Celé číslo","x-flexi-type":"integer"},"typOdpK":{"type":"string","enum":["typOdp.rovn","typOdp.zrych","typOdp.mesic"],"description":"**Způsob odp.** · Výber z číselníka · povinné · max. 50 znakov\n\n- `typOdp.rovn` – Rovnoměrné\n- `typOdp.zrych` – Zrychlené\n- `typOdp.mesic` – Měsíční","x-flexi-type":"select"},"dobaOdp":{"type":"string","example":"1","description":"**Doba odpisu** (Doba) · Celé číslo · 0 desatinných miest","x-flexi-type":"integer"},"minDobaOdp":{"type":"string","example":"1","description":"**Min. doba odpisu** · Celé číslo · 0 desatinných miest","x-flexi-type":"integer"},"koefZrOdp1":{"type":"string","example":"1","description":"**První rok** (1.rok zrych.) · Celé číslo · 0 desatinných miest","x-flexi-type":"integer"},"koefZrOdpDalsi":{"type":"string","example":"1","description":"**Další roky** (Další r.zrych.) · Celé číslo · 0 desatinných miest","x-flexi-type":"integer"},"koefZrOdpZvCeny":{"type":"string","example":"1","description":"**Zvýšení vst. ceny** (Zvýšení zrych.) · Celé číslo · 0 desatinných miest","x-flexi-type":"integer"},"prcRoOdp1":{"type":"string","example":"0.0","description":"**První rok** (1.rok rovn.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"prcRoOdpDalsi":{"type":"string","example":"0.0","description":"**Další roky** (Další r.rovn.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"prcRoOdpZvCeny":{"type":"string","example":"0.0","description":"**Zvýšení vst.ceny** (Zvýšení rovn.) · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"zamek":{"type":"string","enum":["true","false"],"description":"**Zámek** · Áno/Nie","x-flexi-type":"logic"},"zmena":{"type":"string","enum":["true","false"],"description":"**Vytvořena uživatelem** (Vytvořena už.) · Áno/Nie · povinné","x-flexi-type":"logic"},"@action":{"type":"string","writeOnly":true,"enum":["delete"],"description":"Akcia nad existujúcim záznamom: `delete` (Smazat)."},"@create":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam ešte neexistuje: `ok` založiť (predvolené), `ignore` preskočiť, `fail` chyba."},"@update":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam už existuje: `ok` aktualizovať (predvolené), `ignore` preskočiť, `fail` chyba."},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"danovy-odpis":{"type":"object","title":"Daňové odpisy","description":"Daňové odpisy (`danovy-odpis`). [Katalóg polí](/abra-flexi-api/evidencie/#danovy-odpis)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"ucetni":{"type":"string","enum":["true","false"],"description":"**Doklad je účetní** (Je účetní) · Áno/Nie","x-flexi-type":"logic"},"zmena":{"type":"string","enum":["true","false"],"readOnly":true,"description":"**Uživatelsky změněno** (Uživ. změn.) · Áno/Nie · len na čítanie","x-flexi-type":"logic"},"datVyst":{"type":"string","example":"2026-09-30","description":"**Vystaveno** (Datum vyst.) · Dátum · povinné","x-flexi-type":"date"},"sumZkl":{"type":"string","example":"0.0","description":"**Daň.odpis [Kč]** · Číslo · povinné · 2 desatinných miest","x-flexi-type":"numeric"},"stariMaj":{"type":"string","example":"1","readOnly":true,"description":"**Stáří majetku [Roky]** (Stáří[Roky]) · Celé číslo · len na čítanie","x-flexi-type":"integer"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"zamek":{"type":"string","enum":["true","false"],"readOnly":true,"description":"**Zámek** · Áno/Nie · len na čítanie","x-flexi-type":"logic"},"zustPoOdp":{"type":"string","example":"0.0","description":"**Zůstatek [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"kod":{"type":"string","maxLength":20,"description":"**Číslo dokladu** · Text · max. 20 znakov","x-flexi-type":"string"},"modul":{"type":"string","readOnly":true,"description":"**Modul** · Text · len na čítanie · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"datUcto":{"type":"string","example":"2026-09-30","readOnly":true,"description":"**Datum zaúčtování** · Dátum · len na čítanie","x-flexi-type":"date"},"majetek":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Majetek** · Väzba · len na čítanie · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [majetek](/abra-flexi-api/evidencie/#majetek) (Majetek). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD odpisu** (Účet MD) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL odpisu** (Účet DAL) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"ucetni-odpis":{"type":"object","title":"Účetní odpisy","description":"Účetní odpisy (`ucetni-odpis`). [Katalóg polí](/abra-flexi-api/evidencie/#ucetni-odpis)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"ucetni":{"type":"string","enum":["true","false"],"description":"**Doklad je účetní** (Je účetní) · Áno/Nie","x-flexi-type":"logic"},"zmena":{"type":"string","enum":["true","false"],"readOnly":true,"description":"**Uživatelsky změněno** (Uživ. změn.) · Áno/Nie · len na čítanie","x-flexi-type":"logic"},"datVyst":{"type":"string","example":"2026-09-30","description":"**Vystaveno** (Datum vyst.) · Dátum · povinné","x-flexi-type":"date"},"sumZkl":{"type":"string","example":"0.0","description":"**Účet. odpis [Kč]** · Číslo · povinné · 2 desatinných miest","x-flexi-type":"numeric"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"kod":{"type":"string","maxLength":20,"description":"**Číslo dokladu** · Text · max. 20 znakov","x-flexi-type":"string"},"modul":{"type":"string","readOnly":true,"description":"**Modul** · Text · len na čítanie · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"zamek":{"type":"string","enum":["true","false"],"readOnly":true,"description":"**Zámek** · Áno/Nie · len na čítanie","x-flexi-type":"logic"},"zustPoOdp":{"type":"string","example":"0.0","description":"**Zůstatek [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"datUcto":{"type":"string","example":"2026-09-30","readOnly":true,"description":"**Datum zaúčtování** · Dátum · len na čítanie","x-flexi-type":"date"},"majetek":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Majetek** · Väzba · len na čítanie · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [majetek](/abra-flexi-api/evidencie/#majetek) (Majetek). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD odpisu** (Účet MD) · Väzba · povinné · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL odpisu** (Účet DAL) · Väzba · povinné · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"danovy-naklad":{"type":"object","title":"Daňové náklady","description":"Daňové náklady (`danovy-naklad`). [Katalóg polí](/abra-flexi-api/evidencie/#danovy-naklad)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"ucetni":{"type":"string","enum":["true","false"],"description":"**Doklad je účetní** (Je účetní) · Áno/Nie","x-flexi-type":"logic"},"datVyst":{"type":"string","example":"2026-09-30","description":"**Datum účtování** · Dátum · povinné","x-flexi-type":"date"},"sumZkl":{"type":"string","example":"0.0","description":"**Základ [Kč]** · Číslo · povinné · 2 desatinných miest","x-flexi-type":"numeric"},"sumZklMen":{"type":"string","example":"0.0","description":"**Základ [měna]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"modul":{"type":"string","description":"**Modul** · Text · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"kod":{"type":"string","maxLength":20,"description":"**Číslo dokladu** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"datUcto":{"type":"string","example":"2026-09-30","description":"**Datum zaúčtování** · Dátum","x-flexi-type":"date"},"leasing":{"type":"string","example":"code:KOD","description":"**Leasingový majetek** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [leasing](/abra-flexi-api/evidencie/#leasing) (Leasing). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD základu** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL základu** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"umisteni":{"type":"object","title":"Umístění","description":"Umístění (`umisteni`). [Katalóg polí](/abra-flexi-api/evidencie/#umisteni)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Zkratka** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"platiOd":{"type":"string","example":"1","description":"**Platí od** (Platí od roku) · Celé číslo","x-flexi-type":"integer"},"platiDo":{"type":"string","example":"1","description":"**Platí do** (Platí do roku) · Celé číslo","x-flexi-type":"integer"},"@action":{"type":"string","writeOnly":true,"enum":["delete"],"description":"Akcia nad existujúcim záznamom: `delete` (Smazat)."},"@create":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam ešte neexistuje: `ok` založiť (predvolené), `ignore` preskočiť, `fail` chyba."},"@update":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam už existuje: `ok` aktualizovať (predvolené), `ignore` preskočiť, `fail` chyba."},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"zapujcka":{"type":"object","title":"Zápůjčky","description":"Zápůjčky (`zapujcka`). [Katalóg polí](/abra-flexi-api/evidencie/#zapujcka)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"jmeno":{"type":"string","maxLength":255,"description":"**Jméno** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"prijmeni":{"type":"string","maxLength":255,"description":"**Příjmení** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"ulice":{"type":"string","maxLength":255,"description":"**Ulice** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"mesto":{"type":"string","maxLength":255,"description":"**Město** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"psc":{"type":"string","maxLength":255,"description":"**PSČ** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"www":{"type":"string","maxLength":255,"description":"**WWW** · Text · max. 255 znakov","x-flexi-type":"string"},"email":{"type":"string","maxLength":255,"description":"**E-mail** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"fax":{"type":"string","maxLength":255,"description":"**Fax** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"mobil":{"type":"string","maxLength":255,"description":"**Mobil** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"tel":{"type":"string","maxLength":255,"description":"**Telefon** · Text · max. 255 znakov · osobný údaj (GDPR)","x-flexi-type":"string"},"datZahaj":{"type":"string","example":"2026-09-30","description":"**Od data** · Dátum","x-flexi-type":"date"},"datKonec":{"type":"string","example":"2026-09-30","description":"**Do data** · Dátum","x-flexi-type":"date"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"createdDate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Datum vytvoření** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"majetek":{"type":"string","example":"code:KOD","description":"**Majetek** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [majetek](/abra-flexi-api/evidencie/#majetek) (Majetek). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"leasing":{"type":"string","example":"code:KOD","description":"**Leasing** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [leasing](/abra-flexi-api/evidencie/#leasing) (Leasing). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"osoba":{"type":"string","example":"code:KOD","description":"**Osoba** · Väzba · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stat":{"type":"string","example":"code:KOD","description":"**Stát** · Väzba · max. 3 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stat](/abra-flexi-api/evidencie/#stat) (Státy). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"updatedBy":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Upravil** · Väzba · len na čítanie · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"createdBy":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Vytvořil** · Väzba · len na čítanie · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"leasing":{"type":"object","title":"Leasing","description":"Leasing (`leasing`). Leasingy. [Katalóg polí](/abra-flexi-api/evidencie/#leasing)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Zkratka** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"platiOd":{"type":"string","example":"1","description":"**Platí od** (Platí od roku) · Celé číslo","x-flexi-type":"integer"},"platiDo":{"type":"string","example":"1","description":"**Platí do** (Platí do roku) · Celé číslo","x-flexi-type":"integer"},"eanKod":{"type":"string","maxLength":20,"description":"**EAN kód** · Text · max. 20 znakov","x-flexi-type":"string"},"druhK":{"type":"string","enum":["druhLeas.operativ","druhLeas.financni"],"description":"**Druh** · Výber z číselníka · povinné · max. 50 znakov\n\n- `druhLeas.operativ` – Operativní\n- `druhLeas.financni` – Finanční","x-flexi-type":"select"},"cena":{"type":"string","example":"0.0","description":"**Cena [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"cidPoriz":{"type":"string","maxLength":255,"description":"**Číslo smlouvy** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"datKoupe":{"type":"string","example":"2026-09-30","description":"**Datum zahájení leasingu** (Zahájení) · Dátum · povinné","x-flexi-type":"date"},"datVyroby":{"type":"string","example":"2026-09-30","description":"**Datum výroby** (Vyrobeno) · Dátum","x-flexi-type":"date"},"vyrCis":{"type":"string","maxLength":255,"description":"**Výrobní číslo** · Text · max. 255 znakov","x-flexi-type":"string"},"mjZarukyK":{"type":"string","enum":["mjZaruky.rok","mjZaruky.mesic","mjZaruky.den"],"description":"**MJ záruky** · Výber z číselníka · max. 50 znakov\n\n- `mjZaruky.rok` – rok\n- `mjZaruky.mesic` – měsíc\n- `mjZaruky.den` – den","x-flexi-type":"select"},"zaruka":{"type":"string","example":"1","description":"**Záruka** · Celé číslo · max. 2 znakov","x-flexi-type":"integer"},"zamek":{"type":"string","enum":["true","false"],"description":"**Zámek** · Áno/Nie","x-flexi-type":"logic"},"pocetSplatek":{"type":"string","example":"1","description":"**Počet splátek** (? splátek) · Celé číslo · povinné · max. 2 znakov","x-flexi-type":"integer"},"pocetDanNakl":{"type":"string","example":"1","description":"**Počet daňových nákladů [v měsících]** (? daň.nákl) · Celé číslo · povinné · max. 2 znakov","x-flexi-type":"integer"},"frekDanNaklK":{"type":"string","enum":["frDanNakl.mesicne","frDanNakl.dvoumesi","frDanNakl.ctvrtlet","frDanNakl.pololet","frDanNakl.rocne"],"description":"**Frekvence daňových nákladů** (Frekv.daň.nákl.) · Výber z číselníka · povinné · max. 50 znakov\n\n- `frDanNakl.mesicne` – Měsíčně\n- `frDanNakl.dvoumesi` – Každé dva měsíce\n- `frDanNakl.ctvrtlet` – Čtvrtletně\n- `frDanNakl.pololet` – Pololetně\n- `frDanNakl.rocne` – Ročně","x-flexi-type":"select"},"pocetPriloh":{"type":"string","example":"1","readOnly":true,"description":"**Přílohy** · Celé číslo · len na čítanie","x-flexi-type":"integer"},"stitky":{"type":"string","description":"**Štítky** · Text","x-flexi-type":"string"},"vozCislo":{"type":"string","maxLength":255,"description":"**Číslo** · Text · max. 255 znakov","x-flexi-type":"string"},"vozSpz":{"type":"string","maxLength":255,"description":"**SPZ** · Text · max. 255 znakov","x-flexi-type":"string"},"vozZnacka":{"type":"string","maxLength":255,"description":"**Značka** · Text · max. 255 znakov","x-flexi-type":"string"},"vozModel":{"type":"string","maxLength":255,"description":"**Model** · Text · max. 255 znakov","x-flexi-type":"string"},"vozTyp":{"type":"string","maxLength":255,"description":"**Typ vozidla** · Text · max. 255 znakov","x-flexi-type":"string"},"vozObjem":{"type":"string","example":"0.0","description":"**Objem** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"vozHavar":{"type":"string","maxLength":255,"description":"**Havarijní pojištění** · Text · max. 255 znakov","x-flexi-type":"string"},"vozHavarVyse":{"type":"string","example":"0.0","description":"**Výše havarijního pojištění** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"vozVybava":{"type":"string","description":"**Výbava** · Text","x-flexi-type":"string"},"typLeasingu":{"type":"string","example":"code:KOD","description":"**Typ** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [typ-leasingu](/abra-flexi-api/evidencie/#typ-leasingu) (Typy leasingů). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"mena":{"type":"string","example":"code:KOD","description":"**Měna** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [mena](/abra-flexi-api/evidencie/#mena) (Měny). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"casUcet":{"type":"string","example":"code:KOD","description":"**Účet časového rozlišení nákladů** (Úč.čas.rozl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zavazUcet":{"type":"string","example":"code:KOD","description":"**Účet závazku** (Úč.závazku) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"naklUcet":{"type":"string","example":"code:KOD","description":"**Účet daňových nákladů** (Úč.daň.nákl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphZaklUcet":{"type":"string","example":"code:KOD","description":"**Účet DPH - základní sazba** (Úč.DPH sníž.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphSnizUcet":{"type":"string","example":"code:KOD","description":"**Účet DPH - snížená sazba** (Úč.DPH zákl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dodavatel":{"type":"string","example":"code:KOD","description":"**Dodavatel** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [adresar](/abra-flexi-api/evidencie/#adresar) (Adresy firem). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"vyrobce":{"type":"string","example":"code:KOD","description":"**Výrobce** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [adresar](/abra-flexi-api/evidencie/#adresar) (Adresy firem). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"uzivatel":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Uživatel** · Väzba · len na čítanie · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"typ-leasingu":{"type":"object","title":"Typy leasingů","description":"Typy leasingů (`typ-leasingu`). [Katalóg polí](/abra-flexi-api/evidencie/#typ-leasingu)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"kod":{"type":"string","maxLength":20,"description":"**Zkratka** · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"nazev":{"type":"string","maxLength":255,"description":"**Název** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"nazevA":{"type":"string","maxLength":255,"description":"**Název EN** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevB":{"type":"string","maxLength":255,"description":"**Název DE** · Text · max. 255 znakov","x-flexi-type":"string"},"nazevC":{"type":"string","maxLength":255,"description":"**Název FR** · Text · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"popis":{"type":"string","description":"**Popis** · Text","x-flexi-type":"string"},"ucetObdobiOd":{"type":"string","example":"code:KOD","description":"**Platí od** · Väzba\n\nVäzba na [ucetni-obdobi](/abra-flexi-api/evidencie/#ucetni-obdobi) (Účetní období). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"ucetObdobiDo":{"type":"string","example":"code:KOD","description":"**Platí do** · Väzba\n\nVäzba na [ucetni-obdobi](/abra-flexi-api/evidencie/#ucetni-obdobi) (Účetní období). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"druhK":{"type":"string","enum":["druhLeas.operativ","druhLeas.financni"],"description":"**Druh** · Výber z číselníka · max. 50 znakov\n\n- `druhLeas.operativ` – Operativní\n- `druhLeas.financni` – Finanční","x-flexi-type":"select"},"workFlow":{"type":"string","enum":["true","false"],"description":"**Zahájit workflow při založení dokladu** · Áno/Nie","x-flexi-type":"logic"},"dphSnizUcet":{"type":"string","example":"code:KOD","description":"**DPH snížená** (Účet DPH snížená sazba) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphZaklUcet":{"type":"string","example":"code:KOD","description":"**DPH základní** (Účet DPH základní sazba) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zavazUcet":{"type":"string","example":"code:KOD","description":"**Účet závazku** (Úč.závaz.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"casUcet":{"type":"string","example":"code:KOD","description":"**Účet časového rozlišení nákladů** (Úč.čas.rozl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"naklUcet":{"type":"string","example":"code:KOD","description":"**Účet daňových nákladů** (Úč.daň.nakl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"typOrganizace":{"type":"string","example":"code:KOD","description":"**Typ organizace** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [typ-organizace](/abra-flexi-api/evidencie/#typ-organizace) (Typ organizace). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"splatkovy-kalendar":{"type":"object","title":"Splátkový kalendář","description":"Splátkový kalendář (`splatkovy-kalendar`). [Katalóg polí](/abra-flexi-api/evidencie/#splatkovy-kalendar)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"ucetni":{"type":"string","enum":["true","false"],"description":"**Doklad je účetní** (Je účetní) · Áno/Nie","x-flexi-type":"logic"},"clenSplK":{"type":"string","enum":["clenSpl.vstupni","clenSpl.financni"],"description":"**Členění splátky** · Výber z číselníka · max. 50 znakov\n\n- `clenSpl.vstupni` – vstupní cena\n- `clenSpl.financni` – finanční činnost","x-flexi-type":"select"},"typSplK":{"type":"string","enum":["typSpl.akontace","typSpl.bezna","typSpl.prvni","typSpl.posledni","typSpl.mimFinCin","typSpl.prevod"],"description":"**Typ splátky** · Výber z číselníka · povinné · max. 50 znakov\n\n- `typSpl.akontace` – mimoř. splátka\n- `typSpl.bezna` – běžná splátka\n- `typSpl.prvni` – nultá splátka\n- `typSpl.posledni` – poslední splátka\n- `typSpl.mimFinCin` – mim. fin. činnost\n- `typSpl.prevod` – Převod za zůstatkovou cenu","x-flexi-type":"select"},"datVyst":{"type":"string","example":"2026-09-30","description":"**Datum splátky** · Dátum · povinné","x-flexi-type":"date"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"sumDph":{"type":"string","example":"0.0","description":"**DPH [Kč]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"sumDphMen":{"type":"string","example":"0.0","description":"**DPH [měna]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"szbDph":{"type":"string","example":"0.0","description":"**DPH [%]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"typSzbDphK":{"type":"string","enum":["typSzbDph.dphOsv","typSzbDph.dphSniz","typSzbDph.dphSniz2","typSzbDph.dphZakl"],"description":"**Sazba DPH** · Výber z číselníka · max. 50 znakov\n\n- `typSzbDph.dphOsv` – osvobozeno\n- `typSzbDph.dphSniz` – snížená\n- `typSzbDph.dphSniz2` – 2. snížená\n- `typSzbDph.dphZakl` – základní","x-flexi-type":"select"},"sumZkl":{"type":"string","example":"0.0","description":"**Základ [Kč]** · Číslo · povinné · 2 desatinných miest","x-flexi-type":"numeric"},"sumZklMen":{"type":"string","example":"0.0","description":"**Základ [měna]** · Číslo · 2 desatinných miest","x-flexi-type":"numeric"},"modul":{"type":"string","description":"**Modul** · Text · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"kod":{"type":"string","maxLength":20,"description":"**Číslo dokladu** (Čís.dokl.) · Text · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"string"},"datUcto":{"type":"string","example":"2026-09-30","description":"**Datum zaúčtování** · Dátum","x-flexi-type":"date"},"cisRad":{"type":"string","example":"1","description":"**Pořadí** · Celé číslo","x-flexi-type":"integer"},"leasing":{"type":"string","example":"code:KOD","description":"**Leasingový majetek** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [leasing](/abra-flexi-api/evidencie/#leasing) (Leasing). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD základu** (Úč.MD zakl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zklDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL základu** (Úč.DAL zakl.) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphMdUcet":{"type":"string","example":"code:KOD","description":"**Účet MD DPH** (Úč.MD DPH) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"dphDalUcet":{"type":"string","example":"code:KOD","description":"**Účet DAL DPH** (Úč.DAL DPH) · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [ucet](/abra-flexi-api/evidencie/#ucet) (Účtový rozvrh). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"clenDph":{"type":"string","example":"code:KOD","description":"**Členění DPH** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [cleneni-dph](/abra-flexi-api/evidencie/#cleneni-dph) (Řádky přiznání DPH). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"stredisko":{"type":"string","example":"code:KOD","description":"**Středisko** · Väzba · povinné · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stredisko](/abra-flexi-api/evidencie/#stredisko) (Střediska). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zavazek":{"type":"string","example":"code:KOD","description":"**Závazek** · Väzba · max. 6 znakov · VEĽKÉ PÍSMENÁ","x-flexi-type":"relation"},"statDph":{"type":"string","example":"code:KOD","description":"**Stát DPH** · Väzba · povinné · max. 3 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [stat-dph](/abra-flexi-api/evidencie/#stat-dph) (Státy DPH). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}},"priloha":{"type":"object","title":"Příloha","description":"Příloha (`priloha`). Prílohy k záznamom (súbory). Obsah sa prenáša v Base64. [Katalóg polí](/abra-flexi-api/evidencie/#priloha)","properties":{"id":{"type":"string","example":"1","description":"**ID** · identifikátor záznamu. Pri čítaní číslo. Pri zápise identifikuje existujúci záznam: `123`, `code:KÓD`, `ext:SYSTÉM:ID` alebo pole viacerých identifikátorov, napr. `[\"ext:ESHOP:42\", \"code:ABC\"]`.","x-flexi-type":"integer"},"lastUpdate":{"type":"string","format":"date-time","example":"2026-09-30T10:15:00+02:00","readOnly":true,"description":"**Poslední změna** · Dátum a čas · len na čítanie","x-flexi-type":"datetime"},"nazSoub":{"type":"string","maxLength":255,"description":"**Název souboru** · Text · povinné · max. 255 znakov","x-flexi-type":"string"},"poznam":{"type":"string","description":"**Poznámka** · Text","x-flexi-type":"string"},"contentType":{"type":"string","maxLength":127,"description":"**Typ dat** · Text · povinné · max. 127 znakov","x-flexi-type":"string"},"typK":{"type":"string","enum":["typPrilohy.logo","typPrilohy.podRaz","typPrilohy.obrazek","typPrilohy.odkaz","typPrilohy.ostatni"],"readOnly":true,"description":"**Typ přílohy** · Výber z číselníka · len na čítanie · max. 50 znakov\n\n- `typPrilohy.logo` – Logo\n- `typPrilohy.podRaz` – Podpis a razítko\n- `typPrilohy.obrazek` – Obrázková příloha\n- `typPrilohy.odkaz` – URL odkaz na internet nebo soubor\n- `typPrilohy.ostatni` – Blíže neurčený typ přílohy","x-flexi-type":"select"},"prilozit":{"type":"string","enum":["true","false"],"description":"**Přiložit** · Áno/Nie · povinné","x-flexi-type":"logic"},"pictureRate":{"type":"string","example":"0.0","readOnly":true,"description":"**Poměr stran obrázku** (Poměr stran) · Číslo · len na čítanie · 2 desatinných miest","x-flexi-type":"numeric"},"dataSize":{"type":"string","example":"1","description":"**Velikost** · Celé číslo","x-flexi-type":"integer"},"exportNaEshop":{"type":"string","enum":["true","false"],"description":"**Export na E-shop** · Áno/Nie","x-flexi-type":"logic"},"link":{"type":"string","description":"**Odkaz** · Text","x-flexi-type":"string"},"linkPicture":{"type":"string","enum":["true","false"],"description":"**Odkaz na obrázek** · Áno/Nie","x-flexi-type":"logic"},"mainAttachment":{"type":"string","enum":["true","false"],"description":"**Hlavní příloha** · Áno/Nie","x-flexi-type":"logic"},"dataHash":{"type":"string","maxLength":50,"description":"**Otisk dat přílohy (MD5 součet)** · Text · max. 50 znakov","x-flexi-type":"string"},"pictureWidth":{"type":"string","example":"1","description":"**Šířka obrázku** · Celé číslo","x-flexi-type":"integer"},"pictureHeight":{"type":"string","example":"1","description":"**Výška obrázku** · Celé číslo","x-flexi-type":"integer"},"uzivatel":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Uživatel** · Väzba · len na čítanie · max. 254 znakov\n\nVäzba na [uzivatel](/abra-flexi-api/evidencie/#uzivatel) (uzivatel). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"doklFak":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Doklad faktury** · Väzba · len na čítanie","x-flexi-type":"relation"},"doklInt":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Interní doklad** · Väzba · len na čítanie","x-flexi-type":"relation"},"doklObch":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Obchodní doklad** · Väzba · len na čítanie","x-flexi-type":"relation"},"doklSklad":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Příjemka/výdejka** · Väzba · len na čítanie\n\nVäzba na [skladovy-pohyb](/abra-flexi-api/evidencie/#skladovy-pohyb) (Příjemky/výdejky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"nastaveni":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Nastavení** · Väzba · len na čítanie\n\nVäzba na [nastaveni](/abra-flexi-api/evidencie/#nastaveni) (nastaveni). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"cenik":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Ceník** · Väzba · len na čítanie · max. 64 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [cenik](/abra-flexi-api/evidencie/#cenik) (Ceník). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"adresar":{"type":"string","example":"code:KOD","description":"**Adresář** · Väzba\n\nVäzba na [adresar](/abra-flexi-api/evidencie/#adresar) (Adresy firem). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"kontakt":{"type":"string","example":"code:KOD","description":"**Kontakt** · Väzba\n\nVäzba na [kontakt](/abra-flexi-api/evidencie/#kontakt) (Kontakty). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"konektor":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Konektor** · Väzba · len na čítanie","x-flexi-type":"relation"},"report":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Report** · Väzba · len na čítanie\n\nVäzba na [report](/abra-flexi-api/evidencie/#report) (report). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"zakazka":{"type":"string","example":"code:KOD","description":"**Zakázka** · Väzba · max. 30 znakov\n\nVäzba na [zakazka](/abra-flexi-api/evidencie/#zakazka) (Zakázky). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"smlouva":{"type":"string","example":"code:KOD","description":"**Smlouva** · Väzba · max. 20 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [smlouva](/abra-flexi-api/evidencie/#smlouva) (Odběratelské smlouvy). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"polSmlouvy":{"type":"string","example":"code:KOD","description":"**Pol. smlouvy** · Väzba · max. 64 znakov · VEĽKÉ PÍSMENÁ\n\nVäzba na [smlouva-polozka](/abra-flexi-api/evidencie/#smlouva-polozka) (Položky smluv). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"uzel":{"type":"string","example":"code:KOD","readOnly":true,"description":"**Strom** · Väzba · len na čítanie\n\nVäzba na [strom](/abra-flexi-api/evidencie/#strom) (Uzel stromu). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"adrUdalost":{"type":"string","example":"code:KOD","description":"**Událost** · Väzba\n\nVäzba na [udalost](/abra-flexi-api/evidencie/#udalost) (Události, aktivity). Hodnota: `123`, `code:KÓD` alebo `ext:SYSTÉM:ID`.","x-flexi-type":"relation"},"content":{"type":"string","format":"byte","description":"**Obsah** · Binárne dáta (Base64)","x-flexi-type":"blob"},"@action":{"type":"string","writeOnly":true,"enum":["delete"],"description":"Akcia nad existujúcim záznamom: `delete` (Smazat)."},"@create":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam ešte neexistuje: `ok` založiť (predvolené), `ignore` preskočiť, `fail` chyba."},"@update":{"type":"string","writeOnly":true,"enum":["ok","ignore","fail"],"description":"Čo robiť, ak záznam už existuje: `ok` aktualizovať (predvolené), `ignore` preskočiť, `fail` chyba."},"external-ids":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Externé identifikátory záznamu (`ext:SYSTÉM:ID`). Vypnete ich parametrom `no-ext-ids=true`."}}}},"responses":{"Chyba400":{"description":"Chybná požiadavka – neplatný filter, pole alebo hodnota. Pri zápise obsahuje `results[].errors`.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/VysledokZapisu"},{"$ref":"#/components/schemas/ChybaPoziadavky"}]}}}},"Chyba401":{"description":"Neprihlásený používateľ alebo nesprávne meno a heslo."},"Chyba403":{"description":"Používateľ nemá oprávnenie na evidenciu alebo operáciu. (Chýbajúcu licenciu modulu Flexi hlási kódom 402.)"},"Chyba404":{"description":"Záznam alebo evidencia neexistuje.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChybaPoziadavky"}}}},"VysledokZapisu":{"description":"Výsledok zápisu. Skontrolujte `success` a pri chybe `results[].errors`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VysledokZapisu"}}}}}}}