api.nisa.digital 2026-12-04

NISA API

REST API for POHODA accounting data of companies connected to NISA.

Getting started

Base URL

All endpoints are under http://0.0.0.0:1409/v1/. Requests and responses use UTF-8.

API key

NISA issues an API key for each integration. Request it at info@nisa.digital. Keep the key on your server and never put it into browser or mobile app code.

NISA enables API access for each company and each API key separately. Requests for a company the key has no access to return 404.

A key reads data. Endpoints that change data in POHODA, such as imports, updates and removals, need write access for the key; without it they return 403.

Authorization

Send the API key in the Authorization header of every request. An unknown or disabled key, or a key without access to the POHODA endpoints, returns 401.

GET requests without the Authorization header read only the demo company; the examples on this page use it. Other requests without the header return 401.

Authorization: Bearer <API key>

Company and accounting unit

A company has a company id (cid), which NISA sends together with the API key. Each accounting year of the company is a separate accounting unit with its own id (uid).

GET /v1/info/:cid lists the accounting units of the company with uid, year, id_number (IČO), valid_from and valid_to. Most endpoints take the uid as a path parameter.

curl -H "Authorization: Bearer <API key>" http://0.0.0.0:1409/v1/info/<cid>
curl -H "Authorization: Bearer <API key>" http://0.0.0.0:1409/v1/accounts_chart/<uid>

Requests and responses

Each endpoint lists its method, path and query parameters, request body with the required Content-Type, and response. Responses are JSON unless the endpoint states otherwise.

Dates are in the yyyy-mm-dd form and ids are integers. A parameter or body value of a wrong type or form returns 400.

Errors return one of the HTTP status codes below. The body is usually a short text message; some endpoints return an empty body or the POHODA XML response instead.

400 Bad Request: A parameter or the body is missing or has a wrong form, or the company does not use POHODA
401 Not Authorized: The API key is missing, unknown or disabled, or has no access to the POHODA endpoints
403 Forbidden: The endpoint changes data and the API key may only read
404 Not Found: The entity is missing, or the API key has no access to the company
460 Request Error: Requested operation wasn't performed, or XML import failed
500 Internal Error: We encountered an internal server error
503 Not Available: The POHODA server of the company is offline, try again later

Digitálny poštár

Endpoints under /v1/epostar/ use the same API key once NISA allows them for it. They return errors as JSON, limit the number of requests per minute and work only with the companies the key added. The section /v1/epostar/ describes the details.

Documentation for language models

The complete documentation as one text file, for a language model (LLM) or a coding assistant: http://0.0.0.0:1409/guide, also available as http://0.0.0.0:1409/llms.txt.

Endpoints

Click an endpoint to show its parameters, request, response and a runnable example.

/v1/slovensko/ 2 endpoints

/v1/info/ 1 endpoint

GET
/v1/info/:cid
List accounting units (years) of one company. Only units of companies that have the API enabled and that the API key is allowed to access are returned; otherwise 404. Without the Authorization header only the demo company is available.
Example
/v1/info/88899460-4d0b-421b8d67
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:cid - company identifier (the part of the unit identifier before the year)
Request
GET
Response
200text/json

{
   uid: string, accounting unit identifier, use it as :uid in other endpoints
   year: number, accounting year
   id_number: string, company id (ICO)
   valid_from: string, YYYY-MM-DD
   valid_to: string, YYYY-MM-DD
}[]

/v1/costcenter/ 1 endpoint

GET
/v1/costcenter/:uid
List cost centers (table sSTR) for a unit, sorted by IDS.
Example
/v1/costcenter/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, cost center id
   SText: string, cost center name
}[]

/v1/activity/ 1 endpoint

GET
/v1/activity/:uid
List activities (table sCin) for a unit, sorted by IDS.
Example
/v1/activity/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, activity id
   SText: string, activity name
}[]

/v1/custom_order/ 1 endpoint

GET
/v1/custom_order/:uid
List contracts (custom orders, table sZAK) for a unit, sorted by number. Contracts without a number are left out.
Example
/v1/custom_order/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, contract number
   SText: string, contract name (empty string if none)
}[]

/v1/vat/ 1 endpoint

GET
/v1/vat/:uid
List VAT mappings per document type: pre-accounting (pPK), VAT breakdown (sDPH) and KV DPH groups (sKVDPH). vat_split is empty arrays for Czech units. The available, incoming and outgoing lists name the document types used as keys.
Example
/v1/vat/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   available: (
      'issued_invoices'|
      'issued_credit_notes'|
      'issued_advance_invoices'|
      'issued_receivables'|
      'received_invoices'|
      'received_credit_notes'|
      'received_advance_invoices'|
      'received_payables'
   )[],
   incoming: (
      'issued_invoices'|
      'issued_credit_notes'|
      'issued_advance_invoices'|
      'issued_receivables'
   )[],
   outgoing: (
      'received_invoices'|
      'received_credit_notes'|
      'received_advance_invoices'|
      'received_payables'
   )[],
   pre_accounting: {
      issued_invoices: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      issued_credit_notes: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      issued_advance_invoices: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      issued_receivables: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      received_invoices: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      received_credit_notes: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      received_advance_invoices: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
      received_payables: { ID: number, IDS: string, SText: string, UMD: string, UD: string, UMD1: string, UD1: string, UMD2: string, UD2: string, UMD3: string, UD3: string, RelPKAg: number }[],
   },
   vat_breakdown: {
      issued_invoices: { ID: number, IDS: string, SText: string }[],
      issued_credit_notes: { ID: number, IDS: string, SText: string }[],
      issued_advance_invoices: { ID: number, IDS: string, SText: string }[],
      issued_receivables: { ID: number, IDS: string, SText: string }[],
      received_invoices: { ID: number, IDS: string, SText: string }[],
      received_credit_notes: { ID: number, IDS: string, SText: string }[],
      received_advance_invoices: { ID: number, IDS: string, SText: string }[],
      received_payables: { ID: number, IDS: string, SText: string }[],
   },
   vat_split: {
      issued_invoices: { ID: number, IDS: string, SText: string }[],
      issued_credit_notes: { ID: number, IDS: string, SText: string }[],
      issued_advance_invoices: { ID: number, IDS: string, SText: string }[],
      issued_receivables: { ID: number, IDS: string, SText: string }[],
      received_invoices: { ID: number, IDS: string, SText: string }[],
      received_credit_notes: { ID: number, IDS: string, SText: string }[],
      received_advance_invoices: { ID: number, IDS: string, SText: string }[],
      received_payables: { ID: number, IDS: string, SText: string }[],
   },
}

/v1/accounts_chart/ 1 endpoint

GET
/v1/accounts_chart/:uid
List chart of accounts (table pOS) for a unit. Not sorted by the API.
Example
/v1/accounts_chart/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, account number
   SText: string, account name
}[]

/v1/accounting_journal/ 1 endpoint

GET
/v1/accounting_journal/:uid
List all accounting journal entries (table pUD) for a unit, without paging or filtering. Dates are ISO 8601 strings. Joined names (Mena, Stredisko, Cinnost) are null when not set.
Example
/v1/accounting_journal/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   Datum: date, accounting date
   DatZdPln: date, date of taxable supply
   Cislo: string, number
   SText: string, text
   UMD: string, debit account
   UD: string, credit account
   Kc: number, amount
   Mena: string, currency
   CmKurs: number, exchange rate in foreign currency
   Cm: number, amount in foreign currency
   Stredisko: string, cost center
   CisloZAK: string, order number
   Cinnost: string, activity
   ParSym: string, pairing symbol
   ParSym2: string, pairing symbol
   Firma: string, company
   Jmeno: string, name
   ParICO: string, company id
   Pozn: string, note
   DatCreate: date, creation date
   DatSave: date, date of modification
}[]

/v1/invoice/ 9 endpoints

GET
/v1/invoice/numbering/:uid
List invoice numberings (number series) for a unit.
Example
/v1/invoice/numbering/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   type: 'pohoda_sk'|'pohoda_cz'
   available: (
      'issued_invoice'|
      'issued_credit_note'|
      'issued_advance_invoice'|
      'issued_receivables'|
      'received_invoice'|
      'received_credit_note'|
      'received_advance_invoice'|
      'received_payables'
   )[]
   numbering: {
      ID: number, database id
      Rok: number, numbering year
      IDS: string, numbering prefix
      Cislo: string, next number
      SText: string, naming
      type: one of 'available' values
   }[]
}

Usually, number is IDS + Cislo, e.g. "PF2300001"
GET
/v1/invoice/export/pdf/:uid/:invoice_number
Export invoice PDF by number. Returns a PDF file, not JSON (Slovak template, EUR). An unknown number returns 404, a failed generation 500.
Example
/v1/invoice/export/pdf/88899460-4d0b-421b8d67-2023/VD00000001
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:invoice_number - invoice number
Request
GET
Response
200application/pdf
PDF file, Content-Disposition: inline; filename=".pdf"
GET
/v1/invoice/companies/:uid
List distinct partners (companies and contact persons) found on the invoices of a unit.
Example
/v1/invoice/companies/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   fa_id: number, id of the first invoice of this partner
   Firma: string|null, company name
   Jmeno: string|null, contact person
   Ulice: string|null, street
   PSC: string|null, postal code
   Obec: string|null, city
   Email: string|null, email
   Tel: string|null, phone
   ICO: string|null, company id
   DIC: string|null, tax id
   ICDPH: string|null, vat id
}[]
GET
/v1/invoice/list/:uid
List issued and received invoices, credit notes, advance invoices and other receivables/payables with server-side filtering and pagination. GET returns the first 30 rows without filters, POST accepts a JSON body with from, size and fields. Main columns: ID, Cislo, RelTpFak (invoice type), direction, Datum, DatSplat, DatUcP, DatZdPln, Firma, Jmeno, ICO, DIC, ICDPH, VarSym, ParSym, SText, KcCelkem, KcBezDPH, KcLikv, status, KodMeny, stredisko_ids, cinnost_ids, polozky (line items). Amounts of credit notes (RelTpFak 2 and 12) are negative. status: none = nothing left to pay, partially, left = unpaid.
Example
/v1/invoice/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/invoice/by-number/:uid/:invoice_number
Get invoice detail by number. An unknown number returns 404.
Example
/v1/invoice/by-number/88899460-4d0b-421b8d67-2023/VFA2300034
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:invoice_number - invoice number
Request
GET
Response
200text/json

