api.nisa.digital
2025-10-18

Comprehensive guide to our Pohoda/Pamica endpoints

/v2
List accounting units (years) for a company id prefix.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "cid": {
      "description": "partial accounting unit identifier (without year)",
      "type": "string"
    }
  },
  "required": [
    "cid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "uid": {
        "description": "unit identifier",
        "type": "string"
      },
      "year": {
        "description": "accounting year",
        "type": "number"
      },
      "id_number": {
        "description": "ICO",
        "type": "string"
      },
      "valid_from": {
        "description": "valid from date in YYYY-MM-DD format",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "valid_to": {
        "description": "valid to date in YYYY-MM-DD format",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      }
    },
    "required": [
      "uid",
      "year",
      "id_number",
      "valid_from",
      "valid_to"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List cost centers for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "cost center id",
        "type": "string"
      },
      "SText": {
        "description": "cost center name",
        "type": "string"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List activities for a unit.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "activity id",
        "type": "string"
      },
      "SText": {
        "description": "activity name",
        "type": "string"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List custom orders for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "activity id",
        "type": "string"
      },
      "SText": {
        "description": "activity name",
        "type": "string"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List VAT mappings: pre-accounting, VAT breakdown, and KV DPH groups.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "available": {
      "description": "available mapping group names",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "incoming": {
      "description": "incoming mapping names (sales)",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "outgoing": {
      "description": "outgoing mapping names (purchases)",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pre_accounting": {
      "description": "pre-accounting mapping groups",
      "type": "object",
      "properties": {
        "issued_invoices": {
          "description": "issued invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_credit_notes": {
          "description": "issued credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_advance_invoices": {
          "description": "issued advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_receivables": {
          "description": "issued receivables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_invoices": {
          "description": "received invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_credit_notes": {
          "description": "received credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_advance_invoices": {
          "description": "received advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_payables": {
          "description": "received payables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "issued_invoices",
        "issued_credit_notes",
        "issued_advance_invoices",
        "issued_receivables",
        "received_invoices",
        "received_credit_notes",
        "received_advance_invoices",
        "received_payables"
      ],
      "additionalProperties": false
    },
    "vat_breakdown": {
      "description": "VAT breakdown mapping groups",
      "type": "object",
      "properties": {
        "issued_invoices": {
          "description": "issued invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_credit_notes": {
          "description": "issued credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_advance_invoices": {
          "description": "issued advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_receivables": {
          "description": "issued receivables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_invoices": {
          "description": "received invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_credit_notes": {
          "description": "received credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_advance_invoices": {
          "description": "received advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_payables": {
          "description": "received payables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "issued_invoices",
        "issued_credit_notes",
        "issued_advance_invoices",
        "issued_receivables",
        "received_invoices",
        "received_credit_notes",
        "received_advance_invoices",
        "received_payables"
      ],
      "additionalProperties": false
    },
    "vat_split": {
      "description": "control statement (KV DPH) mapping groups",
      "type": "object",
      "properties": {
        "issued_invoices": {
          "description": "issued invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_credit_notes": {
          "description": "issued credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_advance_invoices": {
          "description": "issued advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "issued_receivables": {
          "description": "issued receivables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_invoices": {
          "description": "received invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_credit_notes": {
          "description": "received credit notes groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_advance_invoices": {
          "description": "received advance invoices groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        },
        "received_payables": {
          "description": "received payables groups",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "group id",
                "type": "number"
              },
              "IDS": {
                "description": "group code",
                "type": "string"
              },
              "SText": {
                "description": "group name",
                "type": "string"
              }
            },
            "required": [
              "ID",
              "IDS",
              "SText"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "issued_invoices",
        "issued_credit_notes",
        "issued_advance_invoices",
        "issued_receivables",
        "received_invoices",
        "received_credit_notes",
        "received_advance_invoices",
        "received_payables"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "available",
    "incoming",
    "outgoing",
    "pre_accounting",
    "vat_breakdown",
    "vat_split"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List chart of accounts for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "account number",
        "type": "string"
      },
      "SText": {
        "description": "account name",
        "type": "string"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List accounting journal entries for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Datum": {
        "description": "document date (YYYY-MM-DD)",
        "type": "string"
      },
      "DatZdPln": {
        "description": "taxable supply date (YYYY-MM-DD)",
        "type": "string"
      },
      "Cislo": {
        "description": "document number",
        "type": "string"
      },
      "SText": {
        "description": "description",
        "type": "string"
      },
      "UMD": {
        "description": "debit account",
        "type": "string"
      },
      "UD": {
        "description": "credit account",
        "type": "string"
      },
      "Kc": {
        "description": "amount in base currency",
        "type": "number"
      },
      "Mena": {
        "description": "currency code",
        "type": "string"
      },
      "CmKurs": {
        "description": "currency exchange rate",
        "type": "number"
      },
      "Cm": {
        "description": "amount in foreign currency",
        "type": "number"
      },
      "Stredisko": {
        "description": "cost centre name",
        "type": "string"
      },
      "CisloZAK": {
        "description": "order/commission code",
        "type": "string"
      },
      "Cinnost": {
        "description": "activity name",
        "type": "string"
      },
      "ParSym": {
        "description": "variable symbol",
        "type": "string"
      },
      "ParSym2": {
        "description": "additional variable symbol",
        "type": "string"
      },
      "Firma": {
        "description": "company name",
        "type": "string"
      },
      "Jmeno": {
        "description": "contact person",
        "type": "string"
      },
      "ParICO": {
        "description": "partner ICO",
        "type": "string"
      },
      "Pozn": {
        "description": "note",
        "type": "string"
      },
      "DatCreate": {
        "description": "created at (ISO date-time)",
        "type": "string"
      },
      "DatSave": {
        "description": "saved at (ISO date-time)",
        "type": "string"
      }
    },
    "required": [
      "Datum",
      "DatZdPln",
      "Cislo",
      "SText",
      "UMD",
      "UD",
      "Kc",
      "Mena",
      "CmKurs",
      "Cm",
      "Stredisko",
      "CisloZAK",
      "Cinnost",
      "ParSym",
      "ParSym2",
      "Firma",
      "Jmeno",
      "ParICO",
      "Pozn",
      "DatCreate",
      "DatSave"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List contracts with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "contract id",
            "type": "number"
          },
          "Cislo": {
            "description": "contract number",
            "type": "number"
          },
          "DIC": {
            "description": "contract company tax id",
            "nullable": true,
            "type": "string"
          },
          "DatPlatDo": {
            "description": "contract end date",
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatPlatOd": {
            "description": "contract start date",
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dir": {
            "description": "contract directory",
            "nullable": true,
            "type": "string"
          },
          "Firma": {
            "description": "contract company name",
            "nullable": true,
            "type": "string"
          },
          "ICDPH": {
            "description": "contract company tax id",
            "nullable": true,
            "type": "string"
          },
          "ICO": {
            "description": "contract company tax id",
            "nullable": true,
            "type": "string"
          },
          "Jmeno": {
            "description": "contract company contact person",
            "nullable": true,
            "type": "string"
          },
          "Kc": {
            "description": "contract company amount",
            "type": "number"
          },
          "Obec": {
            "description": "contract company city",
            "type": "string"
          },
          "PSC": {
            "description": "contract company postal code",
            "type": "string"
          },
          "IDS": {
            "description": "contract company id",
            "nullable": true,
            "type": "string"
          },
          "RelAgID": {
            "description": "contract company id",
            "nullable": true,
            "type": "number"
          },
          "RelKateg": {
            "description": "contract company id",
            "nullable": true,
            "type": "number"
          },
          "RelTpSml": {
            "description": "contract company id",
            "nullable": true,
            "type": "number"
          },
          "RelZaObd": {
            "description": "contract company id",
            "nullable": true,
            "type": "number"
          },
          "SText": {
            "description": "contract company name",
            "nullable": true,
            "type": "string"
          },
          "Ulice": {
            "description": "contract company street",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ID",
          "Cislo",
          "DIC",
          "DatPlatDo",
          "DatPlatOd",
          "Dir",
          "Firma",
          "ICDPH",
          "ICO",
          "Jmeno",
          "Kc",
          "Obec",
          "PSC",
          "IDS",
          "RelAgID",
          "RelKateg",
          "RelTpSml",
          "RelZaObd",
          "SText",
          "Ulice"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/invoice
List invoices with server-side filtering and pagination.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Cislo": {
            "type": "string"
          },
          "RelTpFak": {
            "type": "number"
          },
          "Firma": {
            "type": "string"
          },
          "ICO": {
            "type": "string"
          },
          "DIC": {
            "type": "string"
          },
          "ICDPH": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatZdPln": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatSplat": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "RelForUh": {
            "type": "number"
          },
          "KodMeny": {
            "type": "string"
          },
          "KcLikv": {
            "type": "number"
          },
          "KcCelkem": {
            "type": "number"
          },
          "Kc0": {
            "type": "number"
          },
          "Kc1": {
            "type": "number"
          },
          "Kc2": {
            "type": "number"
          },
          "Kc3": {
            "type": "number"
          },
          "KcDPH1": {
            "type": "number"
          },
          "KcDPH2": {
            "type": "number"
          },
          "KcDPH3": {
            "type": "number"
          },
          "SText": {
            "type": "string"
          },
          "Dir": {
            "type": "string"
          },
          "VarSym": {
            "type": "string"
          },
          "SpecSym": {
            "type": "string"
          },
          "KonstSym": {
            "type": "string"
          },
          "polozky": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "type": "number"
                },
                "Mnozstvi": {
                  "type": "number"
                },
                "MJ": {
                  "type": "string"
                },
                "KcJedn": {
                  "type": "number"
                },
                "Kc": {
                  "type": "number"
                },
                "KcDPH": {
                  "type": "number"
                },
                "SText": {
                  "type": "string"
                },
                "Pozn": {
                  "type": "string"
                },
                "RelPk": {
                  "type": "number"
                },
                "RelTpDPH": {
                  "type": "number"
                },
                "RelTpKVDPH": {
                  "type": "number"
                },
                "RelSzDPH": {
                  "type": "number"
                },
                "ProcentoDPH": {
                  "type": "number"
                },
                "SDph": {
                  "type": "boolean"
                },
                "Sleva": {
                  "type": "number"
                },
                "Cm": {
                  "type": "number"
                },
                "CmJedn": {
                  "type": "number"
                },
                "CmDPH": {
                  "type": "number"
                },
                "RefAg": {
                  "type": "number"
                },
                "RefStr": {
                  "type": "number"
                },
                "RefCin": {
                  "type": "number"
                },
                "CisloZAK": {
                  "type": "string"
                },
                "cinnost_ids": {
                  "type": "string"
                },
                "stredisko_ids": {
                  "type": "string"
                },
                "predkontacia_ids": {
                  "type": "string"
                },
                "clenenie_dph_ids": {
                  "type": "string"
                },
                "clenenie_kvdph_ids": {
                  "type": "string"
                }
              },
              "required": [
                "ID",
                "Mnozstvi",
                "MJ",
                "KcJedn",
                "Kc",
                "KcDPH",
                "SText",
                "Pozn",
                "RelPk",
                "RelTpDPH",
                "RelTpKVDPH",
                "RelSzDPH",
                "ProcentoDPH",
                "SDph",
                "Sleva",
                "Cm",
                "CmJedn",
                "CmDPH",
                "RefAg",
                "RefStr",
                "RefCin",
                "CisloZAK",
                "cinnost_ids",
                "stredisko_ids",
                "predkontacia_ids",
                "clenenie_dph_ids",
                "clenenie_kvdph_ids"
              ],
              "additionalProperties": false
            }
          },
          "BPrenes": {
            "type": "boolean"
          },
          "RelPk": {
            "type": "number"
          },
          "RelTpDPH": {
            "type": "number"
          },
          "RelTpKVDPH": {
            "type": "number"
          },
          "splatnost_diff": {
            "type": "number"
          },
          "RelObDPH": {
            "type": "number"
          },
          "pud": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "UD": {
                  "type": "string"
                },
                "UMD": {
                  "type": "string"
                }
              },
              "required": [
                "UD",
                "UMD"
              ],
              "additionalProperties": false
            }
          },
          "direction": {
            "type": "string"
          },
          "Pozn": {
            "type": "string"
          },
          "RefStr": {
            "type": "number"
          },
          "RefCin": {
            "type": "number"
          },
          "RefCM": {
            "type": "number"
          },
          "CmKurs": {
            "type": "number"
          },
          "CisloObj": {
            "type": "string"
          },
          "CisloZAK": {
            "type": "string"
          },
          "cinnost_ids": {
            "type": "string"
          },
          "stredisko_ids": {
            "type": "string"
          },
          "predkontacia_ids": {
            "type": "string"
          },
          "clenenie_dph_ids": {
            "type": "string"
          },
          "clenenie_kvdph_ids": {
            "type": "string"
          },
          "sepa_deletable": {
            "type": "number"
          }
        },
        "required": [
          "ID",
          "Cislo",
          "RelTpFak",
          "Firma",
          "ICO",
          "DIC",
          "ICDPH",
          "Email",
          "Datum",
          "DatZdPln",
          "DatSplat",
          "RelForUh",
          "KodMeny",
          "KcLikv",
          "KcCelkem",
          "Kc0",
          "Kc1",
          "Kc2",
          "Kc3",
          "KcDPH1",
          "KcDPH2",
          "KcDPH3",
          "SText",
          "Dir",
          "VarSym",
          "SpecSym",
          "KonstSym",
          "polozky",
          "BPrenes",
          "RelPk",
          "RelTpDPH",
          "RelTpKVDPH",
          "splatnost_diff",
          "RelObDPH",
          "pud",
          "direction",
          "Pozn",
          "RefStr",
          "RefCin",
          "RefCM",
          "CmKurs",
          "CisloObj",
          "CisloZAK",
          "cinnost_ids",
          "stredisko_ids",
          "predkontacia_ids",
          "clenenie_dph_ids",
          "clenenie_kvdph_ids",
          "sepa_deletable"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get invoice detail by number.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "invoice_number": {
      "description": "invoice number",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "invoice_number"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "type": "number"
      },
      "Cislo": {
        "type": "string"
      },
      "RelTpFak": {
        "type": "number"
      },
      "Firma": {
        "type": "string"
      },
      "ICO": {
        "type": "string"
      },
      "DIC": {
        "type": "string"
      },
      "ICDPH": {
        "type": "string"
      },
      "Email": {
        "type": "string"
      },
      "Datum": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "DatZdPln": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "DatSplat": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "RelForUh": {
        "type": "number"
      },
      "KodMeny": {
        "type": "string"
      },
      "KcLikv": {
        "type": "number"
      },
      "KcCelkem": {
        "type": "number"
      },
      "Kc0": {
        "type": "number"
      },
      "Kc1": {
        "type": "number"
      },
      "Kc2": {
        "type": "number"
      },
      "Kc3": {
        "type": "number"
      },
      "KcDPH1": {
        "type": "number"
      },
      "KcDPH2": {
        "type": "number"
      },
      "KcDPH3": {
        "type": "number"
      },
      "SText": {
        "type": "string"
      },
      "Dir": {
        "type": "string"
      },
      "VarSym": {
        "type": "string"
      },
      "SpecSym": {
        "type": "string"
      },
      "KonstSym": {
        "type": "string"
      },
      "polozky": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "ID": {
              "type": "number"
            },
            "Mnozstvi": {
              "type": "number"
            },
            "MJ": {
              "type": "string"
            },
            "KcJedn": {
              "type": "number"
            },
            "Kc": {
              "type": "number"
            },
            "KcDPH": {
              "type": "number"
            },
            "SText": {
              "type": "string"
            },
            "Pozn": {
              "type": "string"
            },
            "RelPk": {
              "type": "number"
            },
            "RelTpDPH": {
              "type": "number"
            },
            "RelTpKVDPH": {
              "type": "number"
            },
            "RelSzDPH": {
              "type": "number"
            },
            "ProcentoDPH": {
              "type": "number"
            },
            "SDph": {
              "type": "boolean"
            },
            "Sleva": {
              "type": "number"
            },
            "Cm": {
              "type": "number"
            },
            "CmJedn": {
              "type": "number"
            },
            "CmDPH": {
              "type": "number"
            },
            "RefAg": {
              "type": "number"
            },
            "RefStr": {
              "type": "number"
            },
            "RefCin": {
              "type": "number"
            },
            "CisloZAK": {
              "type": "string"
            },
            "cinnost_ids": {
              "type": "string"
            },
            "stredisko_ids": {
              "type": "string"
            },
            "predkontacia_ids": {
              "type": "string"
            },
            "clenenie_dph_ids": {
              "type": "string"
            },
            "clenenie_kvdph_ids": {
              "type": "string"
            }
          },
          "required": [
            "ID",
            "Mnozstvi",
            "MJ",
            "KcJedn",
            "Kc",
            "KcDPH",
            "SText",
            "Pozn",
            "RelPk",
            "RelTpDPH",
            "RelTpKVDPH",
            "RelSzDPH",
            "ProcentoDPH",
            "SDph",
            "Sleva",
            "Cm",
            "CmJedn",
            "CmDPH",
            "RefAg",
            "RefStr",
            "RefCin",
            "CisloZAK",
            "cinnost_ids",
            "stredisko_ids",
            "predkontacia_ids",
            "clenenie_dph_ids",
            "clenenie_kvdph_ids"
          ],
          "additionalProperties": false
        }
      },
      "BPrenes": {
        "type": "boolean"
      },
      "RelPk": {
        "type": "number"
      },
      "RelTpDPH": {
        "type": "number"
      },
      "RelTpKVDPH": {
        "type": "number"
      },
      "splatnost_diff": {
        "type": "number"
      },
      "RelObDPH": {
        "type": "number"
      },
      "pud": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "UD": {
              "type": "string"
            },
            "UMD": {
              "type": "string"
            }
          },
          "required": [
            "UD",
            "UMD"
          ],
          "additionalProperties": false
        }
      },
      "direction": {
        "type": "string"
      },
      "Pozn": {
        "type": "string"
      },
      "RefStr": {
        "type": "number"
      },
      "RefCin": {
        "type": "number"
      },
      "RefCM": {
        "type": "number"
      },
      "CmKurs": {
        "type": "number"
      },
      "CisloObj": {
        "type": "string"
      },
      "CisloZAK": {
        "type": "string"
      },
      "cinnost_ids": {
        "type": "string"
      },
      "stredisko_ids": {
        "type": "string"
      },
      "predkontacia_ids": {
        "type": "string"
      },
      "clenenie_dph_ids": {
        "type": "string"
      },
      "clenenie_kvdph_ids": {
        "type": "string"
      },
      "sepa_deletable": {
        "type": "number"
      }
    },
    "required": [
      "ID",
      "Cislo",
      "RelTpFak",
      "Firma",
      "ICO",
      "DIC",
      "ICDPH",
      "Email",
      "Datum",
      "DatZdPln",
      "DatSplat",
      "RelForUh",
      "KodMeny",
      "KcLikv",
      "KcCelkem",
      "Kc0",
      "Kc1",
      "Kc2",
      "Kc3",
      "KcDPH1",
      "KcDPH2",
      "KcDPH3",
      "SText",
      "Dir",
      "VarSym",
      "SpecSym",
      "KonstSym",
      "polozky",
      "BPrenes",
      "RelPk",
      "RelTpDPH",
      "RelTpKVDPH",
      "splatnost_diff",
      "RelObDPH",
      "pud",
      "direction",
      "Pozn",
      "RefStr",
      "RefCin",
      "RefCM",
      "CmKurs",
      "CisloObj",
      "CisloZAK",
      "cinnost_ids",
      "stredisko_ids",
      "predkontacia_ids",
      "clenenie_dph_ids",
      "clenenie_kvdph_ids",
      "sepa_deletable"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List companies referenced by unit invoices.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Firma": {
        "description": "company name",
        "type": "string"
      },
      "Jmeno": {
        "description": "contact person",
        "type": "string"
      },
      "Ulice": {
        "description": "street",
        "type": "string"
      },
      "PSC": {
        "description": "postal code",
        "type": "string"
      },
      "Obec": {
        "description": "city",
        "type": "string"
      },
      "Email": {
        "description": "email",
        "type": "string"
      },
      "Tel": {
        "description": "phone",
        "type": "string"
      },
      "ICO": {
        "description": "company id",
        "type": "string"
      },
      "DIC": {
        "description": "tax id",
        "type": "string"
      },
      "ICDPH": {
        "description": "vat id",
        "type": "string"
      }
    },
    "required": [
      "Firma",
      "Jmeno",
      "Ulice",
      "PSC",
      "Obec",
      "Email",
      "Tel",
      "ICO",
      "DIC",
      "ICDPH"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List invoice numberings for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "type": {
      "description": "party/accounting system type",
      "type": "string"
    },
    "available": {
      "description": "supported numbering groups",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "numbering": {
      "description": "available numbering definitions",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
  },
  "required": [
    "type",
    "available",
    "numbering"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Import invoice XML and return vendor response.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "xml": {
      "description": "invoice XML content",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "xml"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "vendor import response message",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Attach a file to an invoice.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "invoice": {
      "description": "invoice number",
      "type": "string"
    },
    "name": {
      "description": "file name",
      "type": "string"
    },
    "content": {
      "description": "base64-encoded file content",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "invoice",
    "name",
    "content"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "result message or ID",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Update invoice or line facility (centre, activity, order).
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "invoice_id": {
      "description": "invoice internal id",
      "type": "number"
    },
    "invoice_item_id": {
      "description": "invoice item id (optional)",
      "type": "number"
    },
    "refStr": {
      "description": "cost centre id",
      "type": "number"
    },
    "refCin": {
      "description": "activity id",
      "type": "number"
    },
    "cisloZAK": {
      "description": "order/commission code",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "invoice_id"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "result message",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/bank
List bank accounts for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "account identifiers",
        "type": "string"
      },
      "IBAN": {
        "description": "international bank account number",
        "type": "string"
      },
      "Swift": {
        "description": "swift code",
        "type": "string"
      },
      "SText": {
        "description": "account name",
        "type": "string"
      },
      "KodBanky": {
        "description": "bank code",
        "type": "string"
      },
      "Banka": {
        "description": "bank name",
        "type": "string"
      },
      "Mena": {
        "description": "currency",
        "type": "string"
      },
      "Zrusen": {
        "description": "cancelation date (YYYY-MM-DD)",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      }
    },
    "required": [
      "ID",
      "IDS",
      "IBAN",
      "Swift",
      "SText",
      "KodBanky",
      "Banka",
      "Mena",
      "Zrusen"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get bank account detail by ID.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "bank account ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "ID": {
      "description": "database id",
      "type": "number"
    },
    "IDS": {
      "description": "account identifiers",
      "type": "string"
    },
    "IBAN": {
      "description": "international bank account number",
      "type": "string"
    },
    "Swift": {
      "description": "swift code",
      "type": "string"
    },
    "SText": {
      "description": "account name",
      "type": "string"
    },
    "KodBanky": {
      "description": "bank code",
      "type": "string"
    },
    "Banka": {
      "description": "bank name",
      "type": "string"
    },
    "Mena": {
      "description": "currency",
      "type": "string"
    },
    "Zrusen": {
      "description": "cancelation date (YYYY-MM-DD) or null",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "ID",
    "IDS",
    "IBAN",
    "Swift",
    "SText",
    "KodBanky",
    "Banka",
    "Mena",
    "Zrusen"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List bank movements with server-side filtering and pagination.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Amount": {
            "type": "number"
          },
          "Credit": {
            "type": "number"
          },
          "Debit": {
            "type": "number"
          },
          "Jmeno": {
            "type": "string"
          },
          "Banka": {
            "type": "string"
          },
          "Cislo": {
            "type": "string"
          },
          "DIC": {
            "type": "string"
          },
          "DPH": {
            "type": "string"
          },
          "Dir": {
            "type": "string"
          },
          "Firma": {
            "type": "string"
          },
          "ICDPH": {
            "type": "string"
          },
          "ICO": {
            "type": "string"
          },
          "Obec": {
            "type": "string"
          },
          "PSC": {
            "type": "string"
          },
          "SText": {
            "type": "string"
          },
          "Ulice": {
            "type": "string"
          },
          "VarSym": {
            "type": "string"
          },
          "Vypis": {
            "type": "string"
          },
          "Kc0": {
            "type": "number"
          },
          "Kc1": {
            "type": "number"
          },
          "Kc2": {
            "type": "number"
          },
          "Kc3": {
            "type": "number"
          },
          "KcDPH1": {
            "type": "number"
          },
          "KcDPH2": {
            "type": "number"
          },
          "KcDPH3": {
            "type": "number"
          },
          "RelPk": {
            "type": "number"
          },
          "RelTpDPH": {
            "type": "number"
          },
          "RelTpKVDPH": {
            "type": "number"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatPlat": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatCreate": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "RefUcet": {
            "type": "number"
          },
          "RelAgID": {
            "type": "number"
          },
          "RelJeUcet": {
            "type": "number"
          },
          "RelTpBV": {
            "type": "number"
          },
          "sUcet_ID": {
            "type": "number"
          },
          "pud": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "UD": {
                  "type": "string"
                },
                "UMD": {
                  "type": "string"
                }
              },
              "required": [
                "UD",
                "UMD"
              ],
              "additionalProperties": false
            }
          },
          "SumaBezDPH": {
            "type": "number"
          },
          "RefStr": {
            "type": "number"
          },
          "RefCin": {
            "type": "number"
          },
          "CisloZAK": {
            "type": "string"
          },
          "cinnost_ids": {
            "type": "string"
          },
          "stredisko_ids": {
            "type": "string"
          },
          "predkontacia_ids": {
            "type": "string"
          },
          "clenenie_dph_ids": {
            "type": "string"
          },
          "clenenie_kvdph_ids": {
            "type": "string"
          },
          "polozky": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "type": "number"
                },
                "Mnozstvi": {
                  "type": "number"
                },
                "KcJedn": {
                  "type": "number"
                },
                "Kc": {
                  "type": "number"
                },
                "KcDPH": {
                  "type": "number"
                },
                "SText": {
                  "type": "string"
                },
                "Pozn": {
                  "type": "string"
                },
                "RelPk": {
                  "type": "number"
                },
                "RelTpDPH": {
                  "type": "number"
                },
                "RelTpKVDPH": {
                  "type": "number"
                },
                "RelSzDPH": {
                  "type": "number"
                },
                "ProcentoDPH": {
                  "type": "number"
                },
                "SDph": {
                  "type": "boolean"
                },
                "RefAg": {
                  "type": "number"
                },
                "RefStr": {
                  "type": "number"
                },
                "RefCin": {
                  "type": "number"
                },
                "CisloZAK": {
                  "type": "string"
                },
                "cinnost_ids": {
                  "type": "string"
                },
                "stredisko_ids": {
                  "type": "string"
                },
                "predkontacia_ids": {
                  "type": "string"
                },
                "clenenie_dph_ids": {
                  "type": "string"
                },
                "clenenie_kvdph_ids": {
                  "type": "string"
                }
              },
              "required": [
                "ID",
                "Mnozstvi",
                "KcJedn",
                "Kc",
                "KcDPH",
                "SText",
                "Pozn",
                "RelPk",
                "RelTpDPH",
                "RelTpKVDPH",
                "RelSzDPH",
                "ProcentoDPH",
                "SDph",
                "RefAg",
                "RefStr",
                "RefCin",
                "CisloZAK",
                "cinnost_ids",
                "stredisko_ids",
                "predkontacia_ids",
                "clenenie_dph_ids",
                "clenenie_kvdph_ids"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "ID",
          "Amount",
          "Credit",
          "Debit",
          "Jmeno",
          "Banka",
          "Cislo",
          "DIC",
          "DPH",
          "Dir",
          "Firma",
          "ICDPH",
          "ICO",
          "Obec",
          "PSC",
          "SText",
          "Ulice",
          "VarSym",
          "Vypis",
          "Kc0",
          "Kc1",
          "Kc2",
          "Kc3",
          "KcDPH1",
          "KcDPH2",
          "KcDPH3",
          "RelPk",
          "RelTpDPH",
          "RelTpKVDPH",
          "Datum",
          "DatPlat",
          "DatCreate",
          "RefUcet",
          "RelAgID",
          "RelJeUcet",
          "RelTpBV",
          "sUcet_ID",
          "pud",
          "SumaBezDPH",
          "RefStr",
          "RefCin",
          "CisloZAK",
          "cinnost_ids",
          "stredisko_ids",
          "predkontacia_ids",
          "clenenie_dph_ids",
          "clenenie_kvdph_ids",
          "polozky"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get bank account balance as of date.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "account_id": {
      "description": "bank account ID",
      "type": "number"
    },
    "date_from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "date_to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "uid",
    "account_id",
    "date_from",
    "date_to"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "balance": {
      "description": "balance amount within range",
      "type": "number"
    }
  },
  "required": [
    "balance"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List bank balances as of date.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "date_from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "date_to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "uid",
    "date_from",
    "date_to"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "description": "account id",
        "type": "number"
      },
      "IDS": {
        "description": "account code",
        "type": "string"
      },
      "Banka": {
        "description": "bank name",
        "type": "string"
      },
      "IBAN": {
        "description": "international account number",
        "type": "string"
      },
      "balance": {
        "description": "running balance before end of date",
        "type": "number"
      }
    },
    "required": [
      "id",
      "IDS",
      "Banka",
      "IBAN",
      "balance"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/slovensko
Lookup companies in the tax register.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "search": {
      "description": "partial company name or ICO",
      "type": "string"
    }
  },
  "required": [
    "search"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "cin": {
        "description": "company id (ICO)",
        "type": "string"
      },
      "tin": {
        "description": "tax id (DIC)",
        "type": "string"
      },
      "vatin": {
        "description": "VAT id (ICDPH)",
        "type": "string"
      },
      "name": {
        "description": "company name",
        "type": "string"
      },
      "street": {
        "description": "street",
        "type": "string"
      },
      "municipality": {
        "description": "municipality/city",
        "type": "string"
      },
      "postal_code": {
        "description": "postal code",
        "type": "string"
      },
      "country": {
        "description": "country",
        "type": "string"
      },
      "effective_to": {
        "description": "effective to (YYYY-MM-DD)",
        "type": "string"
      }
    },
    "required": [
      "cin",
      "tin",
      "vatin",
      "name",
      "street",
      "municipality",
      "postal_code",
      "country",
      "effective_to"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Lookup companies in the VAT register.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "search": {
      "description": "partial company name or ICO",
      "type": "string"
    }
  },
  "required": [
    "search"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "cin": {
        "description": "company id (ICO)",
        "type": "string"
      },
      "vatin": {
        "description": "VAT id (ICDPH)",
        "type": "string"
      },
      "name": {
        "description": "company name",
        "type": "string"
      },
      "street": {
        "description": "street",
        "type": "string"
      },
      "municipality": {
        "description": "municipality/city",
        "type": "string"
      },
      "postal_code": {
        "description": "postal code",
        "type": "string"
      },
      "country": {
        "description": "country",
        "type": "string"
      },
      "effective_to": {
        "description": "effective to (YYYY-MM-DD)",
        "type": "string"
      },
      "registered_on": {
        "description": "registered on (YYYY-MM-DD)",
        "type": "string"
      },
      "registration_kind": {
        "description": "type of VAT registration",
        "type": "string"
      }
    },
    "required": [
      "cin",
      "vatin",
      "name",
      "street",
      "municipality",
      "postal_code",
      "country",
      "effective_to",
      "registered_on",
      "registration_kind"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/storage
List storages with total inventory value.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "storage id",
        "type": "number"
      },
      "IDS": {
        "description": "storage code",
        "type": "string"
      },
      "SText": {
        "description": "storage name",
        "type": "string"
      },
      "suma": {
        "description": "total inventory value",
        "type": "number"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText",
      "suma"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List items for a specific storage.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "storage ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "item id",
        "type": "number"
      },
      "IDS": {
        "description": "item code",
        "type": "string"
      },
      "EAN": {
        "description": "barcode",
        "nullable": true,
        "type": "string"
      },
      "RefSklad": {
        "description": "storage id",
        "type": "number"
      },
      "Nazev": {
        "description": "item name",
        "type": "string"
      },
      "SText": {
        "description": "description",
        "type": "string"
      },
      "StavZ": {
        "description": "stock quantity",
        "type": "number"
      },
      "MJ": {
        "description": "unit",
        "type": "string"
      },
      "NakupC": {
        "description": "purchase price",
        "type": "number"
      }
    },
    "required": [
      "ID",
      "IDS",
      "EAN",
      "RefSklad",
      "Nazev",
      "SText",
      "StavZ",
      "MJ",
      "NakupC"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/cash
List cash accounts for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "database id",
        "type": "number"
      },
      "IDS": {
        "description": "cash account identifiers",
        "type": "string"
      },
      "SText": {
        "description": "cash account name",
        "type": "string"
      },
      "Mena": {
        "description": "currency",
        "type": "string"
      },
      "Zrusen": {
        "description": "cancelation date (YYYY-MM-DD)",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      }
    },
    "required": [
      "ID",
      "IDS",
      "SText",
      "Mena",
      "Zrusen"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List cash movements with server-side filtering and pagination.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "RelTpHO": {
            "type": "number"
          },
          "Amount": {
            "type": "number"
          },
          "CmCelkem": {
            "type": "number"
          },
          "DIC": {
            "type": "string"
          },
          "DPH": {
            "type": "number"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatPlat": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatZdPln": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatCreate": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dir": {
            "type": "string"
          },
          "Firma": {
            "type": "string"
          },
          "ICDPH": {
            "type": "string"
          },
          "ICO": {
            "type": "string"
          },
          "IDS": {
            "type": "string"
          },
          "Jmeno": {
            "type": "string"
          },
          "Obec": {
            "type": "string"
          },
          "PSC": {
            "type": "string"
          },
          "SText": {
            "type": "string"
          },
          "Kc0": {
            "type": "number"
          },
          "Kc1": {
            "type": "number"
          },
          "Kc2": {
            "type": "number"
          },
          "Kc3": {
            "type": "number"
          },
          "KcDPH1": {
            "type": "number"
          },
          "KcDPH2": {
            "type": "number"
          },
          "KcDPH3": {
            "type": "number"
          },
          "RelPk": {
            "type": "number"
          },
          "RelTpDPH": {
            "type": "number"
          },
          "RelTpKVDPH": {
            "type": "number"
          },
          "SumaBezDPH": {
            "type": "number"
          },
          "Ulice": {
            "type": "string"
          },
          "mena": {
            "type": "string"
          },
          "znacka_meny": {
            "type": "string"
          },
          "ParSym": {
            "type": "string"
          },
          "Cislo": {
            "type": "string"
          },
          "pud": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "UD": {
                  "type": "string"
                },
                "UMD": {
                  "type": "string"
                }
              },
              "required": [
                "UD",
                "UMD"
              ],
              "additionalProperties": false
            }
          },
          "RefStr": {
            "type": "number"
          },
          "RefCin": {
            "type": "number"
          },
          "CisloZAK": {
            "type": "string"
          },
          "cinnost_ids": {
            "type": "string"
          },
          "stredisko_ids": {
            "type": "string"
          },
          "predkontacia_ids": {
            "type": "string"
          },
          "clenenie_dph_ids": {
            "type": "string"
          },
          "clenenie_kvdph_ids": {
            "type": "string"
          },
          "polozky": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "type": "number"
                },
                "Mnozstvi": {
                  "type": "number"
                },
                "KcJedn": {
                  "type": "number"
                },
                "Kc": {
                  "type": "number"
                },
                "KcDPH": {
                  "type": "number"
                },
                "SText": {
                  "type": "string"
                },
                "Pozn": {
                  "type": "string"
                },
                "RelPk": {
                  "type": "number"
                },
                "RelTpDPH": {
                  "type": "number"
                },
                "RelTpKVDPH": {
                  "type": "number"
                },
                "RelSzDPH": {
                  "type": "number"
                },
                "ProcentoDPH": {
                  "type": "number"
                },
                "SDph": {
                  "type": "boolean"
                },
                "RefAg": {
                  "type": "number"
                },
                "RefStr": {
                  "type": "number"
                },
                "RefCin": {
                  "type": "number"
                },
                "CisloZAK": {
                  "type": "string"
                },
                "cinnost_ids": {
                  "type": "string"
                },
                "stredisko_ids": {
                  "type": "string"
                },
                "predkontacia_ids": {
                  "type": "string"
                },
                "clenenie_dph_ids": {
                  "type": "string"
                },
                "clenenie_kvdph_ids": {
                  "type": "string"
                }
              },
              "required": [
                "ID",
                "Mnozstvi",
                "KcJedn",
                "Kc",
                "KcDPH",
                "SText",
                "Pozn",
                "RelPk",
                "RelTpDPH",
                "RelTpKVDPH",
                "RelSzDPH",
                "ProcentoDPH",
                "SDph",
                "RefAg",
                "RefStr",
                "RefCin",
                "CisloZAK",
                "cinnost_ids",
                "stredisko_ids",
                "predkontacia_ids",
                "clenenie_dph_ids",
                "clenenie_kvdph_ids"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "ID",
          "RelTpHO",
          "Amount",
          "CmCelkem",
          "DIC",
          "DPH",
          "Datum",
          "DatPlat",
          "DatZdPln",
          "DatCreate",
          "Dir",
          "Firma",
          "ICDPH",
          "ICO",
          "IDS",
          "Jmeno",
          "Obec",
          "PSC",
          "SText",
          "Kc0",
          "Kc1",
          "Kc2",
          "Kc3",
          "KcDPH1",
          "KcDPH2",
          "KcDPH3",
          "RelPk",
          "RelTpDPH",
          "RelTpKVDPH",
          "SumaBezDPH",
          "Ulice",
          "mena",
          "znacka_meny",
          "ParSym",
          "Cislo",
          "pud",
          "RefStr",
          "RefCin",
          "CisloZAK",
          "cinnost_ids",
          "stredisko_ids",
          "predkontacia_ids",
          "clenenie_dph_ids",
          "clenenie_kvdph_ids",
          "polozky"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get cash register balance as of date.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "cash register ID",
      "type": "number"
    },
    "date": {
      "description": "as-of date (YYYY-MM-DD); defaults to today",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "balance": {
      "description": "current balance as of date",
      "type": "number"
    }
  },
  "required": [
    "balance"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List cash register balances as of date.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "date": {
      "description": "as-of date (YYYY-MM-DD); defaults to today",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "description": "cash id",
        "type": "number"
      },
      "IDS": {
        "description": "cash code",
        "type": "string"
      },
      "SText": {
        "description": "cash name",
        "type": "string"
      },
      "balance": {
        "description": "running balance before end of date",
        "type": "number"
      }
    },
    "required": [
      "id",
      "IDS",
      "SText",
      "balance"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List cash numberings for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "type": {
      "description": "party/accounting system type",
      "type": "string"
    },
    "available": {
      "description": "supported numbering groups",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "numbering": {
      "description": "available numbering definitions",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
  },
  "required": [
    "type",
    "available",
    "numbering"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Import cash voucher XML and return vendor response.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "xml": {
      "description": "cash movements XML content",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "xml"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "vendor import response message",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/sql
Run a read-only SQL SELECT for a unit and return rows.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "sql": {
      "description": "SQL SELECT query (use :db for database placeholder)",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "sql"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {}
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Run a read-only SQL SELECT for a unit and return a single row.
Example
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "sql": {
      "description": "SQL SELECT returning a single row (use :db for database placeholder)",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "sql"
  ],
  "additionalProperties": false
}
Response
200application/json
{}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/personal
List employees for a unit.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "employee_number": {
        "description": "employee number",
        "type": "string"
      },
      "employee_name": {
        "description": "employee name",
        "type": "string"
      },
      "employee_surname": {
        "description": "employee surname",
        "type": "string"
      },
      "employee_prefix": {
        "description": "employee prefix",
        "type": "string"
      },
      "employee_birth_number": {
        "description": "employee birth number",
        "type": "string"
      },
      "employment_enter_date": {
        "description": "employment start date in \"yyyy-mm-dd\" format",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "employment_leave_date": {
        "description": "employment end date in \"yyyy-mm-dd\" format",
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "employment_active": {
        "description": "employment active",
        "type": "boolean"
      },
      "employment_number": {
        "description": "employment number",
        "type": "string"
      },
      "employment_position": {
        "description": "employment position",
        "type": "string"
      },
      "employment_name": {
        "description": "employment name",
        "type": "string"
      },
      "employment_place": {
        "description": "employment place",
        "type": "string"
      },
      "department_name": {
        "description": "department name",
        "type": "string"
      },
      "working_hour_start": {
        "description": "working hour start",
        "type": "string"
      },
      "working_hour_end": {
        "description": "working hour end",
        "type": "string"
      },
      "working_schedule": {
        "description": "working schedule",
        "type": "string"
      },
      "working_daily": {
        "description": "working daily",
        "type": "string"
      },
      "working_weekly": {
        "description": "working weekly",
        "type": "string"
      },
      "working_monthly": {
        "description": "working monthly",
        "type": "string"
      }
    },
    "required": [
      "employee_number",
      "employee_name",
      "employee_surname",
      "employee_prefix",
      "employee_birth_number",
      "employment_enter_date",
      "employment_leave_date",
      "employment_active",
      "employment_number",
      "employment_position",
      "employment_name",
      "employment_place",
      "department_name",
      "working_hour_start",
      "working_hour_end",
      "working_schedule",
      "working_daily",
      "working_weekly",
      "working_monthly"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List employments with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "query": {
      "description": "collate query (from,size,ids,asc,desc,on)",
      "type": "object",
      "properties": {
        "from": {
          "description": "offset for pagination",
          "type": "number"
        },
        "size": {
          "description": "page size",
          "type": "number"
        },
        "init": {
          "description": "initial page number",
          "type": "number"
        },
        "ids": {
          "description": "explicit record ids filter",
          "type": "array",
          "items": {
            "type": "number"
          }
        },
        "asc": {
          "description": "sort ascending by field",
          "type": "string"
        },
        "desc": {
          "description": "sort descending by field",
          "type": "string"
        },
        "on": {
          "description": "fields requested/selected",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fields": {
          "description": "server-side field descriptors",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "uid",
    "query"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Cislo": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "DUvazek": {
            "type": "number"
          },
          "UvazekZ": {
            "type": "number"
          },
          "Uvazek1": {
            "type": "number"
          },
          "Uvazek2": {
            "type": "number"
          },
          "Uvazek3": {
            "type": "number"
          },
          "Uvazek4": {
            "type": "number"
          },
          "Uvazek5": {
            "type": "number"
          },
          "Uvazek6": {
            "type": "number"
          },
          "Uvazek7": {
            "type": "number"
          },
          "DatNast": {
            "type": "string"
          },
          "DatOdch": {
            "type": "string"
          },
          "Zarazeni": {
            "type": "string"
          },
          "RefZAM": {
            "type": "number"
          },
          "ZAM": {
            "type": "object",
            "properties": {
              "Jmeno": {
                "type": "string"
              },
              "Prijmeni": {
                "type": "string"
              },
              "Titul": {
                "type": "string"
              },
              "OsCislo": {
                "type": "string"
              },
              "RelStav": {
                "type": "string"
              },
              "Email": {
                "type": "string"
              },
              "DatNar": {
                "type": "string"
              },
              "RodCisl": {
                "type": "string"
              }
            },
            "required": [
              "Jmeno",
              "Prijmeni",
              "Titul",
              "OsCislo",
              "RelStav",
              "Email",
              "DatNar",
              "RodCisl"
            ],
            "additionalProperties": false
          },
          "Str": {
            "type": "string"
          }
        },
        "required": [
          "Cislo",
          "status",
          "DUvazek",
          "UvazekZ",
          "Uvazek1",
          "Uvazek2",
          "Uvazek3",
          "Uvazek4",
          "Uvazek5",
          "Uvazek6",
          "Uvazek7",
          "DatNast",
          "DatOdch",
          "Zarazeni",
          "RefZAM",
          "ZAM",
          "Str"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List employments for one employee.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "employee_id": {
      "description": "employee ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "employee_id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Cislo": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "DUvazek": {
        "type": "number"
      },
      "UvazekZ": {
        "type": "number"
      },
      "Uvazek1": {
        "type": "number"
      },
      "Uvazek2": {
        "type": "number"
      },
      "Uvazek3": {
        "type": "number"
      },
      "Uvazek4": {
        "type": "number"
      },
      "Uvazek5": {
        "type": "number"
      },
      "Uvazek6": {
        "type": "number"
      },
      "Uvazek7": {
        "type": "number"
      },
      "DatNast": {
        "type": "string"
      },
      "DatOdch": {
        "type": "string"
      },
      "Zarazeni": {
        "type": "string"
      },
      "RefZAM": {
        "type": "number"
      },
      "ZAM": {
        "type": "object",
        "properties": {
          "Jmeno": {
            "type": "string"
          },
          "Prijmeni": {
            "type": "string"
          },
          "Titul": {
            "type": "string"
          },
          "OsCislo": {
            "type": "string"
          },
          "RelStav": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "DatNar": {
            "type": "string"
          },
          "RodCisl": {
            "type": "string"
          }
        },
        "required": [
          "Jmeno",
          "Prijmeni",
          "Titul",
          "OsCislo",
          "RelStav",
          "Email",
          "DatNar",
          "RodCisl"
        ],
        "additionalProperties": false
      },
      "Str": {
        "type": "string"
      }
    },
    "required": [
      "Cislo",
      "status",
      "DUvazek",
      "UvazekZ",
      "Uvazek1",
      "Uvazek2",
      "Uvazek3",
      "Uvazek4",
      "Uvazek5",
      "Uvazek6",
      "Uvazek7",
      "DatNast",
      "DatOdch",
      "Zarazeni",
      "RefZAM",
      "ZAM",
      "Str"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List absences in a date range for optional employees.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "absence id",
        "type": "number"
      },
      "RefAg": {
        "description": "employment id",
        "type": "number"
      },
      "DatZac": {
        "description": "start date YYYY-MM-DD",
        "type": "string"
      },
      "DatKon": {
        "description": "end date YYYY-MM-DD",
        "type": "string"
      },
      "DnyPrac": {
        "description": "working days",
        "type": "number"
      },
      "DnyKal": {
        "description": "calendar days",
        "type": "number"
      },
      "Dnu": {
        "description": "business days",
        "type": "number"
      },
      "RelDrDov": {
        "description": "absence type code",
        "type": "number"
      },
      "ZacPrac": {
        "description": "start time value",
        "type": "number"
      },
      "RelZacJ": {
        "description": "start time unit",
        "type": "number"
      },
      "KonPrac": {
        "description": "end time value",
        "type": "number"
      },
      "RelKonJ": {
        "description": "end time unit",
        "type": "number"
      },
      "locked": {
        "description": "locked flag",
        "type": "boolean"
      }
    },
    "required": [
      "ID",
      "RefAg",
      "DatZac",
      "DatKon",
      "DnyPrac",
      "DnyKal",
      "Dnu",
      "RelDrDov",
      "locked"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Remove absences by IDs and return removed rows.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "number"
      }
    }
  },
  "required": [
    "uid",
    "ids"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "description": "absence id",
        "type": "number"
      },
      "RefAg": {
        "description": "employment id",
        "type": "number"
      },
      "DatZac": {
        "description": "start date YYYY-MM-DD",
        "type": "string"
      },
      "DatKon": {
        "description": "end date YYYY-MM-DD",
        "type": "string"
      },
      "DnyPrac": {
        "description": "working days",
        "type": "number"
      },
      "DnyKal": {
        "description": "calendar days",
        "type": "number"
      },
      "Dnu": {
        "description": "business days",
        "type": "number"
      },
      "RelDrDov": {
        "description": "absence type code",
        "type": "number"
      },
      "ZacPrac": {
        "description": "start time value",
        "type": "number"
      },
      "RelZacJ": {
        "description": "start time unit",
        "type": "number"
      },
      "KonPrac": {
        "description": "end time value",
        "type": "number"
      },
      "RelKonJ": {
        "description": "end time unit",
        "type": "number"
      },
      "locked": {
        "description": "locked flag",
        "type": "boolean"
      }
    },
    "required": [
      "ID",
      "RefAg",
      "DatZac",
      "DatKon",
      "DnyPrac",
      "DnyKal",
      "Dnu",
      "RelDrDov",
      "locked"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get employee by ID.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "employee ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "Heslo": {
      "type": "string"
    },
    "OsCislo": {
      "type": "string"
    },
    "Ucet": {
      "type": "string"
    },
    "Tel": {
      "type": "string"
    },
    "Email": {
      "type": "string"
    },
    "COP": {
      "type": "string"
    },
    "Jmeno": {
      "type": "string"
    },
    "Prijmeni": {
      "type": "string"
    },
    "RelStav": {
      "type": "string"
    },
    "Titul": {
      "type": "string"
    },
    "TitulZa": {
      "type": "string"
    },
    "Ulice": {
      "type": "string"
    },
    "CP": {
      "type": "string"
    },
    "Obec": {
      "type": "string"
    },
    "PSC": {
      "type": "string"
    },
    "Stat": {
      "type": "string"
    },
    "KonUlice": {
      "type": "string"
    },
    "KonCP": {
      "type": "string"
    },
    "KonObec": {
      "type": "string"
    },
    "KonPSC": {
      "type": "string"
    },
    "KonStat": {
      "type": "string"
    },
    "DDrDuch": {
      "type": "number"
    },
    "RefPoj": {
      "type": "number"
    },
    "RodCisl": {
      "type": "string"
    },
    "DatNar": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "poistovnaId": {
      "type": "number"
    },
    "poistovnaName": {
      "type": "string"
    }
  },
  "required": [
    "OsCislo",
    "Ucet",
    "Tel",
    "Email",
    "COP",
    "Jmeno",
    "Prijmeni",
    "RelStav",
    "Titul",
    "TitulZa",
    "Ulice",
    "CP",
    "Obec",
    "PSC",
    "Stat",
    "KonUlice",
    "KonCP",
    "KonObec",
    "KonPSC",
    "KonStat",
    "DDrDuch",
    "RefPoj",
    "RodCisl",
    "DatNar",
    "poistovnaId",
    "poistovnaName"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get employee by email.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "email": {
      "description": "employee email",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "email"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "Heslo": {
      "type": "string"
    },
    "OsCislo": {
      "type": "string"
    },
    "Ucet": {
      "type": "string"
    },
    "Tel": {
      "type": "string"
    },
    "Email": {
      "type": "string"
    },
    "COP": {
      "type": "string"
    },
    "Jmeno": {
      "type": "string"
    },
    "Prijmeni": {
      "type": "string"
    },
    "RelStav": {
      "type": "string"
    },
    "Titul": {
      "type": "string"
    },
    "TitulZa": {
      "type": "string"
    },
    "Ulice": {
      "type": "string"
    },
    "CP": {
      "type": "string"
    },
    "Obec": {
      "type": "string"
    },
    "PSC": {
      "type": "string"
    },
    "Stat": {
      "type": "string"
    },
    "KonUlice": {
      "type": "string"
    },
    "KonCP": {
      "type": "string"
    },
    "KonObec": {
      "type": "string"
    },
    "KonPSC": {
      "type": "string"
    },
    "KonStat": {
      "type": "string"
    },
    "DDrDuch": {
      "type": "number"
    },
    "RefPoj": {
      "type": "number"
    },
    "RodCisl": {
      "type": "string"
    },
    "DatNar": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "poistovnaId": {
      "type": "number"
    },
    "poistovnaName": {
      "type": "string"
    }
  },
  "required": [
    "OsCislo",
    "Ucet",
    "Tel",
    "Email",
    "COP",
    "Jmeno",
    "Prijmeni",
    "RelStav",
    "Titul",
    "TitulZa",
    "Ulice",
    "CP",
    "Obec",
    "PSC",
    "Stat",
    "KonUlice",
    "KonCP",
    "KonObec",
    "KonPSC",
    "KonStat",
    "DDrDuch",
    "RefPoj",
    "RodCisl",
    "DatNar",
    "poistovnaId",
    "poistovnaName"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Import Pamica attendance or employee XML and return vendor response.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "xml": {
      "description": "Pamica XML content (attendance or employees)",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "xml"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "vendor import response message",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get employee by employment relationship ID.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "pomer_id": {
      "description": "employment relationship ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "pomer_id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "nullable": true,
  "type": "object",
  "properties": {
    "Heslo": {
      "type": "string"
    },
    "OsCislo": {
      "type": "string"
    },
    "Tel": {
      "type": "string"
    },
    "Email": {
      "type": "string"
    },
    "Ucet": {
      "type": "string"
    },
    "COP": {
      "type": "string"
    },
    "Jmeno": {
      "type": "string"
    },
    "Prijmeni": {
      "type": "string"
    },
    "RelPohl": {
      "type": "string"
    },
    "RelStav": {
      "type": "string"
    },
    "Titul": {
      "type": "string"
    },
    "TitulZa": {
      "type": "string"
    },
    "Ulice": {
      "type": "string"
    },
    "CP": {
      "type": "string"
    },
    "Obec": {
      "type": "string"
    },
    "PSC": {
      "type": "string"
    },
    "Stat": {
      "type": "string"
    },
    "KonUlice": {
      "type": "string"
    },
    "KonCP": {
      "type": "string"
    },
    "KonObec": {
      "type": "string"
    },
    "KonPSC": {
      "type": "string"
    },
    "KonStat": {
      "type": "string"
    },
    "DDrDuch": {
      "type": "number"
    },
    "RefPoj": {
      "type": "number"
    },
    "RodCisl": {
      "type": "string"
    },
    "DatNar": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "Rozena": {
      "type": "string"
    },
    "MistoNar": {
      "type": "string"
    },
    "Narodna": {
      "type": "string"
    },
    "StatPris": {
      "type": "string"
    },
    "NazevPracMist": {
      "type": "string"
    },
    "NazevPoj": {
      "type": "string"
    },
    "NazevPomer": {
      "type": "string"
    }
  },
  "required": [
    "Jmeno",
    "Prijmeni",
    "RelPohl",
    "RelStav",
    "Titul",
    "TitulZa",
    "Ulice",
    "CP",
    "Obec",
    "PSC",
    "Stat",
    "KonUlice",
    "KonCP",
    "KonObec",
    "KonPSC",
    "KonStat",
    "DDrDuch",
    "RefPoj",
    "RodCisl",
    "DatNar",
    "Rozena",
    "MistoNar",
    "Narodna",
    "StatPris"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get employee info with employments.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "employee_id": {
      "description": "employee ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "employee_id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "employee": {
      "type": "object",
      "properties": {
        "Heslo": {
          "type": "string"
        },
        "OsCislo": {
          "type": "string"
        },
        "Tel": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        },
        "Ucet": {
          "type": "string"
        },
        "COP": {
          "type": "string"
        },
        "Jmeno": {
          "type": "string"
        },
        "Prijmeni": {
          "type": "string"
        },
        "RelPohl": {
          "type": "string"
        },
        "RelStav": {
          "type": "string"
        },
        "Titul": {
          "type": "string"
        },
        "TitulZa": {
          "type": "string"
        },
        "Ulice": {
          "type": "string"
        },
        "CP": {
          "type": "string"
        },
        "Obec": {
          "type": "string"
        },
        "PSC": {
          "type": "string"
        },
        "Stat": {
          "type": "string"
        },
        "KonUlice": {
          "type": "string"
        },
        "KonCP": {
          "type": "string"
        },
        "KonObec": {
          "type": "string"
        },
        "KonPSC": {
          "type": "string"
        },
        "KonStat": {
          "type": "string"
        },
        "DDrDuch": {
          "type": "number"
        },
        "RefPoj": {
          "type": "number"
        },
        "RodCisl": {
          "type": "string"
        },
        "DatNar": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "Rozena": {
          "type": "string"
        },
        "MistoNar": {
          "type": "string"
        },
        "Narodna": {
          "type": "string"
        },
        "StatPris": {
          "type": "string"
        },
        "NazevPracMist": {
          "type": "string"
        },
        "NazevPoj": {
          "type": "string"
        },
        "NazevPomer": {
          "type": "string"
        }
      },
      "required": [
        "Jmeno",
        "Prijmeni",
        "RelPohl",
        "RelStav",
        "Titul",
        "TitulZa",
        "Ulice",
        "CP",
        "Obec",
        "PSC",
        "Stat",
        "KonUlice",
        "KonCP",
        "KonObec",
        "KonPSC",
        "KonStat",
        "DDrDuch",
        "RefPoj",
        "RodCisl",
        "DatNar",
        "Rozena",
        "MistoNar",
        "Narodna",
        "StatPris"
      ],
      "additionalProperties": false
    },
    "company": {
      "type": "object",
      "properties": {
        "Soubor": {
          "type": "string"
        },
        "Firma": {
          "type": "string"
        },
        "ICO": {
          "type": "string"
        },
        "Rok": {
          "type": "number"
        }
      },
      "required": [
        "Soubor",
        "Firma",
        "ICO",
        "Rok"
      ],
      "additionalProperties": false
    },
    "pomery": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Cislo": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "DUvazek": {
            "type": "number"
          },
          "UvazekZ": {
            "type": "number"
          },
          "Uvazek1": {
            "type": "number"
          },
          "Uvazek2": {
            "type": "number"
          },
          "Uvazek3": {
            "type": "number"
          },
          "Uvazek4": {
            "type": "number"
          },
          "Uvazek5": {
            "type": "number"
          },
          "Uvazek6": {
            "type": "number"
          },
          "Uvazek7": {
            "type": "number"
          },
          "DatNast": {
            "type": "string"
          },
          "DatOdch": {
            "type": "string"
          },
          "Zarazeni": {
            "type": "string"
          },
          "RefZAM": {
            "type": "number"
          },
          "ZAM": {
            "type": "object",
            "properties": {
              "Jmeno": {
                "type": "string"
              },
              "Prijmeni": {
                "type": "string"
              },
              "Titul": {
                "type": "string"
              },
              "OsCislo": {
                "type": "string"
              },
              "RelStav": {
                "type": "string"
              },
              "Email": {
                "type": "string"
              },
              "DatNar": {
                "type": "string"
              },
              "RodCisl": {
                "type": "string"
              }
            },
            "required": [
              "Jmeno",
              "Prijmeni",
              "Titul",
              "OsCislo",
              "RelStav",
              "Email",
              "DatNar",
              "RodCisl"
            ],
            "additionalProperties": false
          },
          "Str": {
            "type": "string"
          }
        },
        "required": [
          "Cislo",
          "status",
          "DUvazek",
          "UvazekZ",
          "Uvazek1",
          "Uvazek2",
          "Uvazek3",
          "Uvazek4",
          "Uvazek5",
          "Uvazek6",
          "Uvazek7",
          "DatNast",
          "DatOdch",
          "Zarazeni",
          "RefZAM",
          "ZAM",
          "Str"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "employee",
    "company",
    "pomery"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Update employee password and optionally email.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "type": "number"
    },
    "pwd": {
      "type": "string"
    },
    "email": {
      "type": "string"
    }
  },
  "required": [
    "uid",
    "id",
    "pwd",
    "email"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Update employee contact fields (password, email, phone).
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "type": "number"
    },
    "pwd": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "number": {
      "type": "string"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get employee profile with children and additional info.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "employee_id": {
      "description": "employee ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "employee_id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "employee profile"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get a salary with items and deductions.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "salary_id": {
      "description": "salary ID",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "salary_id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "srazky": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "SText": {
            "type": "string"
          },
          "RefAg": {
            "type": "number"
          },
          "DatOd": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatDo": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Cela": {
            "type": "number"
          },
          "Kc": {
            "type": "number"
          },
          "Rozhod": {
            "type": "string"
          },
          "RelDrSra": {
            "type": "number"
          },
          "RelPk": {
            "type": "number"
          },
          "Ucet": {
            "type": "string"
          },
          "KodBanky": {
            "type": "string"
          },
          "SpecSym": {
            "type": "string"
          },
          "KonstSym": {
            "type": "string"
          },
          "VarSym": {
            "type": "string"
          },
          "Adresa": {
            "type": "string"
          },
          "RelFond": {
            "type": "number"
          },
          "RelZivPj": {
            "type": "number"
          },
          "KcCelkem": {
            "type": "number"
          },
          "Proc": {
            "type": "number"
          },
          "PlTitul": {
            "type": "string"
          },
          "HodnTxt2": {
            "type": "string"
          },
          "KcSrazeno": {
            "type": "number"
          },
          "KcSrazit": {
            "type": "number"
          },
          "search": {
            "type": "string"
          },
          "UcetKod": {
            "type": "string"
          },
          "Tel": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "COP": {
            "type": "string"
          },
          "Jmeno": {
            "type": "string"
          },
          "Prijmeni": {
            "type": "string"
          },
          "RelStav": {
            "type": "number"
          },
          "Titul": {
            "type": "string"
          },
          "TitulZa": {
            "type": "string"
          },
          "Ulice": {
            "type": "string"
          },
          "CP": {
            "type": "string"
          },
          "Obec": {
            "type": "string"
          },
          "PSC": {
            "type": "string"
          },
          "Stat": {
            "type": "string"
          },
          "RodCisl": {
            "type": "string"
          },
          "DatNar": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Cislo": {
            "type": "string"
          },
          "RelDruhZ": {
            "type": "number"
          },
          "Zarazeni": {
            "type": "string"
          },
          "costCenter": {
            "type": "string"
          },
          "fullname": {
            "type": "string"
          }
        },
        "required": [
          "SText",
          "RefAg",
          "DatOd",
          "DatDo",
          "Cela",
          "Kc",
          "Rozhod",
          "RelDrSra",
          "RelPk",
          "Ucet",
          "KodBanky",
          "SpecSym",
          "KonstSym",
          "VarSym",
          "Adresa",
          "RelFond",
          "RelZivPj",
          "KcCelkem",
          "Proc",
          "PlTitul",
          "HodnTxt2",
          "KcSrazeno",
          "KcSrazit",
          "search",
          "UcetKod",
          "Tel",
          "Email",
          "COP",
          "Jmeno",
          "Prijmeni",
          "RelStav",
          "Titul",
          "TitulZa",
          "Ulice",
          "CP",
          "Obec",
          "PSC",
          "Stat",
          "RodCisl",
          "DatNar",
          "Cislo",
          "RelDruhZ",
          "Zarazeni",
          "costCenter",
          "fullname"
        ],
        "additionalProperties": false
      }
    },
    "slozky": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Cislo": {
            "type": "string"
          },
          "RefAg": {
            "type": "number"
          },
          "Kc": {
            "type": "number"
          },
          "Ucet": {
            "type": "string"
          },
          "SText": {
            "type": "string"
          },
          "DatOd": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatDo": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "RefSlozky": {
            "type": "number"
          },
          "RelDruhSlozky": {
            "type": "number"
          },
          "Hod": {
            "type": "number"
          },
          "Proc": {
            "type": "number"
          },
          "Sazba": {
            "type": "number"
          },
          "costCenter": {
            "type": "string"
          },
          "Nazev": {
            "type": "string"
          },
          "HodnTxt1": {
            "type": "string"
          },
          "KcMzda": {
            "type": "number"
          },
          "HodnTxt2": {
            "type": "string"
          },
          "PocHodin": {
            "type": "number"
          }
        },
        "required": [
          "Cislo",
          "RefAg",
          "Kc",
          "Ucet",
          "SText",
          "DatOd",
          "DatDo",
          "RefSlozky",
          "RelDruhSlozky",
          "Hod",
          "Proc",
          "Sazba",
          "costCenter",
          "Nazev",
          "HodnTxt1",
          "KcMzda",
          "HodnTxt2",
          "PocHodin"
        ],
        "additionalProperties": false
      }
    },
    "salary": {
      "nullable": true,
      "type": "object",
      "properties": {
        "DatCreate": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "RodCisl": {
          "type": "string"
        },
        "RefZAM": {
          "type": "number"
        },
        "DnyStSv": {
          "type": "number"
        },
        "KcVyuct": {
          "type": "number"
        },
        "KcNahrN": {
          "type": "number"
        },
        "KcNahrN2": {
          "type": "number"
        },
        "KcCistaM": {
          "type": "number"
        },
        "KcZaloha": {
          "type": "number"
        },
        "KcDavNem": {
          "type": "number"
        },
        "KcSrazky": {
          "type": "number"
        },
        "KcDanBRZ": {
          "type": "number"
        },
        "KcZdaM": {
          "type": "number"
        },
        "KcDanBon": {
          "type": "number"
        },
        "KcDanUpr": {
          "type": "number"
        },
        "KcNzdZakNeom": {
          "type": "number"
        },
        "KcZalDan": {
          "type": "number"
        },
        "KcRzzp": {
          "type": "number"
        },
        "KcFzZak": {
          "type": "number"
        },
        "KcInvZak": {
          "type": "number"
        },
        "KcSocZak": {
          "type": "number"
        },
        "KcNemZak": {
          "type": "number"
        },
        "KcZdrZak": {
          "type": "number"
        },
        "KcUraUpr": {
          "type": "number"
        },
        "KcUraZak": {
          "type": "number"
        },
        "KcRezZak": {
          "type": "number"
        },
        "KcGfZak": {
          "type": "number"
        },
        "KcFzZakL": {
          "type": "number"
        },
        "KcInvZakL": {
          "type": "number"
        },
        "KcSocZakL": {
          "type": "number"
        },
        "KcNemZakL": {
          "type": "number"
        },
        "KcPop": {
          "type": "number"
        },
        "KcPrek": {
          "type": "number"
        },
        "HodPrek": {
          "type": "number"
        },
        "KcJkor": {
          "type": "number"
        },
        "HodJkor": {
          "type": "number"
        },
        "KcNahrZ": {
          "type": "number"
        },
        "KcSobota": {
          "type": "number"
        },
        "KcNedele": {
          "type": "number"
        },
        "HodSobota": {
          "type": "number"
        },
        "HodNedele": {
          "type": "number"
        },
        "KcNoc": {
          "type": "number"
        },
        "HodNoc": {
          "type": "number"
        },
        "KcDoplat": {
          "type": "number"
        },
        "KcDovPrepl": {
          "type": "number"
        },
        "DovolPrepl": {
          "type": "number"
        },
        "KcJproc": {
          "type": "number"
        },
        "HodJproc": {
          "type": "number"
        },
        "KcProst": {
          "type": "number"
        },
        "HodProst": {
          "type": "number"
        },
        "KcPres": {
          "type": "number"
        },
        "HodPres": {
          "type": "number"
        },
        "KcPlacV": {
          "type": "number"
        },
        "DnyPlacV": {
          "type": "number"
        },
        "HodSvat": {
          "type": "number"
        },
        "KcSvatN": {
          "type": "number"
        },
        "KcSvatZaklM": {
          "type": "number"
        },
        "DnySvat": {
          "type": "number"
        },
        "DnyTrest": {
          "type": "number"
        },
        "DnyPrek": {
          "type": "number"
        },
        "KcDov": {
          "type": "number"
        },
        "Dovol": {
          "type": "number"
        },
        "KcSvat": {
          "type": "number"
        },
        "KcSzM": {
          "type": "number"
        },
        "KcNadcas": {
          "type": "number"
        },
        "KcZaklM": {
          "type": "number"
        },
        "KcZdrZv": {
          "type": "number"
        },
        "KcDivSPZP": {
          "type": "number"
        },
        "KcNatPj": {
          "type": "number"
        },
        "KcZvZkPj": {
          "type": "number"
        },
        "KcSfNepn": {
          "type": "number"
        },
        "KcZivPoj": {
          "type": "number"
        },
        "KcVozidlo": {
          "type": "number"
        },
        "HodStrajk": {
          "type": "number"
        },
        "DnyStrajk": {
          "type": "number"
        },
        "HodNepl": {
          "type": "number"
        },
        "Neplac": {
          "type": "number"
        },
        "HodNeoml": {
          "type": "number"
        },
        "Neomluv": {
          "type": "number"
        },
        "DnyMater": {
          "type": "number"
        },
        "DnyOCR": {
          "type": "number"
        },
        "Nemoc": {
          "type": "number"
        },
        "HodOdpra": {
          "type": "number"
        },
        "DnyOdpra": {
          "type": "number"
        },
        "DnyPrac": {
          "type": "number"
        },
        "DnyKal": {
          "type": "number"
        },
        "KcPrum": {
          "type": "number"
        },
        "DovolZ": {
          "type": "number"
        },
        "RelDruhZ": {
          "type": "number"
        },
        "Zarazeni": {
          "type": "string"
        },
        "Rok": {
          "type": "number"
        },
        "RelMes": {
          "type": "number"
        },
        "KcPripoj": {
          "type": "number"
        },
        "KcHrubaM": {
          "type": "number"
        },
        "KcZdrL": {
          "type": "number"
        },
        "KcUraL": {
          "type": "number"
        },
        "KcRezL": {
          "type": "number"
        },
        "KcGfL": {
          "type": "number"
        },
        "KcFzL": {
          "type": "number"
        },
        "KcInvL": {
          "type": "number"
        },
        "KcSocL": {
          "type": "number"
        },
        "KcNemL": {
          "type": "number"
        },
        "KcZdr": {
          "type": "number"
        },
        "KcZdrMin": {
          "type": "number"
        },
        "KcFz": {
          "type": "number"
        },
        "KcInv": {
          "type": "number"
        },
        "KcSoc": {
          "type": "number"
        },
        "KcNem": {
          "type": "number"
        },
        "KcSfCerp": {
          "type": "number"
        },
        "KcOdchodne": {
          "type": "number"
        },
        "KcOdstupne": {
          "type": "number"
        },
        "KcDivZP": {
          "type": "number"
        },
        "KcPremVyr": {
          "type": "number"
        },
        "KcPremDl": {
          "type": "number"
        },
        "KcPremM": {
          "type": "number"
        },
        "KcOsOhoM": {
          "type": "number"
        },
        "KcPfpZak": {
          "type": "number"
        },
        "KcPfpL": {
          "type": "number"
        },
        "HodNem": {
          "type": "number"
        },
        "KcUrokyRZ": {
          "type": "number"
        },
        "KcNop": {
          "type": "number"
        },
        "SickDaysZbyv": {
          "type": "number"
        },
        "KcPFond": {
          "type": "number"
        },
        "DnySickDays": {
          "type": "number"
        },
        "KcSickDays": {
          "type": "number"
        },
        "KcPriplatky": {
          "type": "number"
        },
        "KcPremie": {
          "type": "number"
        },
        "KcDohodOst": {
          "type": "number"
        },
        "KcNatural": {
          "type": "number"
        },
        "KcZdrSum": {
          "type": "number"
        },
        "KcSocSum": {
          "type": "number"
        },
        "KcZdrLSum": {
          "type": "number"
        },
        "KcSocLSum": {
          "type": "number"
        },
        "KcZdrLZak": {
          "type": "number"
        },
        "KcSocLZak": {
          "type": "number"
        },
        "KcDanZal": {
          "type": "number"
        },
        "KcPreplDanRZ": {
          "type": "number"
        },
        "KcDoplDanBonRZ": {
          "type": "number"
        },
        "KcSraDan": {
          "type": "number"
        },
        "KcNzdZak": {
          "type": "number"
        },
        "KcNzdInv": {
          "type": "number"
        },
        "KcNzdDet": {
          "type": "number"
        },
        "KcNzdOst": {
          "type": "number"
        },
        "KcMimomzd": {
          "type": "number"
        },
        "KcJednorazN": {
          "type": "number"
        },
        "KcDanPrS": {
          "type": "number"
        },
        "RelDruh": {
          "type": "number"
        },
        "KcPoj": {
          "type": "number"
        },
        "ZivPoj": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "type": "number"
              },
              "KcPoj": {
                "type": "number"
              },
              "RelDruh": {
                "type": "number"
              }
            },
            "required": [
              "ID",
              "KcPoj",
              "RelDruh"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "DatCreate",
        "RodCisl",
        "RefZAM",
        "DnyStSv",
        "KcVyuct",
        "KcNahrN",
        "KcNahrN2",
        "KcCistaM",
        "KcZaloha",
        "KcDavNem",
        "KcSrazky",
        "KcDanBRZ",
        "KcZdaM",
        "KcDanBon",
        "KcDanUpr",
        "KcNzdZakNeom",
        "KcZalDan",
        "KcRzzp",
        "KcFzZak",
        "KcInvZak",
        "KcSocZak",
        "KcNemZak",
        "KcZdrZak",
        "KcUraUpr",
        "KcUraZak",
        "KcRezZak",
        "KcGfZak",
        "KcFzZakL",
        "KcInvZakL",
        "KcSocZakL",
        "KcNemZakL",
        "KcPop",
        "KcPrek",
        "HodPrek",
        "KcJkor",
        "HodJkor",
        "KcNahrZ",
        "KcSobota",
        "KcNedele",
        "HodSobota",
        "HodNedele",
        "KcNoc",
        "HodNoc",
        "KcDoplat",
        "KcDovPrepl",
        "DovolPrepl",
        "KcJproc",
        "HodJproc",
        "KcProst",
        "HodProst",
        "KcPres",
        "HodPres",
        "KcPlacV",
        "DnyPlacV",
        "HodSvat",
        "KcSvatN",
        "KcSvatZaklM",
        "DnySvat",
        "DnyTrest",
        "DnyPrek",
        "KcDov",
        "Dovol",
        "KcSvat",
        "KcSzM",
        "KcNadcas",
        "KcZaklM",
        "KcZdrZv",
        "KcDivSPZP",
        "KcNatPj",
        "KcZvZkPj",
        "KcSfNepn",
        "KcZivPoj",
        "KcVozidlo",
        "HodStrajk",
        "DnyStrajk",
        "HodNepl",
        "Neplac",
        "HodNeoml",
        "Neomluv",
        "DnyMater",
        "DnyOCR",
        "Nemoc",
        "HodOdpra",
        "DnyOdpra",
        "DnyPrac",
        "DnyKal",
        "KcPrum",
        "DovolZ",
        "RelDruhZ",
        "Zarazeni",
        "Rok",
        "RelMes",
        "KcPripoj",
        "KcHrubaM",
        "KcZdrL",
        "KcUraL",
        "KcRezL",
        "KcGfL",
        "KcFzL",
        "KcInvL",
        "KcSocL",
        "KcNemL",
        "KcZdr",
        "KcZdrMin",
        "KcFz",
        "KcInv",
        "KcSoc",
        "KcNem",
        "KcSfCerp",
        "KcOdchodne",
        "KcOdstupne",
        "KcDivZP",
        "KcPremVyr",
        "KcPremDl",
        "KcPremM",
        "KcOsOhoM",
        "KcPfpZak",
        "KcPfpL",
        "HodNem",
        "KcUrokyRZ",
        "KcNop",
        "SickDaysZbyv",
        "KcPFond",
        "DnySickDays",
        "KcSickDays",
        "KcPriplatky",
        "KcPremie",
        "KcDohodOst",
        "KcNatural",
        "KcZdrSum",
        "KcSocSum",
        "KcZdrLSum",
        "KcSocLSum",
        "KcZdrLZak",
        "KcSocLZak",
        "KcDanZal",
        "KcPreplDanRZ",
        "KcDoplDanBonRZ",
        "KcSraDan",
        "KcNzdZak",
        "KcNzdInv",
        "KcNzdDet",
        "KcNzdOst",
        "KcMimomzd",
        "KcJednorazN",
        "KcDanPrS",
        "RelDruh",
        "KcPoj",
        "ZivPoj"
      ],
      "additionalProperties": false
    },
    "employee": {
      "nullable": true,
      "allOf": [
        {
          "type": "object",
          "properties": {
            "Heslo": {
              "type": "string"
            },
            "OsCislo": {
              "type": "string"
            },
            "Ucet": {
              "type": "string"
            },
            "Tel": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            },
            "COP": {
              "type": "string"
            },
            "Jmeno": {
              "type": "string"
            },
            "Prijmeni": {
              "type": "string"
            },
            "RelStav": {
              "type": "string"
            },
            "Titul": {
              "type": "string"
            },
            "TitulZa": {
              "type": "string"
            },
            "Ulice": {
              "type": "string"
            },
            "CP": {
              "type": "string"
            },
            "Obec": {
              "type": "string"
            },
            "PSC": {
              "type": "string"
            },
            "Stat": {
              "type": "string"
            },
            "KonUlice": {
              "type": "string"
            },
            "KonCP": {
              "type": "string"
            },
            "KonObec": {
              "type": "string"
            },
            "KonPSC": {
              "type": "string"
            },
            "KonStat": {
              "type": "string"
            },
            "DDrDuch": {
              "type": "number"
            },
            "RefPoj": {
              "type": "number"
            },
            "RodCisl": {
              "type": "string"
            },
            "DatNar": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
            },
            "poistovnaId": {
              "type": "number"
            },
            "poistovnaName": {
              "type": "string"
            }
          },
          "required": [
            "OsCislo",
            "Ucet",
            "Tel",
            "Email",
            "COP",
            "Jmeno",
            "Prijmeni",
            "RelStav",
            "Titul",
            "TitulZa",
            "Ulice",
            "CP",
            "Obec",
            "PSC",
            "Stat",
            "KonUlice",
            "KonCP",
            "KonObec",
            "KonPSC",
            "KonStat",
            "DDrDuch",
            "RefPoj",
            "RodCisl",
            "DatNar",
            "poistovnaId",
            "poistovnaName"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "ID": {
              "type": "number"
            }
          },
          "required": [
            "ID"
          ],
          "additionalProperties": false
        }
      ]
    }
  },
  "required": [
    "srazky",
    "slozky",
    "salary",
    "employee"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List benefit item types.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Cislo": {
        "type": "string"
      },
      "RefAg": {
        "type": "number"
      },
      "Kc": {
        "type": "number"
      },
      "Ucet": {
        "type": "string"
      },
      "SText": {
        "type": "string"
      },
      "DatOd": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "DatDo": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "RefSlozky": {
        "type": "number"
      },
      "RelDruhSlozky": {
        "type": "number"
      },
      "Hod": {
        "type": "number"
      },
      "Proc": {
        "type": "number"
      },
      "Sazba": {
        "type": "number"
      },
      "costCenter": {
        "type": "string"
      },
      "Nazev": {
        "type": "string"
      },
      "HodnTxt1": {
        "type": "string"
      },
      "KcMzda": {
        "type": "number"
      },
      "HodnTxt2": {
        "type": "string"
      },
      "PocHodin": {
        "type": "number"
      }
    },
    "required": [
      "Cislo",
      "RefAg",
      "Kc",
      "Ucet",
      "SText",
      "DatOd",
      "DatDo",
      "RefSlozky",
      "RelDruhSlozky",
      "Hod",
      "Proc",
      "Sazba",
      "costCenter",
      "Nazev",
      "HodnTxt1",
      "KcMzda",
      "HodnTxt2",
      "PocHodin"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List payslips with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "query": {
      "description": "collate payslips query (from,size,ids,asc,desc,on)",
      "type": "object",
      "properties": {
        "from": {
          "description": "offset for pagination",
          "type": "number"
        },
        "size": {
          "description": "page size",
          "type": "number"
        },
        "init": {
          "description": "initial page number",
          "type": "number"
        },
        "ids": {
          "description": "explicit record ids filter",
          "type": "array",
          "items": {
            "type": "number"
          }
        },
        "asc": {
          "description": "sort ascending by field",
          "type": "string"
        },
        "desc": {
          "description": "sort descending by field",
          "type": "string"
        },
        "on": {
          "description": "fields requested/selected",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fields": {
          "description": "server-side field descriptors",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "uid",
    "query"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "OsCislo": {
            "type": "string"
          },
          "RodCisl": {
            "type": "string"
          },
          "Rok": {
            "type": "number"
          },
          "RelMes": {
            "type": "number"
          },
          "employeeId": {
            "type": "number"
          },
          "Jmeno": {
            "type": "string"
          },
          "Prijmeni": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "Heslo": {
            "type": "boolean"
          },
          "pomer_id": {
            "type": "number"
          },
          "employee_id": {
            "type": "number"
          }
        },
        "required": [
          "ID",
          "OsCislo",
          "RodCisl",
          "Rok",
          "RelMes",
          "employeeId",
          "Jmeno",
          "Prijmeni",
          "Email",
          "Heslo",
          "pomer_id",
          "employee_id"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List employment status in a date range.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "employee_ids": {
      "description": "comma-separated employee IDs",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "from",
    "to"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {}
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List employees with basic contact for access control.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "dateTo": {
      "description": "as-of date (YYYY-MM-DD)",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "user_id": {
        "description": "employment/user id",
        "type": "number"
      },
      "company_id": {
        "description": "company id",
        "type": "string"
      },
      "party_id": {
        "description": "party/tenant id",
        "type": "string"
      },
      "company_name": {
        "description": "company name",
        "type": "string"
      },
      "name": {
        "description": "full name",
        "type": "string"
      },
      "email": {
        "description": "email",
        "type": "string"
      },
      "phone": {
        "description": "phone",
        "type": "string"
      },
      "type": {
        "description": "record type",
        "type": "string"
      },
      "search": {
        "description": "search composite",
        "type": "string"
      },
      "leave_date": {
        "description": "leave date (YYYY-MM-DD) or null",
        "nullable": true,
        "type": "string"
      }
    },
    "required": [
      "user_id",
      "company_id",
      "party_id",
      "company_name",
      "name",
      "email",
      "phone",
      "type",
      "search",
      "leave_date"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Create a new employee (recruit).
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "payload": {
      "type": "object",
      "properties": {
        "created_at": {
          "description": "created at in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "updated_at": {
          "description": "updated at in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "company_ico": {
          "description": "company ICO",
          "type": "string"
        },
        "party_id": {
          "description": "party ID",
          "type": "string"
        },
        "pracovny_stav": {
          "description": "employment status",
          "type": "number"
        },
        "titul_pred": {
          "description": "employee prefix",
          "type": "string"
        },
        "meno": {
          "description": "employee name",
          "type": "string"
        },
        "priezvisko": {
          "description": "employee surname",
          "type": "string"
        },
        "titul_za": {
          "description": "employee suffix",
          "type": "string"
        },
        "email": {
          "description": "employee email",
          "type": "string"
        },
        "id_pracovna_pozicia": {
          "description": "employment position",
          "type": "string"
        },
        "pracovna_pozicia": {
          "description": "employment name",
          "type": "string"
        },
        "klasifikacia": {
          "description": "employment place",
          "type": "string"
        },
        "popis_prace": {
          "description": "employment place",
          "type": "string"
        },
        "note": {
          "description": "employment place",
          "type": "string"
        },
        "druh_pracovneho_pomeru": {
          "description": "employment type",
          "type": "number"
        },
        "zaciatok_pracovneho_pomeru": {
          "description": "employment start date in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "miesto_prace": {
          "description": "employment place",
          "type": "string"
        },
        "miesto_prace_kod": {
          "description": "employment place code",
          "type": "string"
        },
        "stredisko": {
          "description": "employment center",
          "type": "string"
        },
        "hruba_mzda": {
          "description": "employment salary",
          "type": "number"
        },
        "hruba_mzda_slovom": {
          "description": "employment salary in slovak",
          "type": "string"
        },
        "reldruhm": {
          "description": "employment type",
          "type": "number"
        },
        "pracovny_fond": {
          "description": "employment fund",
          "type": "number"
        },
        "pracovny_fond_den": {
          "description": "employment fund day",
          "type": "number"
        },
        "praca_na_dobu_urcitu": {
          "description": "employment start date in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "date_sent": {
          "description": "employment start date in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "pohlavie": {
          "description": "employment gender",
          "type": "number"
        },
        "datum_narodenia": {
          "description": "employment birth date in \"yyyy-mm-dd\" format",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "rodne_priezvisko": {
          "description": "employment birth name",
          "type": "string"
        },
        "rodne_cislo": {
          "description": "employment birth number",
          "type": "string"
        },
        "miesto_narodenia": {
          "description": "employment birth place",
          "type": "string"
        },
        "narodnost": {
          "description": "employment nationality",
          "type": "string"
        },
        "statna_prislusnost": {
          "description": "employment state",
          "type": "string"
        },
        "cislo_op": {
          "description": "employment ID number",
          "type": "string"
        },
        "rodinny_stav": {
          "description": "employment marital status",
          "type": "number"
        },
        "krajina_narodenia": {
          "description": "employment birth state",
          "type": "string"
        },
        "cudzinec": {
          "description": "employment foreign",
          "type": "boolean"
        },
        "cudzinec_op": {
          "description": "employment foreign ID",
          "type": "string"
        },
        "cudzinec_adresa": {
          "description": "employment foreign address",
          "type": "string"
        },
        "cudzinec_doklad": {
          "description": "employment foreign document",
          "type": "string"
        },
        "cudzinec_poistovna": {
          "description": "employment foreign insurance",
          "type": "string"
        },
        "cudzinec_cssz": {
          "description": "employment foreign CSSZ",
          "type": "string"
        },
        "adresa_ulica": {
          "description": "employment address street",
          "type": "string"
        },
        "adresa_cislo": {
          "description": "employment address number",
          "type": "string"
        },
        "adresa_psc": {
          "description": "employment address postal code",
          "type": "string"
        },
        "adresa_mesto": {
          "description": "employment address city",
          "type": "string"
        },
        "adresa_stat": {
          "description": "employment address state",
          "type": "string"
        },
        "kontakt_adresa_ulica": {
          "description": "employment contact address street",
          "type": "string"
        },
        "kontakt_adresa_cislo": {
          "description": "employment contact address number",
          "type": "string"
        },
        "kontakt_adresa_psc": {
          "description": "employment contact address postal code",
          "type": "string"
        },
        "kontakt_adresa_mesto": {
          "description": "employment contact address city",
          "type": "string"
        },
        "kontakt_adresa_stat": {
          "description": "employment contact address state",
          "type": "string"
        },
        "kontakt_telefon": {
          "description": "employment contact phone",
          "type": "string"
        },
        "iban": {
          "description": "employment bank account",
          "type": "string"
        },
        "swift_bic": {
          "description": "employment bank SWIFT",
          "type": "string"
        },
        "var_sym": {
          "description": "employment bank VARSYM",
          "type": "string"
        },
        "zdravotna_poistovna": {
          "description": "employment health insurance",
          "type": "number"
        },
        "ztp": {
          "description": "employment ZTP",
          "type": "boolean"
        },
        "starobny_dochodok": {
          "description": "employment pension",
          "type": "boolean"
        },
        "invalidny_dochodok": {
          "description": "employment invalid pension",
          "type": "boolean"
        },
        "vysluhovy_dochodok": {
          "description": "employment retirement pension",
          "type": "boolean"
        },
        "dochodca": {
          "description": "employment pensioner",
          "type": "boolean"
        },
        "invalidita": {
          "description": "employment disability",
          "type": "string"
        },
        "trvala_starostlivost_dieta": {
          "description": "employment care allowance",
          "type": "boolean"
        },
        "nezdanitelna_cast": {
          "description": "employment tax exemption",
          "type": "boolean"
        },
        "dan_bonus": {
          "description": "employment tax bonus",
          "type": "boolean"
        },
        "deti": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "description": "child name",
                "type": "string"
              },
              "birth_date": {
                "description": "child birth date in \"yyyy-mm-dd\" format",
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              }
            },
            "required": [
              "name",
              "birth_date"
            ],
            "additionalProperties": false
          }
        },
        "files": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "description": "file name",
                "type": "string"
              },
              "content": {
                "description": "file content",
                "type": "string"
              }
            },
            "required": [
              "name",
              "content"
            ],
            "additionalProperties": false
          }
        },
        "gdpr": {
          "description": "employment GDPR",
          "type": "boolean"
        }
      },
      "required": [
        "created_at",
        "updated_at",
        "company_ico",
        "party_id",
        "pracovny_stav",
        "titul_pred",
        "meno",
        "priezvisko",
        "titul_za",
        "email",
        "id_pracovna_pozicia",
        "pracovna_pozicia",
        "klasifikacia",
        "popis_prace",
        "note",
        "druh_pracovneho_pomeru",
        "zaciatok_pracovneho_pomeru",
        "miesto_prace",
        "miesto_prace_kod",
        "stredisko",
        "hruba_mzda",
        "hruba_mzda_slovom",
        "reldruhm",
        "pracovny_fond",
        "pracovny_fond_den",
        "praca_na_dobu_urcitu",
        "date_sent",
        "pohlavie",
        "datum_narodenia",
        "rodne_priezvisko",
        "rodne_cislo",
        "miesto_narodenia",
        "narodnost",
        "statna_prislusnost",
        "cislo_op",
        "rodinny_stav",
        "krajina_narodenia",
        "cudzinec",
        "cudzinec_op",
        "cudzinec_adresa",
        "cudzinec_doklad",
        "cudzinec_poistovna",
        "cudzinec_cssz",
        "adresa_ulica",
        "adresa_cislo",
        "adresa_psc",
        "adresa_mesto",
        "adresa_stat",
        "kontakt_adresa_ulica",
        "kontakt_adresa_cislo",
        "kontakt_adresa_psc",
        "kontakt_adresa_mesto",
        "kontakt_adresa_stat",
        "kontakt_telefon",
        "iban",
        "swift_bic",
        "var_sym",
        "zdravotna_poistovna",
        "ztp",
        "starobny_dochodok",
        "invalidny_dochodok",
        "vysluhovy_dochodok",
        "dochodca",
        "invalidita",
        "trvala_starostlivost_dieta",
        "nezdanitelna_cast",
        "dan_bonus",
        "deti",
        "files",
        "gdpr"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "uid",
    "payload"
  ],
  "additionalProperties": false
}
Response
200text/plain
{
  "description": "result",
  "type": "string"
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/property
List investment assets with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "assets collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Cislo": {
            "type": "string"
          },
          "CisloZAK": {
            "nullable": true,
            "type": "string"
          },
          "Classification": {
            "nullable": true,
            "type": "string"
          },
          "DatLikv": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatZar": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "Kc": {
            "type": "number"
          },
          "KcZust": {
            "type": "number"
          },
          "Location": {
            "nullable": true,
            "type": "string"
          },
          "RelAgID": {
            "nullable": true,
            "type": "number"
          },
          "RelSkOdp": {
            "type": "number"
          },
          "RelTpIM": {
            "type": "number"
          },
          "RelTpOdp": {
            "type": "number"
          },
          "RelZpPor": {
            "type": "number"
          },
          "SText": {
            "type": "string"
          },
          "Zivotnost": {
            "nullable": true,
            "type": "number"
          },
          "Znacka": {
            "nullable": true,
            "type": "string"
          },
          "Stredisko": {
            "nullable": true,
            "type": "string"
          },
          "Cinnost": {
            "nullable": true,
            "type": "string"
          },
          "danove_odpisy": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "type": "number"
                },
                "RefAg": {
                  "type": "number"
                },
                "Rok": {
                  "type": "string"
                },
                "RelTpOdp": {
                  "type": "number"
                },
                "RelSkOdp": {
                  "type": "number"
                },
                "KcVstup": {
                  "nullable": true,
                  "type": "number"
                },
                "Procento": {
                  "type": "number"
                },
                "KcOdpis": {
                  "type": "number"
                },
                "KcKorekce": {
                  "type": "number"
                },
                "Zcelku": {
                  "type": "number"
                },
                "KcOdpisCalc": {
                  "type": "number"
                },
                "KcZust": {
                  "type": "number"
                }
              },
              "required": [
                "ID",
                "RefAg",
                "Rok",
                "RelTpOdp",
                "RelSkOdp",
                "KcVstup",
                "Procento",
                "KcOdpis",
                "KcKorekce",
                "Zcelku",
                "KcOdpisCalc",
                "KcZust"
              ],
              "additionalProperties": false
            }
          },
          "uctovne_odpisy": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "type": "number"
                },
                "Mesic": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                "RefIMO": {
                  "type": "number"
                },
                "Zivotnost": {
                  "type": "number"
                },
                "KcVstup": {
                  "type": "number"
                },
                "Procento": {
                  "type": "number"
                },
                "KcOdpis": {
                  "nullable": true,
                  "type": "number"
                },
                "IDS": {
                  "type": "string"
                },
                "KcKorekce": {
                  "type": "number"
                },
                "KcOdpisCalc": {
                  "type": "number"
                },
                "KcZustatek": {
                  "type": "number"
                }
              },
              "required": [
                "ID",
                "Mesic",
                "RefIMO",
                "Zivotnost",
                "KcVstup",
                "Procento",
                "KcOdpis",
                "IDS",
                "KcKorekce",
                "KcOdpisCalc",
                "KcZustatek"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "ID",
          "Cislo",
          "CisloZAK",
          "Classification",
          "DatLikv",
          "DatZar",
          "Datum",
          "Dir",
          "Kc",
          "KcZust",
          "Location",
          "RelAgID",
          "RelSkOdp",
          "RelTpIM",
          "RelTpOdp",
          "RelZpPor",
          "SText",
          "Zivotnost",
          "Znacka",
          "Stredisko",
          "Cinnost"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List small assets with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "small assets collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Cislo": {
            "type": "string"
          },
          "Classification": {
            "nullable": true,
            "type": "string"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "Kc": {
            "type": "number"
          },
          "KcJedn": {
            "type": "number"
          },
          "Location": {
            "nullable": true,
            "type": "string"
          },
          "Pocet": {
            "type": "number"
          },
          "Pozn": {
            "nullable": true,
            "type": "string"
          },
          "RelAgID": {
            "nullable": true,
            "type": "number"
          },
          "SText": {
            "type": "string"
          },
          "activity": {
            "nullable": true,
            "type": "string"
          },
          "costCenterCode": {
            "nullable": true,
            "type": "string"
          },
          "Stredisko": {
            "nullable": true,
            "type": "string"
          },
          "Cinnost": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ID",
          "Cislo",
          "Classification",
          "Datum",
          "Dir",
          "Kc",
          "KcJedn",
          "Location",
          "Pocet",
          "Pozn",
          "RelAgID",
          "SText",
          "activity",
          "costCenterCode",
          "Stredisko",
          "Cinnost"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List asset depreciations with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "depreciations collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "ACC_AD": {
            "type": "number"
          },
          "ACC_Amount": {
            "type": "number"
          },
          "AD_Tax": {
            "type": "number"
          },
          "Clen": {
            "nullable": true,
            "type": "string"
          },
          "Date_of_aqu": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dep_Tax": {
            "type": "number"
          },
          "Item": {
            "type": "string"
          },
          "Monthly_Dep": {
            "type": "number"
          },
          "No": {
            "type": "string"
          },
          "Purchase_price": {
            "type": "number"
          },
          "Tax_amount": {
            "type": "number"
          },
          "UL": {
            "type": "number"
          }
        },
        "required": [
          "ID",
          "Dir",
          "ACC_AD",
          "ACC_Amount",
          "AD_Tax",
          "Clen",
          "Date_of_aqu",
          "Dep_Tax",
          "Item",
          "Monthly_Dep",
          "No",
          "Purchase_price",
          "Tax_amount",
          "UL"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List tax depreciations for an asset.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "asset id",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "tax depreciations",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "type": "number"
      },
      "RefAg": {
        "type": "number"
      },
      "Rok": {
        "type": "string"
      },
      "RelTpOdp": {
        "type": "number"
      },
      "RelSkOdp": {
        "type": "number"
      },
      "KcVstup": {
        "nullable": true,
        "type": "number"
      },
      "Procento": {
        "type": "number"
      },
      "KcOdpis": {
        "type": "number"
      },
      "KcKorekce": {
        "type": "number"
      },
      "Zcelku": {
        "type": "number"
      },
      "KcOdpisCalc": {
        "type": "number"
      },
      "KcZust": {
        "type": "number"
      }
    },
    "required": [
      "ID",
      "RefAg",
      "Rok",
      "RelTpOdp",
      "RelSkOdp",
      "KcVstup",
      "Procento",
      "KcOdpis",
      "KcKorekce",
      "Zcelku",
      "KcOdpisCalc",
      "KcZust"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List book depreciations for an asset.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "id": {
      "description": "asset id",
      "type": "number"
    }
  },
  "required": [
    "uid",
    "id"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "book depreciations",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {
        "type": "number"
      },
      "Mesic": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "RefIMO": {
        "type": "number"
      },
      "Zivotnost": {
        "type": "number"
      },
      "KcVstup": {
        "type": "number"
      },
      "Procento": {
        "type": "number"
      },
      "KcOdpis": {
        "nullable": true,
        "type": "number"
      },
      "IDS": {
        "type": "string"
      },
      "KcKorekce": {
        "type": "number"
      },
      "KcOdpisCalc": {
        "type": "number"
      },
      "KcZustatek": {
        "type": "number"
      }
    },
    "required": [
      "ID",
      "Mesic",
      "RefIMO",
      "Zivotnost",
      "KcVstup",
      "Procento",
      "KcOdpis",
      "IDS",
      "KcKorekce",
      "KcOdpisCalc",
      "KcZustatek"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List vehicles with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "vehicles collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "DatEvid": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatVyr": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatZar": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "RelDrVoz": {
            "type": "number"
          },
          "RelPHM": {
            "type": "number"
          },
          "RelTypVoz": {
            "type": "number"
          },
          "SPZ": {
            "type": "string"
          },
          "Spotr": {
            "type": "number"
          },
          "TachPoc": {
            "type": "number"
          },
          "Znacka": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ID",
          "DatEvid",
          "DatVyr",
          "DatZar",
          "Dir",
          "RelDrVoz",
          "RelPHM",
          "RelTypVoz",
          "SPZ",
          "Spotr",
          "TachPoc",
          "Znacka"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/orders
