{
  "item": [
    {
      "id": "8aafbfd5-240f-423f-86fb-2704bb6f2c9d",
      "name": "currency",
      "description": {
        "content": "Číselník měn použitelných v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "358c803c-fc99-4cdf-8e0c-17b5995c507d",
          "name": "Seznam měn",
          "request": {
            "name": "Seznam měn",
            "description": {
              "content": "Seznam dostupných měn pro použití v dokladech.\n\nDostupnost se může měnit v závislosti na aktivaci rozšíření\n*Účtování v cizích měnách*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "currency"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "0f923bde-0117-4300-856f-adf0fd562c3e",
              "name": "Pole kódů měn podle ISO 4217.",
              "originalRequest": {
                "url": {
                  "path": [
                    "currency"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "[\n  \"CZK\",\n  \"EUR\",\n  \"USD\"\n]",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2ef809df-eb56-49d7-a940-b655dcae570f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "currency"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "dc337044-410b-4d17-b19c-f8660dc99157",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "currency"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "4cf961ba-8378-4b70-825c-6ae5dc5f0ba2",
      "name": "metody-plateb",
      "description": {
        "content": "Číselník způsobů úhrady dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "5d100dc8-8221-4d84-9642-5a2d70884ee5",
          "name": "Seznam metod plateb",
          "request": {
            "name": "Seznam metod plateb",
            "description": {
              "content": "Seznam dostupných metod pro provedení platby používaných v dokladech.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_type"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "51137952-cd34-477e-9d4d-f5c4b6dcd6c4",
              "name": "Mapa kódu způsobu platby na jeho český název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"transfer\": \"Bankovním převodem\",\n  \"cash\": \"Hotově\",\n  \"cashondelivery\": \"Dobírka\",\n  \"reciprocity\": \"Reciproce\",\n  \"creditcard\": \"Platební kartou\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a2c2adc9-ac35-480c-9d1e-c4183c684f88",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6d1031ad-151d-4c28-88cf-4b4d31c6e474",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "9b2af8f4-eddc-417a-a463-86385851c485",
      "name": "zaokrouhleni",
      "description": {
        "content": "Číselník metod zaokrouhlování částek v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "77f7b29c-c04f-4dc1-bb5b-6d6ddcfae62f",
          "name": "Seznam typů zaokrouhlení",
          "request": {
            "name": "Seznam typů zaokrouhlení",
            "description": {
              "content": "Seznam metod pro zaokrouhlování částek v dokladech.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "rounding_type"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d0e57b55-223b-4905-8611-d01e33eb2ac1",
              "name": "Mapa kódu zaokrouhlení na jeho český název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "rounding_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"none\": \"žádné\",\n  \"round\": \"zaokrouhlit\",\n  \"up\": \"zaokrouhlit nahoru\",\n  \"down\": \"zaokrouhlit dolů\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "57704999-a90f-4d2f-8914-8269edaac34d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "rounding_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "dad8dd13-93fc-40f1-9eb7-e27c9ccb6ee7",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "rounding_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "9b659496-2897-4a99-9402-4d74d1180232",
      "name": "company-profile",
      "description": {
        "content": "Základní údaje firmy, pod kterou je API klíč vydaný.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "76bb5a35-9a52-4b21-a7b1-804b17ebe2ce",
          "name": "Detail firmy",
          "request": {
            "name": "Detail firmy",
            "description": {
              "content": "Vrátí údaje firmy, pod kterou je vydaný použitý API klíč.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "company_profile"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "3ab8764c-f3e7-4d9c-9dc8-414058a18c9f",
              "name": "Detail firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "company_profile"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"address\": {\n    \"country\": {\n      \"description\": \"Země.\",\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"icp\": \"123\",\n  \"vat_type\": \"identified_person\",\n  \"subject_type\": \"legal_entity\",\n  \"accounting_type\": \"accountancy\",\n  \"oss_status\": false,\n  \"name\": \"iÚčto\",\n  \"name_display\": \"iÚčto\",\n  \"phone\": \"+420123123123\",\n  \"www\": \"https://www.iucto.cz\",\n  \"email\": \"novak.jan@example.org\",\n  \"comid\": \"12345679\",\n  \"data_box_id\": \"123\",\n  \"owner\": {\n    \"first_name\": \"Jan\",\n    \"last_name\": \"Novák\"\n  },\n  \"vatid\": \"CZ12345679\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "239155f1-68d0-43ef-9184-f07bda1be912",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "company_profile"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e3db4e74-71f8-41f3-9333-5cff035ffc1e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "company_profile"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "6bd1f682-3912-4791-8d0c-a43d224c9a44",
      "name": "bankovni-ucty",
      "description": {
        "content": "Bankovní účty firmy používané na dokladech a platbách.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "6a304809-e165-4346-a6de-993421b2b1c2",
          "name": "Seznam bankovních účtů",
          "request": {
            "name": "Seznam bankovních účtů",
            "description": {},
            "url": {
              "path": [
                "bank_account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f56ad233-3cbb-4ace-a37a-f1a2e660132b",
              "name": "Stránkovaný seznam bankovních účtů firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"bank_account\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"number\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"realtime_payment_fetch\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"number\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"realtime_payment_fetch\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "57d30d6a-0e46-4dbb-b1c7-147d73f52869",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "63362ec3-1c10-497b-8c48-6c5b93a3331f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "6e8809d1-0bad-4c7b-8724-a56b4a3b54cd",
          "name": "Vytvoření bankovního účtu",
          "request": {
            "name": "Vytvoření bankovního účtu",
            "description": {
              "content": "Výchozí [**účet účetní osnovy**](/api/ucty-uc-osnovy) je 221.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Komerční banka\",\n  \"currency\": \"CZK\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "a4dbb76b-9be9-4fc0-93f6-42da707de84e",
              "name": "Účet byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 456,\n  \"number\": \"19-123457/0100\",\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"balance\": 0,\n  \"balance_czk\": 0,\n  \"realtime_payment_fetch\": true,\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "273458d0-f19a-4c75-ac06-b74457a19401",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2aa6067c-deac-4efd-b977-abf9584e5c9a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bd6dc01b-c51f-4aeb-8ae9-e5a859fcd019",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "e59a6fde-0997-4333-a839-173c6b2457ca",
          "name": "Detail bankovního účtu",
          "request": {
            "name": "Detail bankovního účtu",
            "description": {},
            "url": {
              "path": [
                "bank_account",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního účtu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b0c1cec4-a8eb-4d86-a908-eea8e75433e9",
              "name": "Detail bankovního účtu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 456,\n  \"number\": \"19-123457/0100\",\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"balance\": 0,\n  \"balance_czk\": 0,\n  \"realtime_payment_fetch\": true,\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "93270775-35a4-4eb5-930c-7f1cfbe062dc",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ea51698c-9a51-4523-a715-96f372f7d744",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f9f9b935-62f7-4b29-a8ff-e6ae713f0894",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "f33fcaa1-39c0-492c-a755-4d7358f56c37",
          "name": "Editace bankovního účtu",
          "request": {
            "name": "Editace bankovního účtu",
            "description": {},
            "url": {
              "path": [
                "bank_account",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního účtu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Komerční banka\",\n  \"currency\": \"CZK\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "da47dab6-b99e-4294-ba06-666fa48a0a80",
              "name": "Účet byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 456,\n  \"number\": \"19-123457/0100\",\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"balance\": 0,\n  \"balance_czk\": 0,\n  \"realtime_payment_fetch\": true,\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cedae2e9-7948-4039-ad1b-5014accc2da7",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "86d4b594-3a7f-4323-b6f4-9799e5e43693",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b9bdb5b8-5e5c-4b67-8265-afbd007ee0c7",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f9b39700-debe-46fc-96ea-681367b257de",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currency\": \"CZK\",\n  \"account_number\": \"123457\",\n  \"bank_code\": \"0100\",\n  \"name\": \"Komerční banka\",\n  \"isdefault\": true,\n  \"account_prefix\": \"19\",\n  \"swift\": \"KOMBCZPPXXX\",\n  \"iban\": \"CZ5601000000190000123457\",\n  \"initial_state\": 0,\n  \"chart_account_id\": 424,\n  \"visible\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ae57a15d-8e27-4c51-b11c-9cb7ce312816",
          "name": "Smazání bankovního účtu",
          "request": {
            "name": "Smazání bankovního účtu",
            "description": {
              "content": "Smazat lze jen účet, který není použitý na žádném dokladu ani platbě.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_account",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního účtu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "91cf3e62-a658-4d6f-adb3-0b66b50b8897",
              "name": "Účet byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "740d5eeb-be7f-4dbc-88ee-cfd705aee01a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "d8280153-21e4-450d-82cb-dd84e51abf20",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3791800c-14ea-4783-867e-7cf7d57c8171",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ab8b0d20-7686-43eb-9fad-c847fa24101e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_account",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního účtu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "c605a8c1-a348-413d-8593-d26312736be2",
      "name": "pokladny",
      "description": {
        "content": "Pokladny firmy používané u hotovostních plateb.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "7be42a91-074e-45b8-870a-43fa4c767edb",
          "name": "Seznam pokladen",
          "request": {
            "name": "Seznam pokladen",
            "description": {},
            "url": {
              "path": [
                "cash_register"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "3fccfa72-892f-4344-8974-9f69e29750da",
              "name": "Stránkovaný seznam pokladen firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"cash_register\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"iseet\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"initial_state\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"business_premises\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"iseet\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"initial_state\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"business_premises\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d9b07d44-1491-4601-9ce4-590746e43430",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "aec306a9-5da0-47ba-a46d-69c07882e052",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "49afb72e-8ac0-409e-94f4-f764cbf6608e",
          "name": "Detail pokladny",
          "request": {
            "name": "Detail pokladny",
            "description": {},
            "url": {
              "path": [
                "cash_register",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID pokladny."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "4f7871f3-3bb5-41b0-87e0-5254aefb24e7",
              "name": "Detail pokladny.",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID pokladny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"name\": \"EET pokladna\",\n  \"currency\": \"CZK\",\n  \"isdefault\": true,\n  \"iseet\": true,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"initial_state\": 0,\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"balance\": 0,\n  \"balance_czk\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "94db109f-8dde-469f-a460-d11292ee6c00",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID pokladny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b7a824d3-c6d9-4e42-8eb6-b38c297f2442",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID pokladny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fbda5f97-ad91-43dc-b8a4-6f74e2353eab",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "cash_register",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID pokladny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "f1b04a0d-0e34-402d-8d3a-cbd4eada0560",
      "name": "strediska",
      "description": {
        "content": "Střediska pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "17ac1783-36c3-49e8-bb6d-e77517b70f0a",
          "name": "Seznam středisek",
          "request": {
            "name": "Seznam středisek",
            "description": {},
            "url": {
              "path": [
                "department"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "6d3bbcd0-846a-4ef6-b6cc-10f18d60febb",
              "name": "Stránkovaný seznam středisek firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"department\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3c54c18b-75b6-480d-bb93-dc8e587ff9b3",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ec096ba9-9e8f-4de9-8b5c-45fef93e62f4",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "da35250b-df6c-40fe-94f7-0ca8707559ef",
          "name": "Vytvoření střediska",
          "request": {
            "name": "Vytvoření střediska",
            "description": {},
            "url": {
              "path": [
                "department"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "53f25e76-939e-4253-a3fd-00e2bdae7166",
              "name": "Středisko bylo vytvořeno, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Sklad\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "13512be0-cda2-4885-a6e5-268227fc676d",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e2bf39d3-efc4-4da4-b832-550dba678cb9",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "3a303a07-3c7f-43f7-9ab8-e46737aa756a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b73b8cb8-dae5-429a-9105-dd241a910c08",
          "name": "Detail střediska",
          "request": {
            "name": "Detail střediska",
            "description": {},
            "url": {
              "path": [
                "department",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID střediska."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "c481dbeb-61ca-49c5-9d1a-8feff7bff206",
              "name": "Detail střediska.",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Sklad\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5555e8fb-386c-43df-aa5b-94e85a590024",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ec751564-b2ba-414d-9adc-635562e6a406",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "654819c2-12fb-4439-a8d9-82e257d9a66e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "279f69c2-3d0e-4a8b-b4f1-1f53f870cc96",
          "name": "Editace střediska",
          "request": {
            "name": "Editace střediska",
            "description": {},
            "url": {
              "path": [
                "department",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID střediska."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "6597410b-85a9-4e1c-b40c-6aedf5debf84",
              "name": "Středisko bylo upraveno, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Sklad\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4989aef1-b66e-434b-972d-f78ade667f20",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a1bc8ef1-dbee-4d46-920c-85926b8f3335",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7337a459-437a-4d93-8732-9b763234606a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b5d93359-7590-40b5-9cb5-cc8f916e7058",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"PR\",\n  \"name\": \"Praha\",\n  \"description\": \"Sklad\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "646b6290-84ee-4132-b9e2-577d63dfe2ee",
          "name": "Smazání střediska",
          "request": {
            "name": "Smazání střediska",
            "description": {
              "content": "Smaže středisko.\nKdyž je vázané na jiný záznam (fakturu, platbu apod.), vrátí chybu a\nstředisko se nesmaže.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "department",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID střediska."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "b41decfb-23fb-404d-bd4e-5087be8b131e",
              "name": "Středisko bylo smazáno.",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "49268e30-eed1-47dc-ba6d-c56eb0ec10bf",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "0f7bb1d5-b045-406a-a518-a9debf680a6a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e2424d5e-3ffb-4ca6-aadb-fcfcd5bb8038",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6e6986bb-fea5-4407-a3fd-7d4ed3aa4ec9",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "department",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID střediska."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "629d2beb-73df-4cde-a220-de2355b6f36c",
      "name": "zakazky",
      "description": {
        "content": "Zakázky pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9463e792-6572-4802-b9fc-5b06f919e4cf",
          "name": "Seznam zakázek",
          "request": {
            "name": "Seznam zakázek",
            "description": {},
            "url": {
              "path": [
                "contract"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "e74bc748-dbee-4612-b45a-0b296c59a2ac",
              "name": "Stránkovaný seznam zakázek firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"contract\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "90e5371e-74ae-4ccd-8888-c86588a387a4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8bc2b906-f532-49c5-bd06-c6c6114a3dee",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1d8e7b64-3bd6-4bb4-be3e-d41406df7f5c",
          "name": "Vytvoření zakázky",
          "request": {
            "name": "Vytvoření zakázky",
            "description": {},
            "url": {
              "path": [
                "contract"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "414af07f-8efc-4302-92f0-552219a74001",
              "name": "Zakázka byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cf237945-6e54-4e63-bec6-924214982141",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1227c6d2-6c9e-4647-955c-a9e4ac88592a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "2cbf8f37-cbb6-4121-99ae-3f1df192afe0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ff286110-c836-4f09-9fa5-3bf6a2b6a515",
          "name": "Detail zakázky",
          "request": {
            "name": "Detail zakázky",
            "description": {},
            "url": {
              "path": [
                "contract",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zakázky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "03e20b67-5235-49a1-82b6-562eeb6621de",
              "name": "Detail zakázky.",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "322de965-3e50-4f4f-923a-346c42b022d0",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5f7d4117-4d70-49dc-af6e-a870d46c51a3",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c836adb6-4f47-42d5-8f5e-edc687db50de",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8590b46f-76b9-400f-93a9-de9a16d5e835",
          "name": "Editace zakázky",
          "request": {
            "name": "Editace zakázky",
            "description": {},
            "url": {
              "path": [
                "contract",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zakázky."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "878a9e82-fe0e-470e-93e6-f0a7a75db04b",
              "name": "Zakázka byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 475,\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a1f52bc9-fb9e-43dd-8e14-45f8aef9f791",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "77c524b4-1ba4-48ab-80e4-91ed7aaa6368",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c1dc816e-2149-4ff7-b7eb-6615a197c2a2",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3d4a3f31-6847-434e-a55c-ceb08f4f78d1",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"ABC\",\n  \"name\": \"Zakázka ABC\",\n  \"description\": \"popis\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "7daabc23-551e-45b1-aabc-77a688f7cecb",
          "name": "Smazání zakázky",
          "request": {
            "name": "Smazání zakázky",
            "description": {
              "content": "Smaže zakázku.\nKdyž je vázaná na jiný záznam (fakturu, platbu apod.), vrátí chybu a zakázka\nse nesmaže.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "contract",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zakázky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "cfaf3a8a-84ea-4ea3-b913-e2f49aa4606f",
              "name": "Zakázka byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f2a8fd98-90a4-471e-bac0-3ff7ddae9fef",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "4bb673db-9b58-4775-8b4b-2df7a8fdcc82",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a3db2c37-753d-44f4-b2c1-3f2eac2350c9",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5a4e0f73-2340-4077-840f-3b888bcf2195",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "contract",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zakázky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "48a3d7bc-59ac-4d01-9449-eac9d1d23e9f",
      "name": "business-premises",
      "description": {
        "content": "Provozovny evidované kvůli EET.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "fde6754b-37d5-4c22-b45f-d46d53c02474",
          "name": "Seznam provozoven",
          "request": {
            "name": "Seznam provozoven",
            "description": {},
            "url": {
              "path": [
                "business_premises"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "547e9c3e-7942-463e-bb44-d45ba567f664",
              "name": "Stránkovaný seznam provozoven firmy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"business_premises\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"isdefault\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7263c69f-ef3a-4710-8104-f77c6e22be58",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "917bccd0-7a82-4844-b151-3b81e471f012",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c2488ddb-1d7b-4d65-8d4b-1fb42386e9b1",
          "name": "Detail provozovny",
          "request": {
            "name": "Detail provozovny",
            "description": {},
            "url": {
              "path": [
                "business_premises",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID provozovny."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "0bff857f-7cd0-4fe5-9817-d8a110da99e1",
              "name": "Detail provozovny.",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID provozovny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 897,\n  \"name\": \"Restaurace u koníčka\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"isdefault\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d15e82f5-7215-485b-9f36-b89d74de77a6",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID provozovny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "15bfa829-8657-466f-adce-0cbe1af597d3",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID provozovny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "04de8a9a-b222-4674-8d92-207d2dbd1d55",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "business_premises",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID provozovny."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "5ed97ae2-c780-4273-ba4e-b6769bfd67a7",
      "name": "document-state",
      "description": {
        "content": "Vlastní stavy, kterými lze označovat doklady.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "e33d57ee-bb10-459f-a3eb-cac9f6d503b4",
          "name": "Seznam stavů dokladů",
          "request": {
            "name": "Seznam stavů dokladů",
            "description": {},
            "url": {
              "path": [
                "document_state"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "name",
                  "value": "Odesláno",
                  "description": "Přesný název stavu."
                },
                {
                  "disabled": true,
                  "key": "name_search",
                  "value": "Odes",
                  "description": "Část názvu stavu."
                },
                {
                  "disabled": true,
                  "key": "description",
                  "value": "Doklad byl odeslán zákazníkovi",
                  "description": "Přesný popis stavu."
                },
                {
                  "disabled": true,
                  "key": "description_search",
                  "value": "Doklad",
                  "description": "Část popisu stavu."
                },
                {
                  "disabled": true,
                  "key": "visibility",
                  "value": "true",
                  "description": "Filtr na stavy nabízené u dokladů."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d97399df-4047-4e6c-b01a-dae67f9513da",
              "name": "Stránkovaný seznam stavů dokladů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "Odesláno"
                    },
                    {
                      "key": "name_search",
                      "value": "Odes"
                    },
                    {
                      "key": "description",
                      "value": "Doklad byl odeslán zákazníkovi"
                    },
                    {
                      "key": "description_search",
                      "value": "Doklad"
                    },
                    {
                      "key": "visibility",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"document_state\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"visibility\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"visibility\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "27441257-ff41-4d54-84b0-258aff6edb9a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "Odesláno"
                    },
                    {
                      "key": "name_search",
                      "value": "Odes"
                    },
                    {
                      "key": "description",
                      "value": "Doklad byl odeslán zákazníkovi"
                    },
                    {
                      "key": "description_search",
                      "value": "Doklad"
                    },
                    {
                      "key": "visibility",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "722129db-58de-46f1-833c-bf41e7e7833d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "Odesláno"
                    },
                    {
                      "key": "name_search",
                      "value": "Odes"
                    },
                    {
                      "key": "description",
                      "value": "Doklad byl odeslán zákazníkovi"
                    },
                    {
                      "key": "description_search",
                      "value": "Doklad"
                    },
                    {
                      "key": "visibility",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ae2b0228-581a-44f9-a4be-d56c2c43b353",
          "name": "Vytvoření stavu dokladu",
          "request": {
            "name": "Vytvoření stavu dokladu",
            "description": {},
            "url": {
              "path": [
                "document_state"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "938774df-c374-4e6a-b6dc-f171585f7071",
              "name": "Stav byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f8d456b9-2daf-4e9a-965b-271b9b3fa5e7",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1cd1492d-19a8-4ebf-b285-d0381ec1ca7b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "9c066c9a-a24d-4a4e-9e02-920b56d6da6c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a8f77803-084e-4498-ade0-0385c71d73fd",
          "name": "Detail stavu dokladu",
          "request": {
            "name": "Detail stavu dokladu",
            "description": {},
            "url": {
              "path": [
                "document_state",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID stavu dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "225cbe97-0756-4744-8195-20ba8931d618",
              "name": "Detail stavu dokladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0fe6bfaf-e488-4ded-a4a6-860135d3f280",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "74a211c5-d1d8-46a5-b52a-84c806805eea",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "31814ab2-4a00-4611-a6eb-9439b6b77aca",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c4775f86-adb3-43dc-9e88-52128dfb85c9",
          "name": "Editace stavu dokladu",
          "request": {
            "name": "Editace stavu dokladu",
            "description": {},
            "url": {
              "path": [
                "document_state",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID stavu dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "2bf727a0-0071-4964-894f-3736c28293cd",
              "name": "Stav byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9c34acdd-639d-4b98-ae1d-6ddbe39ded57",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "223cd2f6-26e9-43a1-a5ed-df2e1a480a13",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6fb7eb5b-eb65-4877-890c-ebf7ff560823",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "bf2e7a28-271f-4269-95f6-308947d903b5",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Odesláno\",\n  \"description\": \"Doklad byl odeslán zákazníkovi\",\n  \"visibility\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "28bc28b7-8e50-4809-8882-7d5136925e7a",
          "name": "Smazání stavu dokladu",
          "request": {
            "name": "Smazání stavu dokladu",
            "description": {},
            "url": {
              "path": [
                "document_state",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID stavu dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "1619b23c-7b12-4b0d-a64c-e1b5671e1c06",
              "name": "Stav byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "266c0537-5e42-45b7-8f99-9ef46b886737",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "62f5a357-9729-4a44-999a-0078e3bcd890",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "386ad446-9af1-40fc-8ed3-b7a5157d7002",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d5874b53-b1db-46d2-80b8-171edbf3c567",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_state",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID stavu dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "eef05fd8-da48-47be-ac74-eea6ca96f82d",
      "name": "zakaznici",
      "description": {
        "content": "Odběratelé používaní na vydaných dokladech.\nKe kontaktu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "ef8686b3-a784-4bf0-bd3e-04698bd51ee8",
          "name": "Seznam zákazníků",
          "request": {
            "name": "Seznam zákazníků",
            "description": {
              "content": "Zjednodušený výpis zákazníků v adresáři.\nBez filtrů vrací všechny zákazníky firmy.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "name",
                  "value": "ACME CORP.",
                  "description": "Jméno nebo název zákazníka."
                },
                {
                  "disabled": true,
                  "key": "comid",
                  "value": "12345",
                  "description": "IČO."
                },
                {
                  "disabled": true,
                  "key": "email",
                  "value": "some@email.org",
                  "description": "E-mail."
                },
                {
                  "disabled": true,
                  "key": "vatid",
                  "value": "CZ123456",
                  "description": "DIČ."
                },
                {
                  "disabled": true,
                  "key": "vat_payer",
                  "value": "true",
                  "description": "Filtr na plátce DPH."
                },
                {
                  "disabled": true,
                  "key": "phone",
                  "value": "601234567",
                  "description": "Telefon."
                },
                {
                  "disabled": true,
                  "key": "account_number",
                  "value": "1234567890/5000",
                  "description": "Číslo bankovního účtu. Hledá se napříč poli `account_number1`\naž `account_number4`.\n"
                },
                {
                  "disabled": true,
                  "key": "customer_group_id",
                  "value": "123",
                  "description": "ID [**skupiny zákazníků**](/api/customer-group)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "CC123",
                  "description": "Vlastní identifikátor zákazníka v cizím systému."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "9b33ffdd-2de3-4273-a553-b9f12bc7caf4",
              "name": "Stránkovaný seznam zákazníků.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "customer_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"customer\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_payer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"email\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"phone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cellphone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer_group_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vatid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_payer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"email\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"phone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cellphone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer_group_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vatid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1a58c87a-4004-4bb7-9c20-625cb979a562",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "customer_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f1953c98-273e-4e79-bc20-e65c7d1a898c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "customer_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "44f9f10f-d2d4-4963-ae75-700ebc05b5dd",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "customer_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "2709aa4d-652c-4ec4-b3a5-5519f0ef2f67",
          "name": "Vytvoření zákazníka",
          "request": {
            "name": "Vytvoření zákazníka",
            "description": {
              "content": "Přidá zákazníka do adresáře. Plátce DPH musí mít vyplněné `vatid`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "c6a335f6-91b2-48dc-a995-9a2441ae4b10",
              "name": "Zákazník byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"customer_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný zákazník\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fef5bf3d-64ed-4bfc-b025-466453db41e2",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "16a02088-f0f1-4fb3-9fbc-61d1d9a1d945",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "575d0b7b-fbd3-4732-8abf-13064ccc3421",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "561bd84f-b97d-4d91-9a6f-b331105212c9",
          "name": "Detail zákazníka",
          "request": {
            "name": "Detail zákazníka",
            "description": {
              "content": "Podrobný výpis zákazníka včetně adresy a fakturačních předvoleb.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zákazníka."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f04ef012-85bb-4713-982b-ea686ffc3156",
              "name": "Detail zákazníka.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"customer_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný zákazník\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7eed99be-bb68-459a-be9f-13170327a8f9",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "03bc78f1-7bbd-4465-a47c-7b0ee2ca0421",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "bf1f089f-3f5b-4bd2-8885-79c3ea294c8f",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "00b47303-0bc4-4be5-9423-0e920fcad85a",
          "name": "Editace zákazníka",
          "request": {
            "name": "Editace zákazníka",
            "description": {
              "content": "Přepíše zákazníka tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zákazníka."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "1b93357b-135d-4ced-abd1-4d3e8467c930",
              "name": "Zákazník byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"customer_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný zákazník\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8ffcb8c7-90d9-4ebe-99db-b20f6e38bfea",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d0a35e24-bb1e-4cf5-b7ef-ccad97ccb4a0",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "787d3bbc-f615-4386-949a-46e58073d177",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f8ed6ad5-6661-4891-ae23-5343e7bb75b9",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"usual_maturity\": 30,\n  \"preferred_payment_method\": \"transfer\",\n  \"invoice_language\": \"cs\",\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "852492c3-7bd0-4878-aa29-2b9879b257b0",
          "name": "Smazání zákazníka",
          "request": {
            "name": "Smazání zákazníka",
            "description": {
              "content": "Smaže zákazníka z adresáře.\nKdyž je vázaný na jiný záznam (faktura, platba a podobně), vrátí chybu a\nzákazník se nesmaže.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zákazníka."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "05bcc9e3-813d-44ae-970a-eae68e6e510c",
              "name": "Zákazník byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "96d8a157-f5e8-4ce1-94d1-7b406d80354e",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "709bbb94-852a-4234-8c27-66f6682bf67f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "04d8185c-808d-4d48-b44c-03356eaa88ca",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "87f77db9-3be1-4afd-b8a2-7901906c8248",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zákazníka."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "b8558f81-c710-479c-b6a8-7fdba720a63b",
      "name": "customer-group",
      "description": {
        "content": "Číselník skupin, do kterých lze zákazníky třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "6485627d-08ad-4155-893b-f24739eeddde",
          "name": "Seznam skupin zákazníků",
          "request": {
            "name": "Seznam skupin zákazníků",
            "description": {
              "content": "Stránkovaný seznam účetních skupin, do kterých lze zařadit [**zákazníka**](/api/zakaznici).\nSkupiny se spravují [v aplikaci](https://online.iucto.cz/customergroup) ,\npřes API je nelze měnit.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "customer_group"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "722b4492-474a-43f7-ae56-dabbf5a687e2",
              "name": "Stránkovaný seznam skupin zákazníků.",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"customer_group\": [\n      {\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5cb76662-11a2-4d59-9272-8ec10c5bcb13",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "09af20d0-9916-46d4-a51a-0bcc4f7dab17",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "customer_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "ada596e0-61e7-4763-88d7-9b97e9fe8d76",
      "name": "dodavatele",
      "description": {
        "content": "Dodavatelé používaní na přijatých dokladech.\nKe kontaktu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "ef9dcf3c-18e8-461c-8ccf-a561b8506e55",
          "name": "Seznam dodavatelů",
          "request": {
            "name": "Seznam dodavatelů",
            "description": {
              "content": "Zjednodušený výpis dodavatelů v adresáři.\nBez filtrů vrací všechny dodavatele firmy.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "name",
                  "value": "ACME CORP.",
                  "description": "Jméno nebo název dodavatele."
                },
                {
                  "disabled": true,
                  "key": "comid",
                  "value": "12345",
                  "description": "IČO."
                },
                {
                  "disabled": true,
                  "key": "email",
                  "value": "some@email.org",
                  "description": "E-mail."
                },
                {
                  "disabled": true,
                  "key": "vatid",
                  "value": "CZ123456",
                  "description": "DIČ."
                },
                {
                  "disabled": true,
                  "key": "vat_payer",
                  "value": "true",
                  "description": "Filtr na plátce DPH."
                },
                {
                  "disabled": true,
                  "key": "phone",
                  "value": "601234567",
                  "description": "Telefon."
                },
                {
                  "disabled": true,
                  "key": "account_number",
                  "value": "1234567890/5000",
                  "description": "Číslo bankovního účtu. Hledá se napříč poli `account_number1`\naž `account_number4`.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_group_id",
                  "value": "123",
                  "description": "ID [**skupiny dodavatelů**](/api/supplier-group)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "CC123",
                  "description": "Vlastní identifikátor dodavatele v cizím systému."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "591bfb73-4f95-4b76-8ba6-0909e2037186",
              "name": "Stránkovaný seznam dodavatelů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "supplier_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"supplier\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_payer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"email\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"phone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cellphone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier_group_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vatid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_payer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"email\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"phone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cellphone\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier_group_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vatid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "42678735-2f42-4ace-a2b2-7f0b6978dd0b",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "supplier_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "96726d6d-db5a-4aae-b731-1c8d22dd5123",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "supplier_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "344148b3-b912-40fc-aad2-9f197d2f0b88",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "name",
                      "value": "ACME CORP."
                    },
                    {
                      "key": "comid",
                      "value": "12345"
                    },
                    {
                      "key": "email",
                      "value": "some@email.org"
                    },
                    {
                      "key": "vatid",
                      "value": "CZ123456"
                    },
                    {
                      "key": "vat_payer",
                      "value": "true"
                    },
                    {
                      "key": "phone",
                      "value": "601234567"
                    },
                    {
                      "key": "account_number",
                      "value": "1234567890/5000"
                    },
                    {
                      "key": "supplier_group_id",
                      "value": "123"
                    },
                    {
                      "key": "external_code",
                      "value": "CC123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "263c5d2c-7bd2-44aa-b0f0-a33eef5a2be6",
          "name": "Vytvoření dodavatele",
          "request": {
            "name": "Vytvoření dodavatele",
            "description": {
              "content": "Přidá dodavatele do adresáře. Plátce DPH musí mít vyplněné `vatid`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "08e35062-60c8-442c-a9b7-01820f8a96d9",
              "name": "Dodavatel byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"supplier_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný dodavatel\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7dfab62f-6cf3-4e21-aa30-9eb760014385",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "44a343d6-d803-449f-803a-907cb5a51e9d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8c88b5c2-996c-4b86-ab05-9a72a6ce7188",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "5e8f6993-edc2-4b9b-97de-e05f7125bafc",
          "name": "Detail dodavatele",
          "request": {
            "name": "Detail dodavatele",
            "description": {
              "content": "Podrobný výpis dodavatele včetně adresy a bankovních účtů.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dodavatele."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "ca1a29f7-398d-41cb-bdd1-8e9c7fef5574",
              "name": "Detail dodavatele.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"supplier_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný dodavatel\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2e01e41d-9d1b-4c3a-bfc0-5233d6c54c1f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5393e348-02e2-40a8-97d1-31b7cfe3815e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fd535514-f01e-490d-a98c-5ff93fe1738c",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "5b84eb43-a318-4822-996a-b7845e602159",
          "name": "Editace dodavatele",
          "request": {
            "name": "Editace dodavatele",
            "description": {
              "content": "Přepíše dodavatele tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dodavatele."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "cf822db4-b48b-44e0-879d-3630c3ecb357",
              "name": "Dodavatel byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"country\": \"CZ\",\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"385 02\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"comid\": \"12345679\",\n  \"email\": \"novak.jan@example.org\",\n  \"phone\": \"+420123123123\",\n  \"cellphone\": \"+420123123123\",\n  \"supplier_group_id\": 78,\n  \"external_code\": \"CC123\",\n  \"vatid\": \"CZ12345679\",\n  \"name_display\": \"Jan Novák ml.\",\n  \"www\": \"https://www.iucto.cz\",\n  \"note\": \"Věrný dodavatel\",\n  \"account_number1\": \"1234567890/0100\",\n  \"account_number2\": \"1234-1234567890/4400\",\n  \"account_number3\": \"string\",\n  \"account_number4\": \"string\",\n  \"default_department_id\": 123,\n  \"default_contract_id\": 321\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "929f7614-f5e9-4e86-a4b9-2afbc9ef8a69",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f323db28-8a63-413a-9618-d9a42d00a1c2",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ab9971ff-d7ee-4965-8c1a-65329cebf5b4",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c2e68665-17d0-4640-8a06-f41a4f05188d",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Jan Novák\",\n  \"vat_payer\": false,\n  \"address\": {\n    \"street\": \"Stodolní 123\",\n    \"city\": \"Ostrava\",\n    \"postalcode\": \"702 00\",\n    \"country\": \"CZ\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b7ff2c2e-2180-44b3-a4f8-8de82e6cc340",
          "name": "Smazání dodavatele",
          "request": {
            "name": "Smazání dodavatele",
            "description": {
              "content": "Smaže dodavatele z adresáře.\nKdyž je vázaný na jiný záznam (faktura, platba a podobně), vrátí chybu a\ndodavatel se nesmaže.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dodavatele."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "34a4b731-2e56-4542-8212-a13180231129",
              "name": "Dodavatel byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "039437a4-4f83-4260-ae5b-48b7022d8554",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c5f8ac48-1ff6-48b0-904f-e421c024cb66",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c496c5d5-048d-4c92-b7af-d57485e2ca02",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9a38c30e-dc10-4156-99f6-fe1c0995d321",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dodavatele."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "b312736d-6a99-4e30-82a1-0edbd674c0ec",
      "name": "supplier-group",
      "description": {
        "content": "Číselník skupin, do kterých lze dodavatele třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "396bc2f4-a796-497f-b3f2-54f482cb2df0",
          "name": "Seznam skupin dodavatelů",
          "request": {
            "name": "Seznam skupin dodavatelů",
            "description": {
              "content": "Stránkovaný seznam účetních skupin, do kterých lze zařadit [**dodavatele**](/api/dodavatele).\nSkupiny se spravují [v aplikaci](https://online.iucto.cz/suppliergroup) ,\npřes API je nelze měnit.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "supplier_group"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "5b52673e-dbf5-49f6-9fdf-f143af15ea21",
              "name": "Stránkovaný seznam skupin dodavatelů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"supplier_group\": [\n      {\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b736a8b0-ecba-4a56-969a-f39af9f60e6f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "d95b635d-87e7-4eea-91d3-58bc7e67db5f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "supplier_group"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "4d660d99-fe22-420b-ba9e-0c846322ee2f",
      "name": "country",
      "description": {
        "content": "Číselník zemí pro adresy kontaktů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "43ef04f0-8af2-403e-ba0a-a4e00a45f66d",
          "name": "Seznam zemí",
          "request": {
            "name": "Seznam zemí",
            "description": {
              "content": "Vrátí mapu kódu země podle ISO 3166-1 alfa-2 na její český název.\nKód se používá v poli `country` u adresy kontaktu.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "country"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "88c7ee7d-6e8f-4961-8bf3-62303049e6f0",
              "name": "Mapa kódu země na její název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "country"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"AD\": \"Andorra\",\n  \"AE\": \"Spojené arabské emiráty\",\n  \"AF\": \"Afghánistán\",\n  \"CZ\": \"Česká republika\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a04cc488-f637-445f-a7f1-a864013b5185",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "country"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b454e84d-9033-481d-a849-686278ed9da2",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "country"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d810b64d-0034-4ebe-9cf2-a59137fe5cdc",
      "name": "preferred-payment-method",
      "description": {
        "content": "Číselník preferovaných způsobů platby u kontaktu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "57d52f41-b520-4684-87a7-1eff1fed4ea7",
          "name": "Seznam preferovaných metod platby",
          "request": {
            "name": "Seznam preferovaných metod platby",
            "description": {
              "content": "Vrátí mapu kódu preferované metody platby na její český název.\nKód se používá v poli `preferred_payment_method` u\n[**zákazníka**](/api/zakaznici) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "preferred_payment_method"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "ccd7fa6a-0f88-4e12-b0e3-ab9a1cfff087",
              "name": "Mapa kódu metody platby na její název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "preferred_payment_method"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"transfer\": \"Bankovním převodem\",\n  \"cash\": \"V hotovosti\",\n  \"proforma\": \"Proforma\",\n  \"check\": \"Šekem\",\n  \"creditcard\": \"Platební kartou\",\n  \"cashondelivery\": \"Dobírka\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "83c6634f-306d-4bfc-92f4-968e3a4fcf5d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "preferred_payment_method"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a67c9143-a873-4cbc-874f-f1882ad74d51",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "preferred_payment_method"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "81e757aa-aedb-49ae-8563-f469f8f5ef69",
      "name": "objednavky-prijate",
      "description": {
        "content": "Objednávky přijaté od zákazníků.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c956cc25-a525-4b36-a811-7c468f316e5d",
          "name": "Seznam objednávek",
          "request": {
            "name": "Seznam objednávek",
            "description": {
              "content": "Stránkovaný seznam objednávek.\nBez filtrů vrací všechny objednávky firmy od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "1234",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "11122233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "OBJ123",
                  "description": "Externí číslo dokladu z navazujícího systému."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f8606217-54ae-459c-b5f0-b679d68dd016",
              "name": "Stránkovaný seznam objednávek.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "OBJ123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"order_received\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6c68dff4-8758-4755-84f8-e0d145e0a5c9",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "OBJ123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "12a6f1a6-408e-472d-81ae-57448b70a6a6",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "OBJ123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f7b27680-f5e9-48c5-93c1-5364c3c94da2",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "OBJ123"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "aeb3605a-4a83-4040-b9db-3e99f09fcdc0",
          "name": "Vytvoření nové objednávky",
          "request": {
            "name": "Vytvoření nové objednávky",
            "description": {
              "content": "Vytvoří objednávku přijatou od zákazníka.\nDoklad musí mít alespoň jednu položku.\n\nObjednávka není daňový doklad: neurčuje se u ní způsob úhrady ani\ndatum splatnosti a její položky se nezaúčtovávají. Fakturu z objednávky\nvystavíte tak, že při vytváření\n[**faktury vydané**](/api/faktury-vydane) pošlete její ID v `order_id`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "97b6666a-e793-4994-8b39-bd9f7ed837d4",
              "name": "Objednávka byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-01-01\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"price_inc_vat\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"invoice_id\": 1234,\n  \"external_code\": \"EXT2019005\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"id\": 123,\n  \"deleted\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "40765f16-6e33-46d9-bc66-f52569d1f7f1",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8be7c952-3444-496f-a35e-14747a0c9849",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b72b2f36-5abb-4c57-9608-3ad8be40a807",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6320ad0b-0818-43f0-9f0c-9437ee2612cb",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "467bcb7b-99a3-40ae-9698-dcbcca830664",
          "name": "Detail objednávky",
          "request": {
            "name": "Detail objednávky",
            "description": {},
            "url": {
              "path": [
                "order_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "c030454f-a613-4edb-af51-08c2038943fd",
              "name": "Detail objednávky.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-01-01\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"price_inc_vat\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"invoice_id\": 1234,\n  \"external_code\": \"EXT2019005\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"id\": 123,\n  \"deleted\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "17b59ec4-1933-40ac-84cc-1fcfbc0a60a9",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6224cd89-9c6d-4860-bb0f-f35cc86c714b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5f135547-49e4-402c-9bc3-cfc6be6342e1",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "7ea102b5-01fb-4f7f-bd60-f272616b0a30",
          "name": "Editace objednávky",
          "request": {
            "name": "Editace objednávky",
            "description": {
              "content": "Přepíše objednávku tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "01ada75d-d853-4d90-a23c-c44b48499bd9",
              "name": "Objednávka byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-01-01\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"price_inc_vat\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"invoice_id\": 1234,\n  \"external_code\": \"EXT2019005\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"id\": 123,\n  \"deleted\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0f35ba3c-4178-4108-8c86-fbecd19761d0",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8afbf8e0-1d5c-48b4-966f-000ff2c41c62",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5b898542-ece4-4088-bec1-fc0619acc4f4",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5ef9b2a2-194e-4fe8-acaf-17b1794dc341",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "bdf7f074-89a0-4064-a771-cf90c1cf7a33",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-01-01\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "f67ddc1e-cbff-4782-88c5-a7f38b61697a",
          "name": "Smazání objednávky",
          "request": {
            "name": "Smazání objednávky",
            "description": {
              "content": "Smaže objednávku.\nKdyž je doklad vázaný na jiný záznam — typicky na\n[**fakturu vydanou**](/api/faktury-vydane) , která z něj vznikla —, vrátí\nchybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "41ec8d83-c97c-4b19-af72-955dc2d248b9",
              "name": "Objednávka byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6f5d8c25-05b9-4247-a926-e341b9d29b7e",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a2b6d22c-30ec-42e1-80f4-7a03b09812bc",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b739cd08-ac66-48e4-b938-30778336d9bd",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "19cf78d3-6d42-4df4-8ddc-bc8161e17a2e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "583d02de-16ff-48da-9b73-0ebc1c55ff42",
      "name": "zalohove-faktury-vydane",
      "description": {
        "content": "Zálohové faktury vystavené zákazníkům.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c6feacf2-e24e-4344-ac78-e4b61f0d0647",
          "name": "Seznam zálohových faktur vydaných",
          "request": {
            "name": "Seznam zálohových faktur vydaných",
            "description": {
              "content": "Stránkovaný seznam zálohových faktur.\nBez filtrů vrací všechny zálohové faktury firmy od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "1234",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "11122233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "303",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "550525e9-42a1-449c-a3d9-8bc51f9ee7c5",
              "name": "Stránkovaný seznam zálohových faktur vydaných.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"proforma_invoice_issued\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cbbedf93-9860-4ff6-84f7-8aa39690ec58",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f3461c32-bf30-4b3f-ae7e-ba9512e4d0bc",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f701679f-6462-4b83-83d9-b2f911bce45d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "89c658e2-9d87-4787-9364-c49e2237733b",
          "name": "Vytvoření zálohové faktury vydané",
          "request": {
            "name": "Vytvoření zálohové faktury vydané",
            "description": {
              "content": "Vytvoří zálohovou fakturu vydanou. Doklad musí mít alespoň jednu položku.\n\nU zálohových faktur se nepoužívají parametry `date_vat` ani\n`date_vat_prev`.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph),\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek) a\n[režim One Stop Shop](/doklady-spolecne#one-stop-shop).\n\nUhrazenou zálohu odečtete z koncového dokladu tak, že při vytváření\n[**faktury vydané**](/api/faktury-vydane) pošlete její ID v poli\n`proforma_invoice` *(od verze API 1.2)*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "dd0e8167-3b3b-42c7-9e88-4eeb57be7b2d",
              "name": "Zálohová faktura byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_invoiced\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/p?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9a201513-7b58-4e5d-90c0-f80c318ff08f",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "11795e29-448c-4856-9b1e-a6649fd4a985",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "86a78cd0-9496-4ade-8d7e-469b39d5b6c5",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2c27b64f-f902-4278-b5f1-489657ed6dbd",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "90bed2e6-fb08-48c5-beb6-712d6d7f47b4",
          "name": "Detail zálohové faktury vydané",
          "request": {
            "name": "Detail zálohové faktury vydané",
            "description": {},
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "e5f8db52-57a5-4e19-98b3-e326ce2d33ad",
              "name": "Detail zálohové faktury vydané.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_invoiced\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/p?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b3153f4a-a995-451a-b8f0-4b0ef51d0bc9",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "2fbcc344-bcf5-49e6-931d-5c5d64409e7e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b180a10e-d578-4621-9172-4ebd302e99a5",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "6004c4ba-b3eb-4991-87ec-fde9aba8f83e",
          "name": "Editace zálohové faktury vydané",
          "request": {
            "name": "Editace zálohové faktury vydané",
            "description": {
              "content": "Přepíše zálohovou fakturu tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "3d9aabbc-6908-489c-b771-a421c93c08b1",
              "name": "Zálohová faktura byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_invoiced\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/p?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9d300195-fe36-4ce1-8a10-ee83ed0b3904",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "057952b1-ff8b-4325-9b6a-2093d5cbd7bf",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "65b80ca6-0220-4b54-95d4-1eda453abbcd",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ebb3003e-cb7f-491b-b956-6780ce8361f9",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ef5710af-ed27-4dce-ae93-53736cea3a70",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na konzultace\",\n      \"amount\": 1,\n      \"price\": 3000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "341897f5-1be8-42b0-9ce3-2b0ee6dee6e2",
          "name": "Smazání zálohové faktury vydané",
          "request": {
            "name": "Smazání zálohové faktury vydané",
            "description": {
              "content": "Smaže zálohovou fakturu.\nKdyž je doklad vázaný na jiný záznam — typicky na úhradu nebo na fakturu, ze\nkteré je odečtený —, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "fc8b75a7-8303-430d-b880-70d4ff41c15b",
              "name": "Zálohová faktura byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "aa5c7ab2-fea0-4c95-b86c-1fd838b89a6c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "183486a3-a644-428c-9dbb-b20c26807adb",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8c6ae8c1-7ed8-4fd5-a1c3-b79800e35d50",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "eef3acb3-3b1c-4c6e-bfbf-debfd02b1d7c",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "903f532f-4a84-42fe-90ca-2b89fa521f00",
          "name": "Stažení PDF zálohové faktury vydané",
          "request": {
            "name": "Stažení PDF zálohové faktury vydané",
            "description": {
              "content": "Vrátí binární obsah PDF pro tisk nebo uložení do souboru.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id",
                "pdf"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/pdf"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "43f59810-25dd-47a0-b446-f3b19295f0f4",
              "name": "PDF dokladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/pdf"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/pdf"
                }
              ],
              "body": "string",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "4e6d63c9-58cd-44c7-91cd-cd76386ed81b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "764343d1-9ca6-4650-bd2d-7e1f0c33e26f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "87fa557d-95f3-428a-9c59-d3aa2fe9740a",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "fa5d92f5-a7b7-4852-a1fa-33f6e2f64bd2",
          "name": "Vytvoření úhrady zálohové faktury vydané",
          "request": {
            "name": "Vytvoření úhrady zálohové faktury vydané",
            "description": {
              "content": "Vytvoří plnou úhradu zálohové faktury.\nVrací detail nově vzniklé [**platby přijaté**](/api/platby-prijate).\nČástečnou úhradu takhle zadat nelze — na tu se zakládá platba přímo.\n\nUž uhrazený doklad (`to_be_paid` je nula) požadavek odmítne.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id",
                "pay"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "2dc10a14-79ec-4d36-bdbf-9002f6ccdc16",
              "name": "Úhrada byla vytvořena, vrací se detail platby.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PP20190001\",\n  \"external_code\": \"FV3425435\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_id\": 1234,\n  \"oss_mode\": false,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"invoice_language\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"address\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"to_be_paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accounted\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"eet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bank_account\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"document_state\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"business_premises\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"eet_status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"share_link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"proforma_invoice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"modified\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"oss_mode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"order_id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reminders\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"creditnote\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"accounted\": true,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-01-25\",\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"supplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bank_account\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"id\": 123,\n    \"deleted\": false,\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"invoice_received_id\": 12343,\n    \"supplier_bank_account\": \"123456789/0800\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "05700cde-82e5-4b0e-bff8-463fd057c654",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b3133db6-1766-4af1-9b0e-2aa2e660a75c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c902adfa-275a-4b8d-8bd5-c1e081a72ccf",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "133fdcfa-602e-4118-9202-e67187d144a7",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c4eda074-c7cc-409a-b320-70bec61767ec",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "pay"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2020-07-01\",\n  \"bank_account\": 465,\n  \"cash_register\": 321\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "76c2ccef-b69a-4cc3-84d4-a47ae3a45943",
          "name": "Generování odkazu pro sdílení zálohové faktury vydané",
          "request": {
            "name": "Generování odkazu pro sdílení zálohové faktury vydané",
            "description": {
              "content": "Vygeneruje veřejný odkaz na doklad a vrátí detail zálohové faktury s vyplněným `share_link`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id",
                "share"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "f49c67b9-ee53-4178-9f54-9847df87913e",
              "name": "Odkaz byl vygenerován, vrací se detail zálohové faktury.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_invoiced\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/p?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0c623b4e-aa75-453d-822a-b89234f5c22c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "4d7da8da-cb2c-4498-918b-d63c090c399d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "dcf890bc-ba7b-42ac-8fc8-f79e1223f261",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ce003196-6f8b-4c92-9bac-f7b9831aaee4",
          "name": "Odeslání zálohové faktury vydané e-mailem",
          "request": {
            "name": "Odeslání zálohové faktury vydané e-mailem",
            "description": {
              "content": "Odešle na zadané adresy e-mail s odkazem na doklad, volitelně i s PDF zálohové faktury.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_issued",
                ":id",
                "email"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "cf2f48e1-1fd9-480d-a284-31941291fefd",
              "name": "E-mail byl předán k odeslání.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"send\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ed43cb62-1f71-4ca1-b2dc-97514323bbd4",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f7eeb19e-7c2e-43b6-8122-062703926ef0",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ec9ff981-60b2-4d26-a64d-af3774c0ab97",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "08aed96f-e541-4d79-b612-1bac1eae8fcb",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme zálohovou fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "3434d0a3-22b4-4b9c-b33c-a4b96f74e3d4",
      "name": "faktury-vydane",
      "description": {
        "content": "Faktury vystavené zákazníkům.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "3299d3fa-d3c8-4e18-83b1-c67469845b6f",
          "name": "Seznam faktur vydaných",
          "request": {
            "name": "Seznam faktur vydaných",
            "description": {
              "content": "Stránkovaný seznam faktur.\nBez filtrů vrací všechny faktury firmy od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "1234",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "11122233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "accounted",
                  "value": "true",
                  "description": "Filtr na zaúčtované doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "303",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "8f56f57d-f214-418f-b180-1f161653130d",
              "name": "Stránkovaný seznam faktur vydaných.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"invoice_issued\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "30e0466e-401d-4d89-9036-4a23936a63ed",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "207f5b21-1030-403d-a10f-47c3b8909548",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "86910d2f-8670-49a8-be7f-4cf34a9438a0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "bf26c376-798b-44b1-aef7-14c335151c24",
          "name": "Vytvoření faktury vydané",
          "request": {
            "name": "Vytvoření faktury vydané",
            "description": {
              "content": "Vytvoří fakturu vydanou. Doklad musí mít alespoň jednu položku.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph),\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek),\n[upomínky](/doklady-spolecne#upominky),\n[EET](/doklady-spolecne#eet) a\n[režim One Stop Shop](/doklady-spolecne#one-stop-shop).\n\nObjednávku připojíte přes `order_id`, zálohové faktury přes pole ID\nv `proforma_invoice` *(od verze API 1.2)*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "ace11fda-be2f-4ba8-8e8d-6de790583ff1",
              "name": "Faktura byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"order_id\": \"13290\",\n  \"reminders\": [\n    \"2019-08-12\",\n    \"2019-08-19\"\n  ],\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6958a11f-e6db-4ee0-9f50-06f0572c1995",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6d65042a-647d-4d39-931c-9f856284819c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f1cbbe36-8468-4e12-9727-27b38b786853",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ce0c7cbb-cbbd-4698-9a01-c9b5f8fe7b59",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ee673ee0-df00-4ef4-8371-3244cbac4208",
          "name": "Detail faktury vydané",
          "request": {
            "name": "Detail faktury vydané",
            "description": {},
            "url": {
              "path": [
                "invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "54211050-6d59-4db0-b7b9-f73e83f92144",
              "name": "Detail faktury vydané.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"order_id\": \"13290\",\n  \"reminders\": [\n    \"2019-08-12\",\n    \"2019-08-19\"\n  ],\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0e3a3ed5-b1d8-4f58-85df-0400763aeca5",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ce2c79d0-a5b3-4911-af42-c6f52ac51335",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4bdeec3d-f573-4d3b-8455-1cd40857eda2",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "52185328-9981-4b2f-9092-e24bb487b006",
          "name": "Editace faktury vydané",
          "request": {
            "name": "Editace faktury vydané",
            "description": {
              "content": "Přepíše fakturu tělem požadavku.\nDoklad odeslaný do EET editovat nelze — vystav\n[**opravný daňový doklad**](/api/opravne-danove-doklady-vydane) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "5f94df37-c0e8-46a8-8217-6de4047fc093",
              "name": "Faktura byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"order_id\": \"13290\",\n  \"reminders\": [\n    \"2019-08-12\",\n    \"2019-08-19\"\n  ],\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "80f3bdb8-43e3-40c9-a756-d501b6f36f5a",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "edcccab3-d783-4cea-b6f0-5e1e5ddd0114",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "df96d73d-a97f-40a9-bf38-9bb0f8fe7f76",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f92d11ab-92af-4ef2-89f1-c3972a624ded",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "68d3a536-327d-4f5c-983b-8867f7448a98",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": 2,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a860f04b-9a08-4189-a46a-278604cef135",
          "name": "Smazání faktury vydané",
          "request": {
            "name": "Smazání faktury vydané",
            "description": {
              "content": "Smaže fakturu.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se. Doklad\nodeslaný do EET smazat nelze — vystav\n[**opravný daňový doklad**](/api/opravne-danove-doklady-vydane) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "de6da99f-17cd-4c16-81af-4bf6ec84fea3",
              "name": "Faktura byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b152a35e-f385-4580-8b06-99a56968295f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7086f09a-8c7a-4b51-95a0-c9d8a9b0cb8b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0b82533e-28a7-4763-b45a-dda8b0dae2dc",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6367e68d-fa7d-4c3d-8c1a-5e81df318bec",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ad91be0a-d623-4743-b44a-f666f6ff0a8e",
          "name": "Zaúčtování faktury vydané",
          "request": {
            "name": "Zaúčtování faktury vydané",
            "description": {
              "content": "Zaúčtuje fakturu do účetního deníku.\nVšechny položky dokladu musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "c0ada116-33f7-4aa8-9d93-5428ffe062b7",
              "name": "Faktura byla zaúčtovaná, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"order_id\": \"13290\",\n  \"reminders\": [\n    \"2019-08-12\",\n    \"2019-08-19\"\n  ],\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8cb491e8-fbb4-44f1-9bf3-195e37d92e79",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8189625c-849f-4362-9623-70a3aa4f46d2",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7d6b6db8-7fd4-4a1d-b762-6e399b704d6a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5b535adf-12ee-4d90-94c8-f6ff727de02a",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ba044f8a-ff98-4c70-a2e1-79fbd1de1023",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b90a4f81-d536-45f5-8fec-12c8c70753e1",
          "name": "Generování odkazu pro sdílení faktury vydané",
          "request": {
            "name": "Generování odkazu pro sdílení faktury vydané",
            "description": {
              "content": "Vygeneruje veřejný odkaz na doklad a vrátí detail faktury s vyplněným `share_link`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id",
                "share"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "f0fb6c44-7dc7-473e-a715-f32365723337",
              "name": "Odkaz byl vygenerován, vrací se detail faktury.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"oss_mode\": false,\n  \"order_id\": \"13290\",\n  \"reminders\": [\n    \"2019-08-12\",\n    \"2019-08-19\"\n  ],\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2673d8d9-04bd-417b-b303-08b1782d0781",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6add0094-502a-478e-b004-43625cffe8bc",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "84eaee7a-9a84-4683-9046-ffeb329bee2e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "491ec473-40e7-455a-a05b-6a2cb7b50e30",
          "name": "Stažení PDF faktury vydané",
          "request": {
            "name": "Stažení PDF faktury vydané",
            "description": {
              "content": "Vrátí binární obsah PDF pro tisk nebo uložení do souboru.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id",
                "pdf"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/pdf"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "82cf58af-c276-4cc8-adf9-c18f151a61cf",
              "name": "PDF dokladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/pdf"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/pdf"
                }
              ],
              "body": "string",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "283cc556-1460-4e43-aa2f-99e090327a0b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "0eb0f780-07b9-4218-b708-541476715889",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ca6c60a3-0b93-48c8-9b04-54f10df48033",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "pdf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "04ab45b7-6615-4917-b47e-715756a4872e",
          "name": "Odeslání faktury vydané e-mailem",
          "request": {
            "name": "Odeslání faktury vydané e-mailem",
            "description": {
              "content": "Odešle na zadané adresy e-mail s odkazem na doklad, volitelně i s PDF faktury a dodacího listu.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_issued",
                ":id",
                "email"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "55ede547-157f-4204-b2f2-158d3c1c8d8d",
              "name": "E-mail byl předán k odeslání.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"send\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "df44a0db-2f29-43f5-9224-2a287ae26d75",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d35c21e1-1152-4102-8d4f-7c4a664caef4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "3c6437a5-0b3d-42ee-949d-2337d67274e8",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a6859b5d-8170-429a-9726-ae7f5a87ef0c",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme fakturu.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true,\n  \"attach_delivery_note_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "f3210ef1-8e92-45a3-912c-1ab0c7aee65a",
      "name": "opravne-danove-doklady-vydane",
      "description": {
        "content": "Opravné daňové doklady k vydaným fakturám.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "4401d5a8-8a2f-4a6d-a3b7-3748d7f961a5",
          "name": "Seznam opravných dokladů",
          "request": {
            "name": "Seznam opravných dokladů",
            "description": {
              "content": "Stránkovaný seznam opravných daňových dokladů.\nBez filtrů vrací všechny opravné doklady firmy od nejnovějšího.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "1234",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "11122233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "accounted",
                  "value": "true",
                  "description": "Filtr na zaúčtované doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "303",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f9d73a92-6611-4315-bd0b-4b18ac25c957",
              "name": "Stránkovaný seznam opravných daňových dokladů vydaných.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"creditnote_issued\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "09f230c9-f4e8-44d3-b83b-3f695fe6c057",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2d939784-6224-4d19-bd58-2181a71e3f19",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "edacc946-0ddd-497d-8d6f-3b7e8456d99d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "customer_id",
                      "value": "1234"
                    },
                    {
                      "key": "customer_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "3bd3af5b-e02a-4ec3-a39a-e284fa0fbae1",
          "name": "Vytvoření opravného dokladu",
          "request": {
            "name": "Vytvoření opravného dokladu",
            "description": {
              "content": "Vytvoří opravný daňový doklad k [**faktuře vydané**](/api/faktury-vydane).\nDoklad musí mít alespoň jednu položku a povinnou poznámku `description` s\ndůvodem opravy. Opravovanou fakturu určuje `invoice_issued_id` ; opravit\nnelze víc, než na ní zbývá.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph),\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek),\n[EET](/doklady-spolecne#eet) a\n[režim One Stop Shop](/doklady-spolecne#one-stop-shop).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "fffc4518-3b38-42c0-9319-3848623ce2b6",
              "name": "Opravný doklad byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"invoice_issued_id\": 12343,\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3111d54a-d21d-4352-bf41-69d77fc6e53c",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5e907de4-bd5f-47ab-96e7-25a6258645d0",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "25e743aa-97b5-4e51-9bd0-c94af788c781",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a912cd3b-d385-4e16-bf50-73e43292ca6b",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "297370ec-bffd-45d9-8670-e618351cb056",
          "name": "Detail opravného dokladu",
          "request": {
            "name": "Detail opravného dokladu",
            "description": {},
            "url": {
              "path": [
                "creditnote_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "5a3718c2-9dd0-460a-83c2-c5f954578a21",
              "name": "Detail opravného daňového dokladu vydaného.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"invoice_issued_id\": 12343,\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e545478d-c6bf-409e-b8ec-47f074716494",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "4fd159e8-7015-4c35-82ff-3738852bda43",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cb26558b-dfeb-468a-8bfe-47a27908c782",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "367b0653-ef71-43a0-ad29-e3be22e5c947",
          "name": "Editace opravného dokladu",
          "request": {
            "name": "Editace opravného dokladu",
            "description": {
              "content": "Přepíše opravný doklad tělem požadavku.\nDoklad odeslaný do EET editovat nelze — vystavte další opravný daňový doklad.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "1eeb9360-87d3-4503-8c1d-81aa805f7842",
              "name": "Opravný doklad byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"invoice_issued_id\": 12343,\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3f418e9c-d9c1-4929-a456-acbc67758824",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0558aaa2-b40b-4adf-8fa3-f05fdd87c344",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "44c3e53a-a239-445a-9a0f-e3f2eee1999b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f2363551-6e93-424e-a68b-9337bc0c87a9",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1c94b836-7a8c-4cd1-9acb-cc4ae10c8a41",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_issued_id\": 12343,\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-07-12\",\n  \"maturity_date\": \"2019-07-26\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"description\": \"Oprava fakturovaného množství.\",\n  \"items\": [\n    {\n      \"text\": \"Konzultace\",\n      \"amount\": -1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "223053ca-26ee-4f77-9247-04f7b20b3cc3",
          "name": "Smazání opravného dokladu",
          "request": {
            "name": "Smazání opravného dokladu",
            "description": {
              "content": "Smaže opravný doklad.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se. Doklad\nodeslaný do EET smazat nelze — vystavte další opravný daňový doklad.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "be926eae-cc12-4fe4-aac0-437694106f9a",
              "name": "Opravný doklad byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ab92958a-acee-4ca5-abf6-4adeb867be02",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bd63c0a3-6faa-4034-8429-71241bd54ce6",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "dfa42ae6-de41-43af-a383-a245d44ece3b",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "56077a51-2167-45e1-9892-c829b137d522",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "25f703c9-277d-4913-a33c-75330ae38570",
          "name": "Zaúčtování opravného dokladu",
          "request": {
            "name": "Zaúčtování opravného dokladu",
            "description": {
              "content": "Zaúčtuje opravný doklad do účetního deníku.\nVšechny položky dokladu musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "5b9cac78-88be-4b75-bd1e-a94bb540f7c6",
              "name": "Opravný doklad byl zaúčtovaný, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"invoice_issued_id\": 12343,\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "45dca1a8-649a-48b7-ab9d-643f37cae98f",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b9a139f9-fde4-4694-92df-d4e9d0013d2f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "303e9578-257d-40be-9e9c-74b1cd040eaa",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "25dd0c5d-bf82-41ca-9047-e4e4695bdfde",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "39ae55be-3f9f-44f1-b42b-71db42fad634",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b7ba0fd7-4e32-485d-9358-c90473654265",
          "name": "Generování odkazu pro sdílení opravného dokladu",
          "request": {
            "name": "Generování odkazu pro sdílení opravného dokladu",
            "description": {
              "content": "Vygeneruje veřejný odkaz na doklad a vrátí detail opravného dokladu s vyplněným `share_link`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued",
                ":id",
                "share"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "6ad20cdf-47a6-4b21-923d-6f120e981c55",
              "name": "Odkaz byl vygenerován, vrací se detail opravného dokladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"accounted\": true,\n  \"currency\": \"CZK\",\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  },\n  \"items\": [\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"text\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"amount\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"price\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit_price_inc_vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"unit\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_total\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"accountentrytype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vattype_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_chart_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"maturity_date\": \"2019-01-25\",\n  \"payment_type\": \"transfer\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"to_be_paid\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"business_premises\": {\n    \"id\": 897,\n    \"name\": \"Restaurace u koníčka\",\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"isdefault\": true\n  },\n  \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"invoice_issued_id\": 12343,\n  \"oss_mode\": false,\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6a4cccbc-0497-48df-8807-7a9898772477",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "4868c7b7-1aa7-4280-94d9-25064b399ce0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4f1af326-8dc5-4370-92f1-482f6d54c48a",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "share"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "afd5a014-09a5-450e-9b2a-1b87c7a3542c",
          "name": "Odeslání opravného dokladu e-mailem",
          "request": {
            "name": "Odeslání opravného dokladu e-mailem",
            "description": {
              "content": "Odešle na zadané adresy e-mail s odkazem na doklad, volitelně i s PDF opravného dokladu.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_issued",
                ":id",
                "email"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID opravného dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "befc9a6e-8600-425b-b22b-a8abdb647d37",
              "name": "E-mail byl předán k odeslání.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"send\": true\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c7d78311-82d7-4740-b763-ef09b1819119",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5be61958-5a38-4210-88f8-68d9e29bf1df",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "aa096729-321a-4ff1-b543-2ade9d26b65d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2508da8e-1d49-484f-971d-9c51b2011896",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_issued",
                    ":id",
                    "email"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID opravného dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Dobrý den, v příloze zasíláme opravný daňový doklad.\",\n  \"recipient\": [\n    \"recipient1@example.org\",\n    \"recipient2@example.org\"\n  ],\n  \"hidden_copy\": [\n    \"no-reply@example.org\"\n  ],\n  \"attach_pdf\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d87d0929-2aaa-4650-a874-47638203f818",
      "name": "document-scan",
      "description": {
        "content": "Naskenované doklady čekající na zpracování.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "bb91d23e-855d-4301-bab4-465648d762e9",
          "name": "Seznam došlých dokladů",
          "request": {
            "name": "Seznam došlých dokladů",
            "description": {
              "content": "Stránkovaný seznam nahraných dokladů čekajících na zpracování.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "document_scan"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "status",
                  "value": "uploaded",
                  "description": "Stav zpracování došlého dokladu."
                },
                {
                  "disabled": true,
                  "key": "timestamp_from",
                  "value": "2025-01-01T14:04:45+01:00",
                  "description": "Datum a čas nahrání souboru od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "timestamp_to",
                  "value": "2025-08-04T14:04:45+02:00",
                  "description": "Datum a čas nahrání souboru do (včetně)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "9b1b0621-ddf8-4d4b-87ad-7189093dd5e2",
              "name": "Stránkovaný seznam došlých dokladů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "status",
                      "value": "uploaded"
                    },
                    {
                      "key": "timestamp_from",
                      "value": "2025-01-01T14:04:45+01:00"
                    },
                    {
                      "key": "timestamp_to",
                      "value": "2025-08-04T14:04:45+02:00"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"document_scan\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"file_name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"format\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"created\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"file_name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"format\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"created\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a123d552-08a1-4fb5-ac24-31268e2cf24b",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "status",
                      "value": "uploaded"
                    },
                    {
                      "key": "timestamp_from",
                      "value": "2025-01-01T14:04:45+01:00"
                    },
                    {
                      "key": "timestamp_to",
                      "value": "2025-08-04T14:04:45+02:00"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "011b4902-fb8b-4581-ac23-1387ad7c48fa",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "status",
                      "value": "uploaded"
                    },
                    {
                      "key": "timestamp_from",
                      "value": "2025-01-01T14:04:45+01:00"
                    },
                    {
                      "key": "timestamp_to",
                      "value": "2025-08-04T14:04:45+02:00"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "dbecff7e-b8ba-4100-a176-7051d9da3106",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "status",
                      "value": "uploaded"
                    },
                    {
                      "key": "timestamp_from",
                      "value": "2025-01-01T14:04:45+01:00"
                    },
                    {
                      "key": "timestamp_to",
                      "value": "2025-08-04T14:04:45+02:00"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "dca4e8e2-a1c1-478b-b669-a7c531709fd8",
          "name": "Nahrání došlého dokladu",
          "request": {
            "name": "Nahrání došlého dokladu",
            "description": {
              "content": "Nahraje soubor ke zpracování a vrátí jeho záznam.\nZpracování běží synchronně, takže záznam se vrací už s výsledným stavem —\n`uploaded` se v odpovědi neobjeví.\n\nNahrávat lze soubory ve formátu `.png`, `.jpeg`, `.jpg`, `.pdf`, `.xml`,\n`.isdoc`, `.isdocx` a WebFakt. Maximální velikost souboru je 4 MB.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "document_scan"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "multipart/form-data"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "description": "(Required) Obsah nahrávaného souboru. Povolené formáty jsou `.png`, `.jpeg`,\n`.jpg`, `.pdf`, `.xml`, `.isdoc`, `.isdocx` a WebFakt, maximální\nvelikost souboru je 4 MB.\n"
                }
              ]
            }
          },
          "response": [
            {
              "id": "119112c9-0403-49e5-a274-2b41fd39b888",
              "name": "Soubor byl nahrán, vrací se záznam došlého dokladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Obsah nahrávaného souboru. Povolené formáty jsou `.png`, `.jpeg`,\n`.jpg`, `.pdf`, `.xml`, `.isdoc`, `.isdocx` a WebFakt, maximální\nvelikost souboru je 4 MB.\n",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 546,\n  \"file_name\": \"FV2026001.pdf\",\n  \"status\": \"uploaded\",\n  \"format\": \"pdf\",\n  \"created\": \"2026-03-12T11:48:21+01:00\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "14f7d71b-fd21-4076-8cf6-3da3fa0227ce",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Obsah nahrávaného souboru. Povolené formáty jsou `.png`, `.jpeg`,\n`.jpg`, `.pdf`, `.xml`, `.isdoc`, `.isdocx` a WebFakt, maximální\nvelikost souboru je 4 MB.\n",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "72e087d1-577a-4db0-9901-55cfe90b0348",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Obsah nahrávaného souboru. Povolené formáty jsou `.png`, `.jpeg`,\n`.jpg`, `.pdf`, `.xml`, `.isdoc`, `.isdocx` a WebFakt, maximální\nvelikost souboru je 4 MB.\n",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "0ba5f45c-3057-4668-9bcd-1f1d97f2c999",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "document_scan"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Obsah nahrávaného souboru. Povolené formáty jsou `.png`, `.jpeg`,\n`.jpg`, `.pdf`, `.xml`, `.isdoc`, `.isdocx` a WebFakt, maximální\nvelikost souboru je 4 MB.\n",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "fde307b1-b67e-4f1a-b9a0-852a1fac929d",
      "name": "objednavky-vydane",
      "description": {
        "content": "Objednávky vystavené dodavatelům.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a14d0519-e989-4448-8fd1-c7095c2dbdb5",
          "name": "Seznam objednávek vydaných",
          "request": {
            "name": "Seznam objednávek vydaných",
            "description": {
              "content": "Stránkovaný seznam objednávek vystavených dodavatelům.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f6a68c1c-e071-4635-8e07-0b3ebae11ef6",
              "name": "Stránkovaný seznam objednávek vydaných.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"order_issued\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1b7786f6-b140-482c-9e8e-25364ac0f7ed",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ed267423-715a-4144-aaf0-bfcfe3bbccd0",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e9e50345-e6a1-4e2b-94a2-ec92416df774",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "53f6a6ec-1457-4f9d-95b3-9644cc4e7f7a",
          "name": "Vytvoření objednávky vydané",
          "request": {
            "name": "Vytvoření objednávky vydané",
            "description": {
              "content": "Vytvoří objednávku vydanou. Doklad musí mít alespoň jednu položku.\n\nObjednávka se nezaúčtovává, proto její položky nemají pole zaúčtování.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "a01f6ed6-afbf-4bce-93b4-aee887174394",
              "name": "Objednávka byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 13290,\n  \"price_inc_vat\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"deleted\": false,\n  \"invoice_id\": 13290,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"OBJ20190001\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6af47ad9-90bb-4eef-9185-db4341157e9e",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "730ce7e4-ee36-4cdf-b256-9223fc4b7f5a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "21ee3037-94ed-4ad6-8241-7d17bd8210b1",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0003f5e4-f512-46ee-b87a-b56d03ac898e",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "54bd929a-99f3-4764-ad4a-b390aed24817",
          "name": "Detail objednávky vydané",
          "request": {
            "name": "Detail objednávky vydané",
            "description": {},
            "url": {
              "path": [
                "order_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "cd01ba51-b195-4f75-a82a-1e1eec8cb869",
              "name": "Detail objednávky vydané.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 13290,\n  \"price_inc_vat\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"deleted\": false,\n  \"invoice_id\": 13290,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"OBJ20190001\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "67085e85-af17-4015-aa0b-786a25a7cd2b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "10640cd1-1370-4e0f-b37f-31c60dcc3a8c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e69af78a-4d36-46a3-9a79-3bb23352ce71",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "442f160b-304e-4ed0-9e4a-ac6a1b4590d0",
          "name": "Editace objednávky vydané",
          "request": {
            "name": "Editace objednávky vydané",
            "description": {
              "content": "Přepíše objednávku tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "28419c7e-2163-4e08-bd52-558ec266a582",
              "name": "Objednávka byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 13290,\n  \"price_inc_vat\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"deleted\": false,\n  \"invoice_id\": 13290,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"OBJ20190001\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8b30dca9-1ae8-43a6-adb1-ae03749bd9cd",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "35fb2316-52bb-4861-849c-3c2ddcb0726c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "3b642ea8-acea-4d9b-b568-26b2d6328cdb",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b0dd8dd4-508c-46e7-9d6a-0e3fc91104a9",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9d0d6f5f-7afd-47c1-947b-80fba2f4b21b",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Kancelářský papír\",\n      \"amount\": 10,\n      \"price\": 120,\n      \"unit\": \"bal\",\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8d4d14ce-9f11-4c98-8f6c-a5595b45f2dc",
          "name": "Smazání objednávky vydané",
          "request": {
            "name": "Smazání objednávky vydané",
            "description": {
              "content": "Smaže objednávku.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "order_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID objednávky."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "4d9d99b6-2bc6-4bed-ba41-5eef37558314",
              "name": "Objednávka byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "97d35aeb-5534-4280-88fe-deae023df94c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "dbc36e13-5d54-4e0b-98b9-54df61d1506b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cb052d3f-440c-44d3-b373-d765dfe49b0a",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fa96362e-6fb4-4ac3-b5d0-d6ea4f12a20e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "order_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID objednávky."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "eb6c22da-e440-4009-97b8-189629628cb8",
      "name": "zalohove-faktury-prijate",
      "description": {
        "content": "Zálohové faktury přijaté od dodavatelů.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "27f59da9-62ad-4a0a-a27d-585b217b82dc",
          "name": "Seznam zálohových faktur přijatých",
          "request": {
            "name": "Seznam zálohových faktur přijatých",
            "description": {
              "content": "Stránkovaný seznam zálohových faktur přijatých od dodavatelů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "FV303",
                  "description": "Číslo dokladu u dodavatele."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f3655ad5-741c-4ed0-a1a7-d94e58c751e7",
              "name": "Stránkovaný seznam zálohových faktur přijatých.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"proforma_invoice_received\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_invoiced\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_invoiced\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d1154098-27d2-40fd-975e-c2c0598831f6",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "03fad59a-24f3-4a9f-bc56-c349e2a6b134",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "d171845f-9a55-47b7-a78a-13bbaf13b2fc",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "331b3a3e-5a0f-40a6-955f-3858a4d6c423",
          "name": "Vytvoření zálohové faktury přijaté",
          "request": {
            "name": "Vytvoření zálohové faktury přijaté",
            "description": {
              "content": "Vytvoří zálohovou fakturu přijatou.\nDoklad musí mít alespoň jednu položku.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph) a\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "b918f2d8-a43f-4849-91bd-c619730c54e5",
              "name": "Zálohová faktura byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"to_be_invoiced\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"ZFP20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7841d167-143e-46e5-8c9f-8b48d8de7299",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "40baf17a-66f0-473c-b032-144023169777",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f800793d-762b-4d88-8308-fc8a2fad65c8",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6e885bb5-074b-4f56-a2e7-9d7716ce20b3",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "d0aee755-83e4-4e0d-a58c-210ae73b8c2d",
          "name": "Detail zálohové faktury přijaté",
          "request": {
            "name": "Detail zálohové faktury přijaté",
            "description": {},
            "url": {
              "path": [
                "proforma_invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "9866e4ee-6daa-4a65-9523-23489a06056b",
              "name": "Detail zálohové faktury přijaté.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"to_be_invoiced\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"ZFP20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a72c8ef6-318f-44b2-991b-6e78b3b7d2de",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bfb47c11-bdfd-4843-b324-df6e02e0da07",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1e0cb63f-3d83-4c0e-b497-ce4017245e8b",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "64f2cbed-3871-4348-93c5-38b1be6da748",
          "name": "Editace zálohové faktury přijaté",
          "request": {
            "name": "Editace zálohové faktury přijaté",
            "description": {
              "content": "Přepíše zálohovou fakturu tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "56da60c4-ae92-4f74-9a03-42b6a3b0826b",
              "name": "Zálohová faktura byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"to_be_invoiced\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"ZFP20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5db9ecaf-abfd-4b8d-866c-1fb63e844ec7",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4286dc48-2633-49a7-9358-5a6de6381a61",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "44c4082e-8682-4c1d-b0bd-b3395f207686",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e0a8ef44-0aeb-4216-a579-a62eeaa1643e",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5fd37640-00bc-42e2-8ab7-c3840cf730dd",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"external_code\": \"20190001\",\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Záloha na dodávku materiálu\",\n      \"amount\": 1,\n      \"price\": 10000,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1e7dff06-ebbe-4da8-b6d8-a92544311f8c",
          "name": "Smazání zálohové faktury přijaté",
          "request": {
            "name": "Smazání zálohové faktury přijaté",
            "description": {
              "content": "Smaže zálohovou fakturu.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "proforma_invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID zálohové faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "9df87b45-1f9a-4d17-bcd0-4fbc5377306b",
              "name": "Zálohová faktura byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ae8f6e4a-fb7c-4809-bba6-93340cf96482",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "47a11276-2831-4fbe-8748-9abd4fc6869f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "eba20406-c58f-4d46-b8cf-9378429e167c",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b27f8517-4e12-45ff-aa47-a2caff5304c4",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "proforma_invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID zálohové faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "ca183caa-1b65-4897-85a7-326b233a0c5e",
      "name": "faktury-prijate",
      "description": {
        "content": "Faktury přijaté od dodavatelů.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "99fc0ee2-347d-470d-ae0e-2498d13fdb34",
          "name": "Seznam faktur přijatých",
          "request": {
            "name": "Seznam faktur přijatých",
            "description": {
              "content": "Stránkovaný seznam faktur přijatých od dodavatelů.\nBez filtrů vrací všechny faktury firmy.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "accounted",
                  "value": "true",
                  "description": "Filtr na zaúčtované doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "FV303",
                  "description": "Číslo dokladu u dodavatele."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "be7781a0-c134-4ef6-ba2d-bdab681f3fbf",
              "name": "Stránkovaný seznam faktur přijatých.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"invoice_received\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"order_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"order_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "06ff407b-ef0d-4b02-a3dc-92a27e01e2da",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "df5e9c07-15bf-4116-9951-3ed9133e858e",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c81d8145-8f3c-4c95-8c28-fbd99b1d4711",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "75847010-3e8b-42d4-a8b2-490330dea84f",
          "name": "Vytvoření faktury přijaté",
          "request": {
            "name": "Vytvoření faktury přijaté",
            "description": {
              "content": "Vytvoří fakturu přijatou. Doklad musí mít alespoň jednu položku.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph) a\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek).\n\n[**Objednávku vydanou**](/api/objednavky-vydane) připojíte přes `order_id`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "21b9aefa-5edb-4b32-a47f-062a3e281b9a",
              "name": "Faktura byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"FP20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"order_id\": 12343,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "63a3ba5b-32ed-4cd5-b67b-e15eb27484c6",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b0d2feac-a61a-410c-af38-f6bf62a1c281",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5a4a52e4-8f4c-4c0b-b5d8-ead73a0e850c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "675f5173-e106-4ae7-a566-8e852d353337",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b7312555-e691-4b39-ae16-69487e3be817",
          "name": "Detail faktury přijaté",
          "request": {
            "name": "Detail faktury přijaté",
            "description": {},
            "url": {
              "path": [
                "invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "46ff175d-1df4-4502-9043-2bd2dfb49600",
              "name": "Detail faktury přijaté.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"FP20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"order_id\": 12343,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "feeb3113-d983-429a-b9ee-f85d130d8bff",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "d86ff93c-f3b0-4da3-8fbc-e72d6ee0cbaa",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f0cd69f0-2045-4644-b25e-3e64204cf256",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "654f3789-bb17-453f-80cf-f65bc1ce62c2",
          "name": "Editace faktury přijaté",
          "request": {
            "name": "Editace faktury přijaté",
            "description": {
              "content": "Přepíše fakturu tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "4657361b-d469-4909-ba53-fa287dec2947",
              "name": "Faktura byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"FP20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"order_id\": 12343,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "440df769-ae9a-4242-9442-167a409a6194",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4a43d548-2dcc-4976-93e6-29bc8608e737",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5aec1f79-93b4-4c93-8777-98c564776595",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4fc91f78-f3c5-431d-b848-cec30e105eda",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9d50d525-6f44-4729-8880-51348b31c065",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Servis tiskárny\",\n      \"amount\": 1,\n      \"price\": 2400,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "56aeba17-1c96-4f3d-a560-fb43f18ef38c",
          "name": "Smazání faktury přijaté",
          "request": {
            "name": "Smazání faktury přijaté",
            "description": {
              "content": "Smaže fakturu.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "64bac29e-891d-4663-b556-3a9974d2452f",
              "name": "Faktura byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8538bac1-8af1-4dbb-986e-9c42243f715c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e3e52723-e00c-4134-ace0-96c314c2c8d2",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ae7e4b77-560a-4924-aec9-34f4558102d5",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a28ef7df-ee08-40e8-af2e-0f77086d627f",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8cb3f640-42f6-4ae5-9948-88ba2ed882b3",
          "name": "Zaúčtování faktury",
          "request": {
            "name": "Zaúčtování faktury",
            "description": {
              "content": "Zaúčtuje fakturu do účetního deníku.\nVšechny položky dokladu musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "invoice_received",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID faktury."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "ca99946e-8ca2-41e5-a8e7-ab7c620b583b",
              "name": "Faktura byla zaúčtovaná, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"proforma_invoice\": [\n    {\n      \"id\": 123456\n    },\n    {\n      \"id\": 123456\n    }\n  ],\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"FP20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"order_id\": 12343,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3668341c-0853-4138-b8af-d6e56daa1b95",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a9921f38-5c87-4652-8320-212d6c46e4fd",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1f9f8c46-a8ba-498e-851f-8332c41d2744",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d1dcf54e-743a-411a-8055-9416f9399d36",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4d8ca540-ef80-47f9-ba35-f24bd82ca203",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "invoice_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID faktury."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d594851e-6ca7-4467-b578-4aaa9be58617",
      "name": "opravne-danove-doklady-prijate",
      "description": {
        "content": "Opravné daňové doklady k přijatým fakturám.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9ea28784-e9d9-4bfa-b604-467e6800e3dc",
          "name": "Výpis všech dostupných dokladů",
          "request": {
            "name": "Výpis všech dostupných dokladů",
            "description": {
              "content": "Stránkovaný seznam opravných daňových dokladů přijatých od dodavatelů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "accounted",
                  "value": "true",
                  "description": "Filtr na zaúčtované doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "303",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "01ef1980-2f81-4309-8ae0-f135c39175fd",
              "name": "Stránkovaný seznam opravných daňových dokladů přijatých.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"creditnote_received\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_received_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_received_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d35bf37e-cb38-4f61-ad2b-9ba1f45d9448",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ace7ab31-2680-41e7-bbb4-5ba1cce9e617",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e7a1bb62-5555-42a6-974b-d14b6e12682b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "bank_account",
                      "value": "303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "e0739e4e-f811-4fa5-bafa-6114ddaca9c6",
          "name": "Vytvoření nového dokladu",
          "request": {
            "name": "Vytvoření nového dokladu",
            "description": {
              "content": "Vytvoří opravný daňový doklad přijatý.\nDoklad musí mít alespoň jednu položku.\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph) a\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek).\n\nOpravovanou [**fakturu přijatou**](/api/faktury-prijate) připojíte přes\n`invoice_received_id`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "93459fa6-d071-44f7-8b39-6eafeb1edcd9",
              "name": "Doklad byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"accounted\": true,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-01-25\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"invoice_received_id\": 12343,\n  \"supplier_bank_account\": \"123456789/0800\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "03ec9a2a-1d5a-4dfa-aa8e-828f73eb55a3",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8a92f99c-94a6-40d2-834d-0a1a0124ef54",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "98fc381f-b1fc-459e-92fc-fc6bcaccc0c0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "26dabc27-2f5e-4a16-8f5c-7c44af4fb990",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "6870406f-1010-4059-9316-9a54866c13c6",
          "name": "Detail dokladu",
          "request": {
            "name": "Detail dokladu",
            "description": {},
            "url": {
              "path": [
                "creditnote_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "4270628c-2470-46cb-a557-e259c0e02bed",
              "name": "Detail opravného daňového dokladu přijatého.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"accounted\": true,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-01-25\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"invoice_received_id\": 12343,\n  \"supplier_bank_account\": \"123456789/0800\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fe8a3add-a152-47fb-84d1-f284a91b7902",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "484895a9-33b0-415f-ba1b-0d98a78f1aee",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "102fb2bc-b126-4e94-a9e2-a65c9905d806",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1b62baab-4356-4ad1-a3c1-cbfbf4e344df",
          "name": "Editace dokladu",
          "request": {
            "name": "Editace dokladu",
            "description": {
              "content": "Přepíše doklad tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "1a5bd300-ef37-49aa-957d-1ee55e8de3d0",
              "name": "Doklad byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"accounted\": true,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-01-25\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"invoice_received_id\": 12343,\n  \"supplier_bank_account\": \"123456789/0800\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1be86069-beb5-4eb0-aab4-add99a1b504c",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "173f710a-dde8-4db6-8440-6ad8eb199b32",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a70e1c0c-2b5e-4a65-abe2-2e3ca9c1866c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "70df206b-6606-407a-a781-e2e8abd1701c",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a9a268fa-8da3-49d6-847c-1c64e77a9e45",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"invoice_received_id\": 12343,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"items\": [\n    {\n      \"text\": \"Vratka za neodebrané zboží\",\n      \"amount\": 1,\n      \"price\": -1200,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "6c455567-1775-41e9-83d4-9d1c27380fa8",
          "name": "Smazání dokladu",
          "request": {
            "name": "Smazání dokladu",
            "description": {
              "content": "Smaže doklad.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "cca26925-5e07-40d4-bdc8-5446b193384f",
              "name": "Doklad byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "115afff1-2208-4f03-8983-0232d6eb8175",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "21d486dc-9ea4-41e7-8ff8-69701a5f8fbc",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c94dd522-c4c4-45a2-a900-e3ecaca6dd36",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f37df690-e2c5-42f0-9899-a088c218f9f1",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "410b507f-b983-4e3b-b399-582c473d67f7",
          "name": "Zaúčtování dokladu",
          "request": {
            "name": "Zaúčtování dokladu",
            "description": {
              "content": "Zaúčtuje dobropis do účetního deníku.\nVšechny položky dokladu musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "creditnote_received",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "a267424c-68ad-48f1-a233-ce9f7058a400",
              "name": "Doklad byl zaúčtovaný, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"accounted\": true,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-01-25\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"DOC20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-01-10\",\n  \"invoice_received_id\": 12343,\n  \"supplier_bank_account\": \"123456789/0800\",\n  \"date_vat_prev\": \"2019-01-01\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c029bbde-5378-4e98-8359-9a2e64b84bd0",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7baa2ee1-cb81-4e38-84e7-fd5635755ba4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "651aea15-bf5f-4af3-9594-a38bebc6f30d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "66ea9500-3ed4-4c81-b4e5-ca03873eb43c",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8e827e96-98b7-4915-bcfc-b880cca5c47c",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "creditnote_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "94b9a5c0-cd5f-4245-b9d1-3c28beffdca7",
      "name": "interni-predpisy-nakladu",
      "description": {
        "content": "Interní doklady předepisující náklad bez vazby na dodavatele.\nK dokladu lze přidávat [**přílohy**](/api/attachment).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b232a90d-76b5-455e-a9bb-d61e7d8144b3",
          "name": "Seznam interních předpisů nákladů",
          "request": {
            "name": "Seznam interních předpisů nákladů",
            "description": {
              "content": "Stránkovaný seznam interních předpisů nákladů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_expense"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "paid",
                  "value": "true",
                  "description": "Filtr na uhrazené doklady."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "accounted",
                  "value": "true",
                  "description": "Filtr na zaúčtované doklady."
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "transfer",
                  "description": "Způsob úhrady, viz [**Metody plateb**](/api/metody-plateb)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "FV303",
                  "description": "Číslo dokladu u dodavatele."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "31a23112-67a2-4bde-b1b7-3eec6ce6fd36",
              "name": "Stránkovaný seznam interních předpisů nákladů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"direct_expense\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"to_be_paid\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accounted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c19e6195-b221-4db8-b33e-13e512b14fd0",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "46e16b50-71e4-4f00-8cef-bf98dbad1b80",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6ed294fb-5a92-4140-8fff-3b4f2eaf8b33",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "paid",
                      "value": "true"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "accounted",
                      "value": "true"
                    },
                    {
                      "key": "payment_type",
                      "value": "transfer"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "83dd2e25-27b2-4d2e-bc19-0cac3c3472d5",
          "name": "Vytvoření interního předpisu nákladu",
          "request": {
            "name": "Vytvoření interního předpisu nákladu",
            "description": {
              "content": "Vytvoří interní předpis nákladu.\nDoklad musí mít alespoň jednu položku a vyplněný protiúčet\n`chartaccount_dal_id` .\n\nChování, které je společné všem dokladům, popisuje\n[průvodce doklady](/doklady-spolecne):\n[neplátci DPH](/doklady-spolecne#neplatci-dph) a\n[zaúčtování položek](/doklady-spolecne#zauctovani-polozek).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_expense"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "43b0cd11-00c8-457b-b649-e481253908d8",
              "name": "Předpis byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"sequence_code\": \"IPN20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6cdb4e1c-b445-4085-8854-bec3786fd819",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5ba9f2e6-a2cd-4a91-aa94-01cb8043ea1f",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1273bdd9-0e0e-4f31-be01-fe6443b6a1ed",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4f53c80b-e143-43c9-b237-70312a72a80a",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "07aaed0d-1599-46d7-bfed-2be1edc8a901",
          "name": "Detail interního předpisu nákladu",
          "request": {
            "name": "Detail interního předpisu nákladu",
            "description": {},
            "url": {
              "path": [
                "direct_expense",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID předpisu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "96133dbc-5230-4ed1-9e3d-0df856b2d4b4",
              "name": "Detail interního předpisu nákladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"sequence_code\": \"IPN20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b7d715a8-a405-4b25-b07d-a843fe333428",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "34cef3bd-4293-44ad-9ec9-793a41c00bdc",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "63c6b4b2-86f6-43f7-8994-61765d29da38",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a0602001-3cf9-4a32-b4c3-dd4c90fb92c9",
          "name": "Editace interního předpisu nákladu",
          "request": {
            "name": "Editace interního předpisu nákladu",
            "description": {
              "content": "Přepíše předpis tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_expense",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID předpisu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "831d7d71-14bd-4016-b150-0d0dbfef5860",
              "name": "Předpis byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"sequence_code\": \"IPN20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d615b030-9780-4ab8-8ab9-65c29646763d",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0190b018-8f8f-4983-8bc3-927dd3c17dc4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "253c1cf2-4026-4573-9f38-87bfa2fdc99e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "45728bca-5248-4f43-a8ce-91141f354ba3",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "218d92b0-8285-440e-83a7-4812f4a068c5",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"text\": \"Nájemné za červenec\",\n      \"amount\": 1,\n      \"price\": 15000,\n      \"vat\": 21,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "4f35cf71-ecac-4278-90ef-867a7d9c0648",
          "name": "Smazání interního předpisu nákladu",
          "request": {
            "name": "Smazání interního předpisu nákladu",
            "description": {
              "content": "Smaže předpis.\nKdyž je doklad vázaný na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_expense",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID předpisu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "bfe3cde5-35b1-45f8-b2bf-9eb82517e780",
              "name": "Předpis byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c317229e-ad51-4c9f-96c2-30e5c212be71",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1c70f2ae-7ddb-41d7-8cb8-eac133b018b4",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "db529cb5-d599-4f7f-a863-a383330124d7",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "794124d9-d627-4a04-8dc5-f735007bcf02",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c9376ec6-62c0-48b0-8299-c256d63eaf72",
          "name": "Zaúčtování předpisu",
          "request": {
            "name": "Zaúčtování předpisu",
            "description": {
              "content": "Zaúčtuje předpis do účetního deníku.\nVšechny položky dokladu musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_expense",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID předpisu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "de7da46c-9365-4f17-a29b-5cae2a651fb2",
              "name": "Předpis byl zaúčtovaný, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"to_be_paid\": 50,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"date\": \"2019-07-12\",\n  \"maturity_date\": \"2019-08-12\",\n  \"currency\": \"CZK\",\n  \"payment_type\": \"transfer\",\n  \"chartaccount_dal_id\": 306,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"document_state\": {\n    \"id\": 123,\n    \"name\": \"Odesláno\",\n    \"description\": \"Doklad byl odeslán zákazníkovi\",\n    \"visibility\": true\n  },\n  \"id\": 13290,\n  \"deleted\": false,\n  \"accounted\": false,\n  \"sequence_code\": \"IPN20190001\",\n  \"external_code\": \"20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a3321e1e-b762-489d-a577-4fccc2ec6088",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "851c29be-3e87-4073-879b-5aa0f52543cf",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bf68c003-8867-4daf-b70e-752313e439f0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "09aefc4a-76f9-44ce-87f8-a553d72b80b6",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "987e2b90-42b0-4566-88e6-9db7746e0ec5",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_expense",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID předpisu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "74ae1a6e-4a8b-4e8a-b027-40067a0f1a84",
      "name": "platby-vydane",
      "description": {
        "content": "Úhrady odchozí z pokladny nebo bankovního účtu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b903c8c8-676c-49e9-95ad-a8f1b7542d2e",
          "name": "Seznam plateb vydaných",
          "request": {
            "name": "Seznam plateb vydaných",
            "description": {
              "content": "Stránkovaný seznam plateb vydaných.\nBez filtrů vrací všechny platby firmy od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "134",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "453452233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "FV303",
                  "description": "Vlastní číslo dokladu z cizího systému."
                },
                {
                  "disabled": true,
                  "key": "invoice_id",
                  "value": "12,55",
                  "description": "ID [**faktur přijatých**](/api/faktury-prijate) oddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "creditnote_id",
                  "value": "13,546",
                  "description": "ID [**opravných daňových dokladů vydaných**](/api/opravne-danove-doklady-vydane)\noddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "proforma_id",
                  "value": "888,11",
                  "description": "ID [**zálohových faktur přijatých**](/api/zalohove-faktury-prijate)\noddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "cash_register",
                  "value": "11",
                  "description": "ID pokladny."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "2332",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "a7093238-1dda-4311-b44b-152793591b76",
              "name": "Stránkovaný seznam plateb vydaných.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"payment_issued\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice_received_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"creditnote\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cash_register\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice_received_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"creditnote\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cash_register\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b429c0a3-fa5d-4b21-a78e-3af6bb59f7eb",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e61fa060-0a7b-4d6c-8bcc-db716e77cf8a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8600f791-3b45-4478-bb80-07f9fcea43b7",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "e1f3fe46-b3ba-43c1-98ad-f3a547fd70ef",
          "name": "Vytvoření platby vydané",
          "request": {
            "name": "Vytvoření platby vydané",
            "description": {
              "content": "Vytvoří platbu vydanou. Platba musí mít alespoň jednu položku.\n\nProtistranou je buď zákazník, nebo dodavatel — nastavit obojí najednou\nnejde. Stejně tak nelze zároveň nastavit bankovní účet a pokladnu:\npro `payment_type` `transfer` se posílá `bank_account`, pro `cash`\n`cash_register_id`.\n\n[Zaúčtování položek](/doklady-spolecne#zauctovani-polozek) je společné\nvšem dokladům.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_issued"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "74bee889-cbac-4f17-bbb6-b24dd6eefb17",
              "name": "Platba byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PV20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_received_id\": 1234,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-08-12\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 13290,\n    \"deleted\": false,\n    \"accounted\": false,\n    \"proforma_invoice\": [\n      {\n        \"id\": 123456\n      },\n      {\n        \"id\": 123456\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"FP20190001\",\n    \"external_code\": \"20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-07-12\",\n    \"order_id\": 12343,\n    \"date_vat_prev\": \"2019-05-05\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"creditnote\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"invoice_issued_id\": 12343,\n    \"oss_mode\": false,\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5b17a005-48be-49a7-96a6-54b97787644a",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "12cecf3f-2163-4544-9cf9-83ba202f332b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1a22267d-1ccf-43d4-95be-76e1f329f16c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b4bb7590-ea3f-4000-928d-caaa94449871",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "60b27aee-abd8-43ae-b5b2-cb8ca23aa565",
          "name": "Detail platby vydané",
          "request": {
            "name": "Detail platby vydané",
            "description": {},
            "url": {
              "path": [
                "payment_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "db54d543-74bb-4be9-bdd4-248334b43e17",
              "name": "Detail platby vydané.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PV20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_received_id\": 1234,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-08-12\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 13290,\n    \"deleted\": false,\n    \"accounted\": false,\n    \"proforma_invoice\": [\n      {\n        \"id\": 123456\n      },\n      {\n        \"id\": 123456\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"FP20190001\",\n    \"external_code\": \"20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-07-12\",\n    \"order_id\": 12343,\n    \"date_vat_prev\": \"2019-05-05\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"creditnote\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"invoice_issued_id\": 12343,\n    \"oss_mode\": false,\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1861cd3b-f1f9-4427-974f-1c05d8461bcc",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b8005a2e-0d39-4408-ba7f-3bd4ea730c8a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "228a4b13-50a2-4d61-b22a-05077753b279",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b38dd3c6-0352-4860-bc63-cc6700a43688",
          "name": "Editace platby vydané",
          "request": {
            "name": "Editace platby vydané",
            "description": {
              "content": "Přepíše platbu tělem požadavku.\nEditovat lze jen platbu v otevřeném účetním období a období DPH.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "64d4f7be-fe83-4855-b253-522bd24b5ad4",
              "name": "Platba byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PV20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_received_id\": 1234,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-08-12\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 13290,\n    \"deleted\": false,\n    \"accounted\": false,\n    \"proforma_invoice\": [\n      {\n        \"id\": 123456\n      },\n      {\n        \"id\": 123456\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"FP20190001\",\n    \"external_code\": \"20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-07-12\",\n    \"order_id\": 12343,\n    \"date_vat_prev\": \"2019-05-05\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"creditnote\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"invoice_issued_id\": 12343,\n    \"oss_mode\": false,\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d6cd331e-273f-4655-a0ef-e22c6b6b9710",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "eaed27eb-d013-41c4-a684-cfc02e1a2669",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6ec89966-8ce6-48e3-a665-88f6a8ef0309",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0a6cc818-44f2-4481-8f2b-ff8faae97db6",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b0b84fe5-d30b-4c1a-b8b2-a2f2ba063d01",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FP20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "844a22fa-97bc-488f-a470-5f4fbd28efab",
          "name": "Smazání platby vydané",
          "request": {
            "name": "Smazání platby vydané",
            "description": {
              "content": "Smaže platbu.\nKdyž je platba vázaná na jiný záznam, vrátí chybu a nesmaže se.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_issued",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "50e11738-878e-49d6-9177-096c72ab2098",
              "name": "Platba byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c1841307-6fb6-434a-a852-da6a59843c57",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e8ad2e4e-51d2-4987-9ff3-4d7c03021092",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fabd2f63-79d3-49e3-a73e-cfeb60251eee",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9b0ba1ee-fb1d-4957-aaf9-1b73845b85b5",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b3939e87-9939-4cb8-9bae-6ceb857e5db3",
          "name": "Zaúčtování platby vydané",
          "request": {
            "name": "Zaúčtování platby vydané",
            "description": {
              "content": "Zaúčtuje platbu do účetního deníku.\nVšechny položky platby musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) *(od verze API 1.3)*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_issued",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "9653202a-4dd9-4c97-a33e-78c775331a13",
              "name": "Platba byla zaúčtovaná, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PV20190001\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_received_id\": 1234,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-08-12\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 13290,\n    \"deleted\": false,\n    \"accounted\": false,\n    \"proforma_invoice\": [\n      {\n        \"id\": 123456\n      },\n      {\n        \"id\": 123456\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"FP20190001\",\n    \"external_code\": \"20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-07-12\",\n    \"order_id\": 12343,\n    \"date_vat_prev\": \"2019-05-05\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"creditnote\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/c?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"invoice_issued_id\": 12343,\n    \"oss_mode\": false,\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cabcec8d-45a2-46b4-9ae8-2c2f80540a99",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "69dd86fd-dd88-4cd2-93b3-84132cdfedb5",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a5f7565d-ac87-4758-8bc6-f9e458c9e2b5",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "77bec216-cc0d-4757-98ab-4e27eb2c9871",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4922994e-db39-4c79-a68e-71ad1e80966e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_issued",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "cffc1c6a-054c-4d51-91b2-caedad1cf9a7",
      "name": "platby-prijate",
      "description": {
        "content": "Úhrady příchozí do pokladny nebo na bankovní účet.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "4d5881ba-3a2a-4c31-8d2c-69b512c690b5",
          "name": "Seznam plateb přijatých",
          "request": {
            "name": "Seznam plateb přijatých",
            "description": {
              "content": "Stránkovaný seznam plateb přijatých.\nBez filtrů vrací všechny platby firmy od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "sort",
                  "value": "-modified",
                  "description": "Řazení seznamu *(od verze API 1.3)*. Prefix `-` řadí sestupně.\n\nJediné pole, podle kterého jde dnes řadit, je **`modified`** — datum\nposlední změny záznamu. Jiná hodnota skončí chybou *Neplatné pole\npro řazení*.\n"
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "1234",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "supplier_ico",
                  "value": "11122233",
                  "description": "IČO dodavatele."
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "134",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "customer_ico",
                  "value": "453452233",
                  "description": "IČO zákazníka."
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna dokladu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "filter_price_by_doc_currency",
                  "value": "false",
                  "description": "V jaké měně se rozumí `price_from` a `price_to`.\n`true` = hodnoty platí pro měnu dokladu, `false` nebo `null` = hodnoty\njsou v CZK. Výchozí je `false`.\n"
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "FV303",
                  "description": "Vlastní číslo dokladu z cizího systému."
                },
                {
                  "disabled": true,
                  "key": "invoice_id",
                  "value": "12,55",
                  "description": "ID [**faktur vydaných**](/api/faktury-vydane) oddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "creditnote_id",
                  "value": "13,546",
                  "description": "ID [**opravných daňových dokladů přijatých**](/api/opravne-danove-doklady-prijate)\noddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "proforma_id",
                  "value": "888,11",
                  "description": "ID [**zálohových faktur vydaných**](/api/zalohove-faktury-vydane)\noddělená čárkou.\n"
                },
                {
                  "disabled": true,
                  "key": "cash_register",
                  "value": "11",
                  "description": "ID pokladny."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "2332",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d7e07d3a-2732-4a04-9bb2-4d41bef425e7",
              "name": "Stránkovaný seznam plateb přijatých.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"payment_received\": [\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"eet\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"oss_mode\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"creditnote\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cash_register\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"eet\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"modified\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"proforma_invoice_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"oss_mode\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"creditnote\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cash_register\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "abaf0f3f-139a-4cde-a8a7-4cf9de3c1c48",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "11e1809d-ca6b-425b-82d8-da2f3bcc92cc",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e8cdb0f5-9bb9-4625-b186-996e47471db9",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "sort",
                      "value": "-modified"
                    },
                    {
                      "key": "supplier_id",
                      "value": "1234"
                    },
                    {
                      "key": "supplier_ico",
                      "value": "11122233"
                    },
                    {
                      "key": "customer_id",
                      "value": "134"
                    },
                    {
                      "key": "customer_ico",
                      "value": "453452233"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "filter_price_by_doc_currency",
                      "value": "false"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    },
                    {
                      "key": "external_code",
                      "value": "FV303"
                    },
                    {
                      "key": "invoice_id",
                      "value": "12,55"
                    },
                    {
                      "key": "creditnote_id",
                      "value": "13,546"
                    },
                    {
                      "key": "proforma_id",
                      "value": "888,11"
                    },
                    {
                      "key": "cash_register",
                      "value": "11"
                    },
                    {
                      "key": "bank_account",
                      "value": "2332"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c4f7b988-48bf-4f8a-8890-b81d44a063f1",
          "name": "Vytvoření platby přijaté",
          "request": {
            "name": "Vytvoření platby přijaté",
            "description": {
              "content": "Vytvoří platbu přijatou. Platba musí mít alespoň jednu položku.\n\nProtistranou je buď zákazník, nebo dodavatel — nastavit obojí najednou\nnejde. Podle hodnoty `payment_type` je nutné nastavit buď pokladnu, nebo\nbankovní účet: pro `transfer` se posílá `bank_account`, pro `cash`\n`cash_register_id`.\n\n**EET.** Když má firma řádně nastavené EET, `payment_type` je `cash`\na pokladna má EET povolené, odešle `eet` nastavené na `true` platbu do\nevidence tržeb. Doklad s už odeslanou\n[**EET zprávou**](/api/eet-zpravy) se připojuje opačně — nejdřív se\nzaloží samostatný EET záznam a jeho ID se pošle v `eet_status`, záznamy\nse propojí automaticky. Podrobnosti v\n[průvodci doklady](/doklady-spolecne#eet).\n\n**Platba zálohy v režimu One Stop Shop.** Režim OSS jde zapnout jen\nu platby s vazbou na zálohovou fakturu, ostatní pravidla jsou shodná\ns [režimem OSS u faktur](/doklady-spolecne#one-stop-shop).\n\n[Zaúčtování položek](/doklady-spolecne#zauctovani-polozek) je společné\nvšem dokladům.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_received"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "fbb69599-07b7-447f-b56f-129056238ae8",
              "name": "Platba byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PP20190001\",\n  \"external_code\": \"FV3425435\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_id\": 1234,\n  \"oss_mode\": false,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"proforma_invoice\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"oss_mode\": false,\n    \"order_id\": \"13290\",\n    \"reminders\": [\n      \"2019-08-12\",\n      \"2019-08-19\"\n    ],\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"creditnote\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"accounted\": true,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-01-25\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 123,\n    \"deleted\": false,\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"invoice_received_id\": 12343,\n    \"supplier_bank_account\": \"123456789/0800\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "05f1df24-7d28-4458-91ca-0ed16f62fc35",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e02861b1-166a-4d75-9176-48a970ebc0c4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "c27b94bb-4326-4d72-9fc4-163fec6a31e1",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "473df31c-d022-45b9-96c1-87d073a2e726",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b001a151-57ae-44d4-8324-8330e764a42c",
          "name": "Detail platby přijaté",
          "request": {
            "name": "Detail platby přijaté",
            "description": {},
            "url": {
              "path": [
                "payment_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "8115649a-a10a-4248-ae0a-730a2b592cd3",
              "name": "Detail platby přijaté.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PP20190001\",\n  \"external_code\": \"FV3425435\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_id\": 1234,\n  \"oss_mode\": false,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"proforma_invoice\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"oss_mode\": false,\n    \"order_id\": \"13290\",\n    \"reminders\": [\n      \"2019-08-12\",\n      \"2019-08-19\"\n    ],\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"creditnote\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"accounted\": true,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-01-25\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 123,\n    \"deleted\": false,\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"invoice_received_id\": 12343,\n    \"supplier_bank_account\": \"123456789/0800\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "55ffac44-647b-4fee-9fa9-3ee6fe59d9da",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "dbdc2532-51fa-4306-9d2b-ff9ebcd1c2e8",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fbd88eb4-7b17-45cb-828a-e429b210a06a",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "55a69811-cd26-4fa7-9be3-f4629fbb9d05",
          "name": "Editace platby přijaté",
          "request": {
            "name": "Editace platby přijaté",
            "description": {
              "content": "Přepíše platbu tělem požadavku.\nPlatbu odeslanou do EET editovat nelze — použij vrácení přijaté EET platby.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "f6907f4f-a259-496b-8e3a-1592691c20c5",
              "name": "Platba byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PP20190001\",\n  \"external_code\": \"FV3425435\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_id\": 1234,\n  \"oss_mode\": false,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"proforma_invoice\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"oss_mode\": false,\n    \"order_id\": \"13290\",\n    \"reminders\": [\n      \"2019-08-12\",\n      \"2019-08-19\"\n    ],\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"creditnote\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"accounted\": true,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-01-25\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 123,\n    \"deleted\": false,\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"invoice_received_id\": 12343,\n    \"supplier_bank_account\": \"123456789/0800\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c886a343-e6c0-41ed-bcdd-c672a775ce56",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1bc1b581-7b97-4ff0-8daa-b997865ccc82",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "283b2175-cd8c-4eeb-9af4-5b926591e232",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6a1bfc0e-6c36-46bf-9321-78a9c856420a",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a0689d7b-d19c-4994-9bb3-801857fc7ddc",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": 785,\n  \"date\": \"2019-07-12\",\n  \"payment_type\": \"transfer\",\n  \"bank_account\": 456,\n  \"invoice_id\": 13290,\n  \"items\": [\n    {\n      \"text\": \"Úhrada faktury FV20190005\",\n      \"amount\": 1,\n      \"price\": 1500,\n      \"vat\": 21\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "51571398-3c69-4df3-847b-b0a86b8d6843",
          "name": "Smazání platby přijaté",
          "request": {
            "name": "Smazání platby přijaté",
            "description": {
              "content": "Smaže platbu.\nKdyž je platba vázaná na jiný záznam, vrátí chybu a nesmaže se. Platbu\nodeslanou do EET smazat nelze — použij vrácení přijaté EET platby.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_received",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "834ebadb-1ad5-4b93-9bcf-c1323b0702b7",
              "name": "Platba byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "db3e6d09-56fc-479d-afd0-71fd556d8ca7",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "51525b16-fa59-49e3-90c1-92bfca20dc19",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "17bfe59d-b145-4289-ae09-8ca031ed16f1",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f9075b75-33da-4cbe-a8d6-b2d681678cd6",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8129509c-4647-40d5-8746-d3af050f3909",
          "name": "Zaúčtování platby přijaté",
          "request": {
            "name": "Zaúčtování platby přijaté",
            "description": {
              "content": "Zaúčtuje platbu do účetního deníku.\nVšechny položky platby musí mít vyplněné\n[zaúčtování](/doklady-spolecne#zauctovani-polozek) *(od verze API 1.3)*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "payment_received",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID platby."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "71297f98-81e7-451c-b388-209e509432e9",
              "name": "Platba byla zaúčtovaná, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"price_inc_vat\": 50,\n  \"currency\": \"CZK\",\n  \"date\": \"2019-07-12\",\n  \"eet\": false,\n  \"price\": 50,\n  \"price_czk\": 50,\n  \"price_inc_vat_czk\": 50,\n  \"items\": [\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    },\n    {\n      \"id\": 123456,\n      \"text\": \"Položka A\",\n      \"amount\": 1,\n      \"price\": 50,\n      \"unit_price_inc_vat\": false,\n      \"unit\": \"ks\",\n      \"vat\": 21,\n      \"vat_total\": 0,\n      \"department_id\": 1,\n      \"contract_id\": 1,\n      \"accountentrytype_id\": 532,\n      \"vattype_id\": 1,\n      \"chart_account_id\": 46,\n      \"vat_chart_id\": 52\n    }\n  ],\n  \"payment_type\": \"transfer\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"modified\": \"2026-08-07T19:03:56+02:00\",\n  \"sequence_code\": \"PP20190001\",\n  \"external_code\": \"FV3425435\",\n  \"variable_symbol\": \"20190001\",\n  \"date_vat\": \"2019-07-12\",\n  \"proforma_invoice_id\": 1234,\n  \"oss_mode\": false,\n  \"date_vat_prev\": \"2019-05-05\",\n  \"description\": \"Popis\",\n  \"rounding_type\": \"round\",\n  \"reference_mark\": \"RF\",\n  \"full_paid\": true,\n  \"liquidation_amount\": 50,\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"invoice\": {\n    \"accounted\": true,\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vat_payer\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"usual_maturity\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"preferred_payment_method\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"invoice_language\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"email\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"phone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"cellphone\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"customer_group_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"external_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"vatid\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name_display\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"www\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"note\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number3\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number4\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_department_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"default_contract_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"date\": \"2019-07-12\",\n    \"eet\": false,\n    \"items\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"maturity_date\": \"2019-01-25\",\n    \"payment_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"to_be_paid\": 50,\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"bank_account\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"currency\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_number\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bank_code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance_czk\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"realtime_payment_fetch\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"account_prefix\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"swift\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"iban\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"initial_state\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"chart_account_id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visible\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"document_state\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"description\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"visibility\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"eet_status\": {\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"status\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"fik\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"bkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"pkp\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"share_link\": \"https://online.iucto.cz/link/i?s=ukazka-tajny-odkaz-nema-tenhle-tvar\",\n    \"proforma_invoice\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"oss_mode\": false,\n    \"order_id\": \"13290\",\n    \"reminders\": [\n      \"2019-08-12\",\n      \"2019-08-19\"\n    ],\n    \"id\": 123,\n    \"deleted\": false,\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"creditnote\": {\n    \"price_inc_vat\": 50,\n    \"to_be_paid\": 50,\n    \"accounted\": true,\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"date\": \"2019-07-12\",\n    \"maturity_date\": \"2019-01-25\",\n    \"currency\": \"CZK\",\n    \"payment_type\": \"transfer\",\n    \"items\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit_price_inc_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_total\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"accountentrytype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vattype_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chart_account_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_chart_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ],\n    \"supplier\": {\n      \"id\": 123,\n      \"name\": \"Jan Novák\",\n      \"vat_payer\": false,\n      \"address\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"comid\": \"12345679\",\n      \"email\": \"novak.jan@example.org\",\n      \"phone\": \"+420123123123\",\n      \"cellphone\": \"+420123123123\",\n      \"supplier_group_id\": 78,\n      \"external_code\": \"CC123\",\n      \"vatid\": \"CZ12345679\",\n      \"name_display\": \"Jan Novák ml.\",\n      \"www\": \"https://www.iucto.cz\",\n      \"note\": \"Věrný dodavatel\",\n      \"account_number1\": \"1234567890/0100\",\n      \"account_number2\": \"1234-1234567890/4400\",\n      \"account_number3\": \"string\",\n      \"account_number4\": \"string\",\n      \"default_department_id\": 123,\n      \"default_contract_id\": 321\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"bank_account\": {\n      \"id\": 456,\n      \"number\": \"19-123457/0100\",\n      \"currency\": \"CZK\",\n      \"account_number\": \"123457\",\n      \"bank_code\": \"0100\",\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"balance\": 0,\n      \"balance_czk\": 0,\n      \"realtime_payment_fetch\": true,\n      \"name\": \"Komerční banka\",\n      \"isdefault\": true,\n      \"account_prefix\": \"19\",\n      \"swift\": \"KOMBCZPPXXX\",\n      \"iban\": \"CZ5601000000190000123457\",\n      \"initial_state\": 0,\n      \"chart_account_id\": 424,\n      \"visible\": true\n    },\n    \"id\": 123,\n    \"deleted\": false,\n    \"modified\": \"2026-08-07T19:03:56+02:00\",\n    \"sequence_code\": \"DOC20190001\",\n    \"variable_symbol\": \"20190001\",\n    \"date_vat\": \"2019-01-10\",\n    \"invoice_received_id\": 12343,\n    \"supplier_bank_account\": \"123456789/0800\",\n    \"date_vat_prev\": \"2019-01-01\",\n    \"description\": \"Popis\",\n    \"rounding_type\": \"round\"\n  },\n  \"cash_register\": {\n    \"id\": 475,\n    \"name\": \"EET pokladna\",\n    \"currency\": \"CZK\",\n    \"isdefault\": true,\n    \"iseet\": true,\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"initial_state\": 0,\n    \"business_premises\": {\n      \"id\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"name\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"_links\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"isdefault\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0\n  },\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"eet_status\": {\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"id\": 1,\n    \"status\": \"ok\",\n    \"fik\": \"f26e5172-077e-4aba-9f5c-d0181362a16b-ff\",\n    \"bkp\": \"a983e13d-c6c7ce4a-03198fec-8cc1292c-32134ae9\",\n    \"pkp\": \"awOqOqCmawUNvyDpjFIQGC2YSc/IvbEctZ12FBU6SQ53UshDQacacx62wUgeMyJ63bpyJ+a9Sl2fa+4deEQfIBmah3AB3FwIU+Uxa8A1prlRYmVY1UmcDHAf+62pyLbUmMBgmtj7GArv54aCgaaYJzwV9ZTjuTDel9YUXfB1OWwOsK6z8tblfoWcisTEMbS0QvPubHJFAbe9kHZQH+oU/8V2S8Nxpmen1YY9/ivYDf+97H05qaihLOdzmoqhlNWkfMYHHKI26aCqHuHW9qbffvdbuzwy39zoEXEZbeujVadkbPfptdfY5BnB8VcHSrw3aDsWEooTdPWVRZrXs8AFw==\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d0415e90-50f8-4a82-b00c-47cb70120bdc",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9b4a73ff-4971-4241-999e-01447fd6140d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b031d031-4690-4de9-9eaf-db3e4ff94819",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e343a921-0fa2-4e4d-a40c-9af14a757715",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2b959ad8-d7b3-4494-8747-9cb151e54ce0",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "payment_received",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID platby."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "24ad7433-75ef-4fb3-adff-2d686aa62bea",
      "name": "bank-transaction",
      "description": {
        "content": "Pohyby na bankovních účtech firmy.\nSlouží k automatickému párování dokladů s úhradami — po vložení nového\npohybu se ho systém pokusí spárovat s existující fakturou.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "1cb398ee-4950-4189-8d5d-5f3401589430",
          "name": "Seznam bankovních pohybů",
          "request": {
            "name": "Seznam bankovních pohybů",
            "description": {
              "content": "Stránkovaný seznam bankovních pohybů, které jsou už importované v systému.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_transaction"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "payment_type",
                  "value": "in",
                  "description": "Směr platby."
                },
                {
                  "disabled": true,
                  "key": "status",
                  "value": "matched",
                  "description": "Stav spárování pohybu."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "213",
                  "description": "Částka pohybu od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "3244332",
                  "description": "Částka pohybu do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "currency",
                  "value": "CZK",
                  "description": "Měna pohybu, kód podle ISO 4217."
                },
                {
                  "disabled": true,
                  "key": "variable_symbol",
                  "value": "11112222",
                  "description": "Variabilní symbol."
                },
                {
                  "disabled": true,
                  "key": "constant_symbol",
                  "value": "C223",
                  "description": "Konstantní symbol."
                },
                {
                  "disabled": true,
                  "key": "specific_symbol",
                  "value": "M4324",
                  "description": "Specifický symbol."
                },
                {
                  "disabled": true,
                  "key": "bank_account",
                  "value": "12",
                  "description": "ID [**bankovního účtu**](/api/bankovni-ucty)."
                },
                {
                  "disabled": true,
                  "key": "bank_account_contraparty",
                  "value": "123456789/5500",
                  "description": "Číslo bankovního účtu protistrany, hledá se i část hodnoty.\n"
                },
                {
                  "disabled": true,
                  "key": "date_payment_from",
                  "value": "2019-01-01",
                  "description": "Datum platby od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_payment_to",
                  "value": "2019-02-01",
                  "description": "Datum platby do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "note",
                  "value": "test",
                  "description": "Text hledaný v polích `description_tome` a `description_toyou`,\nhledá se i část hodnoty.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "1b2d6556-1ef0-455b-b162-bf48dfc0c342",
              "name": "Stránkovaný seznam bankovních pohybů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "payment_type",
                      "value": "in"
                    },
                    {
                      "key": "status",
                      "value": "matched"
                    },
                    {
                      "key": "price_from",
                      "value": "213"
                    },
                    {
                      "key": "price_to",
                      "value": "3244332"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "constant_symbol",
                      "value": "C223"
                    },
                    {
                      "key": "specific_symbol",
                      "value": "M4324"
                    },
                    {
                      "key": "bank_account",
                      "value": "12"
                    },
                    {
                      "key": "bank_account_contraparty",
                      "value": "123456789/5500"
                    },
                    {
                      "key": "date_payment_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_payment_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "note",
                      "value": "test"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"bank_transaction\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"created\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"payment_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_payment\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"item_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"constant_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"specific_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account_contraparty\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount_original\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency_original\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description_tome\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description_toyou\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"counterparty\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price_czk\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"created\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"payment_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_payment\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"item_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"constant_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"specific_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account_contraparty\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount_original\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency_original\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description_tome\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description_toyou\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bank_account\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"counterparty\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f0d681e9-ebf1-451e-a236-a62e2983a9fd",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "payment_type",
                      "value": "in"
                    },
                    {
                      "key": "status",
                      "value": "matched"
                    },
                    {
                      "key": "price_from",
                      "value": "213"
                    },
                    {
                      "key": "price_to",
                      "value": "3244332"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "constant_symbol",
                      "value": "C223"
                    },
                    {
                      "key": "specific_symbol",
                      "value": "M4324"
                    },
                    {
                      "key": "bank_account",
                      "value": "12"
                    },
                    {
                      "key": "bank_account_contraparty",
                      "value": "123456789/5500"
                    },
                    {
                      "key": "date_payment_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_payment_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "note",
                      "value": "test"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "12f965ef-6287-4e2d-9a05-560346cc48bd",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "payment_type",
                      "value": "in"
                    },
                    {
                      "key": "status",
                      "value": "matched"
                    },
                    {
                      "key": "price_from",
                      "value": "213"
                    },
                    {
                      "key": "price_to",
                      "value": "3244332"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "constant_symbol",
                      "value": "C223"
                    },
                    {
                      "key": "specific_symbol",
                      "value": "M4324"
                    },
                    {
                      "key": "bank_account",
                      "value": "12"
                    },
                    {
                      "key": "bank_account_contraparty",
                      "value": "123456789/5500"
                    },
                    {
                      "key": "date_payment_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_payment_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "note",
                      "value": "test"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "34908aff-dc50-45c0-8df5-b5a82d0ef8c0",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "payment_type",
                      "value": "in"
                    },
                    {
                      "key": "status",
                      "value": "matched"
                    },
                    {
                      "key": "price_from",
                      "value": "213"
                    },
                    {
                      "key": "price_to",
                      "value": "3244332"
                    },
                    {
                      "key": "currency",
                      "value": "CZK"
                    },
                    {
                      "key": "variable_symbol",
                      "value": "11112222"
                    },
                    {
                      "key": "constant_symbol",
                      "value": "C223"
                    },
                    {
                      "key": "specific_symbol",
                      "value": "M4324"
                    },
                    {
                      "key": "bank_account",
                      "value": "12"
                    },
                    {
                      "key": "bank_account_contraparty",
                      "value": "123456789/5500"
                    },
                    {
                      "key": "date_payment_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_payment_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "note",
                      "value": "test"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ccac1e05-2ed7-4f55-a352-6fda1ccae074",
          "name": "Import bankovního pohybu",
          "request": {
            "name": "Import bankovního pohybu",
            "description": {
              "content": "Přenese nový pohyb do systému.\nSoučástí importu je automatický pokus o spárování s existujícími doklady.\n\n**Pravidla pro spárování**\n\nZkouší se v tomto pořadí, dokud se nenajde jednoznačný kandidát:\n\n1. Sedí variabilní symbol i částka (přesně, nebo v rámci tolerance\n   kolem 10 %) — **plná shoda**.\n2. Sedí jen variabilní symbol, částka je mimo toleranci — **částečná\n   shoda**.\n3. Bez variabilního symbolu na pohybu se zkouší jen přesná shoda\n   částky — vždy **částečná shoda**, nikdy plná.\n\nTolerance kolem 10 % neplatí, když shoda přišla přes variabilní\nsymbol (body 1 a 2) — spáruje se i doklad, jehož zbývající částka\nk úhradě je mimo tohle pásmo. Přísně se dodržuje, jen když se páruje\npodle částky bez variabilního symbolu (bod 3).\n\nPohyb musí mít vyplněný `bank_account`, jinak se o spárování ani\nnepokusí — s bankovním účtem na dokladu se ale neporovnává.\n\n**Hodnoty závislé na směru pohybu**\n\nU příchozího pohybu (`payment_type` `in`) je protistranou\n[**zákazník**](/api/zakaznici) a s poli `counterparty`,\n`account_entry_type` a `vat_type` se zachází stejně jako\nu [**platby přijaté**](/api/platby-prijate); u odchozího pohybu je\nprotistranou [**dodavatel**](/api/dodavatele) a pravidla odpovídají\n[**platbě vydané**](/api/platby-vydane).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_transaction"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "0512ab11-f29e-4483-a8ae-b90bc9abd9c2",
              "name": "Pohyb byl importován, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 7745,\n  \"status\": \"matched\",\n  \"price_czk\": 7845,\n  \"created\": \"2017-01-24T10:15:30+01:00\",\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"date_payment\": \"2017-01-24\",\n  \"item_type\": \"Příchozí platba\",\n  \"variable_symbol\": \"432324\",\n  \"constant_symbol\": \"C223\",\n  \"specific_symbol\": \"M4324\",\n  \"bank_account_contraparty\": \"19-123457/0710\",\n  \"amount_original\": 1076,\n  \"currency_original\": \"CZK\",\n  \"description_tome\": \"Platba za fakturu 20190005\",\n  \"description_toyou\": \"Úhrada zálohy\",\n  \"variable_symbol2\": \"432325\",\n  \"reference_number\": \"REF-2017-0042\",\n  \"vat_type\": 467,\n  \"account_entry_type\": 687,\n  \"chart_account\": 46,\n  \"vat_chart\": 52,\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"counterparty\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d1711b6d-d126-432a-9fdb-5212cc70745a",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e733b2e5-a4e9-4259-a403-0bbcb35aa08d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7a04f7bd-c24c-4ae7-98da-96ba582f6301",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e75ca68f-0d48-4d61-96b9-dec8f41f30ee",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "127d73c6-823b-48ba-b681-73b2b6c6bb50",
          "name": "Detail bankovního pohybu",
          "request": {
            "name": "Detail bankovního pohybu",
            "description": {
              "content": "Podrobné informace k pohybu včetně spárovaných dokladů v `linked_docs`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_transaction",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního pohybu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "6bbc68bf-52a7-4266-a0b5-2d1d4a146a0c",
              "name": "Detail bankovního pohybu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 7745,\n  \"status\": \"matched\",\n  \"price_czk\": 7845,\n  \"created\": \"2017-01-24T10:15:30+01:00\",\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"date_payment\": \"2017-01-24\",\n  \"item_type\": \"Příchozí platba\",\n  \"variable_symbol\": \"432324\",\n  \"constant_symbol\": \"C223\",\n  \"specific_symbol\": \"M4324\",\n  \"bank_account_contraparty\": \"19-123457/0710\",\n  \"amount_original\": 1076,\n  \"currency_original\": \"CZK\",\n  \"description_tome\": \"Platba za fakturu 20190005\",\n  \"description_toyou\": \"Úhrada zálohy\",\n  \"variable_symbol2\": \"432325\",\n  \"reference_number\": \"REF-2017-0042\",\n  \"vat_type\": 467,\n  \"account_entry_type\": 687,\n  \"chart_account\": 46,\n  \"vat_chart\": 52,\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"counterparty\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8d129019-794f-42c9-afdc-d2f773d22f65",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "76ee50c8-e266-447e-9f3e-8c09d9697b84",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "82c4ce71-0407-4efa-b807-903bc3b19f40",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a8d168c9-6342-4f0d-824b-481aa488476c",
          "name": "Editace bankovního pohybu",
          "request": {
            "name": "Editace bankovního pohybu",
            "description": {
              "content": "Přepíše pohyb tělem požadavku.\nPři změně směru pohybu ( `payment_type` ) je nutné změnit i `counterparty` ,\n`account_entry_type` a `vat_type` tak, aby odpovídaly typu dokladu.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_transaction",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního pohybu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "b243a660-2b86-438e-8664-f53052e0da3a",
              "name": "Pohyb byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 7745,\n  \"status\": \"matched\",\n  \"price_czk\": 7845,\n  \"created\": \"2017-01-24T10:15:30+01:00\",\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"date_payment\": \"2017-01-24\",\n  \"item_type\": \"Příchozí platba\",\n  \"variable_symbol\": \"432324\",\n  \"constant_symbol\": \"C223\",\n  \"specific_symbol\": \"M4324\",\n  \"bank_account_contraparty\": \"19-123457/0710\",\n  \"amount_original\": 1076,\n  \"currency_original\": \"CZK\",\n  \"description_tome\": \"Platba za fakturu 20190005\",\n  \"description_toyou\": \"Úhrada zálohy\",\n  \"variable_symbol2\": \"432325\",\n  \"reference_number\": \"REF-2017-0042\",\n  \"vat_type\": 467,\n  \"account_entry_type\": 687,\n  \"chart_account\": 46,\n  \"vat_chart\": 52,\n  \"bank_account\": {\n    \"id\": 456,\n    \"number\": \"19-123457/0100\",\n    \"currency\": \"CZK\",\n    \"account_number\": \"123457\",\n    \"bank_code\": \"0100\",\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"balance\": 0,\n    \"balance_czk\": 0,\n    \"realtime_payment_fetch\": true,\n    \"name\": \"Komerční banka\",\n    \"isdefault\": true,\n    \"account_prefix\": \"19\",\n    \"swift\": \"KOMBCZPPXXX\",\n    \"iban\": \"CZ5601000000190000123457\",\n    \"initial_state\": 0,\n    \"chart_account_id\": 424,\n    \"visible\": true\n  },\n  \"counterparty\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"city\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"postalcode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"_links\": {\n      \"self\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "62b45715-3a8c-4b9b-88ab-ddd3ff65f821",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "de070dd8-55fd-43a5-9466-9468a84e89ed",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "16129979-1de3-4ee7-b931-581af6dce515",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "122c95dc-6283-4aca-b29c-990fb4c95246",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4f726e2a-26ca-46fc-be7f-4935dafb4a04",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"payment_type\": \"in\",\n  \"price\": 7845,\n  \"currency\": \"CZK\",\n  \"date_payment\": \"2017-01-24\",\n  \"variable_symbol\": \"432324\",\n  \"bank_account\": 544\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "4de849d3-d357-4148-8448-999328a25b8f",
          "name": "Smazání bankovního pohybu",
          "request": {
            "name": "Smazání bankovního pohybu",
            "description": {},
            "url": {
              "path": [
                "bank_transaction",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního pohybu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "8269e133-9655-43b3-8b29-59e9cf6aa97a",
              "name": "Pohyb byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "304808b9-957b-4883-a746-6081a33ded72",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "3532a5f9-dd9a-4f00-a3f9-7c1691b71aa9",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "21b697e9-47e9-478c-b818-593192f3c6be",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "13ccd966-f168-47ef-bd81-7af7710c48a0",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b6f48cbe-ceab-4208-ab9c-202c1fecf24d",
          "name": "Zaúčtování bankovního pohybu",
          "request": {
            "name": "Zaúčtování bankovního pohybu",
            "description": {
              "content": "Vytvoří z pohybu platbu.\nFunguje jen tehdy, když je pohyb úspěšně spárovaný s dokladem. Vrací\nzkrácený náhled plateb, které vznikly.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "bank_transaction",
                ":id",
                "account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID bankovního pohybu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "601bc385-e201-4658-97df-9a9ac2a7ee8b",
              "name": "Z pohybu vznikly platby, vrací se jejich přehled.",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "[\n  {\n    \"_links\": {\n      \"self\": {\n        \"href\": \"string\"\n      }\n    },\n    \"id\": 123,\n    \"sequence_code\": \"PP20190001\",\n    \"invoice_id\": 13290,\n    \"customer_id\": 785,\n    \"supplier_id\": 5670,\n    \"variable_symbol\": \"20190001\",\n    \"date\": \"2019-07-12\",\n    \"currency\": \"CZK\",\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"payment_type\": \"transfer\",\n    \"bank_account\": 456,\n    \"rounding_type\": \"round\",\n    \"deleted\": false\n  },\n  {\n    \"_links\": {\n      \"self\": {\n        \"href\": \"string\"\n      }\n    },\n    \"id\": 123,\n    \"sequence_code\": \"PP20190001\",\n    \"invoice_id\": 13290,\n    \"customer_id\": 785,\n    \"supplier_id\": 3226,\n    \"variable_symbol\": \"20190001\",\n    \"date\": \"2019-07-12\",\n    \"currency\": \"CZK\",\n    \"price\": 50,\n    \"price_czk\": 50,\n    \"price_inc_vat\": 50,\n    \"price_inc_vat_czk\": 50,\n    \"payment_type\": \"transfer\",\n    \"bank_account\": 456,\n    \"rounding_type\": \"round\",\n    \"deleted\": false\n  }\n]",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f5ae8a7f-6d1c-40da-89ea-77a44f7429a5",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "729b1369-6b20-4ddb-8531-601b7a4ab097",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6a7c952e-0ffd-4357-a872-fe220e5a6d66",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "82dca250-05b2-4326-9247-9ce45a05887e",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8021b0fb-ab5e-4374-b361-6e9aa5a0ce6e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "bank_transaction",
                    ":id",
                    "account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID bankovního pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "23d1f237-7d47-4ebb-a211-9dc0ec0f5c4c",
      "name": "journal",
      "description": {
        "content": "Zaúčtované položky všech dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "7283c854-1024-4960-94c5-60ddacfff51e",
          "name": "Seznam položek účetního deníku",
          "request": {
            "name": "Seznam položek účetního deníku",
            "description": {
              "content": "Stránkovaný seznam zaúčtovaných položek.\nBez filtrů vrací všechny položky deníku od nejnovější.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "journal"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_from",
                  "value": "2019-01-01",
                  "description": "Datum zdanitelného plnění od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_vat_to",
                  "value": "2019-02-01",
                  "description": "Datum zdanitelného plnění do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_expense_from",
                  "value": "2019-01-01",
                  "description": "Datum nákladu od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_expense_to",
                  "value": "2019-02-01",
                  "description": "Datum nákladu do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_from",
                  "value": "50",
                  "description": "Cena celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "price_to",
                  "value": "100",
                  "description": "Cena celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "chartaccount_md",
                  "value": "12",
                  "description": "ID [**účtu účetní osnovy**](/api/ucty-uc-osnovy) na straně MD.\n"
                },
                {
                  "disabled": true,
                  "key": "chartaccount_dal",
                  "value": "33",
                  "description": "ID [**účtu účetní osnovy**](/api/ucty-uc-osnovy) na straně DAL.\n"
                },
                {
                  "disabled": true,
                  "key": "document_type",
                  "value": "PP",
                  "description": "Kód [typu dokladu](/datove-typy#typy-dokladu)."
                },
                {
                  "disabled": true,
                  "key": "document_id",
                  "value": "3423",
                  "description": "ID dokladu."
                },
                {
                  "disabled": true,
                  "key": "document_sequence_code",
                  "value": "BP20190005",
                  "description": "Číslo dokladu, hledá se i část hodnoty."
                },
                {
                  "disabled": true,
                  "key": "parent_document_type",
                  "value": "FV",
                  "description": "Kód [typu rodičovského dokladu](/datove-typy#typy-dokladu)."
                },
                {
                  "disabled": true,
                  "key": "parent_document_id",
                  "value": "3423",
                  "description": "ID rodičovského dokladu."
                },
                {
                  "disabled": true,
                  "key": "parent_document_sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo rodičovského dokladu, hledá se i část hodnoty."
                },
                {
                  "disabled": true,
                  "key": "supplier_id",
                  "value": "123",
                  "description": "ID [**dodavatele**](/api/dodavatele)."
                },
                {
                  "disabled": true,
                  "key": "customer_id",
                  "value": "456",
                  "description": "ID [**zákazníka**](/api/zakaznici)."
                },
                {
                  "disabled": true,
                  "key": "department_id",
                  "value": "32",
                  "description": "ID [**střediska**](/api/strediska)."
                },
                {
                  "disabled": true,
                  "key": "contract_id",
                  "value": "343",
                  "description": "ID [**zakázky**](/api/zakazky)."
                },
                {
                  "disabled": true,
                  "key": "vat_type_id",
                  "value": "16",
                  "description": "ID [**typu DPH**](/api/typy-dph)."
                },
                {
                  "disabled": true,
                  "key": "vat",
                  "value": "21",
                  "description": "Sazba DPH v procentech, viz [**Sazby DPH**](/api/sazba-dph).\n"
                },
                {
                  "disabled": true,
                  "key": "document_variable_symbol",
                  "value": "20203399",
                  "description": "Variabilní symbol dokladu, hledá se i část hodnoty."
                },
                {
                  "disabled": true,
                  "key": "document_maturity_date_from",
                  "value": "2019-01-01",
                  "description": "Datum splatnosti dokladu od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "document_maturity_date_to",
                  "value": "2019-02-01",
                  "description": "Datum splatnosti dokladu do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "item_variable_symbol",
                  "value": "VS323234",
                  "description": "Variabilní symbol položky, hledá se i část hodnoty."
                },
                {
                  "disabled": true,
                  "key": "text",
                  "value": "nákup",
                  "description": "Text položky, hledá se i část hodnoty."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "65dd33c8-cddd-4b56-a9b3-5cf33dcb24c2",
              "name": "Stránkovaný seznam položek účetního deníku.",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_expense_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_expense_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "chartaccount_md",
                      "value": "12"
                    },
                    {
                      "key": "chartaccount_dal",
                      "value": "33"
                    },
                    {
                      "key": "document_type",
                      "value": "PP"
                    },
                    {
                      "key": "document_id",
                      "value": "3423"
                    },
                    {
                      "key": "document_sequence_code",
                      "value": "BP20190005"
                    },
                    {
                      "key": "parent_document_type",
                      "value": "FV"
                    },
                    {
                      "key": "parent_document_id",
                      "value": "3423"
                    },
                    {
                      "key": "parent_document_sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "supplier_id",
                      "value": "123"
                    },
                    {
                      "key": "customer_id",
                      "value": "456"
                    },
                    {
                      "key": "department_id",
                      "value": "32"
                    },
                    {
                      "key": "contract_id",
                      "value": "343"
                    },
                    {
                      "key": "vat_type_id",
                      "value": "16"
                    },
                    {
                      "key": "vat",
                      "value": "21"
                    },
                    {
                      "key": "document_variable_symbol",
                      "value": "20203399"
                    },
                    {
                      "key": "document_maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "document_maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "item_variable_symbol",
                      "value": "VS323234"
                    },
                    {
                      "key": "text",
                      "value": "nákup"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"journal\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_expense\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chartaccount_md\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chartaccount_dal\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_type_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"item_variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_expense\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chartaccount_md\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"chartaccount_dal\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"text\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_type_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_maturity_date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_type\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"parent_document_sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"department_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"contract_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"document_variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"item_variable_symbol\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"supplier\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"customer\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "71ddda02-b3e9-40e7-a470-7e981b0d4ffc",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_expense_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_expense_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "chartaccount_md",
                      "value": "12"
                    },
                    {
                      "key": "chartaccount_dal",
                      "value": "33"
                    },
                    {
                      "key": "document_type",
                      "value": "PP"
                    },
                    {
                      "key": "document_id",
                      "value": "3423"
                    },
                    {
                      "key": "document_sequence_code",
                      "value": "BP20190005"
                    },
                    {
                      "key": "parent_document_type",
                      "value": "FV"
                    },
                    {
                      "key": "parent_document_id",
                      "value": "3423"
                    },
                    {
                      "key": "parent_document_sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "supplier_id",
                      "value": "123"
                    },
                    {
                      "key": "customer_id",
                      "value": "456"
                    },
                    {
                      "key": "department_id",
                      "value": "32"
                    },
                    {
                      "key": "contract_id",
                      "value": "343"
                    },
                    {
                      "key": "vat_type_id",
                      "value": "16"
                    },
                    {
                      "key": "vat",
                      "value": "21"
                    },
                    {
                      "key": "document_variable_symbol",
                      "value": "20203399"
                    },
                    {
                      "key": "document_maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "document_maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "item_variable_symbol",
                      "value": "VS323234"
                    },
                    {
                      "key": "text",
                      "value": "nákup"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ad7899c6-0445-427a-926c-a8a47962002b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_expense_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_expense_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "chartaccount_md",
                      "value": "12"
                    },
                    {
                      "key": "chartaccount_dal",
                      "value": "33"
                    },
                    {
                      "key": "document_type",
                      "value": "PP"
                    },
                    {
                      "key": "document_id",
                      "value": "3423"
                    },
                    {
                      "key": "document_sequence_code",
                      "value": "BP20190005"
                    },
                    {
                      "key": "parent_document_type",
                      "value": "FV"
                    },
                    {
                      "key": "parent_document_id",
                      "value": "3423"
                    },
                    {
                      "key": "parent_document_sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "supplier_id",
                      "value": "123"
                    },
                    {
                      "key": "customer_id",
                      "value": "456"
                    },
                    {
                      "key": "department_id",
                      "value": "32"
                    },
                    {
                      "key": "contract_id",
                      "value": "343"
                    },
                    {
                      "key": "vat_type_id",
                      "value": "16"
                    },
                    {
                      "key": "vat",
                      "value": "21"
                    },
                    {
                      "key": "document_variable_symbol",
                      "value": "20203399"
                    },
                    {
                      "key": "document_maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "document_maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "item_variable_symbol",
                      "value": "VS323234"
                    },
                    {
                      "key": "text",
                      "value": "nákup"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "fc93c7d1-4e63-440c-8824-07fdc93eae55",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_vat_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_vat_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "date_expense_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_expense_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "price_from",
                      "value": "50"
                    },
                    {
                      "key": "price_to",
                      "value": "100"
                    },
                    {
                      "key": "chartaccount_md",
                      "value": "12"
                    },
                    {
                      "key": "chartaccount_dal",
                      "value": "33"
                    },
                    {
                      "key": "document_type",
                      "value": "PP"
                    },
                    {
                      "key": "document_id",
                      "value": "3423"
                    },
                    {
                      "key": "document_sequence_code",
                      "value": "BP20190005"
                    },
                    {
                      "key": "parent_document_type",
                      "value": "FV"
                    },
                    {
                      "key": "parent_document_id",
                      "value": "3423"
                    },
                    {
                      "key": "parent_document_sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "supplier_id",
                      "value": "123"
                    },
                    {
                      "key": "customer_id",
                      "value": "456"
                    },
                    {
                      "key": "department_id",
                      "value": "32"
                    },
                    {
                      "key": "contract_id",
                      "value": "343"
                    },
                    {
                      "key": "vat_type_id",
                      "value": "16"
                    },
                    {
                      "key": "vat",
                      "value": "21"
                    },
                    {
                      "key": "document_variable_symbol",
                      "value": "20203399"
                    },
                    {
                      "key": "document_maturity_date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "document_maturity_date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "item_variable_symbol",
                      "value": "VS323234"
                    },
                    {
                      "key": "text",
                      "value": "nákup"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "0f70759b-f1d4-4c57-8c76-37b8c55ccacc",
          "name": "Detail položky účetního deníku",
          "request": {
            "name": "Detail položky účetního deníku",
            "description": {
              "content": "Detail položky. Proti seznamu přibývá `figure` — typ zaúčtované částky.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "journal",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID položky účetního deníku."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "6a254d00-da84-4ebc-8104-6f88dc1405ec",
              "name": "Detail položky účetního deníku.",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky účetního deníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"document_type\": \"PP\",\n  \"document_id\": 3423,\n  \"document_sequence_code\": \"DOC20190001\",\n  \"date\": \"2019-07-12\",\n  \"date_vat\": \"2019-01-10\",\n  \"date_expense\": \"2019-07-12\",\n  \"chartaccount_md\": 11,\n  \"chartaccount_dal\": 81,\n  \"text\": \"some text\",\n  \"price\": 50,\n  \"vat_type_id\": 467,\n  \"vat\": 0,\n  \"document_maturity_date\": \"2019-08-12\",\n  \"figure\": \"vat_base\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"parent_document_type\": \"FV\",\n  \"parent_document_id\": \"3423\",\n  \"parent_document_sequence_code\": \"FV20190001\",\n  \"department_id\": \"32\",\n  \"contract_id\": \"343\",\n  \"document_variable_symbol\": \"20203399\",\n  \"item_variable_symbol\": \"VS323234\",\n  \"supplier\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"supplier_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný dodavatel\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  },\n  \"customer\": {\n    \"id\": 123,\n    \"name\": \"Jan Novák\",\n    \"vat_payer\": false,\n    \"usual_maturity\": 30,\n    \"preferred_payment_method\": \"transfer\",\n    \"invoice_language\": \"cs\",\n    \"address\": {\n      \"country\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"street\": \"Stodolní 123\",\n      \"city\": \"Ostrava\",\n      \"postalcode\": \"385 02\"\n    },\n    \"_links\": {\n      \"self\": {\n        \"href\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    },\n    \"comid\": \"12345679\",\n    \"email\": \"novak.jan@example.org\",\n    \"phone\": \"+420123123123\",\n    \"cellphone\": \"+420123123123\",\n    \"customer_group_id\": 78,\n    \"external_code\": \"CC123\",\n    \"vatid\": \"CZ12345679\",\n    \"name_display\": \"Jan Novák ml.\",\n    \"www\": \"https://www.iucto.cz\",\n    \"note\": \"Věrný zákazník\",\n    \"account_number1\": \"1234567890/0100\",\n    \"account_number2\": \"1234-1234567890/4400\",\n    \"account_number3\": \"string\",\n    \"account_number4\": \"string\",\n    \"default_department_id\": 123,\n    \"default_contract_id\": 321\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "01fd73df-025c-4ff8-aa42-593e45880f77",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky účetního deníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b2ba2b0b-d61f-4a40-9c54-ad42180d0c5d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky účetního deníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "278cc377-71bd-4031-8ea8-71aa47dbaf84",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "journal",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky účetního deníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "a283f715-63a8-4d1a-ba87-8db97eaab0b7",
      "name": "direct-accounting",
      "description": {
        "content": "Účetní doklad zapsaný přímo do deníku bez vazby na doklad.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "93791a7e-01f5-459e-a446-b6764c4753ff",
          "name": "Seznam dokladů přímého zaúčtování",
          "request": {
            "name": "Seznam dokladů přímého zaúčtování",
            "description": {
              "content": "Stránkovaný seznam dokladů.\nBez filtrů vrací všechny doklady firmy od nejnovějšího.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_accounting"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "date_from",
                  "value": "2019-01-01",
                  "description": "Datum vystavení od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "date_to",
                  "value": "2019-02-01",
                  "description": "Datum vystavení do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "sequence_code",
                  "value": "FV20190005",
                  "description": "Číslo dokladu."
                },
                {
                  "disabled": true,
                  "key": "amount_from",
                  "value": "50",
                  "description": "Částka celkem od (včetně)."
                },
                {
                  "disabled": true,
                  "key": "amount_to",
                  "value": "100",
                  "description": "Částka celkem do (včetně)."
                },
                {
                  "disabled": true,
                  "key": "deleted",
                  "value": "false",
                  "description": "Filtr na smazané doklady."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "dac1032b-8d73-445b-88eb-0badf82ed6db",
              "name": "Stránkovaný seznam dokladů přímého zaúčtování.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "amount_from",
                      "value": "50"
                    },
                    {
                      "key": "amount_to",
                      "value": "100"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"direct_accounting\": [\n      {\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"sequence_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7b0ed787-f36b-4477-bcd4-bfe9576f0360",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "amount_from",
                      "value": "50"
                    },
                    {
                      "key": "amount_to",
                      "value": "100"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a573798e-08cd-46b2-9189-360b17e7f07d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "amount_from",
                      "value": "50"
                    },
                    {
                      "key": "amount_to",
                      "value": "100"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "10ba7783-374a-4def-8cd8-c82a414522ac",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "date_from",
                      "value": "2019-01-01"
                    },
                    {
                      "key": "date_to",
                      "value": "2019-02-01"
                    },
                    {
                      "key": "sequence_code",
                      "value": "FV20190005"
                    },
                    {
                      "key": "amount_from",
                      "value": "50"
                    },
                    {
                      "key": "amount_to",
                      "value": "100"
                    },
                    {
                      "key": "deleted",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "e1e707ea-9a4f-4456-be36-e889c7cd6e5d",
          "name": "Vytvoření dokladu přímého zaúčtování",
          "request": {
            "name": "Vytvoření dokladu přímého zaúčtování",
            "description": {
              "content": "Vytvoří doklad zapsaný rovnou do účetního deníku.\nDoklad musí mít alespoň jednu položku a každá položka musí mít vyplněné oba\núčty účetní osnovy.\n\nDatum vystavení musí spadat do otevřeného účetního období.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_accounting"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "e58906ce-b715-4b01-b785-162da58fc19d",
              "name": "Doklad byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"amount\": 50,\n  \"amount_czk\": 150,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    },\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    }\n  ],\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"FP20190001\",\n  \"description\": \"Popis\",\n  \"description_internal\": \"Interní popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6db27966-06fa-455b-a533-2de9e46ea3e5",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "60e8a4f8-a2f9-4137-a74f-34be687b8558",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "67bb7c60-defd-41d7-92f5-78da6eeb1d6d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c33c5c60-f1e9-48d6-bd9f-c71f7672cb84",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "262fc03e-6f8c-4978-a101-b8118ffb4fc3",
          "name": "Detail dokladu přímého zaúčtování",
          "request": {
            "name": "Detail dokladu přímého zaúčtování",
            "description": {},
            "url": {
              "path": [
                "direct_accounting",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d4f4d8d2-702d-4c74-93db-84db783cc13f",
              "name": "Detail dokladu přímého zaúčtování.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"amount\": 50,\n  \"amount_czk\": 150,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    },\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    }\n  ],\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"FP20190001\",\n  \"description\": \"Popis\",\n  \"description_internal\": \"Interní popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7b6a4870-6443-4ab0-baee-81e0f0b7da70",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "40297f24-810b-4362-8eb2-4d4f313e00dd",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7d2d1c72-b031-46d0-b821-668c05158088",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "d8062bb0-86cb-4bde-a10f-8d7cb31f3b3d",
          "name": "Editace dokladu přímého zaúčtování",
          "request": {
            "name": "Editace dokladu přímého zaúčtování",
            "description": {
              "content": "Přepíše doklad tělem požadavku.\nEditovat lze jen doklad v otevřeném účetním období.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "direct_accounting",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "94e99353-e831-48f1-a9ef-56132ea13f2a",
              "name": "Doklad byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"amount\": 50,\n  \"amount_czk\": 150,\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    },\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"price_czk\": 150,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3,\n      \"id\": 123456,\n      \"department_id\": \"411\",\n      \"contract_id\": \"1\",\n      \"da_code\": \"FV4332434\",\n      \"customer\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"usual_maturity\": 30,\n        \"preferred_payment_method\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"invoice_language\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"customer_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný zákazník\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      },\n      \"supplier\": {\n        \"id\": 123,\n        \"name\": \"Jan Novák\",\n        \"vat_payer\": false,\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"comid\": \"12345679\",\n        \"email\": \"novak.jan@example.org\",\n        \"phone\": \"+420123123123\",\n        \"cellphone\": \"+420123123123\",\n        \"supplier_group_id\": 78,\n        \"external_code\": \"CC123\",\n        \"vatid\": \"CZ12345679\",\n        \"name_display\": \"Jan Novák ml.\",\n        \"www\": \"https://www.iucto.cz\",\n        \"note\": \"Věrný dodavatel\",\n        \"account_number1\": \"1234567890/0100\",\n        \"account_number2\": \"1234-1234567890/4400\",\n        \"account_number3\": \"string\",\n        \"account_number4\": \"string\",\n        \"default_department_id\": 123,\n        \"default_contract_id\": 321\n      }\n    }\n  ],\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"id\": 123,\n  \"deleted\": false,\n  \"sequence_code\": \"FP20190001\",\n  \"description\": \"Popis\",\n  \"description_internal\": \"Interní popis\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d7107e2b-e7fc-4f8d-be8b-458677729138",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "659c8e6e-272d-445a-8a30-4ab1cc165a6e",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f2c1dd3d-1124-4885-a30f-acbf006b7006",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "25ff3807-7e24-4c5b-8fd5-2e47d75d0e5e",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0aa0f9d0-592e-406f-8bf9-4ff8cc0a5c05",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"date\": \"2019-07-12\",\n  \"currency\": \"CZK\",\n  \"items\": [\n    {\n      \"text\": \"Položka A\",\n      \"price\": 50,\n      \"chartaccount_md\": 3,\n      \"chartaccount_dal\": 3\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "2d4bcae9-b547-4e04-bbf1-f25bb94ee667",
          "name": "Smazání dokladu přímého zaúčtování",
          "request": {
            "name": "Smazání dokladu přímého zaúčtování",
            "description": {},
            "url": {
              "path": [
                "direct_accounting",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "1b3f2d2b-d090-4ace-8c74-9a97a29be776",
              "name": "Doklad byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "38b16327-cf55-49ee-9749-db7b4a104fa5",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "2dab29f8-32df-4ae9-82f6-3bc93a39cd4e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fc9cc616-94df-4feb-91e3-5856bb58281b",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5a11ddb4-54b7-4120-b2c7-197fad106201",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "direct_accounting",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "c674162f-4f2b-441d-8b0f-96fab17db299",
      "name": "sazba-dph",
      "description": {
        "content": "Platné sazby DPH podle země a data.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f3a344e9-dd52-4c5b-9f04-1f138e42a0eb",
          "name": "Seznam sazeb DPH",
          "request": {
            "name": "Seznam sazeb DPH",
            "description": {
              "content": "Sazby DPH platné k zadanému datu.\nBez parametru `country` vrací sazby platné v České republice, s ním sazby\nzadané země EU.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "vat_rates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "date",
                  "value": "2019-07-12",
                  "description": "(Required) Datum, ke kterému se sazby zjišťují."
                },
                {
                  "disabled": true,
                  "key": "country",
                  "value": "DE",
                  "description": "Kód země EU podle ISO 3166-1 alfa-2. Seznam kódů vrací\n[**Země**](/api/country); pro zemi mimo EU vrátí API chybu.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "0d984ceb-9089-47f7-a962-1de05586db68",
              "name": "Pole platných sazeb DPH v procentech.",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_rates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "date",
                      "value": "2019-07-12"
                    },
                    {
                      "key": "country",
                      "value": "DE"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "[\n  21,\n  12,\n  0\n]",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "97b49f25-1138-4689-9936-5812b4eb9a15",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_rates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "date",
                      "value": "2019-07-12"
                    },
                    {
                      "key": "country",
                      "value": "DE"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c0e03a71-8256-485f-820f-c36659ea1fb8",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_rates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "date",
                      "value": "2019-07-12"
                    },
                    {
                      "key": "country",
                      "value": "DE"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "105495a0-621a-4ee7-aa83-00bffbb488c1",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_rates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "date",
                      "value": "2019-07-12"
                    },
                    {
                      "key": "country",
                      "value": "DE"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "e7a8f566-f610-44b4-b5fd-8ec14e9dc5eb",
      "name": "polozky-typy-uc-polozek",
      "description": {
        "content": "Číselník typů účetních položek podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "ffc25915-eca2-4f11-a677-366baa0dacbd",
          "name": "Seznam typů účetních položek",
          "request": {
            "name": "Seznam typů účetních položek",
            "description": {
              "content": "Typy účetních položek dostupné pro zadaný typ dokladu.\nID z odpovědi se posílá v položkách dokladů jako `accountentrytype_id` .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "accountentry_type"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "doctype",
                  "value": "FV",
                  "description": "(Required) Kód [typu dokladu](/datove-typy#typy-dokladu), pro který se typy položek\nzjišťují.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b4d86ec4-24a8-4124-92cf-7ebbbd9f47f4",
              "name": "Mapa ID typu účetní položky na jeho název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "accountentry_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"3\": \"Prodej zboží\",\n  \"7\": \"Prodej služby\",\n  \"12\": \"Úhrada faktury vydané\",\n  \"31\": \"Úrok\",\n  \"38\": \"Zaokrouhlení\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "392a7b96-1971-4068-9ff7-9bcfb9e88369",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "accountentry_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4fd50d82-c1a3-4a9d-bf0c-b250a095d4ac",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "accountentry_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "21a41f49-8054-4efa-9879-ad8c358c1fff",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "accountentry_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "bd057c78-2085-41dd-9628-cc54729ea4fc",
      "name": "typy-dph",
      "description": {
        "content": "Číselník typů DPH podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "7cdfbd94-f62e-4045-9f6f-553dfb993a2b",
          "name": "Seznam typů DPH",
          "request": {
            "name": "Seznam typů DPH",
            "description": {
              "content": "Typy DPH dostupné pro zadaný typ dokladu.\nID z odpovědi se posílá v položkách dokladů jako `vattype_id` .\n\nTypy DPH pro [režim One Stop Shop](/doklady-spolecne#one-stop-shop)\nvrátí volání s `oss` nastaveným na `true` *(od verze API 1.2)*.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "vat_type"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "doctype",
                  "value": "FV",
                  "description": "(Required) Kód [typu dokladu](/datove-typy#typy-dokladu), pro který se typy DPH zjišťují.\n"
                },
                {
                  "disabled": true,
                  "key": "oss",
                  "value": "true",
                  "description": "Vypsat typy DPH pro režim One Stop Shop *(od verze API 1.2)*.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "61d373cc-1cd3-44d4-8c16-bb409befdc52",
              "name": "Mapa ID typu DPH na jeho název.",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    },
                    {
                      "key": "oss",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"1\": \"Zdanitelné plnění v ČR\",\n  \"3\": \"Dodání zboží do EU\",\n  \"4\": \"Poskytnutí služby do EU\",\n  \"12\": \"Vývoz zboží mimo EU\",\n  \"20\": \"Bez DPH\",\n  \"21\": \"Přenesená daňová povinnost (odběratel)\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "70edcb2d-fff8-454c-bec5-02ead1e63770",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    },
                    {
                      "key": "oss",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0ee6cd08-6467-47ef-85c3-6b92dcb9e29c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    },
                    {
                      "key": "oss",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7494a8db-4d2c-4701-baf4-4070a37b8b8b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_type"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "doctype",
                      "value": "FV"
                    },
                    {
                      "key": "oss",
                      "value": "true"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "b52b6d02-6b52-4abd-959f-4bf68493cf18",
      "name": "ucty-uc-osnovy",
      "description": {
        "content": "Číselník účtů účetní osnovy firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "02b76920-02c7-4080-8e6e-502375d4cf87",
          "name": "Seznam účtů účetní osnovy",
          "request": {
            "name": "Seznam účtů účetní osnovy",
            "description": {
              "content": "Účty účetní osnovy dostupné pro použití v dokladech.\nID z odpovědi se posílá jako `chart_account_id` na položkách dokladů a jako\n`chartaccount_md` / `chartaccount_dal` v\n[**přímém zaúčtování**](/api/direct-accounting) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "chart_account"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "05957cbe-fed8-4417-9883-6b2bd2deb9af",
              "name": "Mapa ID účtu na jeho označení.",
              "originalRequest": {
                "url": {
                  "path": [
                    "chart_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"1\": \"602000 - Tržby z prodeje služeb\",\n  \"52\": \"211000 - Pokladna\",\n  \"54\": \"221000 - Bankovní účty\",\n  \"57\": \"311000 - Pohledávky z obchodních vztahů\",\n  \"64\": \"343000 - Daň z přidané hodnoty\",\n  \"140\": \"321000 - Závazky z obchodních vztahů\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d58af802-4d4c-4b49-a7d4-dd097694d18b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "chart_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "d3712459-9902-41c0-8f70-8d1dbe2d9a86",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "chart_account"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d7530727-20df-40c5-9f48-8a79f0ad770b",
      "name": "ucty-dph",
      "description": {
        "content": "Číselník účtů DPH firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "236b3b5c-200d-430a-96fc-9d859de0ea4a",
          "name": "Seznam účtů DPH",
          "request": {
            "name": "Seznam účtů DPH",
            "description": {
              "content": "Účty DPH dostupné pro použití v dokladech.\nID z odpovědi se posílá jako `vat_chart_id` na položkách dokladů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "vat_chart"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b679f8ae-31a5-4747-949e-f9af9baba523",
              "name": "Mapa ID účtu DPH na jeho označení.",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_chart"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"281\": \"98006000 - Příjem DPH (vratka)\",\n  \"302\": \"96009000 - Platba DPH\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "91f48eec-bc8e-4689-92ca-77f8d628c9b7",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_chart"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a5318e70-6106-495c-9251-50181d68704a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "vat_chart"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d6afaa6b-a2af-46fe-9dda-2b28d88fb6be",
      "name": "eet-zpravy",
      "description": {
        "content": "Přehled zpráv odeslaných do elektronické evidence tržeb.\n\nEvidenci tržeb zrušil zákon č. 458/2022 Sb. s účinností od 1. ledna 2023\na evidenční povinnost se fakticky neplnila už od 27. března 2020. Zdroj\nje tu kvůli dokladům z té doby — nová integrace ho nepotřebuje, viz\n[EET v průvodci doklady](/doklady-spolecne#eet).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d2ffc932-9fe1-496b-b171-bab034e110a1",
          "name": "Výpis dostupných EET záznamů",
          "request": {
            "name": "Výpis dostupných EET záznamů",
            "description": {
              "content": "Stránkovaný seznam zpráv odeslaných do elektronické evidence tržeb.\nJsou v něm i zprávy zapsané aplikací třetí strany.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "eet_status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "8b6010ef-9340-43ca-86b7-717783a193a9",
              "name": "Stránkovaný seznam EET záznamů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"eet_status\": [\n      {\n        \"external\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"uuid_zpravy\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"pkp\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bkp\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"fik\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"external\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"uuid_zpravy\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"pkp\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bkp\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"fik\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8ae1dd99-4d1c-485a-84ca-5fec3fc5afe6",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "996bf895-a25a-4651-86af-5664608db42d",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d2f01d10-feaf-4098-8b2b-1d632080c8ae",
      "name": "eet-status",
      "description": {
        "content": "Zápis a čtení jednotlivé EET zprávy.\n\nStejně jako u seznamu jde o historická data: evidence tržeb skončila\n1. ledna 2023, viz [EET v průvodci doklady](/doklady-spolecne#eet).\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b852b664-48a7-43a5-ad09-1116ce3522fa",
          "name": "Vytvoření EET záznamu",
          "request": {
            "name": "Vytvoření EET záznamu",
            "description": {
              "content": "Zapíše EET zprávu, kterou už odeslala a nechala potvrdit aplikace třetí strany.\nPřijímaná pole jsou shodná s těmi, která se odesílají do EET, včetně\nnávratových kódů `pkp` , `bkp` a `fik` .\n\n`uuid_zpravy` musí být v rámci firmy unikátní.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "eet_status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uuid_zpravy\": \"288e17e-e636-450f-1457-5571c5fd917r\",\n  \"pkp\": \"f657rfgVovx15Gu9lc/fShOO9JNGRl3flYVFFOplo3SFtU6JuF+URlTMiXYG2/u9DiVwDfuPLpDdowvhqxDo3iy5dxsnsKfi9DtPCd/YKX0T+L788yuM+WHbZixNnYgrbxzjZ3wnFecQ3gEdqDNLCPko+Ad88/07NYXgIzegXsNNGHE99kIbGSh9IWhRckVmwjQJ5N4zfehlPDIXhA1RpC/bflFsBFCYGRsIbknx3FzMkgCXvYFNJL4+LmSY5+BYJXzW29402Hm0+bKpDVbCblfjyHBeRdy7bokOL99wtjbwZB+ziInoQv+HSNbt4PVCbkRNTO9vdATcr4c8gmu4g==\",\n  \"bkp\": \"5a5f9bb8-b8759335-a102d170-00472350-e95437f9\",\n  \"fik\": \"03d20aea-e234-4aad-be24-f3964c6d6447-ff\",\n  \"prvni_zaslani\": true,\n  \"id_provoz\": 11,\n  \"id_pokl\": \"pok1\",\n  \"porad_cis\": \"0002\",\n  \"dat_trzby\": \"1487935621\",\n  \"celk_trzba\": 52446,\n  \"rezim\": 0,\n  \"dat_odesl\": \"1487935621\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "e575402b-3dec-49dc-9947-95ab9f9f78b2",
              "name": "Záznam byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"uuid_zpravy\": \"288e17e-e636-450f-1457-5571c5fd917r\",\n  \"pkp\": \"f657rfgVovx15Gu9lc/fShOO9JNGRl3flYVFFOplo3SFtU6JuF+URlTMiXYG2/u9DiVwDfuPLpDdowvhqxDo3iy5dxsnsKfi9DtPCd/YKX0T+L788yuM+WHbZixNnYgrbxzjZ3wnFecQ3gEdqDNLCPko+Ad88/07NYXgIzegXsNNGHE99kIbGSh9IWhRckVmwjQJ5N4zfehlPDIXhA1RpC/bflFsBFCYGRsIbknx3FzMkgCXvYFNJL4+LmSY5+BYJXzW29402Hm0+bKpDVbCblfjyHBeRdy7bokOL99wtjbwZB+ziInoQv+HSNbt4PVCbkRNTO9vdATcr4c8gmu4g==\",\n  \"bkp\": \"5a5f9bb8-b8759335-a102d170-00472350-e95437f9\",\n  \"fik\": \"03d20aea-e234-4aad-be24-f3964c6d6447-ff\",\n  \"prvni_zaslani\": true,\n  \"id_provoz\": 11,\n  \"id_pokl\": \"pok1\",\n  \"porad_cis\": \"0002\",\n  \"dat_trzby\": \"1487935621\",\n  \"celk_trzba\": 52446,\n  \"rezim\": 0,\n  \"dat_odesl\": \"1487935621\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 22,\n  \"uuid_zpravy\": \"90c454d6-059c-4bf3-b408-beab42e8bb5e\",\n  \"pkp\": \"aLeoljmrsete8CI107u3bPlXY1aho/0dWTRfEjV6hPd6/MzNw3vYuMhPgBVHkzVmpyoNHJd9dr4FkYi36Fa+SGgkgVfvanWhHYjpO3/Dmn1c0nTe3lAJ9oURQJqjxxbWmMsEWGhFzR/GGgphTNbysNVEho35DR74tIEYeUZz+ZaUR5jBicCZi079K4dhc+PdYhQHWlQh7J6Nn39bKOCCe18eVZrlKKTG8rpyyK7ZMBzQjMSZGCGAgt1tS+5rOmjHFS0TB4LhPz6F25lnBRVbJTFLF3dBdKhqjV6gGhw6dLcloi5ydY/RuCaPqhjecekwk+rnkDGotA4DMfeyavKHug==\",\n  \"bkp\": \"f5da6cd5-3b49c4f4-7d9ded56-5827b3be-332c0c97\",\n  \"external\": true,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"dat_odesl\": \"1487924615\",\n  \"prvni_zaslani\": true,\n  \"overeni\": false,\n  \"dic_popl\": \"CZ00000019\",\n  \"dic_poverujiciho\": \"string\",\n  \"id_provoz\": 1,\n  \"id_pokl\": \"1093_def\",\n  \"porad_cis\": \"1_def_86166\",\n  \"dat_trzby\": \"2017-02-24T09:23:35+01:00\",\n  \"rezim\": 0,\n  \"celk_trzba\": 19,\n  \"zakl_nepodl_dph\": 0,\n  \"zakl_dan1\": 0,\n  \"dan1\": 0,\n  \"zakl_dan2\": 0,\n  \"dan2\": 0,\n  \"zakl_dan3\": 0,\n  \"dan3\": 0,\n  \"cest_sluz\": 0,\n  \"pouzit_zboz1\": 0,\n  \"pouzit_zboz2\": 0,\n  \"pouzit_zboz3\": 0,\n  \"urceno_cerp_zuct\": 0,\n  \"cerp_zuct\": 0,\n  \"fik\": \"5d2e5e79-59b3-49f9-bb59-566072a7aaf1-f4\",\n  \"dat_prij\": \"string\",\n  \"test\": \"strin\",\n  \"kod_varov\": \"string\",\n  \"Varovani\": \"string\",\n  \"status\": \"ok\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c2c3c9d9-cdda-4670-b81b-e399ad40bffc",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"uuid_zpravy\": \"288e17e-e636-450f-1457-5571c5fd917r\",\n  \"pkp\": \"f657rfgVovx15Gu9lc/fShOO9JNGRl3flYVFFOplo3SFtU6JuF+URlTMiXYG2/u9DiVwDfuPLpDdowvhqxDo3iy5dxsnsKfi9DtPCd/YKX0T+L788yuM+WHbZixNnYgrbxzjZ3wnFecQ3gEdqDNLCPko+Ad88/07NYXgIzegXsNNGHE99kIbGSh9IWhRckVmwjQJ5N4zfehlPDIXhA1RpC/bflFsBFCYGRsIbknx3FzMkgCXvYFNJL4+LmSY5+BYJXzW29402Hm0+bKpDVbCblfjyHBeRdy7bokOL99wtjbwZB+ziInoQv+HSNbt4PVCbkRNTO9vdATcr4c8gmu4g==\",\n  \"bkp\": \"5a5f9bb8-b8759335-a102d170-00472350-e95437f9\",\n  \"fik\": \"03d20aea-e234-4aad-be24-f3964c6d6447-ff\",\n  \"prvni_zaslani\": true,\n  \"id_provoz\": 11,\n  \"id_pokl\": \"pok1\",\n  \"porad_cis\": \"0002\",\n  \"dat_trzby\": \"1487935621\",\n  \"celk_trzba\": 52446,\n  \"rezim\": 0,\n  \"dat_odesl\": \"1487935621\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e525eb5b-3381-42f5-a83a-d1a862541f9b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"uuid_zpravy\": \"288e17e-e636-450f-1457-5571c5fd917r\",\n  \"pkp\": \"f657rfgVovx15Gu9lc/fShOO9JNGRl3flYVFFOplo3SFtU6JuF+URlTMiXYG2/u9DiVwDfuPLpDdowvhqxDo3iy5dxsnsKfi9DtPCd/YKX0T+L788yuM+WHbZixNnYgrbxzjZ3wnFecQ3gEdqDNLCPko+Ad88/07NYXgIzegXsNNGHE99kIbGSh9IWhRckVmwjQJ5N4zfehlPDIXhA1RpC/bflFsBFCYGRsIbknx3FzMkgCXvYFNJL4+LmSY5+BYJXzW29402Hm0+bKpDVbCblfjyHBeRdy7bokOL99wtjbwZB+ziInoQv+HSNbt4PVCbkRNTO9vdATcr4c8gmu4g==\",\n  \"bkp\": \"5a5f9bb8-b8759335-a102d170-00472350-e95437f9\",\n  \"fik\": \"03d20aea-e234-4aad-be24-f3964c6d6447-ff\",\n  \"prvni_zaslani\": true,\n  \"id_provoz\": 11,\n  \"id_pokl\": \"pok1\",\n  \"porad_cis\": \"0002\",\n  \"dat_trzby\": \"1487935621\",\n  \"celk_trzba\": 52446,\n  \"rezim\": 0,\n  \"dat_odesl\": \"1487935621\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a9665589-d6c1-4f1b-98a8-4a366b2b8ae1",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"uuid_zpravy\": \"288e17e-e636-450f-1457-5571c5fd917r\",\n  \"pkp\": \"f657rfgVovx15Gu9lc/fShOO9JNGRl3flYVFFOplo3SFtU6JuF+URlTMiXYG2/u9DiVwDfuPLpDdowvhqxDo3iy5dxsnsKfi9DtPCd/YKX0T+L788yuM+WHbZixNnYgrbxzjZ3wnFecQ3gEdqDNLCPko+Ad88/07NYXgIzegXsNNGHE99kIbGSh9IWhRckVmwjQJ5N4zfehlPDIXhA1RpC/bflFsBFCYGRsIbknx3FzMkgCXvYFNJL4+LmSY5+BYJXzW29402Hm0+bKpDVbCblfjyHBeRdy7bokOL99wtjbwZB+ziInoQv+HSNbt4PVCbkRNTO9vdATcr4c8gmu4g==\",\n  \"bkp\": \"5a5f9bb8-b8759335-a102d170-00472350-e95437f9\",\n  \"fik\": \"03d20aea-e234-4aad-be24-f3964c6d6447-ff\",\n  \"prvni_zaslani\": true,\n  \"id_provoz\": 11,\n  \"id_pokl\": \"pok1\",\n  \"porad_cis\": \"0002\",\n  \"dat_trzby\": \"1487935621\",\n  \"celk_trzba\": 52446,\n  \"rezim\": 0,\n  \"dat_odesl\": \"1487935621\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "16edd5ae-7c5e-4b7b-9e81-295848a7b7ed",
          "name": "Detail EET záznamu",
          "request": {
            "name": "Detail EET záznamu",
            "description": {},
            "url": {
              "path": [
                "eet_status",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "22",
                  "key": "id",
                  "description": "(Required) ID EET záznamu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "3c613a80-84ee-44b0-a6d5-4bd70e46c679",
              "name": "Detail EET záznamu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID EET záznamu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 22,\n  \"uuid_zpravy\": \"90c454d6-059c-4bf3-b408-beab42e8bb5e\",\n  \"pkp\": \"aLeoljmrsete8CI107u3bPlXY1aho/0dWTRfEjV6hPd6/MzNw3vYuMhPgBVHkzVmpyoNHJd9dr4FkYi36Fa+SGgkgVfvanWhHYjpO3/Dmn1c0nTe3lAJ9oURQJqjxxbWmMsEWGhFzR/GGgphTNbysNVEho35DR74tIEYeUZz+ZaUR5jBicCZi079K4dhc+PdYhQHWlQh7J6Nn39bKOCCe18eVZrlKKTG8rpyyK7ZMBzQjMSZGCGAgt1tS+5rOmjHFS0TB4LhPz6F25lnBRVbJTFLF3dBdKhqjV6gGhw6dLcloi5ydY/RuCaPqhjecekwk+rnkDGotA4DMfeyavKHug==\",\n  \"bkp\": \"f5da6cd5-3b49c4f4-7d9ded56-5827b3be-332c0c97\",\n  \"external\": true,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"dat_odesl\": \"1487924615\",\n  \"prvni_zaslani\": true,\n  \"overeni\": false,\n  \"dic_popl\": \"CZ00000019\",\n  \"dic_poverujiciho\": \"string\",\n  \"id_provoz\": 1,\n  \"id_pokl\": \"1093_def\",\n  \"porad_cis\": \"1_def_86166\",\n  \"dat_trzby\": \"2017-02-24T09:23:35+01:00\",\n  \"rezim\": 0,\n  \"celk_trzba\": 19,\n  \"zakl_nepodl_dph\": 0,\n  \"zakl_dan1\": 0,\n  \"dan1\": 0,\n  \"zakl_dan2\": 0,\n  \"dan2\": 0,\n  \"zakl_dan3\": 0,\n  \"dan3\": 0,\n  \"cest_sluz\": 0,\n  \"pouzit_zboz1\": 0,\n  \"pouzit_zboz2\": 0,\n  \"pouzit_zboz3\": 0,\n  \"urceno_cerp_zuct\": 0,\n  \"cerp_zuct\": 0,\n  \"fik\": \"5d2e5e79-59b3-49f9-bb59-566072a7aaf1-f4\",\n  \"dat_prij\": \"string\",\n  \"test\": \"strin\",\n  \"kod_varov\": \"string\",\n  \"Varovani\": \"string\",\n  \"status\": \"ok\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "23639914-4489-42cb-a528-0f3135557da2",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID EET záznamu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "301523ea-628d-43e0-b374-233a5254015c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID EET záznamu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "97c706a8-a860-46d3-a7a5-5de2415c9d5f",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "eet_status",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID EET záznamu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "7fc67fc8-35ac-455b-a207-2da1459757c8",
      "name": "price-list",
      "description": {
        "content": "Ceník produktů a služeb používaných na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d13a20ac-92d9-4fe9-ac24-1da1844bfb18",
          "name": "Seznam položek",
          "request": {
            "name": "Seznam položek",
            "description": {
              "content": "Stránkovaný seznam položek ceníku.\nBez filtrů vrací všechny položky firmy včetně skrytých.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "price_list"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "is_stock",
                  "value": "false",
                  "description": "Vrátit jen položky, které se evidují na skladě."
                },
                {
                  "disabled": true,
                  "key": "bar_code",
                  "value": "BARCODE123",
                  "description": "Čárový kód položky."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "EXT1234",
                  "description": "Externí číslo položky."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "e5817fb1-391e-4b80-92e0-7c54cbb21364",
              "name": "Stránkovaný seznam položek ceníku.",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "is_stock",
                      "value": "false"
                    },
                    {
                      "key": "bar_code",
                      "value": "BARCODE123"
                    },
                    {
                      "key": "external_code",
                      "value": "EXT1234"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"price_list\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bar_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_vat_price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_rate\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_hidden\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_stock\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"unit\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"bar_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_vat_price\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"vat_rate\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"currency\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"external_code\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_hidden\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_stock\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3564959e-02a6-419e-906b-2a725bc44fee",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "is_stock",
                      "value": "false"
                    },
                    {
                      "key": "bar_code",
                      "value": "BARCODE123"
                    },
                    {
                      "key": "external_code",
                      "value": "EXT1234"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "fd6f0198-f9df-4fea-9a7b-11e8717ff453",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "is_stock",
                      "value": "false"
                    },
                    {
                      "key": "bar_code",
                      "value": "BARCODE123"
                    },
                    {
                      "key": "external_code",
                      "value": "EXT1234"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "57cb62f7-2fe5-497a-a1ac-9ecd8d573753",
          "name": "Vytvořit položku",
          "request": {
            "name": "Vytvořit položku",
            "description": {
              "content": "Založí položku ceníku.\nPoložku, která se má evidovat na skladě, označ `is_stock` — teprve pak jí\nlze založit [**skladovou kartu**](/api/inventory) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "price_list"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "dd4b3bb8-bcde-4c97-ae87-75aa33cba266",
              "name": "Položka byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"price\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"amount\": 1,\n  \"unit\": \"ks\",\n  \"bar_code\": \"BARCODE123\",\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_hidden\": false,\n  \"is_stock\": false,\n  \"description\": \"Popis\",\n  \"accountentry_type_id\": 6398,\n  \"vattype_id\": 5614,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "141272c2-83d3-47a4-b71d-0cb6fae33abd",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8ab7cb7b-6930-47ac-b535-33a1ceda3e7a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "0c5e3dde-3a34-4959-a9fc-05e463a60b89",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b50f580c-b724-43c4-900c-f207a3a13d1e",
          "name": "Detail položky",
          "request": {
            "name": "Detail položky",
            "description": {},
            "url": {
              "path": [
                "price_list",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID položky ceníku."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "f19aed52-73ad-421b-814e-9193ee99f093",
              "name": "Detail položky ceníku.",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"price\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"amount\": 1,\n  \"unit\": \"ks\",\n  \"bar_code\": \"BARCODE123\",\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_hidden\": false,\n  \"is_stock\": false,\n  \"description\": \"Popis\",\n  \"accountentry_type_id\": 6398,\n  \"vattype_id\": 5614,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0a8bfc1c-5a63-4844-8f30-cc6f71fe596b",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "703321b4-45a7-474e-b656-16e5334a0d4b",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5dfbeb4d-0c36-45b0-a1e6-66707edca90e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "3770854e-908c-448a-9c3b-f0b5f41a0fb0",
          "name": "Editovat položku",
          "request": {
            "name": "Editovat položku",
            "description": {
              "content": "Přepíše položku ceníku tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "price_list",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID položky ceníku."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "a2ec9bd0-3032-4bd0-9f1f-82d3b24e86cf",
              "name": "Položka byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"price\": 50,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"amount\": 1,\n  \"unit\": \"ks\",\n  \"bar_code\": \"BARCODE123\",\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_hidden\": false,\n  \"is_stock\": false,\n  \"description\": \"Popis\",\n  \"accountentry_type_id\": 6398,\n  \"vattype_id\": 5614,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e561e2df-ed81-4cac-aab8-995caf999d02",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "180669b2-54d9-4705-a897-fbcb50fecd1d",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bd65d423-561e-495f-9389-eae83c7ef970",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4f213913-b219-4fe0-a459-b11d1e6f387e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Konzultace\",\n  \"amount\": 1,\n  \"unit\": \"hod\",\n  \"price\": 1500,\n  \"is_vat_price\": false,\n  \"vat_rate\": 21,\n  \"currency\": \"CZK\",\n  \"external_code\": \"20140001\",\n  \"is_stock\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1fb443f1-2168-4d67-9ca5-fe95a5f9816b",
          "name": "Smazat položku",
          "request": {
            "name": "Smazat položku",
            "description": {
              "content": "Smaže položku ceníku.\nPoložku, ke které existuje [**skladový pohyb**](/api/stock-movement) ,\nsmazat nelze — místo mazání ji skryj přes `is_hidden` .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "price_list",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID položky ceníku."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "631c39b7-3dec-414f-bdda-ae86902a37ee",
              "name": "Položka byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "cbf718c2-6889-490d-936e-4b3c42dad9f4",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "105d4c7f-9465-4d99-bbaa-21931d841a31",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "28f13b7e-52cc-4543-8244-54c1e05af254",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f3d790a7-5417-4f98-8f83-e3b07c47600c",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "price_list",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID položky ceníku."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "6484bb99-ce54-41fe-9e98-9e93655fa4d6",
      "name": "warehouse",
      "description": {
        "content": "Sklady firmy. Zdroj vyžaduje tarif se skladovým modulem.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c7484b2a-02b6-4176-a391-c610451ca6a0",
          "name": "Seznam skladů",
          "request": {
            "name": "Seznam skladů",
            "description": {
              "content": "Stránkovaný seznam skladů firmy.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "warehouse"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "867d9a5d-75cb-44e3-a350-4c9852034a7a",
              "name": "Stránkovaný seznam skladů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"warehouse\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_default\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"description\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_default\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2ade7c8b-4ed6-40a8-b836-c27afdc75a5c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "e278028e-c63f-4beb-8abe-73bd26d14b93",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "4a418875-1a2c-4562-b194-3cdd3d6c3970",
          "name": "Vytvoření skladu",
          "request": {
            "name": "Vytvoření skladu",
            "description": {},
            "url": {
              "path": [
                "warehouse"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "f15367d2-bb93-444b-b778-45d2065edc4b",
              "name": "Sklad byl vytvořen, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Popis\",\n  \"is_default\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "142c83e4-70cb-4532-a869-002983614855",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "63f4fa35-802c-4b0d-bc91-07e409a582d7",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "5ef43060-510c-4f43-bfff-c20891f7ee1a",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "de2b6b2c-729f-443b-87d7-a8be7615c43f",
          "name": "Detail skladu",
          "request": {
            "name": "Detail skladu",
            "description": {},
            "url": {
              "path": [
                "warehouse",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "8fd684d3-5a72-4faf-ad01-bb1d20803a43",
              "name": "Detail skladu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Popis\",\n  \"is_default\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8ceb21b3-9458-401f-b85d-6634d14bcf04",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b0f1953b-39a3-445c-bc2d-6a31677373e5",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "66239bb0-31b9-4b6b-93bf-d5e494e71a2e",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "857603cb-8355-4c5a-9d7f-fd84c9f5085b",
          "name": "Editace skladu",
          "request": {
            "name": "Editace skladu",
            "description": {
              "content": "Přepíše sklad tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "warehouse",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "d6ba69b0-3900-488e-9904-a976ce458691",
              "name": "Sklad byl upraven, vrací se jeho detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"name\": \"SOME NAME\",\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"description\": \"Popis\",\n  \"is_default\": false\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f1dbcebd-8908-4af7-82d8-56bcbd5d9d2f",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6ff578d9-1e22-488c-8e50-62288dc44d0c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6be3b3b0-8eee-445d-8a1e-d39b8644fe68",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8136ad98-83b5-424b-9948-4fff5ae827fc",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Hlavní sklad\",\n  \"description\": \"Sklad v sídle firmy.\",\n  \"is_default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "19a9f838-c2fd-44a6-801d-5bd8384f99e1",
          "name": "Smazání skladu",
          "request": {
            "name": "Smazání skladu",
            "description": {},
            "url": {
              "path": [
                "warehouse",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "c24dff60-147e-4cb5-97a1-2879e5b6d213",
              "name": "Sklad byl smazán.",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "bbb67990-6a4e-47cf-9fbd-215d155af6b2",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1686e53c-f0b7-4654-a18f-8f1fb0cb859c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a7d30f3c-5467-4f1f-9e4a-d55763842139",
              "name": "Uživatel nemá k operaci oprávnění, nebo ji nelze provést — účetní období\nči období DPH je uzavřené, doklad je vázaný na jiný záznam.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Doklad je smazaný, nebo účetní období, či období DPH je uzavřeno.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c8d316fc-d902-4c2c-bcc0-94f7aceb91dd",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "warehouse",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "9cfb50f6-a8cd-402e-889c-d99203ed1bac",
      "name": "inventory",
      "description": {
        "content": "Skladová karta přiřazuje položku ceníku na konkrétní sklad.\nVytvořením skladového pohybu vzniká karta automaticky.\n\nZdroj vyžaduje tarif se skladovým modulem.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a07be133-c4a0-4374-97fb-cf730179a01f",
          "name": "Seznam skladových karet",
          "request": {
            "name": "Seznam skladových karet",
            "description": {
              "content": "Stránkovaný seznam skladových karet.\nFiltry `product_id` a `warehouse_id` lze kombinovat.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "inventory"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "product_id",
                  "value": "123",
                  "description": "ID [**položky ceníku**](/api/price-list)."
                },
                {
                  "disabled": true,
                  "key": "warehouse_id",
                  "value": "23",
                  "description": "ID [**skladu**](/api/warehouse)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "6e6de991-2bbd-4475-ac29-236a74ffbe55",
              "name": "Stránkovaný seznam skladových karet.",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"inventory\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"product_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"warehouse_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_last_movement\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"initial_balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"minimal_balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"location\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"product_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"warehouse_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"is_deleted\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date_last_movement\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"initial_balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"minimal_balance\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"location\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "eb0a44a2-9387-43be-9d1a-637779fa281b",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1b68835e-102f-4b61-958e-7c429d8cbf13",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "f3d36d92-cad7-4635-8226-3a7f26940af5",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1f88947d-26ca-4731-92bb-730c06eb381e",
          "name": "Vytvoření skladové karty",
          "request": {
            "name": "Vytvoření skladové karty",
            "description": {
              "content": "Založí skladovou kartu, tedy přiřadí položku ceníku na konkrétní sklad.\nPro jednu položku smí na jednom skladu existovat nejvýš jedna karta.\n\nKartu není nutné zakládat ručně — vznikne automaticky prvním\n[**skladovým pohybem**](/api/stock-movement).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "inventory"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "0e933898-4bc9-4b74-8bc7-18718ec033f5",
              "name": "Karta byla vytvořena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"balance\": 0,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"is_deleted\": false,\n  \"date_last_movement\": \"2017-01-24\",\n  \"initial_balance\": 0,\n  \"minimal_balance\": 0,\n  \"location\": \"SOME LOCATION\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "eb858437-6b41-4754-b3fa-33a39e347795",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0487f4ad-13f0-4bc0-9e68-6f4545e57e95",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1a42d34e-45db-437c-9d5c-b1acf2952bdb",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "82118216-5c30-478a-a03c-16fb635844fa",
          "name": "Detail skladové karty",
          "request": {
            "name": "Detail skladové karty",
            "description": {},
            "url": {
              "path": [
                "inventory",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladové karty."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "89489556-d27e-45bf-a5b2-cc32b98cc3f7",
              "name": "Detail skladové karty.",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"balance\": 0,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"is_deleted\": false,\n  \"date_last_movement\": \"2017-01-24\",\n  \"initial_balance\": 0,\n  \"minimal_balance\": 0,\n  \"location\": \"SOME LOCATION\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "82050c58-b34b-4903-89fd-a126b7ddc670",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "99bc4d6a-0559-4994-8666-0f98e6d5a53e",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e0c14c7d-0468-4cbf-af27-afad14ffe9f3",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "d89e3a5e-e3d0-4f15-a671-b18304c12324",
          "name": "Editace skladové karty",
          "request": {
            "name": "Editace skladové karty",
            "description": {
              "content": "Přepíše skladovou kartu tělem požadavku.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "inventory",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladové karty."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "98c1251e-4434-434a-a6b6-b2fe09abd7a4",
              "name": "Karta byla upravena, vrací se její detail.",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"balance\": 0,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"is_deleted\": false,\n  \"date_last_movement\": \"2017-01-24\",\n  \"initial_balance\": 0,\n  \"minimal_balance\": 0,\n  \"location\": \"SOME LOCATION\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1050bc05-d389-459e-bd2f-8b9654bc60e4",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d92f3aa3-51d6-4b07-bdbf-368b93c8b95a",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "ce198618-05bd-47f0-9a3d-5c04be2a4ad7",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e1ab2545-defe-4340-8dec-613417b3986b",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"initial_balance\": 0,\n  \"minimal_balance\": 5,\n  \"location\": \"SOME LOCATION\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b6b5afa1-6c8b-435b-92c0-df346ff0bdc0",
          "name": "Smazání skladové karty",
          "request": {
            "name": "Smazání skladové karty",
            "description": {
              "content": "Operace vždy vrací `501 Not Implemented` — endpoint v API existuje, ale aplikace mazání skladových karet neimplementuje.\nKartu, na které existuje [**skladový pohyb**](/api/stock-movement), nelze\nsmazat ani v aplikaci.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "inventory",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladové karty."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "62e1e52a-f413-4b76-b010-cbfb2441678c",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "7c194aac-e9d2-4972-bb91-970195b29f06",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "db2f2173-7910-4693-b263-777edadb7745",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "a4fbd468-2d83-4441-8aa5-66e7864f29fb",
              "name": "Zdroj mazání nepodporuje. **Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "inventory",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladové karty."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Implemented",
              "code": 501,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "6b1abbed-6779-4a74-b0c5-2f2ccbcb5a0c",
      "name": "stock-movement",
      "description": {
        "content": "Příjmy a výdeje na skladových kartách.\nZdroj vyžaduje tarif se skladovým modulem.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "e209a900-7fb3-45d6-886f-b4ba27166d3a",
          "name": "Seznam pohybů",
          "request": {
            "name": "Seznam pohybů",
            "description": {
              "content": "Stránkovaný seznam skladových pohybů.\nFiltry `product_id` a `warehouse_id` lze kombinovat, `last_id` slouží k\ninkrementálnímu dotahování nových pohybů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "stock_movement"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "page",
                  "value": "1",
                  "description": "Číslo stránky, od 1.\n\nFunguje jen v páru s `pageSize` — bez něj se `page` tiše ignoruje a vrátí\nse první stránka.\n"
                },
                {
                  "disabled": true,
                  "key": "pageSize",
                  "value": "50",
                  "description": "Počet záznamů na stránku. Maximum je 200.\n\nFunguje jen v páru s `page` — bez něj se `pageSize` tiše ignoruje a vrátí\nse výchozích 50 záznamů.\n"
                },
                {
                  "disabled": true,
                  "key": "product_id",
                  "value": "123",
                  "description": "ID [**položky ceníku**](/api/price-list)."
                },
                {
                  "disabled": true,
                  "key": "warehouse_id",
                  "value": "23",
                  "description": "ID [**skladu**](/api/warehouse)."
                },
                {
                  "disabled": true,
                  "key": "last_id",
                  "value": "266",
                  "description": "Vrátit jen pohyby s vyšším ID, než je zadané."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "310645ab-f271-4e7a-97d4-189afdeeb9f7",
              "name": "Stránkovaný seznam skladových pohybů.",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    },
                    {
                      "key": "last_id",
                      "value": "266"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"_links\": {\n    \"self\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pageCount\": 22,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"_embedded\": {\n    \"stock_movement\": [\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"product_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"warehouse_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"identification\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"note\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      {\n        \"id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"product_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"warehouse_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"identification\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"_links\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"note\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"date\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6267f529-7182-4de1-a556-e397a44a4527",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    },
                    {
                      "key": "last_id",
                      "value": "266"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "90cdb99e-e0c2-4633-b6a3-bd1278ab9050",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    },
                    {
                      "key": "last_id",
                      "value": "266"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "9b8c5312-f5f2-496f-8153-9c2c8fbe6b9c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "pageSize",
                      "value": "50"
                    },
                    {
                      "key": "product_id",
                      "value": "123"
                    },
                    {
                      "key": "warehouse_id",
                      "value": "23"
                    },
                    {
                      "key": "last_id",
                      "value": "266"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "9163c31c-6c0a-46f3-9f96-84807b84f304",
          "name": "Vytvořit pohyb",
          "request": {
            "name": "Vytvořit pohyb",
            "description": {
              "content": "Zapíše pohyb na skladě.\nMnožství se zadává dvěma způsoby a nedají se míchat:\n\n1. `amount` — inkrementálně; zadané množství se na sklad přičte, záporné\n   číslo ho odečte.\n2. `real_amount` — absolutně; server dopočítá takový pohyb, aby stav\n   zásoby odpovídal zadané hodnotě.\n\nPohybem vzniká [**skladová karta**](/api/inventory) automaticky, pokud\npro dvojici položky a skladu ještě neexistuje.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "stock_movement"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"date\": \"2017-01-24\",\n  \"note\": \"Some note\",\n  \"amount\": 15\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "f01916f3-da38-446a-b414-1bdf0c737f8f",
              "name": "Pohyb byl vytvořen, vrací se jeho detail. `amount` v odpovědi je\nskutečně provedená změna množství.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"date\": \"2017-01-24\",\n  \"note\": \"Some note\",\n  \"amount\": 15\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"amount\": 15,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"note\": \"Some note\",\n  \"date\": \"2017-01-24\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a47b41ce-1259-4a8e-8ce2-31db794ff2c5",
              "name": "Požadavek je špatně sestavený nebo neprošel validací — chybí povinné pole,\nhodnota má špatný formát, tělo není platný JSON.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"date\": \"2017-01-24\",\n  \"note\": \"Some note\",\n  \"amount\": 15\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"errors\": {\n    \"currency\": [\n      \"Měna není platná.\"\n    ],\n    \"items\": [\n      \"Doklad musí mít alespoň jednu položku.\"\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d1a955c5-a90a-4aa4-9576-4f8c60f9be06",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"date\": \"2017-01-24\",\n  \"note\": \"Some note\",\n  \"amount\": 15\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6834e4d6-8e09-4aa9-8aca-715edddb5501",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"date\": \"2017-01-24\",\n  \"note\": \"Some note\",\n  \"amount\": 15\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b5f892a9-8c38-4007-8a05-932ce4bb9c07",
          "name": "Detail pohybu",
          "request": {
            "name": "Detail pohybu",
            "description": {},
            "url": {
              "path": [
                "stock_movement",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID skladového pohybu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b66c0c50-a122-4956-847f-3ed18b9d56fc",
              "name": "Detail skladového pohybu.",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladového pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"product_id\": 23,\n  \"warehouse_id\": 23,\n  \"identification\": \"SOMEIDENTITY\",\n  \"amount\": 15,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  },\n  \"note\": \"Some note\",\n  \"date\": \"2017-01-24\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "aaaa8294-0ef7-40e4-8d2e-89fe8d21acc5",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladového pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "24e6a97e-92dd-4b25-a3d3-a6c7b01f853c",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladového pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "39f23cab-e0d7-4882-a781-17ae3c6e99ab",
              "name": "Záznam se zadaným ID neexistuje.\n\n**Tělo je prázdné.** Výjimkou jsou [**přílohy**](/api/attachment), které\n404 popisují u sebe a hlášku v těle vracejí.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stock_movement",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID skladového pohybu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "e0cdc57c-e200-4014-b7bc-ed75bf372ebb",
      "name": "attachment",
      "description": {
        "content": "Přílohy lze přidávat ke všem typům dokladů a ke kontaktům.\nParametr `{resource}` v cestě určuje, čeho se příloha týká, a nabývá\njedné z hodnot `invoice_received`, `invoice_issued`, `proforma_invoice_received`,\n`proforma_invoice_issued`, `creditnote_received`, `creditnote_issued`,\n`direct_accounting`, `direct_expense`, `customer`, `supplier`.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f53e4b13-84a0-485d-955e-f05f05ab8bb9",
          "name": "Seznam příloh",
          "request": {
            "name": "Seznam příloh",
            "description": {
              "content": "Vrátí přílohy přiřazené k dokladu nebo kontaktu, seřazené od nejnovější.\nDoklad bez příloh vrací prázdné pole `[]` .\n\nOdpověď není stránkovaná HAL kolekce, ale holé pole objektů.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                ":resource",
                ":id",
                "attachment"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "invoice_received",
                  "key": "resource",
                  "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                },
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu nebo kontaktu."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "696135df-b75b-47d5-a1c5-4e6fb08fc4c2",
              "name": "Pole příloh dokladu nebo kontaktu.",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "[\n  {\n    \"id\": 123,\n    \"original_name\": \"faktura.pdf\",\n    \"size\": 284512,\n    \"created\": \"2026-04-18 10:23:54\"\n  },\n  {\n    \"id\": 123,\n    \"original_name\": \"faktura.pdf\",\n    \"size\": 284512,\n    \"created\": \"2026-04-18 10:23:54\"\n  }\n]",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2043314e-cdf5-423b-88fa-a35eabc14851",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "361eee13-5dc4-4fff-b96b-3be9c7d91003",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f6ccdb44-dc5b-4f0d-947c-5d65d29dd2bb",
              "name": "Doklad nebo kontakt se zadaným ID neexistuje. **Tělo je prázdné** —\nna rozdíl od 404 nad samotnou přílohou.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c94f881e-116c-4841-b4c9-d599500cbf6f",
          "name": "Nahrání přílohy",
          "request": {
            "name": "Nahrání přílohy",
            "description": {
              "content": "Nahraje soubor k dokladu nebo kontaktu.\nTělo požadavku je `multipart/form-data` s jedinou částí pojmenovanou `file`\n.\n\n* Povolené přípony: `isdoc`, `isdocx`, `doc`, `docx`, `xls`, `xlsx`,\n  `pdf`, `gif`, `jpg`, `jpeg`, `png`, `xml`, `csv`, `txt`, `odt`, `ods`.\n* Maximální velikost souboru je 5 MB.\n* Přípona musí odpovídat skutečnému obsahu souboru.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                ":resource",
                ":id",
                "attachment"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "invoice_received",
                  "key": "resource",
                  "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                },
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID dokladu nebo kontaktu."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "multipart/form-data"
              },
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "description": "(Required) Nahrávaný soubor."
                }
              ]
            }
          },
          "response": [
            {
              "id": "fd49d94c-f8a8-4a7d-ba2d-2261388ebe5e",
              "name": "Příloha byla nahrána, vrací se její metadata.",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"created\": \"2026-04-18 10:23:54\",\n  \"id\": 123,\n  \"mime_type\": \"application/pdf\",\n  \"original_name\": \"faktura.pdf\",\n  \"size\": 284512\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "87a78150-a68c-4ef2-8aac-993d8f558717",
              "name": "Chybí soubor, nebo je soubor prázdný.",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"file\": \"Soubor nebyl nahrán nebo je neplatný.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7d9851df-5b5b-44d8-9658-3bba7a8530dd",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "b0f0c8f4-56c6-4643-af19-2c3c5c1ea39f",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2e9caa03-2d86-48c1-9cf3-940d94e9c30a",
              "name": "Doklad nebo kontakt se zadaným ID neexistuje. **Tělo je prázdné** —\nna rozdíl od 404 nad samotnou přílohou.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8b2f7cdf-1690-4a61-92dc-5c9d1b99a4dd",
              "name": "Soubor překračuje maximální povolenou velikost 5 MB.",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Request Entity Too Large",
              "code": 413,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Soubor je příliš velký (6.21 MB). Maximální povolená velikost souboru je 5 MB.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ef43df0a-238d-4c3f-ac0b-d4925d9c678a",
              "name": "Nepodporovaný typ souboru, nebo přípona nesouhlasí s jeho obsahem.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    ":resource",
                    ":id",
                    "attachment"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "resource",
                      "description": "(Required) Typ dokladu nebo kontaktu, ke kterému příloha patří.\nJe to část cesty, ne dotazovací parametr — např.\n`/invoice_received/123/attachment` .\n"
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID dokladu nebo kontaktu."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": {
                        "content": "(Required) Nahrávaný soubor.",
                        "type": "text/plain"
                      },
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                }
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Přípona .zip není povolena. Povolené přípony jsou: isdoc, isdocx, doc, docx, xls, xlsx, pdf, gif, jpg, jpeg, png, xml, csv, txt, odt, ods.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "577ad22f-b0ff-4213-830d-85ffa93b6a69",
      "name": "attachment-detail",
      "description": {
        "content": "Čtení a mazání konkrétní přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "164d0312-ae9a-4a9e-bd5e-4ce1de9a6b66",
          "name": "Detail přílohy",
          "request": {
            "name": "Detail přílohy",
            "description": {
              "content": "Metadata přílohy.\nDatum nahrání tady není — vrací ho jen\n[**seznam příloh dokladu**](/api/attachment) .\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "attachment",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID přílohy."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b194f3fb-b399-460f-9884-59ae53d5a5ec",
              "name": "Detail přílohy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "{\n  \"id\": 123,\n  \"original_name\": \"faktura.pdf\",\n  \"size\": 284512,\n  \"_links\": {\n    \"self\": {\n      \"href\": \"string\"\n    }\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3e9447c9-0284-4512-8bb2-688472a67b8e",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "6e25da10-2fee-4fc9-ac04-145ea2902f73",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "310eda90-e281-401f-8e6d-ad65050f7001",
              "name": "Příloha se zadaným ID neexistuje.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Příloha 123 nenalezena.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "7587a4a7-5ce9-4883-8cb6-746f80f37cce",
          "name": "Smazání přílohy",
          "request": {
            "name": "Smazání přílohy",
            "description": {
              "content": "Příloha se maže trvale, včetně souboru na serveru.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "attachment",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID přílohy."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "f338b908-544f-481d-a0a7-6d4128d601f2",
              "name": "Příloha byla smazána.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "83c317e0-73f1-4352-b904-50561ff592ce",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "137a6447-1efc-4da6-9403-5ae9cf1783af",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9098131e-1719-484b-9355-9b1c1f1cc726",
              "name": "Příloha se zadaným ID neexistuje.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Příloha 123 nenalezena.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "240c4b4a-0e5d-4a24-a1a8-057925ff3b68",
      "name": "attachment-download",
      "description": {
        "content": "Stažení binárního obsahu přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a8ee0d3d-7b92-41fb-83bd-fb53c10d3512",
          "name": "Stažení přílohy",
          "request": {
            "name": "Stažení přílohy",
            "description": {
              "content": "Vrátí binární obsah souboru.\n`Content-Type` odpovídá typu souboru (odvozuje se z přípony) a\n`Content-Disposition` nese původní název, takže odpověď jde uložit rovnou do\nsouboru.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "attachment",
                ":id",
                "download"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "123",
                  "key": "id",
                  "description": "(Required) ID přílohy."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/octet-stream"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "fb2d41a0-aa10-4620-a1d3-0061068edee2",
              "name": "Binární obsah přílohy.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id",
                    "download"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/octet-stream"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": true,
                  "description": "Původní název souboru pro uložení.",
                  "key": "Content-Disposition",
                  "value": "attachment; filename=\"faktura.pdf\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/octet-stream"
                }
              ],
              "body": "string",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "1c26e00d-8a67-4681-906f-d10ab658edfa",
              "name": "Chybí hlavička `X-Auth-Key` nebo je API klíč neplatný.\n\n**Tělo je prázdné.**\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id",
                    "download"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "56fd3b67-7b14-47df-99d7-94d6564206d8",
              "name": "Firma nemá k volání nárok kvůli tarifu — buď je vyčerpaná\n[kvóta dotazů](/limity#vycerpana-kvota), nebo zdroj patří k modulu, který\nfirma nemá aktivovaný.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id",
                    "download"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Překročen limit na počet dotazů v API, zkontrolujte aktivní tarif. Dnešní využití: 2001, za měsíc: 14320\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "137bb811-28f8-404b-bef9-532c291334dc",
              "name": "Příloha se zadaným ID neexistuje.",
              "originalRequest": {
                "url": {
                  "path": [
                    "attachment",
                    ":id",
                    "download"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) ID přílohy."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "X-Auth-Key",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/hal+json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/hal+json"
                }
              ],
              "body": "\"Příloha 123 nenalezena.\"",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "d6bfdc7e-471a-446f-9cf4-2588f400fa62",
      "name": "webhook-update",
      "description": {
        "content": "Volání, kterým iÚčto oznámí změnu dokladu.\nNení to endpoint API — požadavek posílá iÚčto na URL, kterou si\nnastavíte v aplikaci v *Nastavení → Nastavení API → Webhooky*.\n",
        "type": "text/plain"
      },
      "item": [],
      "event": []
    },
    {
      "id": "3c54c5c4-c72d-419e-a798-76dadcff7e98",
      "name": "webhook-payment",
      "description": {
        "content": "Volání, kterým iÚčto oznámí úhradu dokladu.\nNastavuje se zvlášť od oznámení o změně, v aplikaci\nv *Nastavení → Nastavení API → Webhooky*.\n",
        "type": "text/plain"
      },
      "item": [],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://online.iucto.cz/api/1.3",
      "key": "baseUrl"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "API klíč z online.iucto.cz → Nastavení → API"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-Auth-Key"
      },
      {
        "key": "value",
        "value": "{{apiKey}}"
      },
      {
        "key": "in",
        "value": "header"
      }
    ]
  },
  "info": {
    "_postman_id": "2b39c590-b04a-40de-8678-d49fea6a6756",
    "name": "iÚčto API 1.3",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "Veřejné REST API účetního systému [online.iucto.cz](https://online.iucto.cz).\n\nAPI je postavené na REST architektuře a komunikuje **výhradně přes HTTPS**.\nOdpovědi jsou ve formátu [HAL+JSON](https://en.wikipedia.org/wiki/Hypertext_Application_Language),\ntělo požadavků `POST` a `PUT` musí být JSON. Každý požadavek musí nést hlavičku\n`X-Auth-Key` s API klíčem.\n\nOdkazy v popisech níže jsou relativní k **https://developers.iucto.cz** —\nkdyž si tenhle soubor stáhnete zvlášť, doplňte si tu adresu před ně.\n\nKoncepty společné všem zdrojům jsou v průvodci:\n\n- [Úvod](/uvod) — základní URL, HTTP metody, odpovědi serveru\n- [Začínáme](/zaciname) — tři kroky k prvnímu úspěšnému volání\n- [Autentizace](/autentizace) — jak získat a používat API klíč\n- [Stránkování, řazení a filtry](/strankovani-razeni) — `page`, `pageSize`,\n  `sort` a filtry seznamů\n- [Datové typy](/datove-typy) — formáty hodnot a kódy typů dokladů\n- [Chyby a jak je číst](/chyby) — stavové kódy a tvary chybového těla\n- [Limity a kvóty](/limity) — kolik dotazů má který tarif a jak je šetřit\n- [Co platí pro všechny doklady](/doklady-spolecne) — neplátci DPH, zaúčtování\n  položek, upomínky, EET a režim One Stop Shop\n- [Číselníky](/ciselniky) — které pole čerpá hodnoty z kterého endpointu\n- [Webhooky](/webhooky) — oznámení o vzniku, změně a úhradě dokladu\n- [Slovníček pojmů](/slovnicek) — co je DUZP, ODD nebo zaúčtování\n- [Přehled změn](/changelog) — co přibylo v jednotlivých verzích API\n\n\nContact Support:\n Name: iÚčto\n Email: info@iucto.cz",
      "type": "text/plain"
    }
  }
}