// key fields, the same columns as in the list plus line items and payments
{
   ID: number, internal id
   Cislo: string, invoice number
   RelTpFak: number, invoice type
   Firma: string|null, partner name
   Jmeno: string|null, partner contact person
   ICO: string|null, partner id
   Datum: string, issue date, ISO date-time
   DatSplat: string|null, due date, ISO date-time
   KcCelkem: number, total amount
   KcLikv: number, outstanding amount, 0 = fully paid
   status: "none" | "partially" | "left", none = nothing left to pay
   polozky: object[], line items
   Uhrady: object[]|null, payments
}
POST
/v1/invoice/import/xml/:uid
Import invoice XML and return the vendor response (XML, not JSON). The API key needs write access (403 otherwise).
Parameters
:uid - accounting unit identifier
Request
POSTtext/xml
text/xml
// body: XML conforming to Stormware invoice.xsd (SK/CZ)
// either a single <inv:invoice> or a <dat:dataPack> wrapper
Schema: SK, CZ
<dat:dataPack version="2.0" id="import" ico="12345678" application="API" note="optional">
  <dat:dataPackItem id="1" version="2.0">
    <inv:invoice version="2.0">...</inv:invoice>
  </dat:dataPackItem>
</dat:dataPack>
Response
200text/xml
XML response according to SK or CZ xml schema.
460import failed, the body is the error message as text
POST
/v1/invoice/file/add/:uid
Attach a file to an invoice found by its number. The API key needs write access (403 otherwise). Content-Type must be text/json or application/json.
Parameters
:uid - accounting unit identifier
Request
POSTtext/json
{
  invoice: string, // invoice number
  name: string,    // file name including extension
  content: string, // base64-encoded file content
  type?: string,   // MIME type, inferred from extension if omitted
  size?: number    // optional; normalized by API from base64 content
  // API also sends originalSize to Pohoda agent, derived from decoded bytes
}
Response
200text/plain
internal directory path for invoice
400body is missing invoice, name or content, or the content is not valid base64
404invoice not found
460documents folder is not set for the agent, or the file was not stored; the body is the message as text
POST
/v1/invoice/import/isdoc/:uid
Import an invoice from a PDF with an embedded ISDOC/ISDOCX and return the vendor response (XML, not JSON). The API key needs write access (403 otherwise). Content-Type must be text/json or application/json.
Parameters
:uid - accounting unit identifier
Request
POSTtext/json
{
  name: string,    // original file name (e.g., my.pdf)
  content: string, // base64-encoded PDF content
  type?: string    // optional MIME type, inferred from the extension if omitted
}
Response
200text/xml
XML response according to SK or CZ xml schema.
400body is missing name or content, or the PDF contains no ISDOC invoice
500import failed
POST
/v1/invoice/facility/:uid
Update invoice or line facility (centre, activity, order). The API key needs write access (403 otherwise). Values left out are set to empty, so send all three to keep them. An unknown invoice_id changes nothing and still returns OK.
Parameters
:uid - accounting unit identifier
Request
POSTtext/json
{
  invoice_id: number,       // required invoice ID (JSON number)
  invoice_item_id?: number, // optional: update single line if provided
  refStr?: number,          // optional: centre ID (stredisko)
  refCin?: number,          // optional: activity ID (cinnost)
  cisloZAK?: string         // optional: order number
}
// invalid or wrongly typed values return 400
Response
200text/plain
OK
460update failed

/v1/bank/ 6 endpoints

GET
/v1/bank/accounts/:uid
List active bank accounts of a unit (not canceled, with IBAN and Swift filled in).
Example
/v1/bank/accounts/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, account identifiers
   IBAN: string, international bank account number
   Swift: string, swift code
   SText: string, account name
   KodBanky: string, bank code
   Banka: string, bank name
   Mena: string, currency code (EUR or CZK when the account has no currency)
   Zrusen: null, accounts with a cancelation date are not listed
}[]
GET
/v1/bank/balance/:uid
Get balance of one bank account including the given day. Without date, today is used.
Example
/v1/bank/balance/88899460-4d0b-421b8d67-2023?account_id=1&date=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
account_id (query param, integer) required
date (query param, yyyy-mm-dd) optional, default today. A missing or invalid value returns 400.
Response
200text/json

{
   balance: number, sum of movements up to the end of the date, 0 when there are none
}
GET
/v1/bank/balances/:uid
List balances of all bank accounts including the given day. Without date, today is used.
Example
/v1/bank/balances/88899460-4d0b-421b8d67-2023?date=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
date (query param, yyyy-mm-dd) optional, default today. An invalid date returns 400.
Response
200text/json

{
   id: number, account id
   IDS: string, account code
   Banka: string, bank name
   IBAN: string, international account number
   balance: number, sum of movements up to the end of the date
}[]
GET
/v1/bank/account/:uid/:id
Get bank account detail by ID. A non-integer id returns 400; an unknown id returns null.
Example
/v1/bank/account/88899460-4d0b-421b8d67-2023/1
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:id - bank account ID
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, account identifiers
   IBAN: string, international bank account number
   Swift: string, swift code
   SText: string, account name
   KodBanky: string, bank code
   Banka: string, bank name
   Mena: string, currency
   Zrusen: date|null, cancelation date
   RelJeUcet: number, 2 for bank accounts
}
GET
/v1/bank/list/:uid
List bank movements with server-side filtering and pagination. GET returns the first 30 rows without filters, POST accepts a JSON body with from, size and fields. Main columns: ID, Cislo, Datum, DatPlat, Vypis, VarSym, SText, Firma, Jmeno, ICO, DIC, Banka (account code), IBAN, Amount, Credit, Debit, KcCelkem, SumaBezDPH, DPH, sUcet_ID, stredisko_ids, cinnost_ids, predkontacia_ids, polozky (items). Amount, Credit and Debit are signed by movement type (expense is negative).
Example
/v1/bank/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
POST
/v1/bank/import/xml/:uid
Import bank movement XML and return the vendor response (XML, not JSON). The API key needs write access (403 otherwise).
Parameters
:uid - accounting unit identifier
Request
POSTtext/xml
text/xml
// body: <dat:dataPack> conforming to Stormware data.xsd and bank.xsd (SK/CZ)
// every <dat:dataPackItem> must contain one <bnk:bank>
Schema: SK, CZ
<dat:dataPack version="2.0" id="import" ico="12345678" application="API" note="bank import"
    xmlns:dat="http://www.stormware.cz/schema/version_2/data.xsd"
    xmlns:bnk="http://www.stormware.cz/schema/version_2/bank.xsd"
    xmlns:typ="http://www.stormware.cz/schema/version_2/type.xsd">
  <dat:dataPackItem id="1" version="2.0">
    <bnk:bank version="2.0">...</bnk:bank>
  </dat:dataPackItem>
</dat:dataPack>
Response
200text/xml
XML response according to SK or CZ xml schema.
400body is not a dataPack with bank items only
460import failed, the body is the error message as text

/v1/storage/ 2 endpoints

GET
/v1/storage/:uid
List storages with total inventory value (stock quantity times purchase price; null for a storage without items).
Example
/v1/storage/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, storage id
   IDS: string, storage code
   SText: string, storage name
   suma: number|null, total inventory value
}[]
GET
/v1/storage/:uid/:id/items
List stock items of one storage, ordered by name. A non-integer id returns 400.
Example
/v1/storage/88899460-4d0b-421b8d67-2023/1/items
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:id - storage ID (integer)
Request
GET
Response
200text/json

{
   ID: number, item id
   IDS: string, item code
   EAN: string|null, barcode
   RefSklad: number, storage id
   Nazev: string, item name
   SText: string, description
   StavZ: number, stock quantity
   MJ: string, unit
   NakupC: number, purchase price
}[]

/v1/cash/ 6 endpoints

GET
/v1/cash/accounts/:uid
List cash registers (cash accounts) of a unit.
Example
/v1/cash/accounts/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, database id
   IDS: string, cash register code
   SText: string, cash register name
   Zrusen: date|null, cancelation date
   Mena: string, currency code (EUR or CZK when the register has no currency)
}[]
GET
/v1/cash/list/:uid
List cash movements with server-side filtering and pagination. GET returns the first 30 rows without filters, POST accepts a JSON body with from, size and fields. Main columns: ID, Cislo, Datum, DatPlat, SText, Firma, Jmeno, ICO, DIC, ParSym, Amount, Credit, Debit, SumaBezDPH, DPH, CmCelkem, mena, IDS (cash register code), ucet_id, stredisko_ids, cinnost_ids, predkontacia_ids, polozky (items). Amount, Credit and Debit are signed by movement type (expense is negative).
Example
/v1/cash/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/cash/balance/:uid/:id
Get balance of one cash register for movements dated before the given day (the day itself is not included). Without date, the current moment is used.
Example
/v1/cash/balance/88899460-4d0b-421b8d67-2023/1?date=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:id - cash register ID
Request
GET
date (query param, yyyy-mm-dd) optional, default today. An invalid date or id returns 400.
Response
200text/json

{
   balance: {
      IDS: string, cash register code
      mena: string|null, currency code
      znacka_meny: string|null, currency symbol
      KcCelkem: number, balance
   } | null // null when the register has no movements
}
GET
/v1/cash/balances/:uid
List balances of all cash registers including the given day. Without date, today is used.
Example
/v1/cash/balances/88899460-4d0b-421b8d67-2023?date=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
date (query param, yyyy-mm-dd) optional, default today. An invalid date returns 400.
Response
200text/json

{
   id: number, cash register id
   IDS: string, cash register code
   SText: string, cash register name
   balance: number, sum of movements up to the end of the date
}[]
GET
/v1/cash/numbering/:uid
List cash numberings for a unit.
Example
/v1/cash/numbering/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   type: string, // pohoda_sk, pohoda_cz (accounting software edition)
   available: string[], // incoming, outgoing
   numbering: {
      ID: number, database id
      Rok: number, numbering year
      IDS: string, numbering prefix
      Cislo: string, next number
      SText: string, naming
      type: string, incoming or outgoing, see available above
   }[]
}

Usually, the number is a combination of IDS and Cislo, like "HP2300001"
POST
/v1/cash/import/xml/:uid
Import cash voucher XML and return the vendor response (XML, not JSON). The API key needs write access (403 otherwise).
Parameters
:uid - accounting unit identifier
Request
POSTtext/xml
text/xml
// body: XML conforming to Stormware voucher.xsd (SK/CZ)
// either a single <vch:voucher> or a <dat:dataPack> wrapper
Schema: SK, CZ
<dat:dataPack version="2.0" id="import" application="API">
  <dat:dataPackItem id="1" version="2.0">
    <vch:voucher version="2.0">...</vch:voucher>
  </dat:dataPackItem>
</dat:dataPack>
Response
200text/xml
XML response according to SK or CZ xml schema.
460import failed, the body is the error message as text

/v1/personal/ 32 endpoints