List orders with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "orders collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Cislo": {
            "type": "string"
          },
          "DIC": {
            "nullable": true,
            "type": "string"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "DatCreate": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Firma": {
            "nullable": true,
            "type": "string"
          },
          "ICDPH": {
            "nullable": true,
            "type": "string"
          },
          "ICO": {
            "nullable": true,
            "type": "string"
          },
          "Jmeno": {
            "nullable": true,
            "type": "string"
          },
          "KcCelkem": {
            "type": "number"
          },
          "Obec": {
            "nullable": true,
            "type": "string"
          },
          "PSC": {
            "nullable": true,
            "type": "string"
          },
          "SText": {
            "type": "string"
          },
          "Ulice": {
            "nullable": true,
            "type": "string"
          },
          "Vyrizeno": {
            "type": "boolean"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "RelAgID": {
            "nullable": true,
            "type": "number"
          },
          "Kc0": {
            "type": "number"
          },
          "Kc1": {
            "type": "number"
          },
          "Kc2": {
            "type": "number"
          },
          "Kc3": {
            "type": "number"
          },
          "KcDPH1": {
            "type": "number"
          },
          "KcDPH2": {
            "type": "number"
          },
          "KcDPH3": {
            "type": "number"
          },
          "RelPk": {
            "type": "number"
          },
          "RelTpDPH": {
            "type": "number"
          },
          "RelTpKVDPH": {
            "type": "number"
          },
          "RelTpObj": {
            "type": "number"
          },
          "RefStr": {
            "nullable": true,
            "type": "number"
          },
          "RefCin": {
            "nullable": true,
            "type": "number"
          },
          "CisloZAK": {
            "nullable": true,
            "type": "string"
          },
          "cinnost_ids": {
            "nullable": true,
            "type": "string"
          },
          "stredisko_ids": {
            "nullable": true,
            "type": "string"
          },
          "predkontacia_ids": {
            "nullable": true,
            "type": "string"
          },
          "clenenie_dph_ids": {
            "nullable": true,
            "type": "string"
          },
          "clenenie_kvdph_ids": {
            "nullable": true,
            "type": "string"
          },
          "polozky": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ID": {
                  "nullable": true,
                  "type": "number"
                },
                "Mnozstvi": {
                  "type": "number"
                },
                "KcJedn": {
                  "type": "number"
                },
                "Kc": {
                  "type": "number"
                },
                "RefAg": {
                  "type": "number"
                },
                "KcDPH": {
                  "type": "number"
                },
                "SText": {
                  "type": "string"
                },
                "Pozn": {
                  "nullable": true,
                  "type": "string"
                },
                "ProcentoDPH": {
                  "nullable": true,
                  "type": "number"
                },
                "SDph": {
                  "nullable": true,
                  "type": "boolean"
                },
                "RelPk": {
                  "nullable": true,
                  "type": "number"
                },
                "RelSzDPH": {
                  "nullable": true,
                  "type": "number"
                },
                "RefStr": {
                  "nullable": true,
                  "type": "number"
                },
                "RefCin": {
                  "nullable": true,
                  "type": "number"
                },
                "CisloZAK": {
                  "nullable": true,
                  "type": "string"
                },
                "cinnost_ids": {
                  "nullable": true,
                  "type": "string"
                },
                "stredisko_ids": {
                  "nullable": true,
                  "type": "string"
                },
                "predkontacia_ids": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "ID",
                "Mnozstvi",
                "KcJedn",
                "Kc",
                "RefAg",
                "KcDPH",
                "SText",
                "Pozn",
                "ProcentoDPH",
                "SDph",
                "RelPk",
                "RelSzDPH",
                "RefStr",
                "RefCin",
                "CisloZAK",
                "cinnost_ids",
                "stredisko_ids",
                "predkontacia_ids"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "ID",
          "Cislo",
          "DIC",
          "Datum",
          "DatCreate",
          "Firma",
          "ICDPH",
          "ICO",
          "Jmeno",
          "KcCelkem",
          "Obec",
          "PSC",
          "SText",
          "Ulice",
          "Vyrizeno",
          "Dir",
          "RelAgID",
          "Kc0",
          "Kc1",
          "Kc2",
          "Kc3",
          "KcDPH1",
          "KcDPH2",
          "KcDPH3",
          "RelPk",
          "RelTpDPH",
          "RelTpKVDPH",
          "RelTpObj",
          "RefStr",
          "RefCin",
          "CisloZAK",
          "cinnost_ids",
          "stredisko_ids",
          "predkontacia_ids",
          "clenenie_dph_ids",
          "clenenie_kvdph_ids",
          "polozky"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List commissions with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "commissions collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Cislo": {
            "type": "string"
          },
          "DIC": {
            "nullable": true,
            "type": "string"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          },
          "Firma": {
            "nullable": true,
            "type": "string"
          },
          "Jmeno": {
            "nullable": true,
            "type": "string"
          },
          "ICDPH": {
            "nullable": true,
            "type": "string"
          },
          "ICO": {
            "nullable": true,
            "type": "string"
          },
          "Obec": {
            "nullable": true,
            "type": "string"
          },
          "PSC": {
            "nullable": true,
            "type": "string"
          },
          "Predani": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "RefStav": {
            "type": "number"
          },
          "RelAgID": {
            "type": "number"
          },
          "SText": {
            "nullable": true,
            "type": "string"
          },
          "Ulice": {
            "nullable": true,
            "type": "string"
          },
          "Zahajeni": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Zaruka": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "PlZahaj": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "PlPredani": {
            "nullable": true,
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "zodpovedna_osoba": {
            "nullable": true,
            "type": "string"
          },
          "total_credit": {
            "nullable": true,
            "type": "number"
          },
          "total_debit": {
            "nullable": true,
            "type": "number"
          }
        },
        "required": [
          "ID",
          "Cislo",
          "DIC",
          "Dir",
          "Firma",
          "Jmeno",
          "ICDPH",
          "ICO",
          "Obec",
          "PSC",
          "Predani",
          "RefStav",
          "RelAgID",
          "SText",
          "Ulice",
          "Zahajeni",
          "Zaruka",
          "PlZahaj",
          "PlPredani",
          "zodpovedna_osoba",
          "total_credit",
          "total_debit"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
/v2/reports
List general ledger summary.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "val": {
      "description": "value type: KC|MD|D",
      "type": "string"
    },
    "stredisko": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "zakazka": {
      "description": "order/commission code",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "general ledger summary rows",
  "type": "array",
  "items": {}
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List general ledger entries for an account.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "account": {
      "description": "account number",
      "type": "string"
    },
    "from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "uid",
    "account"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Datum": {
        "description": "document date (YYYY-MM-DD)",
        "type": "string"
      },
      "Cislo": {
        "description": "document number",
        "type": "string"
      },
      "PDoklad": {
        "description": "document internal id",
        "type": "number"
      },
      "Firma": {
        "description": "company name",
        "type": "string"
      },
      "SText": {
        "description": "description",
        "type": "string"
      },
      "UD": {
        "description": "credit account",
        "type": "string"
      },
      "UMD": {
        "description": "debit account",
        "type": "string"
      },
      "Kc": {
        "description": "amount in base currency",
        "type": "number"
      },
      "Dir": {
        "description": "direction or side",
        "type": "string"
      }
    },
    "required": [
      "Cislo",
      "UD",
      "UMD",
      "Kc"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List journal entries with server-side filtering and pagination.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "size": {
      "description": "page size",
      "type": "number"
    },
    "init": {
      "description": "initial page number",
      "type": "number"
    },
    "ids": {
      "description": "explicit record ids filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "asc": {
      "description": "sort ascending by field",
      "type": "string"
    },
    "desc": {
      "description": "sort descending by field",
      "type": "string"
    },
    "on": {
      "description": "fields requested/selected",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "uid",
    "size"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "description": "journal entries collate",
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "filtered": {
      "type": "number"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Datum": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "Cislo": {
            "nullable": true,
            "type": "string"
          },
          "Zdroj": {
            "nullable": true,
            "type": "number"
          },
          "RelAgID": {
            "nullable": true,
            "type": "number"
          },
          "Popis": {
            "nullable": true,
            "type": "string"
          },
          "Ma_Dat": {
            "nullable": true,
            "type": "string"
          },
          "Dal": {
            "nullable": true,
            "type": "string"
          },
          "Suma": {
            "type": "number"
          },
          "Firma": {
            "nullable": true,
            "type": "string"
          },
          "ICO": {
            "nullable": true,
            "type": "string"
          },
          "Meno": {
            "nullable": true,
            "type": "string"
          },
          "Mena": {
            "nullable": true,
            "type": "string"
          },
          "CM_kurz": {
            "nullable": true,
            "type": "number"
          },
          "CM_suma": {
            "nullable": true,
            "type": "number"
          },
          "Stredisko_IDS": {
            "nullable": true,
            "type": "string"
          },
          "Stredisko_SText": {
            "nullable": true,
            "type": "string"
          },
          "Cislo_Zak": {
            "nullable": true,
            "type": "string"
          },
          "Cinnost_IDS": {
            "nullable": true,
            "type": "string"
          },
          "Cinnost_SText": {
            "nullable": true,
            "type": "string"
          },
          "Dir": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ID",
          "Datum",
          "Cislo",
          "Zdroj",
          "RelAgID",
          "Popis",
          "Ma_Dat",
          "Dal",
          "Suma",
          "Firma",
          "ICO",
          "Meno",
          "Mena",
          "CM_kurz",
          "CM_suma",
          "Stredisko_IDS",
          "Stredisko_SText",
          "Cislo_Zak",
          "Cinnost_IDS",
          "Cinnost_SText",
          "Dir"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "filtered",
    "data"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List costs and revenues by account.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "account": {
      "description": "account number",
      "type": "string"
    },
    "from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "stredisko": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "zakazka": {
      "description": "order/commission code",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Datum": {
        "description": "document date (YYYY-MM-DD)",
        "type": "string"
      },
      "RelTpFak": {
        "description": "invoice type code",
        "type": "number"
      },
      "PDoklad": {
        "description": "document internal id",
        "type": "number"
      },
      "Cislo": {
        "description": "document number",
        "type": "string"
      },
      "SKPP_Cislo": {
        "description": "related document number (cash receipt)",
        "type": "string"
      },
      "SKPP_SText": {
        "description": "related document text (cash receipt)",
        "type": "string"
      },
      "SKPV_Cislo": {
        "description": "related document number (cash voucher)",
        "type": "string"
      },
      "SKPV_SText": {
        "description": "related document text (cash voucher)",
        "type": "string"
      },
      "Firma": {
        "description": "company name",
        "type": "string"
      },
      "Jmeno": {
        "description": "contact person",
        "type": "string"
      },
      "SText": {
        "description": "description",
        "type": "string"
      },
      "UD": {
        "description": "credit account",
        "type": "string"
      },
      "UMD": {
        "description": "debit account",
        "type": "string"
      },
      "Kc": {
        "description": "amount in base currency",
        "type": "number"
      },
      "RelUdAg": {
        "description": "journal aggregation type",
        "type": "number"
      },
      "Dir": {
        "description": "direction or side",
        "type": "string"
      }
    },
    "required": [
      "Datum",
      "UD",
      "UMD",
      "Kc",
      "RelUdAg"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Compute monthly statement for selected accounts.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "from": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "to": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "ucty": {
      "description": "list of account numbers",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "stredisko": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "zakazka": {
      "description": "order/commission code",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "ucty"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Datum": {
        "description": "month (YYYY-MM or YYYY-MM-DD)",
        "type": "string"
      },
      "UD": {
        "description": "credit account",
        "type": "string"
      },
      "UMD": {
        "description": "debit account",
        "type": "string"
      },
      "Kc": {
        "description": "amount in base currency",
        "type": "number"
      }
    },
    "required": [
      "Datum",
      "UD",
      "UMD",
      "Kc"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get bank summary for current and previous month.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "Bank": {
      "description": "bank name with highest turnover",
      "type": "string"
    },
    "Bank_ID": {
      "description": "bank identifier",
      "type": "number"
    },
    "CurrentMonthTotal": {
      "description": "current month total amount",
      "type": "number"
    },
    "PreviousMonthTotal": {
      "description": "previous month total amount",
      "type": "number"
    },
    "period_to": {
      "description": "previous period end (ISO date string)",
      "type": "string"
    }
  },
  "required": [
    "Bank",
    "Bank_ID",
    "CurrentMonthTotal",
    "PreviousMonthTotal",
    "period_to"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get cash summary for current and previous month.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "Cash": {
      "description": "cash name with highest turnover",
      "type": "string"
    },
    "Cash_ID": {
      "description": "cash identifier",
      "type": "number"
    },
    "CurrentMonthTotal": {
      "description": "current month total amount",
      "type": "number"
    },
    "PreviousMonthTotal": {
      "description": "previous month total amount",
      "type": "number"
    },
    "period_to": {
      "description": "previous period end (ISO date string)",
      "type": "string"
    }
  },
  "required": [
    "Cash",
    "Cash_ID",
    "CurrentMonthTotal",
    "PreviousMonthTotal",
    "period_to"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Get company statistics.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "current_year_db": {
      "description": "use current year database (true/false)",
      "type": "boolean"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "PayablesTotal": {
      "description": "total payables",
      "type": "number"
    },
    "PayablesIn3Days": {
      "description": "payables due in 3 days",
      "type": "number"
    },
    "PayablesOverduted30Days": {
      "description": "payables overdue 30+ days",
      "type": "number"
    },
    "ReceivablesTotal": {
      "description": "total receivables",
      "type": "number"
    },
    "ReceivablesIn3Days": {
      "description": "receivables due in 3 days",
      "type": "number"
    },
    "ReceivablesOverduted30Days": {
      "description": "receivables overdue 30+ days",
      "type": "number"
    },
    "danNaVystupe": {
      "description": "VAT on output",
      "type": "number"
    },
    "danNaVstupe": {
      "description": "VAT on input",
      "type": "number"
    },
    "predbeznaDPH": {
      "description": "preliminary VAT",
      "type": "number"
    },
    "bank_name": {
      "description": "bank name",
      "type": "string"
    },
    "bank_id": {
      "description": "bank identifier",
      "type": "string"
    },
    "bank_current_total": {
      "description": "current month bank total",
      "type": "string"
    },
    "bank_previous_total": {
      "description": "previous month bank total",
      "type": "string"
    },
    "bank_period_to": {
      "description": "bank period end (ISO date)",
      "type": "string"
    },
    "cash_name": {
      "description": "cash name",
      "type": "string"
    },
    "cash_id": {
      "description": "cash identifier",
      "type": "string"
    },
    "cash_current_total": {
      "description": "current month cash total",
      "type": "string"
    },
    "cash_previous_total": {
      "description": "previous month cash total",
      "type": "string"
    },
    "cash_period_to": {
      "description": "cash period end (ISO date)",
      "type": "string"
    },
    "period_to": {
      "description": "current period end (ISO date)",
      "type": "string"
    },
    "db_check": {
      "description": "is current year DB: 'True'|'False'",
      "type": "string"
    }
  },
  "required": [
    "PayablesTotal",
    "PayablesIn3Days",
    "PayablesOverduted30Days",
    "ReceivablesTotal",
    "ReceivablesIn3Days",
    "ReceivablesOverduted30Days",
    "danNaVystupe",
    "danNaVstupe",
    "predbeznaDPH",
    "bank_name",
    "bank_id",
    "bank_current_total",
    "bank_previous_total",
    "bank_period_to",
    "cash_name",
    "cash_id",
    "cash_current_total",
    "cash_previous_total",
    "cash_period_to",
    "period_to",
    "db_check"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List corporate income tax inputs.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "revenues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "account": {
            "description": "account number",
            "type": "string"
          },
          "name": {
            "description": "account name",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "account",
          "name"
        ],
        "additionalProperties": false
      }
    },
    "expenses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "account": {
            "description": "account number",
            "type": "string"
          },
          "name": {
            "description": "account name",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "account",
          "name"
        ],
        "additionalProperties": false
      }
    },
    "revenues_ud": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "sum": {
            "description": "sum amount",
            "type": "number"
          },
          "UD": {
            "description": "account UD",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "sum",
          "UD"
        ],
        "additionalProperties": false
      }
    },
    "revenues_umd": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "sum": {
            "description": "sum amount",
            "type": "number"
          },
          "UMD": {
            "description": "account UMD",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "sum",
          "UMD"
        ],
        "additionalProperties": false
      }
    },
    "cost_ud": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "sum": {
            "description": "sum amount",
            "type": "number"
          },
          "UD": {
            "description": "account UD",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "sum",
          "UD"
        ],
        "additionalProperties": false
      }
    },
    "cost_umd": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "description": "row id",
            "type": "number"
          },
          "sum": {
            "description": "sum amount",
            "type": "number"
          },
          "UMD": {
            "description": "account UMD",
            "type": "string"
          }
        },
        "required": [
          "ID",
          "sum",
          "UMD"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "revenues",
    "expenses",
    "revenues_ud",
    "revenues_umd",
    "cost_ud",
    "cost_umd"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List corporate income tax entries for an account.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "account": {
      "description": "account number",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "account"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Datum": {
        "description": "date (YYYY-MM-DD)",
        "type": "string"
      },
      "Firma": {
        "description": "counterparty name",
        "type": "string"
      },
      "SText": {
        "description": "description/text",
        "type": "string"
      },
      "UD": {
        "description": "debit account",
        "type": "string"
      },
      "UMD": {
        "description": "credit account",
        "type": "string"
      },
      "Cislo": {
        "description": "document number",
        "type": "string"
      },
      "Kc": {
        "description": "amount",
        "type": "number"
      },
      "Dir": {
        "description": "document directory id",
        "type": "string"
      }
    },
    "required": [
      "Datum",
      "Firma",
      "SText",
      "UD",
      "UMD",
      "Cislo",
      "Kc"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Compute profitability overview.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "RelTpFak": {
      "description": "invoice types filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "InvoiceType": {
      "description": "invoice type group code",
      "type": "number"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "from": {
      "description": "offset for pagination",
      "type": "number"
    },
    "to": {
      "description": "limit/count for pagination",
      "type": "number"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "sum": {
      "description": "total amount",
      "type": "number"
    },
    "count": {
      "description": "total items count",
      "type": "number"
    }
  },
  "required": [
    "sum",
    "count"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List items contributing to profitability overview.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "RelTpFak": {
      "description": "invoice types filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "InvoiceType": {
      "description": "invoice type group code",
      "type": "number"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "percentage": {
      "description": "percentage threshold string",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "percentage"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Cislo": {
        "description": "document number",
        "type": "string"
      },
      "PDoklad": {
        "description": "internal id",
        "type": "string"
      },
      "Datum": {
        "description": "issue date (YYYY-MM-DD)",
        "type": "string"
      },
      "DatSplat": {
        "description": "due date (YYYY-MM-DD)",
        "type": "string"
      },
      "Days": {
        "description": "overdue days",
        "type": "number"
      },
      "Firma": {
        "description": "counterparty name",
        "type": "string"
      },
      "SText": {
        "description": "description/text",
        "type": "string"
      },
      "KcCelkem": {
        "description": "total amount",
        "type": "number"
      },
      "KcLikv": {
        "description": "paid amount",
        "type": "number"
      },
      "Taxable": {
        "description": "taxable base",
        "type": "number"
      }
    },
    "required": [
      "Cislo",
      "PDoklad",
      "Datum",
      "DatSplat",
      "Days",
      "Firma",
      "SText",
      "KcCelkem",
      "KcLikv",
      "Taxable"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
Compute KPIs for selected services.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "RelTpFak": {
      "description": "invoice types filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "InvoiceType": {
      "description": "invoice type group code",
      "type": "number"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "type": {
      "description": "service code: 'N'|'P'|'S'|'C'|'l'",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "type"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "object",
  "properties": {
    "sum": {
      "type": "number"
    }
  },
  "required": [
    "sum"
  ],
  "additionalProperties": false
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later
List items for selected services KPIs.
Request
POSTapplication/json
{
  "type": "object",
  "properties": {
    "uid": {
      "description": "unit identifier",
      "type": "string"
    },
    "centre": {
      "description": "cost centre id",
      "type": "number"
    },
    "cinnost": {
      "description": "activity id",
      "type": "number"
    },
    "cislo_zak": {
      "description": "order/commission code",
      "type": "string"
    },
    "RelTpFak": {
      "description": "invoice types filter",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "InvoiceType": {
      "description": "invoice type group code",
      "type": "number"
    },
    "dateTo": {
      "description": "date to (YYYY-MM-DD)",
      "type": "string"
    },
    "dateFrom": {
      "description": "date from (YYYY-MM-DD)",
      "type": "string"
    },
    "type": {
      "description": "service code: 'N'|'P'|'S'|'C'|'l'",
      "type": "string"
    }
  },
  "required": [
    "uid",
    "type"
  ],
  "additionalProperties": false
}
Response
200application/json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Cislo": {
        "description": "invoice number",
        "type": "string"
      },
      "PDoklad": {
        "description": "document identifier",
        "type": "string"
      },
      "Datum": {
        "description": "issue date (YYYY-MM-DD)",
        "type": "string"
      },
      "DatSplat": {
        "description": "due date (YYYY-MM-DD)",
        "type": "string"
      },
      "Firma": {
        "description": "customer/supplier name",
        "type": "string"
      },
      "SText": {
        "description": "document text/description",
        "type": "string"
      },
      "KcCelkem": {
        "description": "amount without VAT",
        "type": "number"
      },
      "KcLikv": {
        "description": "settled amount calculation",
        "type": "number"
      },
      "Taxable": {
        "description": "taxable base or remaining",
        "type": "number"
      }
    },
    "required": [
      "Cislo",
      "PDoklad",
      "Datum",
      "DatSplat",
      "Firma",
      "SText",
      "KcCelkem",
      "KcLikv",
      "Taxable"
    ],
    "additionalProperties": false
  }
}
Error Codes
400Bad Request
Your request doesn't meet the required input format
401Not Authorized
Your request doesn't meet authorization requirements
404Not Found
The entity you're looking for is missing
460Request Error
Requested operation wasn't performed, or XML import failed
500Internal Error
We encountered an internal server error
503Not Available
Requested entity is offline and cannot be reached, try again later