GET
/v1/personal/employees/:uid
List employees (one row per employment) for a unit.
Example
/v1/personal/employees/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   employee_number: string, employee number
   employee_name: string, employee name
   employee_surname: string, employee surname
   employee_prefix: string, employee prefix
   employee_birth_number: string, employee birth number
   employment_enter_date: date, employment start date in "yyyy-mm-dd" format
   employment_leave_date: date, employment end date in "yyyy-mm-dd" format
   employment_active: boolean, employment active
   employment_number: string, employment number
   employment_position: string, employment position
   employment_name: string, employment name
   employment_place: string, employment place
   department_name: string, department name
   working_hour_start: string, working hour start
   working_hour_end: string, working hour end
   working_schedule: string, working schedule
   working_daily: string, working daily
   working_weekly: string, working weekly
   working_monthly: string, working monthly
}[]
GET
/v1/personal/employments/list/:uid
List employments with server-side filtering and pagination. Rows contain the POHODA employment columns (e.g. ID, Cislo, Zarazeni, DatNast, DatOdch, RefZAM, status 'yes'|'no', Str, employment_place, ZAM { Jmeno, Prijmeni, OsCislo, Email, ... }, search). GET returns the first 30 rows with default sort; POST accepts a JSON body (a missing or invalid body uses the defaults).
Example
/v1/personal/employments/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,   // default 0
  size?: number,   // default 30
  fields?: DField[] // optional filters and sort; see DField in Response below
}
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/personal/employments/:uid
List all employments of a unit (no paging).
Example
/v1/personal/employments/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   Soubor: string, accounting unit database name
   ID: number, employment id (pomer_id)
   Cislo: string, employment number
   status: 'yes'|'no', employment active flag
   DatNast?: string, start date YYYY-MM-DD
   DatOdch?: string, end date YYYY-MM-DD
   Zarazeni: string, position text
   Str?: string, cost centre code
   RefZAM: number, employee internal id
   ZAM: { ID: number, Jmeno: string, Prijmeni: string, OsCislo: string, Email: string }
   ... more POHODA employment columns (RelDruhZ, DUvazek, Uvazek1-7, RefMist, employment_place) ...
}[]
GET
/v1/personal/employments/:uid/:employee_id
List employments for one employee.
Example
/v1/personal/employments/88899460-4d0b-421b8d67-2023/123
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
employee_id - employee ID (integer, ZAMSK.ID)
Request
GET
Response
200text/json

{
   Soubor: string, accounting unit database name
   ID: number, employment id (pomer_id)
   Cislo: string, employment number
   status: 'yes'|'no', employment active flag
   DatNast?: string, start date YYYY-MM-DD
   DatOdch?: string, end date YYYY-MM-DD
   Zarazeni: string, position text
   Str?: string, cost centre code
   RefZAM: number, employee internal id
   ZAM: { ID: number, Jmeno: string, Prijmeni: string, OsCislo: string, Email: string }
}[]
GET
/v1/personal/attendance/excel/:uid
Download the same Attendance Excel report as the HR Attendance page. Returns an XLSX file (not JSON), one sheet per month.
Example
/v1/personal/attendance/excel/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-01-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, required), to (yyyy-mm-dd, required, not before from, range at most 365 days), employee_ids (employment ids, comma list, optional). Invalid values return 400 bad request.
Response
200application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
GET
/v1/personal/absence/excel/:uid
Download the same Absences Excel report as the HR Absences page. Returns an XLSX file (not JSON).
Example
/v1/personal/absence/excel/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, required), to (yyyy-mm-dd, required, not before from, range at most 365 days), employee_ids (employment ids, comma list, optional). Invalid values return 400 bad request.
Response
200application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
GET
/v1/personal/attendance/:uid
Attendance report as JSON, same data as the HR Attendance Excel report. Returns one object per month in the range.
Example
/v1/personal/attendance/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-01-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, required), to (yyyy-mm-dd, required, not before from, range at most 365 days), employee_ids (employment ids, comma list, optional). Invalid values return 400 bad request.
Response
200text/json

{
   year: number, report year
   month: number, report month 1-12
   employees: {
      employee_number: string
      employee_surname: string
      employee_name: string
      department_name: string
      days: {
         date: string, "YYYY-MM-DD"
         day: number, day of month
         day_name: string, weekday name
         is_public_holiday: boolean
         worked: number, worked hours
         overtime: number, overtime hours
         night: number, night hours
         absence: number, absence hours
         scheduled: number, scheduled hours
         absences: { code: number, text: string }[]
      }[]
      summary: {
         work_days: number, worked hours on working days
         saturdays: number, worked hours on Saturdays
         sundays: number, worked hours on Sundays
         holidays: number, worked hours on public holidays
         total_worked: number, total worked hours
         overtime: number, total overtime hours
         night: number, total night hours
         absences: number, total absence hours
         monthly_total: number, worked + absence hours
         scheduled: number, scheduled hours
         difference: number, monthly total - scheduled
      }
   }[]
}[]
GET
/v1/personal/absence/report/:uid
Absence report as JSON, same data as the HR Absences Excel report.
Example
/v1/personal/absence/report/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, required), to (yyyy-mm-dd, required, not before from, range at most 365 days), employee_ids (employment ids, comma list, optional). Invalid values return 400 bad request.
Response
200text/json

{
   employee_number: string
   title: string
   name: string
   surname: string
   title_after: string
   position: string
   cost_center: string
   absence_type: string, type label, includes subtype when present
   absence_type_code: number, RelDrDov code
   subtype: string|null, subtype of an approved "other" absence request (wedding, funeral, blood_donation, ...)
   date_from: string, "YYYY-MM-DD"
   date_to: string, "YYYY-MM-DD"
   duration: number, absence duration
   unit: "d"|"h", duration unit
}[]
GET
/v1/personal/absence/:uid
List absences in a date range for optional employments.
Example
/v1/personal/absence/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-12-31&employee_ids=1,2
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, default today), to (yyyy-mm-dd, default today), employee_ids (employment ids, comma list, optional). Invalid employee_ids return 400 bad request.
Response
200text/json

{
   ID: number, absence id
   RefAg: number, employment id (pomer_id)
   DatZac: string, start date YYYY-MM-DD
   DatKon: string, end date YYYY-MM-DD
   DnyPrac: number, working days
   DnyKal: number, calendar days
   Dnu: number, business days
   RelDrDov: number, absence type code
   ZacPrac?: number|null, start time value
   RelZacJ?: number, start time unit
   KonPrac?: number|null, end time value
   RelKonJ?: number, end time unit
   locked: boolean
}[]
POST
/v1/personal/absence/remove/:uid
Remove absences by IDs and return removed rows. The API key needs write access (403 otherwise).
Example
/v1/personal/absence/remove/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
POSTtext/json
{ ids: number[] }  // required, non-empty list of integer absence ids; otherwise 400 bad request
Response
200text/json

{
   ID: number, removed absence id
   RefAg: number, employment id (pomer_id)
   DatZac: string, start date YYYY-MM-DD
   DatKon: string, end date YYYY-MM-DD
   DnyPrac: number, working days
   DnyKal: number, calendar days
   Dnu: number, business days
   RelDrDov: number, absence type code
   ZacPrac?: number|null, start time value
   RelZacJ?: number, start time unit
   KonPrac?: number|null, end time value
   RelKonJ?: number, end time unit
   locked: boolean
}[]
GET
/v1/personal/employee/:uid/:id
Get employee by ID. Returns the POHODA employee row (key fields shown), or {} when not found. The employee password (Heslo) is never returned.
Example
/v1/personal/employee/88899460-4d0b-421b8d67-2023/42
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
id - employee ID (integer, ZAMSK.ID)
Request
GET
Response
200text/json

{
   ID?: number
   OsCislo: string, personal number
   Jmeno: string, first name
   Prijmeni: string, last name
   Email?: string
   Tel?: string
   Ucet?: string, bank account
   RelStav?: number, marital status
   Titul?: string
   TitulZa?: string
   Ulice?: string, street
   Obec?: string, city
   PSC?: string, ZIP
   Stat?: string, country
   RodCisl?: string, birth number
   DatNar?: string, birth date YYYY-MM-DD
}
GET
/v1/personal/employment/person/:uid/:pomer_id
Get employee by employment relationship ID. Returns {} when not found. The employee password (Heslo) is never returned.
Example
/v1/personal/employment/person/88899460-4d0b-421b8d67-2023/777
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
pomer_id - employment relationship ID (integer)
Request
GET
Response
200text/json

{
   ID: number, employee id
   OsCislo?: string, personal number
   Jmeno: string
   Prijmeni: string
   Email?: string
   Tel?: string
   Ucet?: string, bank account of the employment
   NazevPomer?: string, employment name
   ... other employee columns (Titul, TitulZa, address, RodCisl, DatNar, ...) ...
}
GET
/v1/personal/info/:uid/:employee_id
Get employee info with employments. employee is {} / null when not found. The employee password (Heslo) is never returned.
Example
/v1/personal/info/88899460-4d0b-421b8d67-2023/42
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
employee_id - employee ID (integer, ZAMSK.ID)
Request
GET
Response
200text/json

{
   employee: employee row as in /v1/personal/employee/:uid/:id
   company: accounting unit record (Soubor, Firma, ICO, Rok, ...)
   pomery: employments of the employee, same rows as /v1/personal/employments/:uid/:employee_id
}
GET
/v1/personal/employee/by-email/:uid/:email
Get employee by email. The employee password (Heslo) is never returned.
Example
/v1/personal/employee/by-email/88899460-4d0b-421b8d67-2023/user%40acme.com
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
email - employee email, URL-encoded (required, non-empty)
Request
GET
Response
200text/json

{
   ID?: number
   OsCislo: string, personal number
   Jmeno: string, first name
   Prijmeni: string, last name
   Email?: string
   Tel?: string
   Ucet?: string, bank account
   RelStav?: number, marital status
   Titul?: string
   TitulZa?: string
   Ulice?: string, street
   Obec?: string, city
   PSC?: string, ZIP
   Stat?: string, country
   RodCisl?: string, birth number
   DatNar?: string, birth date YYYY-MM-DD
   active: 'yes'|'no', has an employment active in the last month
}

// returns {} when not found
POST
/v1/personal/password_update/:uid
Update employee password and email. The API key needs write access (403 otherwise). id, pwd and email are all required (400 otherwise).
Example
/v1/personal/password_update/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
POSTtext/json
{ id: number, pwd: string, email: string }
Response
200text/plain
OK
POST
/v1/personal/contact_update/:uid
Update employee contact fields (password, email, phone). The API key needs write access (403 otherwise). id is required and at least one of pwd, email, number must be non-empty (400 otherwise).
Example
/v1/personal/contact_update/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
POSTtext/json
{ id: number, pwd?: string, email?: string, number?: string }
Response
200text/plain
OK
GET
/v1/personal/profile/:uid/:employee_id
Get employee profile with children and additional info. Returns { basic: null, children: [], aditional: null, files: null } when not found. The employee password (Heslo) is never returned.
Example
/v1/personal/profile/88899460-4d0b-421b8d67-2023/42
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
employee_id - employee ID (integer, ZAMSK.ID)
Request
GET
Response
200text/json

{
   basic: { // employee row, key fields shown
      ID: number
      OsCislo?: string, personal number
      Jmeno: string, first name
      Prijmeni: string, last name
      Titul?: string
      TitulZa?: string
      Email?: string
      Tel?: string
      Ucet?: string, bank account
      RelStav?: number|string, marital status
      RodCisl?: string, birth number
      DatNar?: string, birth date YYYY-MM-DD
      Ulice?: string, street
      CP?: string, street no.
      Obec?: string, city
      PSC?: string, ZIP
      Stat?: string, country
      KonUlice?: string, contact street
      KonCP?: string, contact street no.
      KonObec?: string, contact city
      KonPSC?: string, contact ZIP
      KonStat?: string, contact country
   }
   children: [ // children (ZAMSKpDet rows, RelOdpoc 40)
      {
         RefAg: number, // employment id
         DatOd: string, // YYYY-MM-DD
         DatDo: string|null, // YYYY-MM-DD or null
         SText: string, // child name
         RodCisl: string // child birth number
      }
   ]
   aditional: { // first additional-info row (RelOdpoc 1)
      RefAg: number,
      DatOd: string|null,
      DatDo: string|null,
      SText?: string,
      RodCisl?: string,
      KcOdec?: number
   } | null
   files: { Dir: string } | null
}
GET
/v1/personal/salary/:uid/:salary_id
Get a salary with items and deductions. salary_id is the salary ID from the payslips list (salaries[].ID). Returns {} when not found.
Example
/v1/personal/salary/88899460-4d0b-421b8d67-2023/555
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
salary_id - salary ID (integer)
Request
GET
Response
200text/json

{
   salary: TEmployeeSalary
   slozky: TEmployeeSlozky[]
   srazky: TEmployeeSrazky[]
   employee: TEmployeeDetail & { ID: number }
}
GET
/v1/personal/benefit/types/:uid
List benefit item types.
Example
/v1/personal/benefit/types/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   id: number, item type id
   name: string, name/label
   Proc?: number, percentage
   Sazba?: number, rate
   RelDruhSlozky?: number, category code
   SText?: string, description
}[]
GET
/v1/personal/benefits/:uid
List benefits for optional employments.
Example
/v1/personal/benefits/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
POSTtext/json
{ employee_ids?: number[] }  // employment ids, all employments when missing; invalid ids return 400 bad request
Response
200text/json

{
   ID?: number
   RefAg: number, employment id
   SText?: string, description
   DatOd?: string, valid from YYYY-MM-DD
   DatDo?: string, valid to YYYY-MM-DD
   RefSlozky?: number, benefit type id
   RelDruhSlozky?: number, category code
   Hod?: number, hours
   Proc?: number, percentage
   Sazba?: number, rate
   Kc?: number, amount
   Ucet?: string, bank account
   KodBanky?: string
   VarSym?: string
   SpecSym?: string
   KonstSym?: string
}[]
POST
/v1/personal/benefit/:uid/:id
Remove a benefit item by ID and return the removed row. The API key needs write access (403 otherwise).
Example
/v1/personal/benefit/88899460-4d0b-421b8d67-2023/555
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
id - benefit ID (integer)
Request
POST
Response
200text/json

{
   ID: number, removed benefit id
   RefAg: number, employment id
   DatOd?: string, valid from YYYY-MM-DD
   DatDo?: string, valid to YYYY-MM-DD
   SText?: string, description
   RefSlozky?: number, benefit type id
   RelDruhSlozky?: number, category code
   Hod?: number, hours
   Proc?: number, percentage
   Sazba?: number, rate
   Kc?: number, amount
   Ucet?: string, bank account
   KodBanky?: string
   VarSym?: string
   SpecSym?: string
   KonstSym?: string
}

// returns {} when not found
POST
/v1/personal/benefit/:uid/:id/update
Update a benefit item. The API key needs write access (403 otherwise). The body must be a flat JSON object of plain values (400 otherwise).
Example
/v1/personal/benefit/88899460-4d0b-421b8d67-2023/555/update
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
id - benefit ID (integer)
Request
POSTtext/json
{
  DatOd?: string,       // YYYY-MM-DD
  DatDo?: string,       // YYYY-MM-DD
  RefAg?: number,       // employment id
  RefSlozky?: number,   // benefit type id (sMZslozky.ID)
  RelDruhSlozky?: number, // category code
  Hod?: number,
  Kc?: number,
  Proc?: number,
  Sazba?: number,
  SText?: string,
  Ucet?: string,
  KodBanky?: string,
  VarSym?: string,
  SpecSym?: string,
  KonstSym?: string
}
Response
200text/plain
OK
POST
/v1/personal/benefit/add/:uid
Add a benefit item. The API key needs write access (403 otherwise). The body must be a flat JSON object of plain values (400 otherwise).
Example
/v1/personal/benefit/add/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
POSTtext/json
{
  RefAg: number,        // required employment id
  RefSlozky: number,    // required benefit type id (sMZslozky.ID)
  DatOd: string,        // YYYY-MM-DD
  DatDo: string,        // YYYY-MM-DD
  Hod?: number,
  Kc?: number,
  Proc?: number,
  Sazba?: number,
  SText?: string,
  RelDruhSlozky?: number,
  Ucet?: string,
  KodBanky?: string,
  VarSym?: string,
  SpecSym?: string,
  KonstSym?: string
}
Response
200text/plain
OK
GET
/v1/personal/deductions/:uid
List deductions for optional employments.
Example
/v1/personal/deductions/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
POSTtext/json
{ employee_ids?: number[] }  // employment ids, all employments when missing; invalid ids return 400 bad request
Response
200text/json

{
   ID?: number
   RefAg: number, employment id
   SText: string, description
   DatOd: string, valid from YYYY-MM-DD
   DatDo: string, valid to YYYY-MM-DD
   Cela?: number
   Kc?: number, amount
   Rozhod?: string
   RelDrSra?: number, deduction type
   RelPk?: number
   Ucet?: string, bank account
   KodBanky?: string
   SpecSym?: string
   KonstSym?: string
   VarSym?: string
   RelFond?: number, fund type
   RelZivPj?: number, life insurance
}[]
GET
/v1/personal/deductions/previous_month/:uid
List previous month payroll summary (one row per employee) with the columns below; column names contain spaces.
Example
/v1/personal/deductions/previous_month/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   'employee number': string
   'Name': string
   'Cost center': string|null
   'Basic Wage': number
   'Gross wage - used holiday': number
   'Doctor visit - Gross wage': number
   'Travel contribution': number
   'Overtimes during week': number
   'Overtimes during bank holiday': number
   'Overtimes during weekends': number
   'Night work compensation': number
   'Tax base Employee': number
   'Medical insurance - Employee': number
   'Old age insurance - Employee': number
   'Health insurance - Employee': number
   'Deduction - injunction': number
   'Deduction Others': number
   'Health Insurance - Employer': number
   'Unemployment insurance - Employer': number
   'Guarantee fund - Employer': number
   'Annual tax calculation': number
   'Supplement pension saving': number
   ... more summary columns ...
}[]
GET
/v1/personal/payslips/:uid
List payslips with server-side filtering and pagination. One row per month: year, month, FilterDatum, search, salaries { ID, Jmeno, Prijmeni, Email, Heslo (boolean, password set) }[]. Use salaries[].ID in /v1/personal/salary/:uid/:salary_id. GET returns the first 30 rows sorted by FilterDatum desc; checkbox values of the employment_place field must be integers (400 otherwise).
Example
/v1/personal/payslips/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,   // default 0
  size?: number,   // default 30
  fields?: DField[] // optional filters and sort
                   // default sort: { name: 'FilterDatum', sort: 'desc' }
}
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/personal/employees_status/:uid
List employments valid in a date range. Returns two arrays: [employment rows, demographic rows]. employee_ids filter employment ids.
Example
/v1/personal/employees_status/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-12-31&employee_ids=1,2
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: from (yyyy-mm-dd, default today), to (yyyy-mm-dd, default today), employee_ids (employment ids, comma list, optional). Invalid employee_ids return 400 bad request.
Response
200text/json

[
   [ // employment rows
      {
         ID: number, employment id
         Cislo?: string, employment number
         DatNast?: string, start date YYYY-MM-DD
         DatOdch?: string, end date YYYY-MM-DD|null
         RefZAM: number, employee id
         Jmeno: string
         Prijmeni: string
         ZdrPostih?: boolean
         ZdrPostihT?: boolean
         ... more POHODA employment columns ...
      }[]
   ],
   [ // one row per matching employment
      {
         Jmeno: string
         Prijmeni: string
         RelPohl?: number, gender code
         ZdrPostih?: boolean
         ZdrPostihT?: boolean
      }[]
   ]
]
GET
/v1/personal/access_list/:uid
List employees with basic contact for access control (one row per employee, latest employment). With dateTo only employees employed on that date are returned.
Example
/v1/personal/access_list/88899460-4d0b-421b8d67-2023?dateTo=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Query: dateTo (yyyy-mm-dd, optional)
Response
200text/json
{ user_id (employment id), company_id, party_id, company_name, name, first_name, last_name, email, phone, type (always "employee"), search, leave_date }[]
POST
/v1/personal/recruit/:uid
Create a new employee (recruit). The API key needs write access (403 otherwise). The body must be a JSON object of plain values; deti and files may hold arrays of objects; rodne_cislo may contain only digits, "/" and spaces (400 otherwise). Field lists below describe what the recruit form sends.
Example
/v1/personal/recruit/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
POSTtext/json
{
  // Required basics
  created_at: string,     // ISO datetime
  updated_at: string,     // ISO datetime
  company_ico: string,
  party_id: string,
  pracovny_stav: number,
  titul_pred: string,     // max 14
  meno: string,
  priezvisko: string,
  titul_za: string,       // max 14
  email: string,
  id_pracovna_pozicia: string,
  pracovna_pozicia: string,
  klasifikacia: string,   // max 7 (SK ISCO)
  popis_prace: string,
  note?: string,

  // Employment details (optional)
  druh_pracovneho_pomeru?: number,
  zaciatok_pracovneho_pomeru?: string, // ISO date
  miesto_prace?: string,
  miesto_prace_kod?: string,           // max 6 (LAU/LSUJ)
  stredisko?: string,
  hruba_mzda?: number,
  hruba_mzda_slovom?: string,
  reldruhm?: number,
  pracovny_fond?: number,
  pracovny_fond_den?: number,
  praca_na_dobu_urcitu?: string,       // ISO date
  date_sent?: string,                  // ISO date
  pohlavie?: number,

  // Personal data
  datum_narodenia?: string, // ISO date
  rodne_priezvisko: string,
  rodne_cislo: string,      // d{6}/d{3,4}
  miesto_narodenia: string,
  narodnost: string,
  statna_prislusnost: string,
  cislo_op: string,
  rodinny_stav?: number,

  // Foreign national
  cudzinec: boolean,
  krajina_narodenia: string, // 2-letter
  cudzinec_op?: string,
  cudzinec_adresa?: string,
  cudzinec_doklad?: string,
  cudzinec_poistovna?: string,
  cudzinec_cssz?: string,

  // Address
  adresa_ulica: string,
  adresa_cislo: string,
  adresa_psc: string,
  adresa_mesto: string,
  adresa_stat: string,          // 2-letter
  kontakt_adresa_ulica: string,
  kontakt_adresa_cislo: string,
  kontakt_adresa_psc: string,
  kontakt_adresa_mesto: string,
  kontakt_adresa_stat: string,  // 2-letter
  kontakt_telefon?: string,

  // Payments
  iban: string,
  swift_bic: string,
  var_sym?: string,
  zdravotna_poistovna?: number,

  // Benefits/flags
  ztp: boolean,
  starobny_dochodok: boolean,
  invalidny_dochodok: boolean,
  vysluhovy_dochodok: boolean,
  dochodca: boolean,
  invalidita: string,
  trvala_starostlivost_dieta: boolean,
  nezdanitelna_cast: boolean,
  dan_bonus: boolean,

  // Children
  deti: { meno: string, rodne_cislo: string }[],

  // Attachments
  files: ({ name: string, type: string, size: number, content: string }|
          { id: number, name: string, type: string, size: number, content?: string })[],

  // Consent + token
  gdpr: boolean,
  token?: string
}
Response
200text/plain
OK
GET
/v1/personal/health_insurance/:uid
List health insurance companies for a unit.
Example
/v1/personal/health_insurance/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   ID: number, internal id
   IDS: string, code
   Ucet: string, bank account
   KodBanky: string, bank code
   VarSym: string, variable symbol
   KonstSym: string, constant symbol
}[]
GET
/v1/personal/pension_funds/:uid
List pension funds for a unit.
Example
/v1/personal/pension_funds/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   id: number, internal id
   name: string, company name
   Ucet: string, bank account
   KodBanky: string, bank code
   VarSym?: string, variable symbol
   SpecSym?: string, specific symbol
   KonstSym?: string, constant symbol
}[]
GET
/v1/personal/insurers/:uid
List life insurers for a unit.
Example
/v1/personal/insurers/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
uid - accounting unit identifier
Request
GET
Response
200text/json

{
   id: number, internal id
   name: string, company name
   Ucet: string, bank account
   KodBanky: string, bank code
   VarSym: string, variable symbol
   SpecSym: string, specific symbol
   KonstSym: string, constant symbol
}[]

/v1/property/ 6 endpoints

GET
/v1/property/assets/:uid
List investment assets with server-side filtering and pagination. GET returns the first 30 rows ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Cislo, RelTpIM, Stredisko, Cinnost, RefStr, RefCin, RelZpPor, DatZar (put into service), DatLikv (liquidation), Datum, RelTpOdp, Zivotnost, RelSkOdp, SText, Vyuziti, Kc, KcZust, Location, Classification, CisloZAK, Dir, has_Dir, RelAgID, RefIMclen, RefIMmist. The column search holds the joined text of the main columns and can be used with string.
Example
/v1/property/assets/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/property/small_assets/:uid
List small assets with server-side filtering and pagination. GET returns the first 30 rows ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Cislo, Datum, SText, Pocet, KcJedn, Kc, Location, Classification, Stredisko, RefStr, RefCin, Cinnost, Pozn, Dir, has_Dir, RelAgID, RefIMclen, RefIMmist. The column search holds the joined text of the main columns and can be used with string.
Example
/v1/property/small_assets/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/property/depreciations/:uid
Not implemented: always returns an empty list, whatever the request. The response has data: [], total: 0, filtered: 0, fields: [] and the query (GET and POST). Use tax_depreciation and book_depreciation for the depreciations of one asset.
Example
/v1/property/depreciations/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/property/tax_depreciation/:uid/:id
List tax depreciations of one asset, newest year first. :id must be an integer, otherwise 400 bad request. An unknown id returns an empty array.
Example
/v1/property/tax_depreciation/88899460-4d0b-421b8d67-2023/100
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:id - asset ID (integer)
Request
GET
Response
200text/json

{
   ID: number
   RefAg: number, asset id
   Rok: string, year
   RelTpOdp: number, depreciation method
   RelSkOdp: number, depreciation group
   KcVstup: number|null, entry value
   Procento: number, percent
   KcOdpis: number, depreciation
   KcKorekce: number, correction
   Zcelku: number
   KcOdpisCalc: number, calculated depreciation
   KcZust: number, remaining
}[]
GET
/v1/property/book_depreciation/:uid/:id
List book depreciations of one asset, newest month first. :id must be an integer, otherwise 400 bad request. An unknown id returns an empty array.
Example
/v1/property/book_depreciation/88899460-4d0b-421b8d67-2023/100
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:id - asset ID (integer)
Request
GET
Response
200text/json

{
   ID: number
   Mesic: string, ISO date (month)
   RefIMO: number, book category id
   Zivotnost: number, lifetime
   KcVstup: number, entry value
   Procento: number, percent
   KcOdpis: number|null, depreciation
   KcKorekce: number, correction
   KcOdpisCalc: number, calculated depreciation
   KcZustatek: number, remaining
   IDS: string, book category code
}[]
GET
/v1/property/vehicles/:uid
List motor vehicles with server-side filtering and pagination. GET returns the first 30 rows ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, SPZ (plate), Znacka (make), RelTypVoz, RelPHM, Spotr, TachPoc, DatZar, DatEvid, DatVyr, RelDrVoz, Dir, has_Dir. The column search holds the joined text of the main columns and can be used with string.
Example
/v1/property/vehicles/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}

/v1/orders/ 2 endpoints

GET
/v1/orders/list/:uid
List issued and received orders with server-side filtering and pagination. GET returns the first 30 orders ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Cislo, Datum, SText, KcCelkem, Firma, Jmeno, Ulice, Obec, ICO, CisloZAK (commission number), Dir, has_Dir, RelTpObj (order type), stredisko_ids, cinnost_ids, RefStr, RefCin and the order items. The column search holds the joined text of the main columns and can be used with string. Without a sort, rows are ordered by ID.
Example
/v1/orders/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/commissions/list/:uid
List commissions with server-side filtering and pagination. GET returns the first 30 commissions ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Cislo, PlZahaj, Zahajeni, PlPredani, Predani, Zaruka (dates), RefStav, RefOsoba, zodpovedna_osoba, SText, Firma, Ulice, PSC, Obec, ICO, DIC, ICDPH, Dir, has_Dir, RelAgID. The column search holds the joined text of the main columns and can be used with string. Without a sort, rows are ordered by ID.
Example
/v1/commissions/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}

/v1/contracts/ 1 endpoint

GET
/v1/contracts/list/:uid
List contracts with server-side filtering and pagination. GET returns the first 30 contracts ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Cislo, DatPlatOd, DatPlatDo (validity dates), RelTpSml, RelZaObd, RelKateg, IDS (category code), SText, Kc, Firma, Jmeno, Ulice, PSC, Obec, ICO, DIC, ICDPH, Dir, has_Dir, RelAgID. The column search holds the joined text of the main columns and can be used with string. Without a sort, rows are ordered by ID.
Example
/v1/contracts/list/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}

/v1/reports/ 15 endpoints

GET
/v1/reports/general_ledger/:uid
List general ledger summary: one row per account that has postings, ordered by account number. Opening balances are in zmd and zdal.
Example
/v1/reports/general_ledger/88899460-4d0b-421b8d67-2023?from=2024-01-01&to=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
from (query param, yyyy-mm-dd) optional, postings dated from this day
to (query param, yyyy-mm-dd) optional, postings dated up to this day
val (query param, text) optional, only accounts whose number or name starts with this text. Without it all accounts are returned
stredisko (query param, integer) optional, centre ID
cinnost (query param, integer) optional, activity ID
zakazka (query param, text) optional, order number
An invalid value returns 400.
Response
200text/json

{
   search: string, joined text of the row
   Ucet: string, account number
   Nazev: string, account name
   typ: number, account type
   zmd: number|null, opening debit
   zdal: number|null, opening credit
   md: number|null, debit turnover
   dal: number|null, credit turnover
   kmd: number|null, closing debit
   kdal: number|null, closing credit
   RelDruhU: number, account kind
   RelTypU: number, account type
   Datum: string|null, date of the first debit posting on the account
}[]
GET
/v1/reports/general_ledger/:uid/:account
List general ledger entries (postings) of one account, ordered by date. The account must match the debit or the credit account exactly.
Example
/v1/reports/general_ledger/88899460-4d0b-421b8d67-2023/311?from=2024-01-01&to=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:account - account number
Request
GET
from (query param, yyyy-mm-dd) optional, postings dated from this day
to (query param, yyyy-mm-dd) optional, postings dated up to this day
An invalid date returns 400.
Response
200text/json

{
   Datum: string, YYYY-MM-DD
   Cislo: string|null, invoice number, empty for other documents
   PDoklad: number|null, invoice internal number
   Firma: string, company
   SText: string, description
   UD: string, credit account
   UMD: string, debit account
   Kc: number, amount
   Dir: string|null, document folder
}[]
GET
/v1/reports/journal/:uid
List journal entries with server-side filtering and pagination. GET returns the first 30 entries ordered by ID; POST accepts a JSON body (Content-Type: application/json) to filter, sort and page. A body that is not valid JSON is ignored and the defaults are used. Columns: ID, Datum, Cislo, Zdroj (source agenda), RelAgID, Popis, Ma_Dat (debit account), Dal (credit account), Suma, Firma, FirmaJmeno, ICO, Meno, Mena, CM_kurz, CM_suma, Stredisko_IDS, Stredisko_SText, Cislo_Zak, Cinnost_IDS, Cinnost_SText, Ulice, PSC, Obec, DIC, ICDPH, Dir, has_Dir. The column search holds the joined text of the main columns and can be used with string. Without a sort, rows are ordered by ID.
Example
/v1/reports/journal/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: number,      // first row, default 0
  size?: number,      // rows per page, default 30
  fields?: {
    name: string,     // column of the response, e.g. "Datum"
    sort?: "asc" | "desc",
    string?: string,  // text contained in the column
    number?: number,  // equal to
    range?: { type: "date" | "number", from?: string | number, to?: string | number, nullable?: boolean }
  }[]
}

// Rows dated from 1 to 30 November 2026, oldest first; without "to" all rows since "from"
{ "from": 0, "size": 100, "fields": [
  { "name": "Datum", "range": { "type": "date", "from": "2026-11-01", "to": "2026-11-30" } },
  { "name": "ID", "sort": "asc" }
] }
Response
200text/json
{
  total: number,
  filtered: number,
  fields: DField[],
  data: any[],
  summary: { [key: string]: number },
  query: DQuery
}

DField = {
  name: string,
  text?: string,
  sort?: 'asc'|'desc'|'',
  // simple values (one of these may be present)
  string?: string|null,
  number?: number|null,
  numbers?: number[],
  date?: string|null,          // ISO YYYY-MM-DD
  checkbox?: boolean|null,
  select?: { // select-like inputs
    type: 'number'|'date'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkbuttons?: { // select-like inputs
    type: 'number'|'string',
    value?: any|null,
    options: { value: any, text: string }[]
  },
  checkboxes?: { // select-like inputs
    type: 'number'|'date'|'string'|'number[]'|'string[]',
    values?: any[],
    options: { value: any, text: string }[],
    classInput?: string
  },
  range?: { // ranges and validity
    type: 'number'|'date',
    nullable?: boolean,
    from?: number|string|Date|null,
    to?: number|string|Date|null
  },
  valid_until?: {
    type: 'date',
    nullable?: boolean,
    value?: string|Date|null
  }
}

DQuery = {
  from: number,
  size: number,
  init?: number,
  fields: DField[]
}
GET
/v1/reports/costs_revenues_by_account/:uid
List the postings of one account, ordered by date. Opening balances are not included.
Example
Parameters
:uid - accounting unit identifier
Request
GET
account (query param, text) required, exact account number matched against the debit or the credit account, for example 501. Without it the list is empty
from (query param, yyyy-mm-dd) optional, postings dated from this day
to (query param, yyyy-mm-dd) optional, postings dated up to this day
stredisko (query param, integer) optional, centre ID
cinnost (query param, integer) optional, activity ID
zakazka (query param, text) optional, order number
An invalid value returns 400.
Response
200text/json

{
   Datum: string, YYYY-MM-DD
   RelTpFak: number|null, invoice type, empty for other documents
   PDoklad: number|null, invoice internal number
   Cislo: string|null, document number
   SKPP_Cislo: string|null, cash receipt number
   SKPP_SText: string|null
   SKPV_Cislo: string|null, cash disbursement number
   SKPV_SText: string|null
   Firma: string
   Jmeno: string
   SText: string
   UD: string, credit account
   UMD: string, debit account
   Kc: number
   RelUdAg: number, source agenda
   Dir: string|null, document folder
}[]
GET
/v1/reports/monthly_statement/:uid
List the postings (date, accounts, amount) of the selected accounts, ordered by date. The rows are not summed by month. GET returns the postings of all accounts without a filter.
Example
/v1/reports/monthly_statement/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  from?: string,                  // ISO date YYYY-MM-DD
  to?: string,                    // ISO date YYYY-MM-DD
  ucty?: (string | number)[],     // account numbers, digits only, matched exactly against the debit or the credit account; omitted or empty = all accounts
  stredisko?: number | number[],  // centre ID(s)
  cinnost?: number | number[],    // activity ID(s)
  zakazka?: string                // order number
}
An invalid value returns 400. A body that is not valid JSON is ignored.
Response
200text/json

{
   Datum: string, YYYY-MM-DD
   UD: string, credit account
   UMD: string, debit account
   Kc: number
}[]
GET
/v1/reports/highest_bank/:uid
Get the bank account with the highest balance. CurrentMonthTotal is the balance of all its bank statements, PreviousMonthTotal the balance of the statements dated up to the end of the previous month. Without a bank account the values are empty and zero.
Example
/v1/reports/highest_bank/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   Bank: string, bank account name
   Bank_ID: number|string, bank account id
   CurrentMonthTotal: number
   PreviousMonthTotal: number
   period_to: string, ISO date-time
}
GET
/v1/reports/highest_cash/:uid
Get the cash register with the highest balance. CurrentMonthTotal is the balance of all its documents, PreviousMonthTotal the balance of the documents dated up to the end of the previous month. Without a cash register the values are empty and zero.
Example
/v1/reports/highest_cash/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
Response
200text/json

{
   Cash: string, cash register name
   Cash_ID: number|string, cash register id
   CurrentMonthTotal: number
   PreviousMonthTotal: number
   period_to: string, ISO date-time
}
GET
/v1/reports/statistics/:uid
Get company statistics: payables, receivables, VAT of the current period and the highest bank and cash balances. Payables and receivables are unpaid amounts; the "In3Days" and "Overduted30Days" values are the part overdue by at least 3 and 30 days.
Example
/v1/reports/statistics/88899460-4d0b-421b8d67-2023?current_year_db=true
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
current_year_db (query param, true|false) optional, default false. With true, db_check is always True.
Response
200text/json

{
   PayablesTotal: number
   PayablesIn3Days: number
   PayablesOverduted30Days: number
   ReceivablesTotal: number
   ReceivablesIn3Days: number
   ReceivablesOverduted30Days: number
   danNaVystupe: number, output VAT
   danNaVstupe: number, input VAT
   predbeznaDPH: number, danNaVystupe minus danNaVstupe
   bank_name: string
   bank_id: string
   bank_current_total: string, number as text
   bank_previous_total: string, number as text
   bank_period_to: string, ISO date-time
   cash_name: string
   cash_id: string
   cash_current_total: string, number as text
   cash_previous_total: string, number as text
   cash_period_to: string, ISO date-time
   bank_total_all: number, balance of all bank accounts
   cash_total_all: number, balance of all cash registers
   period_to: string|null, ISO date-time of the latest invoice
   db_check: 'True'|'False', whether the database holds postings of the current year
}
GET
/v1/reports/income_tax/:uid
List corporate income tax inputs: revenue and expense accounts and the sums posted on them.
Example
/v1/reports/income_tax/88899460-4d0b-421b8d67-2023?dateFrom=2024-01-01&dateTo=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
dateFrom (query param, yyyy-mm-dd) optional, postings dated from this day
dateTo (query param, yyyy-mm-dd) optional, postings dated up to this day
centre (query param, integer) optional, centre ID
cinnost (query param, integer) optional, activity ID
cislo_zak (query param, text) optional, order number
An invalid value returns 400.
Response
200text/json

{
   revenues: { account: string, name: string }[], non-taxable revenue accounts (6xx)
   expenses: { account: string, name: string }[], non-deductible cost accounts (5xx without 59x)
   revenues_ud: { sum: number, UD: string }[]
   revenues_umd: { sum: number, UMD: string }[]
   cost_ud: { sum: number, UD: string }[]
   cost_umd: { sum: number, UMD: string }[]
}
GET
/v1/reports/income_tax/:uid/:account
List corporate income tax entries (postings) of one account, ordered by date. The account must match the debit or the credit account exactly. The same data is returned by GET /v1/reports/income_tax_account/:uid?account=518.
Example
/v1/reports/income_tax/88899460-4d0b-421b8d67-2023/518?dateFrom=2024-01-01&dateTo=2024-12-31
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
:account - account number
Request
GET
dateFrom (query param, yyyy-mm-dd) optional, postings dated from this day
dateTo (query param, yyyy-mm-dd) optional, postings dated up to this day
centre (query param, integer) optional, centre ID
cinnost (query param, integer) optional, activity ID
cislo_zak (query param, text) optional, order number
An invalid value returns 400.
Response
200text/json

{
   Datum: string, YYYY-MM-DD
   Firma: string
   SText: string
   UD: string, credit account
   UMD: string, debit account
   Cislo: string|null
   Kc: number
   Dir: string|null, document folder
}[]
GET
/v1/reports/income_tax_account/:uid
Same as /v1/reports/income_tax/:uid/:account, with the account in the query.
Example
Parameters
:uid - accounting unit identifier
Request
GET
account (query param, text) required, exact account number. Without it the list is empty
dateFrom, dateTo, centre, cinnost, cislo_zak (query params) as in /v1/reports/income_tax/:uid/:account
Response
200text/json
The same array as /v1/reports/income_tax/:uid/:account.
GET
/v1/reports/overview/:uid
Compute the profitability overview: the unpaid amount and the count of invoices overdue by more than "from" and less than "to" days. Days are counted to dateTo, or to today. GET uses no filter and the range 0 to 100 days.
Example
/v1/reports/overview/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  centre?: number,              // centre ID
  cinnost?: number,             // activity ID
  cislo_zak?: string,           // order number
  RelTpFak?: number[],          // invoice types [1,2,3,4,5,6,11,12,13,14,15,16]
  InvoiceType?: number,         // one of RelTpFak: invoices of this type are counted with the opposite sign
  dateTo?: string,              // ISO date YYYY-MM-DD
  dateFrom?: string,            // ISO date YYYY-MM-DD
  from?: number,                // days overdue, lower bound (exclusive), default 0
  to?: number                   // days overdue, upper bound (exclusive), default 100
}
An invalid value returns 400. A body that is not valid JSON is ignored.
Response
200text/json
{ sum: number|null, count: number }
GET
/v1/reports/overview/:uid/items
List the invoices behind the profitability overview, for one overdue band. Also available as POST /v1/reports/overview_items/:uid with the same body and response. GET uses no filter and percentage "30".
Example
/v1/reports/overview/88899460-4d0b-421b8d67-2023/items
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  centre?: number,
  cinnost?: number,
  cislo_zak?: string,
  RelTpFak?: number[],
  InvoiceType?: number,
  dateTo?: string,             // ISO date YYYY-MM-DD
  dateFrom?: string,           // ISO date YYYY-MM-DD
  percentage?: string          // overdue band, default '30': '360' = 360 to 718 days, Taxable 20 %; '720' = 720 to 1078 days, Taxable 50 %; '1080' = over 1080 days, Taxable 100 %; '30' = over 360 days, Taxable 100 %; another value returns 400
}
An invalid value returns 400. A body that is not valid JSON is ignored.
Response
200text/json

{
   Cislo: string, document number
   PDoklad: number|null, internal id
   Datum: string, YYYY-MM-DD
   DatSplat: string, due date YYYY-MM-DD
   Days: number, overdue days
   Firma: string
   SText: string
   KcCelkem: number, total
   KcLikv: number, unpaid
   Taxable: number, unpaid amount multiplied by the percentage of the band
}[]
GET
/v1/reports/selected_services/:uid
Compute the unpaid amount of the invoices with the given specific symbol (type). GET uses no filter and type N.
Example
/v1/reports/selected_services/88899460-4d0b-421b8d67-2023
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  centre?: number,
  cinnost?: number,
  cislo_zak?: string,
  RelTpFak?: number[],         // invoice types [1,2,3,4,5,6,11,12,13,14,15,16]
  InvoiceType?: number,
  dateTo?: string,             // ISO date YYYY-MM-DD
  dateFrom?: string,           // ISO date YYYY-MM-DD
  type: 'N'|'P'|'S'|'C'|'l'    // required: specific symbol of the invoices
}
A missing or invalid type or value returns 400. A body that is not valid JSON returns 400.
Response
200text/json
{ sum: number|null }
GET
/v1/reports/selected_services/:uid/items
List the invoices behind the selected services KPI. Also available as POST /v1/reports/selected_services_items/:uid with the same body and response. GET uses no filter and type N.
Example
/v1/reports/selected_services/88899460-4d0b-421b8d67-2023/items
Runs with the demo company. Ctrl or Cmd + click opens it in a new tab.
Parameters
:uid - accounting unit identifier
Request
GET
POSTtext/json
{
  centre?: number,
  cinnost?: number,
  cislo_zak?: string,
  RelTpFak?: number[],
  InvoiceType?: number,
  dateTo?: string,             // ISO date YYYY-MM-DD
  dateFrom?: string,           // ISO date YYYY-MM-DD
  type: 'N'|'P'|'S'|'C'|'l'    // required: specific symbol of the invoices
}
A missing or invalid type or value returns 400. A body that is not valid JSON returns 400.
Response
200text/json

{
   Cislo: string, document number
   PDoklad: number|null, internal id
   Datum: string, document date YYYY-MM-DD
   DatSplat: string, due date YYYY-MM-DD
   Firma: string
   SText: string
   KcCelkem: number, total without VAT
   KcLikv: number, unpaid
   Taxable: number
}[]

/v1/epostar/ 21 endpoints

GET
/v1/epostar/companies
List of your companies. Digitálny poštár: Peppol e-invoicing without NISA. Every call needs the API key we gave you. Steps: 1) optionally check the DIČ with GET participants; 2) add the company with POST companies; 3) a company that receives chooses the provider "compacer GmbH" on the Financial Administration portal, in the row of the intermediary agreed with us (by default "etlab.digital s.r.o."); 4) if another provider receives for it today, send its migration code with POST activate; 5) send and read invoices and follow GET events. Returns every company (DIČ) you added.
Parameters
Authorization: Bearer
Request
GET
Response
200application/json

{
      dic: string, 10-digit DIČ
      legal_name: string
      contact_email: string | null
      contact_phone: string | null
      direction: 'SEND' | 'RECEIVE' | 'BOTH'
      document_types: string[] | null, the documents the company receives; null when it only sends
      status: 'requested' | 'active' | 'rejected'
      status_reason: string | null
      portal_mismatch: boolean, true when an active company chose another intermediary row on the Financial Administration portal, see GET company
      created_at, updated_at: ISO time
}
[]

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies
Add a company. By adding it you confirm, under our contract, that the company authorised you to act for it and chose Compacer, through us, as its Peppol provider; we record which client added it and when. 201 means a new company, 200 one you added before, returned as it is unless it waits for registration. We register it at once: status "active" when Compacer has it. status_reason then says if it still waits for a migration code; such a company is active only with us until the code is used. If the registration fails, it stays "requested" with the reason in status_reason; add it again, with corrected data if needed, to try again. A DIČ that another client, a NISA company or an earlier registration with us already uses stays "requested" until we check it; adding it again meanwhile returns it unchanged. To receive, the company must also choose the provider "compacer GmbH" on the Financial Administration portal, in the row of the intermediary agreed with us (by default "etlab.digital s.r.o."). The portal passes that choice to Compacer directly; the company needs to send nothing to us. Our test server has no portal choice: send us the DIČ and name of each test company that receives, and we arrange the confirmation with Compacer. Until the choice reaches Compacer and Compacer enters the company in the central Peppol SMP, usually within minutes of the choice, the company is "active" but GET company shows compacer.can_receive false. A company that receives through another provider today moves to us with a migration code from that provider: see participants and activate. contact_email and contact_phone are optional and are written to the company's business card in the central Peppol SMP, where they can be publicly visible. They need not belong to the company, an accounting office address works too. Neither we nor Compacer send any messages to them.
Parameters
Authorization: Bearer
Request
POSTapplication/json

{
      dic: string, 10-digit DIČ
      legal_name: string, at most 200 characters
      contact_email?: string, at most 200 characters
      contact_phone?: string, at most 200 characters
      direction?: 'SEND' | 'RECEIVE' | 'BOTH', default BOTH
      document_types?: string[], documents the company receives, default [INVOICE, CREDIT_NOTE]; not for SEND
}
Response
200201application/json

{
      dic: string, 10-digit DIČ
      legal_name: string
      contact_email: string | null
      contact_phone: string | null
      direction: 'SEND' | 'RECEIVE' | 'BOTH'
      document_types: string[] | null, the documents the company receives; null when it only sends
      status: 'requested' | 'active' | 'rejected'
      status_reason: string | null
      portal_mismatch: boolean, true when an active company chose another intermediary row on the Financial Administration portal, see GET company
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic
One company with its live Compacer state. compacer is null unless the company is active and Compacer is enabled; { error } when Compacer does not answer; valid_until is always null. portal_mismatch true: on the Financial Administration portal the company chose another intermediary row than the one agreed with us, so Compacer does not register it in the central Peppol SMP; can_receive shows whether it receives now. The company repeats the choice in the agreed row. The event company.portal_changed reports the changes our sync finds every few minutes; a choice corrected within that time may not show.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
GET
Response
200application/json

company, plus
      compacer: { registered, can_receive, status, note, portal_mismatch, valid_until } | { error } | null

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/document-types
Choose the documents a receiving company accepts. Compacer then updates the central Peppol SMP, usually within minutes, so senders can address them to the company; the answer shows the set Compacer keeps. Two sets are allowed: [INVOICE, CREDIT_NOTE] (the default) and [INVOICE, CREDIT_NOTE, SELF_BILLING_INVOICE, SELF_BILLING_CREDIT_NOTE]; the order in the list does not matter. Credit notes are mandatory in Peppol Slovakia, so [INVOICE] alone answers 400. With self-billing a customer issues the invoice in its supplier's name, so a received self-billed document (type code 389, 527 or credit note 261) is the company's own sale. You can also choose them when adding the company. A company not registered yet keeps the choice for its registration. 409 not_needed: the company only sends; 409 company_shared: an active company that someone else also uses, contact us to change it. When someone else changes the set of a shared company, document_types shows the new one.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
POSTapplication/json

{ document_types: string[] }
Response
200application/json

{
      dic: string, 10-digit DIČ
      legal_name: string
      contact_email: string | null
      contact_phone: string | null
      direction: 'SEND' | 'RECEIVE' | 'BOTH'
      document_types: string[] | null, the documents the company receives; null when it only sends
      status: 'requested' | 'active' | 'rejected'
      status_reason: string | null
      portal_mismatch: boolean, true when an active company chose another intermediary row on the Financial Administration portal, see GET company
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/participants/:dic
Check a company before you add it: is it reachable in Peppol, and who receives for it? served_by_compacer is true also for a company another Compacer partner registered; registered_with_us only for ours. The register is updated once a day and does not show test companies. state UNKNOWN means the register could not be read, never that the company is not registered.
Parameters
Authorization: Bearer
:dic - 10-digit DIČ
Request
GET
Response
200application/json

{ dic: string, state: 'REGISTERED' | 'NOT_REGISTERED' | 'UNKNOWN', served_by_compacer: boolean, registered_with_us: boolean, registered_on: string | null, note: string | null }

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/activate
Move a company that receives through another provider to us without a gap. Ask that provider for a migration code and send it here after adding the company; such a company is active with status_reason saying it waits for the code. We send the code to the central SMP at once and do not keep it. Follow the move in GET company and the events. A company that only sends needs no code (409 not_needed); a company already registered with us answers 409 already_registered, and one registered with us for another direction 409 direction_conflict. We never deregister a company to move it: that would stop its receiving.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
POSTapplication/json

{ migration_code: string, 1–24 printable characters without spaces }
Response
202application/json

{
      dic: string
      state: string, e.g. REVOKE_PENDING, ACTIVE, QUEUED
      state_reason: string | null
      revoke_due_at: ISO time | null, legal deadline for the removal
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/deregister/cancel
Call off a pending deregistration, possible until the company is removed. Only we deregister a company, on its request; moving to another provider goes through migration-code, so receiving never stops.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
POST
Response
202application/json

{
      dic: string
      state: string, e.g. REVOKE_PENDING, ACTIVE, QUEUED
      state_reason: string | null
      revoke_due_at: ISO time | null, legal deadline for the removal
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/migration-code
The only way to move a company that receives through us to another provider: no gap in receiving. Call it only when the company asks to leave; checking that is on you, and we record which client asked and when. Hand the code to the new provider; the company keeps receiving through us until the code is used. Calling again gives a new code; a code issued by mistake is withdrawn with migration-code/cancel. Not for a company that only sends. 409 company_shared: someone else also uses this company, contact us. We do not keep the code.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
POST
Response
200application/json

{ dic: string, state: string, migration_code: string }

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/migration-code/cancel
Withdraw a migration code issued by mistake. The code can no longer be used and the company stays with us (state ACTIVE). A code that was already used, or none issued, answers 409 registration_conflict.
Parameters
Authorization: Bearer
:dic - DIČ of the company
Request
POST
Response
200application/json

{ dic: string, state: string }

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/validate
Check a UBL invoice or credit note (Peppol BIS 3). Nothing is sent. Counts as a POST for the rate limit. The issuer EndpointID must be the company DIČ (scheme 0245): the supplier, or the customer of a self-billing document.
Parameters
Authorization: Bearer
:dic - DIČ of the sending company
Request
POSTapplication/xml

UBL Invoice or CreditNote XML, at most 10 MB
Response
200application/json

{ valid: boolean, would_accept: boolean, already_submitted: boolean, error: string | null, note: string | null, findings: { id, flag, location, text }[] }

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/outbound
Send a UBL invoice or credit note. Repeat a request with the same Idempotency-Key and XML to get the same result, never a second invoice; the same Idempotency-Key with a different document answers 409 idempotency_conflict. 201 accepted by compacer (not yet delivered), 202 outcome not known yet (we resolve it, follow the events), 422 refused with reasons, 200 repeated request with the current state of the first one. When delivery fails, the access point of compacer retries it for 24 hours; after that neither we nor compacer send the invoice again. Delivered: mls_response_code AB or AP. Not delivered: dispatch_status SEND_FAILED or NON_PEPPOL_RECIPIENT, or mls_response_code RE. After SEND_FAILED or RE with FD, once the cause is fixed, or after NON_PEPPOL_RECIPIENT once the buyer is on Peppol, send the same XML unchanged with a new Idempotency-Key: it goes as the original invoice under the same compacer_invoice_id. After RE with another reason send the corrected invoice under the same number, issue date and document type code, also with a new Idempotency-Key. We follow the status until delivery and the tax document are settled, at most 30 days after the last change.
Parameters
Authorization: Bearer
Idempotency-Key: your unique id of this document, 1–200 characters
:dic - DIČ of the sending company
Request
POSTapplication/xml

UBL Invoice or CreditNote XML, at most 10 MB
Response
200201202422application/json

{
      id: number
      idempotency_key: string
      invoice_number: string, cbc:ID
      document_type: 'Invoice' | 'CreditNote'
      recipient_dic: string | null
      submission_status: 'submitting' | 'submitted' | 'failed' | 'unknown', handover to the access point compacer
          submitting, unknown: in progress; we retry every 10 minutes, up to 20 attempts (a rate limit or our access problem does not count); unknown for more than a day: contact us with the id, we check it by hand
          submitted: accepted by compacer, final; delivery follows below
          failed: refused, final; correct the document by submission_error and send it with a new Idempotency-Key
      submission_error: string | null, reasons when failed or unknown
      compacer_invoice_id: string | null
      dispatch_status: string | null, delivery through Peppol
          PENDING_DISPATCH: queued; DISPATCHED: handed to the Peppol access point, also while it still tries to deliver, the result comes in mls_response_code
          SEND_FAILED: not delivered, the access point tried every hour for 24 hours; final
          NON_PEPPOL_RECIPIENT: the buyer is not on Peppol, the invoice was not sent; final, deliver the invoice another way; the tax document follows tdd_status and tdd_c5_status
          NOT_FOUND: compacer does not find the invoice; contact us with the id
      mls_state: AWAITING_MLS | MLS_RECEIVED | null, read the result from mls_response_code
      mls_response_code: 'AB' | 'AP' | 'RE' | null, answer of the buyer's access point, at most one, never changes
          AB: delivered to the buyer's inbox; AP: delivered and confirmed by the buyer's system; both final. Delivery is not the buyer's acceptance.
          RE: not delivered, final; the reason is in mls_status_reason and mls_description
      mls_status_reason: SV schema violation | BV business rule violation | BW business rule warning | FD could not be delivered | null
      mls_description: string | null, reason to show to the user
      tdd_status: VALID | INVALID | NOT_REQUIRED | NOT_GENERATED | FAILED | null, tax document for the Financial Administration, independent of delivery
          VALID: generated and passed validation; INVALID: failed validation
          NOT_REQUIRED: no tax document is due, e.g. a buyer without a Slovak DIČ or VAT ID, or a supply before 1 January 2027
          NOT_GENERATED: not generated yet, normal for a few seconds after acceptance; FAILED: compacer support fixes it and the value turns VALID, do not send the invoice again
      tdd_c5_status: PENDING | ACCEPTED | REJECTED | null, answer of the Financial Administration; null when no tax document went to it
      tdd_c5_description: string | null
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/outbound
Sent documents of a company, oldest first, one page per call (GET; POST on the same path sends a document). Invalid ?after, ?limit or ?status answers 400.
Parameters
Authorization: Bearer
:dic - DIČ
?after - id of the last item you already have, default 0
?limit - 1–200, default 100
?status - optional filter by submission_status: submitting | submitted | failed | unknown
Request
GET
Response
200application/json

{
      items: outbound[], oldest first
      next_after: number, pass as ?after for the next page
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/outbound/:id
One sent document with its status in three independent parts: handover to compacer (submission_status), delivery to the buyer (dispatch_status, mls_response_code) and the tax document (tdd_status, tdd_c5_status). Keep id, idempotency_key, compacer_invoice_id and all status fields. Read GET events, e.g. every 5 minutes, and on outbound.status_changed read the document here; we check compacer every 5 minutes. Delivery state for your system: in progress = submitting, unknown, or submitted without mls_response_code and with dispatch_status PENDING_DISPATCH or DISPATCHED; delivered = mls_response_code AB or AP; not delivered = dispatch_status SEND_FAILED or NON_PEPPOL_RECIPIENT, or RE with FD; to correct = RE with SV, BV or BW; refused at handover = failed. Keep the tax document state separately. What to do after each final state: see POST outbound. Under the Financial Administration FAQ 9/DPH/2025/IM, the supplier has met its duty by sending the invoice through the delivery service, also when the delivery fails.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
GET
Response
200application/json

{
      id: number
      idempotency_key: string
      invoice_number: string, cbc:ID
      document_type: 'Invoice' | 'CreditNote'
      recipient_dic: string | null
      submission_status: 'submitting' | 'submitted' | 'failed' | 'unknown', handover to the access point compacer
          submitting, unknown: in progress; we retry every 10 minutes, up to 20 attempts (a rate limit or our access problem does not count); unknown for more than a day: contact us with the id, we check it by hand
          submitted: accepted by compacer, final; delivery follows below
          failed: refused, final; correct the document by submission_error and send it with a new Idempotency-Key
      submission_error: string | null, reasons when failed or unknown
      compacer_invoice_id: string | null
      dispatch_status: string | null, delivery through Peppol
          PENDING_DISPATCH: queued; DISPATCHED: handed to the Peppol access point, also while it still tries to deliver, the result comes in mls_response_code
          SEND_FAILED: not delivered, the access point tried every hour for 24 hours; final
          NON_PEPPOL_RECIPIENT: the buyer is not on Peppol, the invoice was not sent; final, deliver the invoice another way; the tax document follows tdd_status and tdd_c5_status
          NOT_FOUND: compacer does not find the invoice; contact us with the id
      mls_state: AWAITING_MLS | MLS_RECEIVED | null, read the result from mls_response_code
      mls_response_code: 'AB' | 'AP' | 'RE' | null, answer of the buyer's access point, at most one, never changes
          AB: delivered to the buyer's inbox; AP: delivered and confirmed by the buyer's system; both final. Delivery is not the buyer's acceptance.
          RE: not delivered, final; the reason is in mls_status_reason and mls_description
      mls_status_reason: SV schema violation | BV business rule violation | BW business rule warning | FD could not be delivered | null
      mls_description: string | null, reason to show to the user
      tdd_status: VALID | INVALID | NOT_REQUIRED | NOT_GENERATED | FAILED | null, tax document for the Financial Administration, independent of delivery
          VALID: generated and passed validation; INVALID: failed validation
          NOT_REQUIRED: no tax document is due, e.g. a buyer without a Slovak DIČ or VAT ID, or a supply before 1 January 2027
          NOT_GENERATED: not generated yet, normal for a few seconds after acceptance; FAILED: compacer support fixes it and the value turns VALID, do not send the invoice again
      tdd_c5_status: PENDING | ACCEPTED | REJECTED | null, answer of the Financial Administration; null when no tax document went to it
      tdd_c5_description: string | null
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/outbound/:id/xml
The XML exactly as you sent it. Returns the XML document (application/xml), not JSON; 404 when the document does not exist.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
GET
Response
200application/xml

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/inbound
Received documents of a company, oldest first, one page per call. Invalid ?after, ?limit or ?response_status answers 400. 403 when the company does not receive, 409 migration_pending while it waits for a migration code. Attachments are embedded in the XML. A self-billed document (type code 389, 527 or credit note 261) is the company's own sale, issued by its customer.
Parameters
Authorization: Bearer
:dic - DIČ
?after - id of the last item you already have, default 0
?limit - 1–200, default 100
?response_status - optional filter: not_requested | pending | sending | succeeded | failed | refused
Request
GET
Response
200application/json

{
      items: inbound[], oldest first
      next_after: number, pass as ?after for the next page
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/inbound/:id
One received document.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
GET
Response
200application/json

{
      id: number
      instance_id: string
      invoice_number: string
      document_type: 'Invoice' | 'CreditNote'
      sender_dic, sender_name: string | null
      issue_date: string | null
      received_at: ISO time
      response_type: 'acknowledge' | 'reject' | null
      response_reason: string | null
      response_status: 'not_requested' | 'pending' | 'sending' | 'succeeded' | 'failed' | 'refused'
      response_error: string | null
      responded_at: ISO time | null
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/companies/:dic/inbound/:id/xml
The received UBL XML. Returns the XML document (application/xml), not JSON.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
GET
Response
200application/xml

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/inbound/:id/ack
Accept a received invoice. One answer per invoice; repeating the same answer is safe, a different one answers 409 already_responded. The answer is not sent to the sender: the only message the sender gets is the delivery confirmation when the invoice reached the inbox. We retry passing the answer to Compacer until response_status is succeeded or refused; refused carries the reason in response_error, for example that the invoice already had an answer.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
POST
Response
200application/json

{
      id: number
      instance_id: string
      invoice_number: string
      document_type: 'Invoice' | 'CreditNote'
      sender_dic, sender_name: string | null
      issue_date: string | null
      received_at: ISO time
      response_type: 'acknowledge' | 'reject' | null
      response_reason: string | null
      response_status: 'not_requested' | 'pending' | 'sending' | 'succeeded' | 'failed' | 'refused'
      response_error: string | null
      responded_at: ISO time | null
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
POST
/v1/epostar/companies/:dic/inbound/:id/reject
Reject a received invoice with a reason. One answer per invoice; repeating the same answer is safe, a different one answers 409 already_responded.
Parameters
Authorization: Bearer
:dic - DIČ
:id - document id
Request
POSTapplication/json

{ reason: string, 3–500 characters }
Response
200application/json

{
      id: number
      instance_id: string
      invoice_number: string
      document_type: 'Invoice' | 'CreditNote'
      sender_dic, sender_name: string | null
      issue_date: string | null
      received_at: ISO time
      response_type: 'acknowledge' | 'reject' | null
      response_reason: string | null
      response_status: 'not_requested' | 'pending' | 'sending' | 'succeeded' | 'failed' | 'refused'
      response_error: string | null
      responded_at: ISO time | null
      created_at, updated_at: ISO time
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/events
Every change for all your companies, oldest first. Keep the last id and ask with ?after=id; you never miss an event, even after downtime. The same event can come twice, so skip ids you already handled.
Parameters
Authorization: Bearer
?after - id of the last item you already have, default 0
?limit - 1–200, default 100
Request
GET
Response
200application/json

{
      items: event[], oldest first
      next_after: number, pass as ?after for the next page
}

event = {
      id: number
      created_at: ISO time
      type: 'company.status_changed' | 'company.portal_changed' | 'outbound.status_changed' | 'inbound.received' | 'inbound.response_changed'
      dic: string
      document_id: number | null, id of the outbound or inbound document
      data: object, current values; outbound.status_changed carries submission_status, dispatch_status, mls_response_code, mls_status_reason (missing in events from before 1 December 2026), tdd_status, tdd_c5_status, read the document for the rest; company.portal_changed carries { portal_mismatch: boolean }
}

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address
GET
/v1/epostar/usage
Billable counts per company for one month: invoices accepted for sending and invoices received.
Parameters
Authorization: Bearer
?month - YYYY-MM, required (400 invalid_month otherwise)
Request
GET
Response
200application/json

{ dic: string, outbound: number, inbound: number }[]

Errors: { error: string code, message: string, findings?: object[] }
      400 invalid input (body must be a JSON object where JSON is expected, invalid ?after, ?limit, ?status or ?month, missing Idempotency-Key), 401 missing or invalid key, 403 key not allowed to use the digitálny poštár, company not active or not enabled for this direction, 404 company or document not found, 409 conflict, 413 too large, 415 not XML, 422 invalid or refused document, 500 internal error, 503 try again
      429 too many requests, wait Retry-After seconds. Per key and minute: 120 GET, 60 POST; 20 failed keys per IP address