{
  "item": [
    {
      "id": "1c549d2b-79c4-45d5-97bc-d70a6b03ac6a",
      "name": "currency",
      "description": {
        "content": "Číselník měn použitelných v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0a9ede0f-5d4e-4e75-84cd-b5b532124e6a",
          "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": "1ad7ee62-ad79-4306-9fff-16e49301f5b7",
              "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": "b88cb0a1-a326-4caa-be66-bd50528d7e2d",
              "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": "3ea1ca61-1a25-48c6-8f44-e307328812a4",
              "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": "3d8ceaac-66d8-4c66-8b3a-474316674cb5",
      "name": "metody-plateb",
      "description": {
        "content": "Číselník způsobů úhrady dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c0ab243c-bf35-4f73-8901-032d25ffe5e5",
          "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": "ee375d80-1179-47cf-a84c-a114474c2eeb",
              "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": "2c5c418f-71d8-4554-906a-620de90f93d5",
              "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": "0626e2cb-0c8b-450a-97bd-4506a144cfce",
              "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": "01703999-99c5-4201-8ef8-1b3a9b082967",
      "name": "zaokrouhleni",
      "description": {
        "content": "Číselník metod zaokrouhlování částek v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "2d7115cb-4ee8-4359-a6e7-cd6c7e84f5ef",
          "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": "0a51fb39-2294-4cdc-8f56-c5d42496cb1f",
              "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": "a8c182d5-b80a-4800-89ed-c113e87b5fd3",
              "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": "377cc8b1-fe87-4eec-8df6-b530a124bb06",
              "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": "71795620-5afc-4325-9e60-df8d1da7db1e",
      "name": "company-profile",
      "description": {
        "content": "Základní údaje firmy, pod kterou je API klíč vydaný.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "11b4b671-baf0-4764-91f4-382b51e308de",
          "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": "ebb57a16-8315-4c8c-b4f9-6b24e3b2da9e",
              "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": "c0c58b71-37c3-41f4-94ff-5177120b6b5b",
              "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": "14ebfe59-e9e9-45d8-9c9a-c71198327aec",
              "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": "45fd5e27-d785-4a35-a1c8-bca4838f353d",
      "name": "bankovni-ucty",
      "description": {
        "content": "Bankovní účty firmy používané na dokladech a platbách.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "69a4e5ea-a1c7-4e3a-abea-335875416e0f",
          "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": "82413840-4572-4ddd-b82c-e4cd3ae74d07",
              "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": "cf3e1dfc-ac99-4f70-8cd4-b00df8169607",
              "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": "9a90f7f1-47a7-40ab-8070-d26be5a185d6",
              "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": "009ec32f-3700-4846-ac58-26fc770d8305",
          "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": "d6c0ead5-416d-464e-b71e-e0895d541d0f",
              "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": "6977fc66-18d4-4e95-86a0-8ce648084999",
              "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": "13773ddf-287a-456c-9827-69184bc6b2e1",
              "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": "913daf02-9f49-4134-a964-8311daac232f",
              "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": "15a76b88-a58b-4dbb-828f-c28de7aa57cd",
          "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": "d931ef9b-4dcd-4b82-9fa0-9ad3410546a1",
              "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": "ee33f319-af5c-4af1-9fd5-ee8c9fd9d9ff",
              "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": "218f3634-c0fe-4f82-8acb-595528f8c108",
              "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": "bc39784e-e50d-4fe0-bbe0-e180aae7c8aa",
              "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": "1e013f7e-36bb-41a3-9280-ebfd0f6712be",
          "name": "Editace bankovního účtu",
          "request": {
            "name": "Editace bankovního účtu",
            "description": {
              "content": "Přepíše bankovní účet tělem požadavku.",
              "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": "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": "ef824fef-fbf7-4812-b649-61293a7e8ce9",
              "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": "959dbe82-6eac-45f2-aed7-2e7657ca0716",
              "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": "c3ce7f12-f605-46a5-a086-4bf760970110",
              "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": "4fff2841-ddfe-4f96-b3fd-cedbb3436bd9",
              "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": "ab569273-6e1f-4ae6-adc8-6de2f771ac3f",
              "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": "98dd4356-e86e-4b97-9699-1d498893aeba",
          "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": "befd708c-8b8d-48f8-8ead-fc65dd2347c9",
              "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": "a1e067b2-6094-494a-b060-6c1352c9fa5c",
              "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": "9c5118df-4503-4340-b75e-fceb4c9272dc",
              "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": "bfd30725-6e85-434f-91ad-f702d7edaa49",
              "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": "5921c279-2901-4a45-bc65-889d9828df7d",
              "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": "74670110-26f1-4f59-b5b1-5eb5be27744b",
      "name": "pokladny",
      "description": {
        "content": "Pokladny firmy používané u hotovostních plateb.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f20bc494-fa30-4547-a52e-e0a212a4f450",
          "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": "611dc4cc-b514-4506-992d-017ac61a62a1",
              "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": "3058d89e-051c-46f0-99fe-201f78b08e01",
              "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": "af248fa8-5ef8-4cc8-a949-2d2173359abb",
              "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": "116e14c2-b574-44d9-80b5-9d78493d5e33",
          "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": "4eb4b4f3-eb26-43da-9b4b-85ba83f758d2",
              "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": "e827e8cb-ca08-4c8e-a09b-428402791b4a",
              "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": "b4f69029-4c75-4221-b09e-3425127e67b8",
              "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": "026974ef-634c-468e-b5e0-55f404469845",
              "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": "0c34ecc8-4916-47b5-a122-fe17c6b4ddb1",
      "name": "strediska",
      "description": {
        "content": "Střediska pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "dbc5c717-d275-4f0d-b2ab-120d65b700fe",
          "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": "9133810d-becf-4106-8792-fd055a735b31",
              "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": "aafc2dd9-4d20-493e-a81c-545731aca5ad",
              "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": "52d3bbd1-75db-4f6d-a92c-a630e97d5b1f",
              "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": "6be46d64-228f-47cb-9c50-948f62b8d4e9",
          "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": "50874ac5-e36f-4529-959c-f918ceec7f57",
              "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": "8208e14d-5c1b-4ad7-a8cf-98c532bdbc6e",
              "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": "b50fcc95-dc9f-47fd-94db-2f44a10249ba",
              "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": "aa5f3eee-6181-449d-ab62-0b8c8c43ee79",
              "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": "b689a897-126e-49bf-b51f-bfe812d44a7e",
          "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": "420a97e2-ee32-435a-b65a-fcc77bf3a0fe",
              "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": "827840de-13fd-454b-a238-2c5c5f69ab35",
              "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": "29dc8c81-269b-4744-99c5-d5003beef3c2",
              "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": "1b64ff3e-1993-4b5a-9938-c7794698a681",
              "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": "fb50e17e-9cb7-4419-bc1d-c547e2b3eaad",
          "name": "Editace střediska",
          "request": {
            "name": "Editace střediska",
            "description": {
              "content": "Přepíše středisko tělem požadavku.",
              "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": "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": "40b8899a-e8a5-4906-bd30-1c070a01691a",
              "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": "5a3d6e36-e965-4a27-8e5a-ffa773058067",
              "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": "ffa28802-9e32-4cc5-9f0a-70cc50c3f81c",
              "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": "2493dc19-e0c7-4217-8432-e225b681e4d3",
              "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": "a7e8f0de-659f-4a3f-aded-52551d4c10bd",
              "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": "ebc03362-5b1e-44a6-aada-c95d6e8de748",
          "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": "2f030040-03fc-4bfe-992d-0f6e7dd1ed4a",
              "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": "cf798af0-2af4-4ed0-90d4-2ff8cf98d468",
              "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": "506cfa46-2599-41b4-8930-aff9c4130067",
              "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": "af4655f3-ed52-4e36-b25d-8fddf0c34755",
              "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": "61a58139-8f06-4b10-aca2-05b7d591be8c",
              "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": "59d464c9-9395-4423-8e0b-2a731ae75a16",
      "name": "zakazky",
      "description": {
        "content": "Zakázky pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "eb712fd8-f519-45df-9b35-280b475d1ed1",
          "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": "889ecbe0-993e-43da-a5fa-ada631160335",
              "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": "66aae308-7a9c-4e1f-8f65-846fb216f675",
              "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": "7b6ae4a7-886f-4403-8a25-13798d2c11ad",
              "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": "793e5135-3004-4914-9d00-4bda0b09ebdd",
          "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": "4e48bfcc-318d-422c-b8da-e7308c917726",
              "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": "b3dc35ce-87bb-496b-bc13-694447099435",
              "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": "bc9c7bf3-61ae-4252-bcc4-3c90849bd65c",
              "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": "5f2a918e-22a9-4c67-8f19-41e806a8be63",
              "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": "3036a40e-06f1-4eb3-8373-ca3407ed07f5",
          "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": "a6691c06-18ec-4471-92bd-21bdce369200",
              "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": "5baa7344-fad2-4f62-b398-ba1cb2fdd25e",
              "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": "3528b995-ee9f-421e-aa6a-e96d7aad4169",
              "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": "d638d7e8-159d-4b7f-b3ba-4716155fe753",
              "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": "75998dc6-5804-4a9c-83ca-1d316a3cdaf6",
          "name": "Editace zakázky",
          "request": {
            "name": "Editace zakázky",
            "description": {
              "content": "Přepíše zakázku tělem požadavku.",
              "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": "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": "d183e1a0-2378-4fb6-920e-1de104c459aa",
              "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": "b6a6af3f-4196-4d15-b048-90c1936ddfda",
              "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": "f72f97ad-7a46-40f3-848c-7369b5a47494",
              "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": "8d98d6b9-916e-461e-9917-e2614a11a6d3",
              "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": "5a600f25-e9f1-4870-80de-a6897d33ce5b",
              "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": "e7e75936-1e54-4a8e-bc24-187052500370",
          "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": "dc87e581-d9de-446d-a372-16223b6890c5",
              "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": "42728963-00b3-49fd-9c1b-ad8c68385ee0",
              "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": "9fe77663-beea-426e-a24d-5bdccb2a1299",
              "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": "7ddeeeba-2322-400e-898a-be80656878da",
              "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": "f91d8fa9-7ef8-4e4c-9040-feb4cfb4d482",
              "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": "eae6dda6-8dfc-4633-8de0-3f8c995cedb4",
      "name": "business-premises",
      "description": {
        "content": "Provozovny evidované kvůli EET.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f2c4c533-3d63-488a-93ec-efcb85496a4f",
          "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": "62566f23-ad9f-47cc-9579-3846595f3d3f",
              "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": "649e3499-cfe9-48b6-b36b-d5830cebb64a",
              "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": "d8309af9-a524-49bb-92d3-c79014771450",
              "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": "ae9469b2-697c-4124-96cf-3affad1ff72e",
          "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": "df78b7d3-9499-44f0-9809-96a6118a32d6",
              "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": "bceff7f3-703d-46a4-bd41-ca764b81bfb1",
              "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": "63986c29-3560-49a3-81f4-d276fa059f50",
              "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": "91a8cbc4-1a3c-4bdd-ae4c-25bce9c991e6",
              "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": "96b6f729-cf0c-4a77-8a0b-ae5dec5de279",
      "name": "document-state",
      "description": {
        "content": "Vlastní stavy, kterými lze označovat doklady.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "28b4464f-e872-4ee7-8e99-4a4320f2ca91",
          "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": "f604f41c-7cfb-4842-ac38-1db8beadf638",
              "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": "38802e12-564b-4c9b-ba3a-5d4e0b490090",
              "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": "4f87241a-9a35-4756-9532-4a0f7495c4c6",
              "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": "5e017de7-43bd-42fa-8a9c-ee3507d69d70",
          "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": "fd416833-d117-4e97-8a0d-7cb93ad1681b",
              "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": "31d4e7bc-0abb-43d3-a6ff-034df6d94986",
              "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": "d8f00a42-e08c-4294-965f-c5f6214823cd",
              "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": "78fca338-c040-4886-a54a-88bd21d8d7d6",
              "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": "d89955ae-3be9-4132-9636-31c45918a233",
          "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": "ff07e9e3-106d-4721-9bcc-5d51eafe5ae9",
              "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": "779a43ab-7a54-4331-a786-cf3689dd6f48",
              "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": "bb843cca-9eb1-410a-9b5b-57f15c9f28c5",
              "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": "ff27e1ac-776d-49cc-ae15-ed84c6cbe2ad",
              "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": "ab24bfa7-f7bf-4b26-918f-69730275f6df",
          "name": "Editace stavu dokladu",
          "request": {
            "name": "Editace stavu dokladu",
            "description": {
              "content": "Přepíše stav dokladu tělem požadavku.",
              "type": "text/plain"
            },
            "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": "1513a6d2-8ed1-4eb7-a85d-9db58a557160",
              "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": "7a93435b-d115-4a88-8a77-3671ba4e1e35",
              "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": "3bf98ff9-94b8-4c61-b1f4-4afb5c71b413",
              "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": "8d66cccd-7832-48eb-8b5c-0caa2e3f6c83",
              "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": "97595a96-81d6-46b0-923d-edf70675a6d7",
              "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": "39a8c989-5946-44bf-b6f2-b5bac63a79f5",
          "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": "65f2bd8d-aa30-483c-9454-96e46722f79f",
              "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": "4dfec9dd-6fdf-4a67-826b-d208e9de995b",
              "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": "ea056f59-bbef-415c-b762-92764d6054d3",
              "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": "15c34622-8f40-410d-9418-5d5b8af02cdd",
              "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": "2bf36e3e-7f32-41ef-9806-3d945bcc2330",
              "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": "e9a3eb2e-9b36-4304-953e-d7c2e689ebf2",
      "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": "adde7e55-e946-465b-bee8-63e0558078ca",
          "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": "aee22b59-dfaf-4cf6-87e8-a4c6acb8fda5",
              "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": "8c44e3ef-a4b6-4382-abba-fc81725fa995",
              "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": "2ffa32e0-e67b-4625-a4ff-00c1417b6390",
              "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": "d19a0d0d-f525-4841-bcd8-0d39eeb50fb4",
              "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": "204216e2-1c3e-49a4-9dd2-e3ae9fea74af",
          "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": "6e3c4830-e7b1-40d7-a7d2-fdb013683876",
              "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": "2eaa99ca-4223-44a0-ae4e-4c08f7bd0309",
              "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": "8d6d5ba6-037d-4138-84cd-70dbdd8cc6f3",
              "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": "6834e5fc-12c6-4fc5-97e2-3e2e70da1765",
              "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": "74a1cfd9-97c9-4fb5-9088-5ac9abb026ad",
          "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": "0d40283c-ae32-44d3-87b5-daac682bbac7",
              "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": "f3530dc6-fdb2-43ad-9bd1-d598a9c73d2c",
              "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": "2826c76f-cc88-45cb-953c-a7f107e9fa2b",
              "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": "85e9a807-d9c7-49c2-a81a-28aed5e8c3a1",
              "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": "8b878fec-7fe8-45c9-807d-f12b04baf1b0",
          "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": "54c24994-6663-49c7-bec4-cbd7f3f78e2d",
              "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": "ce2cdb82-491f-4da5-9ee8-b46cab694d49",
              "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": "1643f266-2d90-4145-a394-e399e0c4b992",
              "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": "42184715-5325-4172-94cc-1474a3c88655",
              "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": "09716a8d-4147-4ca5-a989-f40a7ad21122",
              "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": "414d3954-800e-468b-80a4-863c1ef2499b",
          "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": "5b2ee07d-f81a-47dd-94e4-5c8d29cbe292",
              "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": "90e081dd-efdd-4f54-b4a0-14854b41bd1e",
              "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": "cf711387-7882-4d0a-b9b2-aa8a09ce2094",
              "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": "e29030fa-43d2-4a6c-802e-69a23d796033",
              "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": "ec1a6924-d4ec-4848-bba7-5321281e6bdb",
              "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": "e63d87e0-5042-45e1-a807-1beb6065187a",
      "name": "customer-group",
      "description": {
        "content": "Číselník skupin, do kterých lze zákazníky třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a9f61691-5e5c-47a3-9287-d898f0cfe95c",
          "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": "440c1e38-7ffe-4b7e-aa9e-035e8568fa5d",
              "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": "7f267838-ec1f-463c-ac9f-9411b2c0d945",
              "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": "f64b900c-573b-49d8-8300-6f4af36b7ff7",
              "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": "1f8c1eba-13c8-4156-bb75-287c68cc334c",
      "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": "98d08b27-71da-40d4-a702-82a204b604ef",
          "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": "166a0903-5a92-481e-8a41-6c2a08c66d0b",
              "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": "321d2d32-3210-41db-b7c7-fa17154e3693",
              "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": "4fa0da7f-3c56-41ad-b5c1-34366d613425",
              "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": "0d6db2a5-cf61-4c14-96ef-5bb9f5c872d8",
              "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": "20626217-7d50-4a26-9b99-d4e31696037d",
          "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": "8ded581a-ebcf-40c4-ba29-815069cdebae",
              "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": "27b09979-22b1-4c8a-9ad3-00a6e6f99186",
              "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": "ecfe8fd0-1a01-4ad0-a025-b2a1f44a6b17",
              "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": "129dd4b8-9901-4f84-8602-ea2b89a81047",
              "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": "a94556fc-366c-49f1-b07b-7a08c5564957",
          "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": "4db2a9ce-4229-4a8a-b948-50d33ada7bf8",
              "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": "2590c3a7-1420-4d39-9151-9c8e4f946249",
              "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": "2884a677-a8fc-4f0a-b72b-ab125fc1fff0",
              "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": "a5a6ce42-433e-4451-b887-f7cedffff118",
              "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": "aaf57d43-5b9a-4e91-b27f-c68713d10b85",
          "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": "1af35222-9b97-4db9-9746-d89bafb5eda6",
              "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": "c8f62045-fc3f-4abd-bbfc-ab0aa04187aa",
              "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": "a7fa2b72-b886-4412-af8c-349cc451c146",
              "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": "f4d4ff62-3b24-491c-aad1-ed629693dd47",
              "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": "e070f597-de78-404c-a635-9b53e19c7596",
              "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": "37cf42ef-f143-4d31-91eb-183a0613665a",
          "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": "3df862bc-28df-4054-afd4-dd33b448465a",
              "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": "bb5bd129-a9c4-4d8a-bde9-c64ab4a4097f",
              "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": "8cca3ec7-535b-420a-8b9d-ab2bab2511b3",
              "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": "9353707b-8430-4185-a728-a505c8e67864",
              "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": "396e40b5-89a4-440b-bad6-4e265efc16cc",
              "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": "dd33f709-8b26-456b-8d21-d10276fccd3a",
      "name": "supplier-group",
      "description": {
        "content": "Číselník skupin, do kterých lze dodavatele třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "8f07febc-d23a-43da-b7d4-6ab057179978",
          "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": "1f9548eb-9956-4c83-a3de-610f6fccf5fb",
              "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": "f3889edd-341f-4ccd-8969-fc72d5d8b269",
              "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": "d56b3956-8755-44ec-ab00-616e5005c45b",
              "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": "593ac68b-0811-47f9-850d-e6e7513416e7",
      "name": "country",
      "description": {
        "content": "Číselník zemí pro adresy kontaktů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c0526639-a855-48dd-9fa4-ec76d5fcfd8e",
          "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": "2c0eee86-0012-4b69-92df-6e0cbe510f0d",
              "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": "59c67439-2073-4f86-9de4-6203d3b5174e",
              "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": "e02fdad5-5aed-429a-9b5c-344af4ae6d6c",
              "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": "c677b71e-9c2f-4270-9ebc-90b21a6d4c5b",
      "name": "preferred-payment-method",
      "description": {
        "content": "Číselník preferovaných způsobů platby u kontaktu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "7c560a0d-e1fc-4cea-85f7-91086d730166",
          "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": "7b0d5ee7-9a2f-489d-ab26-ba5f2adfccb0",
              "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": "5e8624be-98dd-4f7a-bbf5-c6f94178703d",
              "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": "8a129695-7209-4590-a153-014c27e635df",
              "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": "3896d41b-fd60-4a2e-b182-a6b64b74827e",
      "name": "objednavky-prijate",
      "description": {
        "content": "Objednávky přijaté od zákazníků.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f2a89c6c-8c32-4897-9771-ae9e3dd60abf",
          "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": "9260a75b-ab92-4210-9f74-66a9d3eb776f",
              "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": "7b2404fb-e1c8-403a-9f8d-7ff84ccbdd71",
              "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": "b59055e6-3218-49eb-baff-76f918c4fb30",
              "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": "f0e54a1e-e7f4-4ba1-9b2f-380f805268c8",
              "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": "136ee981-e9f3-4d44-9f9f-e5bb4c609cb6",
          "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": "35e0da2f-6e65-4171-bbce-a8c2de91f604",
              "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": "f53837ec-75dd-4d83-b3c8-e103c03b4f83",
              "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": "78697d2d-856b-477a-84e3-19b990c25e4f",
              "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": "80d7c32e-a1e5-4ce8-b4c3-61fce06a3f03",
              "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": "8b1f7e9e-48b4-4a2d-bf15-d815644179f8",
              "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": "e94f68d5-1bb9-446f-98c8-34c0a1fe3b06",
          "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": "85bc54e7-fcf2-46d7-ac22-3b9a07c70734",
              "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": "6abd4e41-d91d-493d-9af7-ac2afb8f2dad",
              "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": "577c6a49-bb33-4344-9be6-58ad730ad29a",
              "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": "0ed18cd8-fc80-423c-ac06-6bea67472243",
              "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": "d7bd2e1e-64da-4881-a9a0-317b5fc851b8",
          "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": "3ae54a4c-c763-4e44-b3bb-9f1a71c75cbc",
              "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": "950405b8-349c-48a9-a82c-41a11d134dbc",
              "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": "4a42338e-6057-4574-afed-390bc65e5e81",
              "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": "7782354d-703e-4c53-9384-75e39d3414c1",
              "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": "afa17aad-57b6-4ce8-bb8e-64aebf7d9128",
              "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": "00a1b43f-656e-4b71-abdc-405fe8fda05e",
              "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": "78ab4553-40f5-44e4-941f-5e1027f43864",
          "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": "8bb3d4f1-58f2-4980-b62c-6d5832ab0920",
              "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": "3b44a8bd-4387-4fae-98ae-167975c17e37",
              "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": "13665b54-f396-45bd-80c1-5df06abf37d5",
              "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": "faec29f5-dcb0-4745-a575-223f4be1d1f6",
              "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": "f68a8ff5-9d80-4f45-b509-8cccaae57b96",
              "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": "5edbd813-e533-4f80-b0df-f9ec74da3a57",
      "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": "b946fe43-700b-4efa-b0c8-cc4a7c934580",
          "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": "cc160ba8-b6bf-473f-bdb2-605cc769607a",
              "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": "d8fc558d-66be-4155-953a-c62c66819afa",
              "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": "fad23ac6-0d68-4dc4-a872-5ba851828925",
              "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": "4fd1dc73-a9f1-4002-8277-d75fe9e56d12",
              "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": "15828014-f152-418b-ab68-1264ea2922c6",
          "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": "5c336d5c-01b0-4d86-99c2-08d2989109b5",
              "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": "6c8d6377-f756-47d9-890b-b55e30d5eb37",
              "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": "021f140c-e5d4-41ea-bc5c-8e3e1148f8f5",
              "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": "3b40cc45-822e-454d-ae73-0e1566adc163",
              "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": "8ae73d32-1e84-4cb5-97e9-4a4d14d6c932",
              "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": "34bc4ecf-a5cd-4e51-a6b0-27917f90388e",
          "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": "3d5f0a2b-4dc6-4a83-b5bd-46192615c821",
              "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": "6e033e50-da95-4b3b-82a8-f37ccfec9cc7",
              "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": "22f88017-159b-4905-a2ea-2bdadcbb69ef",
              "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": "aba9aaa2-9688-4435-997b-93237ecbf851",
              "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": "476de2c1-0e69-451b-97b2-9b2758a10e54",
          "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": "d1263ab4-56f3-4d6e-93f4-014dcb003c98",
              "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": "8ebc32ba-929e-4cca-b350-d5c5ffaf38ef",
              "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": "3102fd71-975f-4e9c-892d-876559faf359",
              "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": "2f249f5a-0cc1-4026-9183-b8b96e5aa190",
              "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": "3820ffff-3edb-4882-a9ca-27b855be60fb",
              "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": "1b32adc7-21b6-40c1-a00e-1c69868295e9",
              "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": "ba8ca8bd-8936-4315-ab6d-d5592f0c024c",
          "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": "920ba147-8519-4cc4-9380-c5a9268d529a",
              "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": "119cacc4-cf37-442a-9c13-41adc1c331cf",
              "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": "975b88c5-15c6-419f-80be-ac3c70333dfa",
              "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": "cc95469a-2ae1-4a2a-8459-336457be6e09",
              "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": "e8be321c-8ca4-48b3-a7e5-a0668a06b741",
              "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": "ee01e5c8-6584-4b06-bcbe-01112b8b8982",
          "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": "d862e6be-751b-4bf4-8cb8-f632ee5e06f9",
              "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": "91fcc7d3-e177-48e3-b377-57b3c453c6eb",
              "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": "866fc8e5-7ac2-42a3-af6f-dde18e3ec61a",
              "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": "a364e0eb-5b09-4473-9340-8a4de2cf5818",
              "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": "3e769438-d750-4d34-9024-fc7ae000a71f",
          "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": "4077edd8-98bf-4a28-adc6-71c071a2188d",
              "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    \"external_code\": \"DOB20190001\",\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": "b4fa02f2-348e-4e98-913f-f8d2c0c42bdc",
              "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": "0589ffb1-9a48-4bc5-ab38-9ab9acdd998b",
              "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": "1aeba0bc-0a08-4a8a-91f2-2ef8559880da",
              "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": "79194e39-9aab-4039-aa05-b94bf8afcf50",
              "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": "f3d56456-9db3-4431-b9a5-94c75e84af88",
              "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": "23676497-adc9-48de-85bc-516001e7bc2e",
          "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": "6491c1a4-b19b-4cf9-bace-3d3b620a2287",
              "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": "6c9adc51-0358-42cb-acfc-fc53bd5e36f3",
              "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": "845d0157-c26d-4ba0-bcf2-8a7710f30787",
              "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": "c5c5450d-a7af-4d81-8173-17a163c117c4",
              "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": "5ac989b2-f4cc-44df-835e-fdeb1cc7fd52",
          "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": "166748ef-171d-4fc0-9ce0-ec9a32699711",
              "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": "67d77e9f-42a1-4fb6-bba0-59f8b43d7a22",
              "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": "027ee397-5459-4c14-be83-79b6f200adf3",
              "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": "0cea6127-1df5-4c39-8e38-3f6aba7ae297",
              "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": "c2b17c30-e851-4097-8059-91ccbb5eb2b6",
              "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": "e885f024-200d-42b5-9a80-e6613b319225",
      "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": "cc83f1bd-61fd-43ad-b5ee-9e1ad854a98d",
          "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": "ade9640d-02a2-4449-8afa-16919c6e7ff9",
              "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": "8910af5a-c874-4df3-9c76-77f537146dd9",
              "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": "ca98d5a0-1259-4641-8ca5-403cd961fd02",
              "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": "961b5f5b-bc36-49a3-9a04-32982d368040",
              "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": "4259f262-75b0-4827-9279-75ec022ad070",
          "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": "441926c6-9a61-4878-bf67-468184077b66",
              "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": "73d30cb6-c438-4245-af76-5059271b749c",
              "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": "705e13bf-60da-44f3-80c0-d9ea0d059ff8",
              "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": "0c7ad6aa-23be-42f0-a4bc-0af5f6ef3c95",
              "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": "d78a6a5f-c4d9-4a37-881b-b523c79fb4ba",
              "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": "50e63024-a27b-4ec6-9bae-029d73bc625e",
          "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": "bd236000-e8d7-42a3-8a2c-43c0b542c2d6",
              "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": "e51a5147-3eab-4664-a442-1aa9233c7165",
              "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": "ac7bd787-c65d-4d2b-98e2-08b110e51409",
              "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": "deaf550b-cb04-49b5-9bc8-2bbc59aa4c68",
              "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": "86e7e53c-80c5-476c-af59-b872ed5ce0b2",
          "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": "ed9fe2d2-888d-4587-ba2b-2889c8ee4004",
              "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": "10e462fd-996d-4bf9-810a-95f272179eed",
              "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": "3b20341a-5baa-4f0e-9bd7-003f081949a7",
              "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": "b8e1b145-da14-49ce-9712-97507c37496b",
              "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": "e6b2d261-2d3a-49ec-bb0b-d0cc1bd8f3b1",
              "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": "c6bd1de7-692a-449c-97ed-ea339f7d59ef",
              "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": "93844e5b-14de-4fa4-ab5c-6d8d5011adf6",
          "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": "e160cbfb-3cd1-4e03-bb56-f8bc6ce00c48",
              "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": "282c3a8b-ffd0-4be9-add1-f59cfd52ab3d",
              "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": "fa74460f-1e11-4077-acf7-0a083c5f5b33",
              "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": "e418fbff-6a3c-4da6-8175-ab42c0719aca",
              "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": "73b21d89-7602-44fb-9008-71e52e77caa0",
              "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": "48034603-d8f5-4fb2-a297-e63186e3a3d9",
          "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": "66cec03d-12af-44f5-a031-74a00e060e35",
              "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": "0c773ed8-3f85-468a-a4aa-f5fd03b737c1",
              "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": "ceb0397b-d602-47dc-9c62-ac8abd86d009",
              "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": "a228b4cd-1707-46d8-89ea-2e8ccb2c39e4",
              "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": "4a4a61d5-08cf-4175-9a88-c1617b2710c6",
              "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": "1bec673f-6564-4391-933e-a8f3e57ccc52",
              "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": "4cde5e54-f436-4997-8d57-873a33f168ca",
          "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": "2cf61e11-d09c-4676-8746-050061a302f2",
              "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": "03b13697-d784-4161-a5e2-270975d80aa5",
              "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": "e44a980a-f87f-4acc-835a-179c6cd543a5",
              "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": "43373d2f-c368-4a54-881e-e923eca115c4",
              "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": "64bd2227-4f49-4082-8253-ae1ea97f871c",
          "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": "52f03cfd-55fc-427b-b955-474724888546",
              "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": "9c7e9543-c325-4007-9b02-88fa6af0bf55",
              "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": "8e439e92-b1d0-4620-8443-4bc2427318ae",
              "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": "ce2a05e3-17db-4b1a-975f-fec256fc7174",
              "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": "e851d89a-7f14-4a91-bbfb-2c71cf72e4fc",
          "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": "3f15eb20-b4d1-4b24-ba06-134558ee8680",
              "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": "41f0ecc7-0f77-404a-9ae5-efa8bb39390d",
              "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": "d8a75b24-5a37-48bc-a414-a65cb29ec2be",
              "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": "3ab601fc-b69a-4cf5-93ee-719ef1705464",
              "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": "0989a09f-cbf2-4ff0-a415-c2f5231ea053",
              "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": "ea026344-becb-4f38-b9a4-0f9b8edb5595",
      "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": "743e30cd-dcf3-49e1-9576-a9c7dfda144c",
          "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": "7d901149-74ef-473a-8a9e-ce6c35e9b6e5",
              "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": "eca351b7-1861-4cf5-8d7b-6a95abbe023b",
              "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": "42d5d8b8-1bd4-451a-a2bc-d158c48160b9",
              "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": "0095cc94-4dd1-4104-be76-de3aaa5c155b",
              "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": "799c1552-eca8-4fa5-b8e3-e83aae03f7cf",
          "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": "6c761082-3339-4ab7-aa10-cc00bdc9588c",
              "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": "6a54b8f2-e362-49b7-b992-b26b3484665e",
              "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": "223c60e7-1478-42e3-8ec2-d0a140e7d61e",
              "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": "b1ed7122-d5f4-4a56-be82-b9f04bbe765f",
              "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": "18ce7fc4-9903-48c2-a5ed-6649b740cf8f",
              "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": "a506386d-de12-4de7-b74f-975d58d5ac46",
          "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": "3a31a03b-396c-43aa-962d-683d5a3fa2a1",
              "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": "d9f3308b-c8c0-41f8-837a-3295009f7c89",
              "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": "aca36b87-076c-4590-a40e-a1bd413ac994",
              "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": "7daee867-43d1-47c5-8c5e-a4f4f0d25746",
              "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": "b71250a7-94a4-4aa3-af4a-ef8861a13886",
          "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": "449e2e94-ce08-4ff4-abc5-3b3cdec06666",
              "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": "c134b5bc-a6f4-405a-bc49-366ff6353cbf",
              "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": "066c620e-988b-491b-bed2-a3c5b25d9cd9",
              "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": "b5b2c8b9-6c1b-4bb1-84ce-d7259fe81018",
              "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": "30b507fb-ae1a-4ebe-a087-615f0accb052",
              "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": "d724d301-47dc-4cd7-a03b-0ca5ef595316",
              "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": "50ff7f26-f5ed-4c4f-a68a-0856beefdebc",
          "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": "5fe92a88-b913-4cad-a5a5-63b1b992c777",
              "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": "2e66c2c9-0c79-4626-826e-6e310a699e95",
              "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": "7f943b31-d0ff-486b-940b-6ad21fcee5eb",
              "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": "22c2facb-e54c-4197-be34-61439af69bf9",
              "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": "d2d54916-5973-4ed7-97c7-44afc0935789",
              "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": "b772e81c-798f-463d-a7f8-3302e4540425",
          "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": "66a6950a-fddd-493b-9c71-e5140c451ba5",
              "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": "7e160c06-1944-43ab-8b34-824978562c46",
              "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": "08a66a77-875b-4d40-9daa-899ca2d2a6cf",
              "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": "c9df6b2f-f597-4182-8f76-c97731c7b741",
              "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": "f8308049-c0d6-46fc-bcf8-e7cde0178276",
              "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": "6e9e1270-17bf-4781-aab2-63122f34a3b5",
              "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": "87fec712-417c-4346-b8ed-a56d4a5625bb",
          "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": "00d11d20-a118-4e5a-adc2-8ed2c3c861bc",
              "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": "8138677c-0c68-44ca-9f3f-d6b4e441d615",
              "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": "0dcd5955-25c4-4d12-a49f-191bb608a738",
              "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": "f380db58-50f7-4d6e-b768-36e11fff2be3",
              "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": "cb0a77c9-a01e-46cc-8f57-55c95dd97971",
          "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": "8da5cb9c-3a1f-430b-90e9-60a55d5c5772",
              "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": "4607365f-17e0-44c6-a5e4-622b9b6c03a3",
              "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": "736dc8b6-5362-4399-83f7-73b692225bcb",
              "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": "1fb40858-5129-4499-ad9c-d69bc90f8934",
              "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": "dbd0be2c-17ac-4514-be1c-c4d1d3dbad66",
              "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": "02443680-baf3-461b-a9af-a52a9eba0e41",
      "name": "document-scan",
      "description": {
        "content": "Naskenované doklady čekající na zpracování.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "320bb43f-596b-496f-9b7e-c6247cc11a76",
          "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": "72e64c17-8b3e-4aff-a8bb-60f5bb5be914",
              "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": "f27d64b8-9f35-4d04-a9db-12378fe6eb03",
              "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": "0abafbac-e846-430e-8713-82b820018be2",
              "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": "3f2afa75-d0cf-486f-9a3f-d77ac2cb06b2",
              "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": "affeffd5-bbce-44c7-9a25-527edd0a0042",
          "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": "56681e5e-a040-4a43-bc33-41a9998a00d9",
              "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": "6f1a7da1-c4ab-4669-88c4-1b3211a253ff",
              "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": "3b4304b6-d634-431d-a3a3-8f9a75b3b7ac",
              "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": "05f79e54-5f5b-4785-8f54-17dc12171fcd",
              "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": "51f4bf2d-f501-46b9-a675-12fb03b7a787",
      "name": "objednavky-vydane",
      "description": {
        "content": "Objednávky vystavené dodavatelům.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "bc5206ef-e416-4b42-b351-020888821cf5",
          "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": "03c05808-d5bd-4bec-81c3-3f980fbfe71e",
              "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": "245c8ce3-486b-46c0-95fd-b018d6e16b39",
              "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": "15668e0c-ad83-438d-a71d-908b45486c17",
              "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": "141980bd-0064-41b8-b8c6-fb6bbcc0dbb9",
              "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": "0bf72b42-50fb-4793-8b43-8ea9212bada5",
          "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": "8ed7242c-6504-46fa-9ac4-4b60810a121e",
              "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": "e9592a13-a4d8-42ea-98cf-835ca43fe48f",
              "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": "af67873c-0b9c-452f-a691-b88f1731bac8",
              "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": "a872662a-4107-4b9e-b1c8-c2cf94d7dffe",
              "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": "f2fc06de-008b-4201-bd7d-935f722dd268",
              "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": "a87050ea-1522-4098-a7eb-eb703907f0c0",
          "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": "745f77fc-dc44-4beb-b61e-aca35dacd28f",
              "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": "9e19cf21-4077-4111-b75d-c6ea7318c1e3",
              "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": "ad3f936c-4a0a-4df9-aa81-5887df030ba6",
              "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": "7c780d73-f2f8-4e96-bec8-7461c06411fb",
              "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": "913e1ef4-91a9-43ae-b79a-184d90dbf3a0",
          "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": "ae19f858-4e7e-492e-a517-e5bbb56fb1bf",
              "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": "31e5ff27-3a4b-4de2-8dc5-126e24ff2c04",
              "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": "74d706a9-933a-4fe0-a477-d4f0ab086a4c",
              "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": "0a64bde5-d4b4-42e1-8023-d1a49d0a4833",
              "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": "4395d1e6-fcb5-4c93-ad7e-e4d77cd8f9bc",
              "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": "53407bf5-162b-43e8-b937-a3e32e07f346",
              "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": "34ac2812-c308-4a4f-b128-97053c85e576",
          "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": "fb8a1d24-a063-4f63-9d03-b033b5d7bfce",
              "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": "31f3119a-5caf-49d3-ac60-0574fc525485",
              "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": "d22eaa6e-1606-47aa-be65-ab614ecefb2c",
              "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": "f3846e84-6e0c-438c-a07c-39a74bad79fd",
              "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": "dfa4221f-b0a8-428b-9873-2a270eec21fe",
              "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": "6a8528a8-5ae5-453e-8d73-022c314a4d0d",
      "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": "1008ee55-2af9-4213-9e30-90841c5527c7",
          "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": "a6329a37-23af-4cea-939e-05a0f549d321",
              "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": "1cfa9703-4bf4-4be7-a45c-c83e03ad0c74",
              "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": "12cd1f97-9ba2-4000-ad17-5c63abe2f05b",
              "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": "04e77d64-21ce-4aa2-afa0-d993a3d461e7",
              "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": "28d44029-dc67-462d-973f-174d40bbc6f8",
          "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": "f8fdd080-3941-4f25-b6b6-9f17a6da251b",
              "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": "df1279d7-161c-45bc-ab90-d138fed6bfce",
              "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": "d95f73cb-a4c8-460b-96de-7e213a138a75",
              "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": "e681ff48-c273-41d7-9555-55dc9c2b00b9",
              "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": "ffcd7dfb-1f24-4cf2-b246-9efa324b3dfa",
              "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": "2298f1b8-2dc4-4da5-a4bc-24132563618b",
          "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": "8cf4357d-5a4c-4c83-8175-f01318333401",
              "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": "be6633e5-c9c0-45dc-9956-bd155ec9c96c",
              "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": "1ce71d8a-a865-442f-bb0a-f4bffa31e377",
              "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": "398336d5-3f67-40f5-8b39-396add263b5c",
              "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": "f4232ec7-c02e-433b-884d-5eec9ced0a6a",
          "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": "92b7e7a9-859b-4623-925a-0653fb9d10a4",
              "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": "a631cb60-a765-4a57-8f5a-07bc2c43556a",
              "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": "80849514-aa37-4449-a2e9-b696a3cb7d0a",
              "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": "0cf62bc4-cecc-40eb-9ff0-196b595af164",
              "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": "35e0013a-3fda-443c-ad65-66a9ddccd06d",
              "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": "b3944dd9-430f-4989-a21b-fc3c8c36029f",
              "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": "4a0ba2d6-6185-44bd-b1a3-000e59cd5cc9",
          "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": "7d83007f-1254-4781-8771-601ebd0bc4a4",
              "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": "cd43b3a7-86a0-4f17-91f5-e3dbc7a37ac5",
              "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": "25960e30-7749-47e0-b694-797d56535a15",
              "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": "baaabfed-1ff6-4db5-b1dd-84ad5d45e821",
              "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": "bee4d820-9019-44e9-8ec6-1e5a3d205030",
              "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": "9d4f2cb4-9b55-452d-8d2e-145543890146",
      "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": "7759d2cf-eb90-4085-bfe8-edf49ad1229d",
          "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": "5636c0cb-7cbb-4368-91f9-a24f4a6cbb2c",
              "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": "c2513357-64b2-40f6-97f4-b7e85873c9a3",
              "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": "fb035e56-ab2b-476e-a10f-61ae6a34cacc",
              "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": "c77560a1-5cc9-4835-b52f-0f3dc8956a12",
              "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": "83951691-a8f7-4131-9890-785ab783c611",
          "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": "67db328d-26d0-40d2-ae94-e02da8f82fa8",
              "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": "41956fa1-5f86-4a71-b2f9-4379fd09bbbe",
              "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": "4a7ac31c-7454-4646-baae-83c41916e00f",
              "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": "fae0018e-f8d4-4378-b943-69b99d8c3895",
              "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": "687a15ca-cec6-41cc-a13a-5696100b846a",
              "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": "00b2d468-7ed9-4e26-bed9-7627925c9007",
          "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": "a92c47e2-8404-43bf-8bbd-556b69c1a782",
              "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": "e3543cc5-dace-4979-9fca-cd5bf98ac30e",
              "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": "f00f1ebe-18a2-4137-aca0-787a0eeaac63",
              "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": "0344989b-ff64-4df3-982b-69bd13fc8090",
              "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": "9378abe1-a4ba-4e95-92f0-12cba9a4ce65",
          "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": "63b7814c-e27b-4063-a64d-acc279ba589c",
              "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": "70c83563-af15-4e94-980e-e26d40200f10",
              "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": "136f0686-2f4a-4e8b-950d-a38f8065c4e4",
              "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": "a685728e-0d1a-4fc0-b346-6b08d79c1d6b",
              "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": "4ac62d32-bd51-4932-bf92-9874b6582e28",
              "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": "10cb123e-3335-40c4-a937-51eec2684851",
              "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": "58cb09ca-0177-45c5-9909-040410443ba8",
          "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": "2dded0b3-ecbf-43de-8431-9732a9ab1175",
              "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": "13594e6c-1902-41e8-9dc9-1144567da7c5",
              "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": "f989b1ca-9ddd-45be-8bf7-fd0ff10de467",
              "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": "096a87d2-8e51-458a-839c-da5cb6c2362f",
              "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": "885d34fd-2a43-482d-8d65-b855de160d5b",
              "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": "2d4f92e2-c023-4b25-aefe-fc0ca5aac79b",
          "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": "fa576295-439e-4c80-afbc-36e267fdfcbb",
              "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": "50c1ea3e-3c89-46c7-a1fb-c5098d4fbc8d",
              "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": "8f90e947-714d-42ee-a098-0e96da4cfc9d",
              "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": "40e5e31f-1fd0-4a10-9acc-6153cfa810fd",
              "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": "a6ac5463-3af5-4d5a-a8e1-f21faec285fa",
              "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": "5507dbef-a920-4d1a-b5f4-df6cd55b0207",
              "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": "bc837a1a-95c0-456b-a4bf-9087c72337a1",
      "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": "3b196323-6a6b-469a-9e75-efd933058811",
          "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)."
                },
                {
                  "disabled": true,
                  "key": "external_code",
                  "value": "DOB20190001",
                  "description": "Číslo dokladu u dodavatele, přesná shoda."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/hal+json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "0874fe2c-3135-4800-9c65-e0ec1f9f57df",
              "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"
                    },
                    {
                      "key": "external_code",
                      "value": "DOB20190001"
                    }
                  ],
                  "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        \"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        \"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        \"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        \"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": "226cfd1f-00d6-446b-9dfd-bbacfad62281",
              "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"
                    },
                    {
                      "key": "external_code",
                      "value": "DOB20190001"
                    }
                  ],
                  "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": "2efd8708-98f8-4ae1-9453-561c6783a89f",
              "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"
                    },
                    {
                      "key": "external_code",
                      "value": "DOB20190001"
                    }
                  ],
                  "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": "0e0b2e72-cc99-43b6-8d7b-94df2a117070",
              "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"
                    },
                    {
                      "key": "external_code",
                      "value": "DOB20190001"
                    }
                  ],
                  "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": "420cf4df-5632-4934-a2b5-95eea7161c51",
          "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  \"external_code\": \"DOB20190001\",\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": "a09b81d8-e832-4e0a-afa6-f964eba29f93",
              "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  \"external_code\": \"DOB20190001\",\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  \"external_code\": \"DOB20190001\",\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": "a3c6c23e-c5b6-44ab-8b57-a879732da1a4",
              "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  \"external_code\": \"DOB20190001\",\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": "5f171fd8-148c-443b-8705-75e0283a3ac8",
              "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  \"external_code\": \"DOB20190001\",\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": "4fcb3aea-6df2-4fc1-bda2-5a59b39a2aac",
              "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  \"external_code\": \"DOB20190001\",\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": "37e4bf6d-70f3-409e-8c11-bad4d4fa87be",
              "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  \"external_code\": \"DOB20190001\",\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": "e7ee5988-0d9a-4063-98e1-b61ab3a588ee",
          "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": "3806937b-5ae7-4b9e-84a1-c42a8bf2babd",
              "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  \"external_code\": \"DOB20190001\",\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": "c185feb9-deb1-4060-a615-ff72a8919547",
              "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": "178e6c72-84bb-4b32-87db-8ce794203d64",
              "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": "9761630e-06d7-4d27-802a-496a3147a179",
              "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": "c7a14599-a2f1-41e4-87aa-d1947db03694",
          "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  \"external_code\": \"DOB20190001\",\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": "b82be056-89c4-483e-8e55-3e197bd6b5f0",
              "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  \"external_code\": \"DOB20190001\",\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  \"external_code\": \"DOB20190001\",\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": "d48899a6-9e83-40c5-8039-7333fae5a889",
              "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  \"external_code\": \"DOB20190001\",\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": "dea81598-e5da-4c6f-a314-c6811af257f0",
              "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  \"external_code\": \"DOB20190001\",\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": "406c6579-3a55-4470-a818-2924859d2f62",
              "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  \"external_code\": \"DOB20190001\",\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": "586a13d5-4b0d-4927-a326-d2767699f57c",
              "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  \"external_code\": \"DOB20190001\",\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": "c88a8e82-924d-454b-aa3c-30d6474332a3",
              "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  \"external_code\": \"DOB20190001\",\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": "53de8fea-6670-4c24-bff2-6fcbdf713f4b",
          "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": "4986849f-aaf4-476a-ab5d-4f2c524ce468",
              "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": "e7bde173-efcc-4ea1-b8a1-a43dc8332265",
              "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": "78d23dfd-31f5-4688-91cb-904bc70aac47",
              "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": "a9234ce4-22c6-4462-86ad-0c9c3b6734a7",
              "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": "273a9b45-07cf-437b-828b-768c87edac44",
              "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": "a4a59569-5424-4e32-88bf-09dbead3f6b6",
          "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": "eaba6141-87bd-4911-98f7-c59c251922b6",
              "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  \"external_code\": \"DOB20190001\",\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": "5582c453-f5c0-4840-a18f-bfb8b97ba852",
              "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": "486e194f-3efc-44d1-b185-ee49fb917d3c",
              "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": "ec12e53b-65f4-4972-848d-983b30f7ffb6",
              "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": "610966ea-d4b7-48ef-a58d-e536017d435f",
              "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": "2d4e0ef0-2fb8-4c75-bfce-777730d72e17",
              "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": "ead8fa8e-4300-443e-8b89-963fb67dc3e5",
      "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": "d9841091-2a36-4eb4-a515-2cbe39994c6e",
          "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": "b47119df-c617-42a7-9222-78c8f64f786c",
              "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": "18bcd3d8-9156-4ea0-88be-8dcbf8da0755",
              "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": "59701fd7-c0b8-48dd-b014-82944124646c",
              "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": "6f848e5a-4b55-4687-a492-321b6abcf183",
              "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": "049fedcb-b57c-48dd-bb5a-cd46a3e2f2c9",
          "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": "f1b5662c-265f-4785-9b18-4f79eaea533e",
              "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": "a422fd2f-810b-49ed-92c8-30d40efa1c58",
              "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": "f290bdaf-7024-4741-a197-53ac9445df15",
              "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": "b9cec1c1-5ad5-47da-aa53-2bea72bafa5a",
              "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": "82ec25d3-6810-4d84-893c-2f72428a69b1",
              "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": "8d1ff36d-da34-48a0-a58c-8fb538921bf5",
          "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": "c292c333-c9c3-4b2b-902f-923e8e435d26",
              "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": "82ec394b-5851-4ce1-aee0-e524b6fbb040",
              "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": "313c6e22-f4ed-4597-9e8c-6ff08b00469b",
              "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": "1bb60e68-8477-4854-a0da-ad0c6db8519d",
              "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": "5fc01500-7b7a-48d9-bc6e-fe38f7d2e8d7",
          "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": "95288f57-fa98-44d2-b3b5-f728b63c832f",
              "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": "9fc95df9-8653-404d-bc10-821827c811c8",
              "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": "0ffdbb2d-ba46-41a4-ae53-6d27733b509a",
              "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": "c0796aea-8f0a-4c19-957d-221f5cdb4e06",
              "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": "27ee4243-ffd1-422b-a4f7-15876819700e",
              "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": "668094af-860b-447d-9e2b-f73a126fd79b",
              "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": "b127f061-ee0f-47ea-b798-115040c01cf9",
          "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": "a3f26df2-91ce-43c9-81b6-a054173bda58",
              "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": "329a6b5f-c6bd-4e89-b1bd-18a6d0226d6f",
              "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": "971c9de8-586c-4f75-8ab8-4d90b37cbbae",
              "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": "6f5125bd-d4ac-423f-a560-eed9043ccd6b",
              "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": "39fbe73d-8fad-4d37-ae51-f6d9c2594e3e",
              "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": "c5fc42af-7824-420c-b061-5b155f1f88ed",
          "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": "779c8454-2a5c-4506-bdde-2101cb982f65",
              "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": "d513de66-bec3-4206-9fca-d4036d43dca3",
              "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": "4b0204c9-ab7d-42ac-b59c-03c545c8a9ec",
              "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": "9f0a4d89-27ff-4fed-aa4f-76057997a153",
              "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": "d3ef3c0c-91bb-4502-981a-d668c5680e9a",
              "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": "c19fb2ff-4390-4cb7-a8ef-97d96c1a3d01",
              "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": "82a1d9b4-194a-4e64-b40f-f82873db245f",
      "name": "platby-vydane",
      "description": {
        "content": "Úhrady odchozí z pokladny nebo bankovního účtu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "333d20e3-cc9c-47fe-8afe-db7875cb0948",
          "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": "37746791-2412-441c-875a-6f79ddb98018",
              "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": "fb97c2d9-152a-4ca5-beae-87a83b01c87e",
              "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": "456dde3f-6113-4f16-a978-1e779610cabf",
              "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": "a0cc4fbb-c42a-4446-ba52-4718aef9da19",
              "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": "a4b69275-4792-4fc0-a65c-af5b077e0f9c",
          "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": "65b1cd0c-a212-4f82-a010-9bf8be0ec7f6",
              "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": "e43fe6e0-40a8-4cad-a94e-1bd8b3426001",
              "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": "58cf78da-b4f3-4259-8add-1df2584d3afa",
              "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": "909b54b6-556a-4311-99cc-61da8712c93d",
              "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": "8b7f44d2-fd2c-40f9-98fa-c3180914b6fd",
              "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": "6ff47a70-7baa-4235-8c32-4dcc764c7177",
          "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": "9c698d24-acca-4b4d-85eb-b4e7dce45636",
              "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": "374d6caf-3ce6-419d-bd9e-85a9aa9795cb",
              "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": "8e7d507a-ee4d-41e6-9c20-dcb48a80cede",
              "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": "21f61a38-d392-44df-b928-c76d3bab787f",
              "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": "f381a0b0-8b0c-43da-a9a1-e32348c15e98",
          "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": "a48852ae-ed40-4b63-9ea4-18d71e0f39a0",
              "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": "d12a5215-cdff-4812-88b7-387f538012dd",
              "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": "29dd8d7d-4892-49bc-8139-28e37a7c0e4d",
              "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": "90d209d0-da86-436c-bb1b-bcd359ca6585",
              "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": "892cf35c-3d29-4b8b-9be0-fc2c2068832e",
              "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": "0c19705b-14d6-4ddf-a240-3278f829a90c",
              "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": "6947bca0-dec0-474c-87d4-f81361753012",
          "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": "26499455-3535-44ba-b340-461a717be108",
              "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": "51382caf-87de-4316-b666-3cf2c02b1909",
              "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": "5b6a86c2-27cd-4a5a-bf3f-1f398e7f5489",
              "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": "2065fd81-ab8a-46e7-b099-a442ef4d6265",
              "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": "a19b8a52-efd0-4d4f-aae7-55cb7c9f5e57",
              "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": "869b97d1-9fa7-4289-9491-0cfb98904e28",
          "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": "14d368b4-6eca-41f1-b378-7a444c49b04a",
              "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": "6cd6537e-70ad-4ba4-9d0b-d0bbae57f4c3",
              "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": "bde2a739-42d3-4090-bb2a-ed4be3d7fb3d",
              "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": "25440842-2367-48a8-8255-215ca8de02c7",
              "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": "6e2cfcfa-b831-448b-9e85-3e3299e56c40",
              "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": "e8638013-c85e-4234-b236-56ffa16cc3c2",
              "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": "d4655707-c2f0-4aac-b3cc-4e099e85dc9b",
      "name": "platby-prijate",
      "description": {
        "content": "Úhrady příchozí do pokladny nebo na bankovní účet.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "77062a9d-3055-4a45-9143-44ed88ffd0d0",
          "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": "cd702849-3d1c-460a-99c1-fda9a961ed61",
              "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": "6e632b0b-ed9a-4c29-9670-305f9fddf2f2",
              "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": "f322c44b-1b54-4e03-9532-800bcb204fe1",
              "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": "6eb5abf3-6a7a-4bea-b873-09ad4ed94831",
              "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": "8d46c417-072b-4e9c-8b30-5d5ce68a311f",
          "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": "2d46448e-64d0-45b9-8aa6-e75b3dfc4abf",
              "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    \"external_code\": \"DOB20190001\",\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": "eb81c8f1-0715-4c7a-98ba-ef2998f2d579",
              "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": "4ff711c3-a5ec-40ec-8fef-90c31c422c3b",
              "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": "a3002328-f833-40c6-9d6e-6beb84241f6e",
              "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": "fd58daea-c9c0-4a08-8b34-5bf3dd369c0e",
              "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": "66b29eb8-f830-47a0-9e5a-f9f43993fddb",
          "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": "06ceb7f0-5d16-4ed2-bf91-1d153a13bf52",
              "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    \"external_code\": \"DOB20190001\",\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": "2cec898a-05b8-466f-b5ed-26bf283808c9",
              "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": "31de9d37-e4a9-443b-b37a-5bfb7f350d0c",
              "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": "88cef000-cc1b-49c8-a630-3ffa38e7f6b3",
              "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": "841187bc-603e-40d7-ba39-27499c5046e3",
          "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": "d409c641-a306-469a-934f-20a6d3f6a8f5",
              "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    \"external_code\": \"DOB20190001\",\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": "da2b9290-170c-48ee-a899-1ef675784ea2",
              "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": "7438d5d2-1401-47a7-a8c3-61d5caf6af9f",
              "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": "42c95a73-9b62-47d4-983d-479ac970fcd1",
              "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": "04d7b623-f381-478f-a3ae-b03e01bb0f18",
              "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": "50822385-1b8a-4f36-92d0-4179e0a52aed",
              "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": "f6aec8f3-4514-488a-b367-08738fae2fe3",
          "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": "10569227-928a-461d-8a88-1f3fb8d962ec",
              "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": "2afedf3c-50b1-4b38-822a-cc7203807b6f",
              "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": "f120eae1-e270-424f-ab03-c6981421b2b2",
              "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": "1c0833ef-b264-46eb-ba23-c269dc1a536f",
              "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": "53b1c396-ba2b-4aba-b33b-613c96428c3a",
              "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": "cb7bd1fd-79c8-4cb8-97bc-a88d5b2e2da0",
          "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": "431cd62c-5110-47e2-9c6e-87caba7cfd36",
              "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    \"external_code\": \"DOB20190001\",\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": "58f82d43-c03c-4134-ba2e-8e13b7d1f12a",
              "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": "8e49eca0-5d8a-449c-b9ad-bc568b83375c",
              "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": "b1303b21-d8e4-4951-8546-9cc5ef74eacb",
              "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": "91acdd98-9a96-415a-9b8e-6852fbe2a50a",
              "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": "beaabd57-bc75-49d7-8f38-bcc5f288c009",
              "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": "c8185f9f-34ef-48a9-8e22-c0565c80d3eb",
      "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": "07e92b03-6761-4c37-923e-84cd9946ea17",
          "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": "dacc5919-f0b8-4d14-a8e3-fc9f54f0f865",
              "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": "346ac2ad-3d45-4a46-a9f1-9c857b56b7cb",
              "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": "0f113e40-c33f-4308-aae8-c2388bd01b9b",
              "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": "093caf04-a400-412b-a64f-c18df457147b",
              "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": "d4c703d3-6b4d-4b95-a50d-f683a36b78b6",
          "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": "7c521e24-23f4-4466-ae0e-9ca9ae80b69c",
              "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": "63b58781-d4b0-4d85-b987-7c806d654860",
              "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": "11413173-899f-4b0b-ac1f-1e8ca02f56fa",
              "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": "78379b38-0b78-48f1-948a-6c7eb6dee589",
              "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": "6f835056-abae-425c-a3c7-532af95efb24",
              "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": "ceb9c5b7-0ab6-4137-9632-9ce64578fe96",
          "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": "9dddcde1-1536-43e4-a396-59f36195eafb",
              "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": "eb117e6b-8ea2-4aec-aa5c-6775cfcd8cff",
              "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": "b3312b41-1739-4e95-9dff-9998870b874d",
              "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": "1150bd77-6af7-48b5-823f-b6ab172d1340",
              "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": "d1331ab1-f31b-4c42-8171-39ce94c124a9",
          "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": "8a23bd69-103d-4c98-bca0-4d81e44f4a25",
              "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": "57080482-a8a6-4f67-b767-83a13f2da6f5",
              "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": "3f46c1e0-8d47-4c64-9d49-c65881787793",
              "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": "19c30b14-fa33-44e6-ac1b-dd98c8974c24",
              "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": "88210851-bda4-49c6-b8d1-cc951a2949ec",
              "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": "3d6d42a3-ea5e-4d59-ad26-da6dfd206c0d",
              "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": "aa561617-10a7-4433-a3bd-ec0aac8af759",
          "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": "38310ef3-d444-43e9-9ade-5df734656182",
              "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": "8c387320-2c33-4417-8bf4-798543b51715",
              "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": "8b20f60b-773b-400a-b536-26a664a20b4d",
              "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": "0f4a3abf-15ae-48de-9ad5-37e294a91cc6",
              "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": "ab50e544-b865-47f9-951f-96921903793d",
              "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": "99b5d277-f7dc-4ec9-b4c8-9035feea137c",
          "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": "3c696efc-4f6a-409a-95b2-480b315abfed",
              "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\": 7633,\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\": 9698,\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": "4d7d2dac-9286-4fa6-a1ed-ea698844c062",
              "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": "70c31ef2-c108-48a2-89c5-75ff01cb6977",
              "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": "930e3fa6-3009-4483-8ac5-df399e24775e",
              "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": "cc814a55-7a6e-4d7e-81ac-cc3fe1391d6c",
              "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": "d09f2d4e-1734-4170-960c-308dbf91ad4e",
              "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": "2f4a4b78-f75f-4a67-ab53-7dc942e763aa",
      "name": "journal",
      "description": {
        "content": "Zaúčtované položky všech dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b5df7596-e832-4987-a10d-57d509fbdda7",
          "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": "988e62cd-32cf-4680-8ebd-5a4a4701f225",
              "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": "ee4f934e-4e99-4cdb-b9ea-80f2ca57d59d",
              "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": "01878944-119a-44f2-90f7-514616be8e8e",
              "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": "d3462d2d-dbc1-452d-9347-0242a7304796",
              "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": "d75990ea-243d-4607-8c1a-8eabedaa2841",
          "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": "2ba6eb27-9ed3-464e-9049-ac4143e15365",
              "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": "65f473ef-56a9-443b-933c-8197cfdc0a10",
              "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": "be1aab40-b6d5-4996-a002-ab496c90b7e8",
              "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": "10e6c78c-590f-4f07-b71e-57eec5084da9",
              "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": "61a02759-8592-4408-bdd0-4540aa14bcce",
      "name": "direct-accounting",
      "description": {
        "content": "Účetní doklad zapsaný přímo do deníku bez vazby na doklad.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "5d8c5493-bf09-4e91-85ac-4b4601959148",
          "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": "f16a4a61-1a1c-4728-8f8f-e896fab733ac",
              "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": "04227c3c-7f36-4684-b09e-da616c88436d",
              "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": "8f430d79-e95d-4580-9103-d9452ffecc26",
              "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": "11d994b3-2cf4-4bfc-b744-fd81be15bc6d",
              "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": "8f055296-c181-45da-a49d-af7902ba5ebf",
          "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": "f1675240-5ad4-4d23-8e2e-da7e532e6b64",
              "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": "a0e47e10-2cae-4b76-8994-3a9ad0b459a5",
              "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": "c9e72943-a88f-46fe-a804-1b74331ca0ec",
              "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": "3673566a-169c-4e91-883b-b0080902e90b",
              "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": "09245457-29d2-4de7-b2fe-c1323d407439",
              "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": "6cc0d7cd-c11c-4c38-90c6-0f24823643f2",
          "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": "e2934074-4bc8-46cf-8d60-dcdcfcd05440",
              "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": "764e1d05-f8b4-44da-a815-19433926a012",
              "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": "88ccac96-0a7f-4165-ac9a-d5f0e65ef1f0",
              "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": "1fc0594c-b11f-45b7-a148-02e824f7f446",
              "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": "3d340edc-e7d3-491e-a4d7-598a361d239b",
          "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": "9662f241-2724-4e71-be7d-11d6f7679d13",
              "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": "5c50a2e4-e628-4e3f-8434-ae99a46f4a8a",
              "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": "1c3a17e2-7dfd-40bb-8068-cb5c3ad17689",
              "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": "93903d1f-3608-4b24-8f72-05a9a0bdc453",
              "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": "9c18224f-b915-40d6-8ad7-1d1c8a17da8d",
              "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": "724b23bd-ee6d-4633-a8e5-ba2e5a3f89c2",
              "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": "4b5270df-323d-49d3-82e7-3fd3324f4533",
          "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": "4a6c8f72-99bc-40c6-bf14-8871a317d89b",
              "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": "c6117673-aac7-4d9c-9a4d-62a4b1f8bb8e",
              "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": "2a30724b-d126-423a-8196-a8d94f356af2",
              "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": "865426bb-bb57-476e-8b87-a15e009c3afa",
              "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": "be903eb5-e3c9-4aa2-912c-a803e5360819",
              "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": "95e3c567-ae29-47a1-9e8b-82840374fa7d",
      "name": "sazba-dph",
      "description": {
        "content": "Platné sazby DPH podle země a data.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c8631780-f9dc-49e1-a8c6-80f9da471f3c",
          "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": "42039be7-0dd5-4510-878b-b62b0d2aa69d",
              "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": "5a19d6e1-1ef5-4534-b78f-13a1f6c577b1",
              "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": "4eba910d-32e6-4c97-ab27-ac84a39f4e20",
              "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": "5a61679a-c06c-4c68-919c-5cf7a96e0890",
              "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": "d58cfb08-6c6f-41e8-b060-028b8554328b",
      "name": "polozky-typy-uc-polozek",
      "description": {
        "content": "Číselník typů účetních položek podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "fe0880d2-6909-49c9-982b-9e704dec357f",
          "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": "f0519c3e-0b68-430e-aac9-2412ccce7d22",
              "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": "9b97281f-0cd2-43a9-9d43-1027871565d1",
              "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": "7632359f-4520-48ea-a9db-aaf06ae0027f",
              "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": "d256a19b-edc9-4087-b8f1-d9a794bdd78b",
              "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": "c59eb1ed-734f-4e3b-a2c2-68fcb8565180",
      "name": "typy-dph",
      "description": {
        "content": "Číselník typů DPH podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "1a58d753-c65d-4666-9d02-fa3da1a459ce",
          "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": "73ceeca0-02d6-403a-94df-33944711bb0b",
              "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": "ae1fc45a-22f5-4074-9467-272001f831fc",
              "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": "d5785766-faef-44de-9fe9-2940289e858e",
              "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": "1a933a41-baa8-4cfb-b815-82228cbd79aa",
              "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": "d2b240a3-5ad8-4240-9ef1-905a20321f6c",
      "name": "ucty-uc-osnovy",
      "description": {
        "content": "Číselník účtů účetní osnovy firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "930b0234-f1b0-4c8b-b1de-bcac8b7d19bc",
          "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": "2effa932-45c5-429a-afb1-3c5afa8f6312",
              "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": "7734da3e-a04c-4315-b56e-6526515d2072",
              "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": "43f1d5a8-1010-47e8-a3c9-c55edb0c13b6",
              "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": "2929cc81-6fb5-40cc-bfcb-21e9b0dcf393",
      "name": "ucty-dph",
      "description": {
        "content": "Číselník účtů DPH firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a84cfee3-74c7-42e0-aa6b-ebec6337e49b",
          "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": "cebb3ff2-e1a8-47da-97d8-2a55bba7fb6b",
              "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": "ae3ce7c6-fe9b-4b1a-92a3-ba64cf28e650",
              "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": "790802d4-5d65-43e5-80f2-2c4145d72602",
              "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": "4f6d33ee-2138-4f11-9179-9e3fcb6a834f",
      "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": "3e25c344-eed0-46ee-aa29-ec298154dfbb",
          "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": "b1b78d30-e0e9-4c98-b0ea-d9cd83029150",
              "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": "cb8bc083-b2b0-432c-900d-119715e2dbd0",
              "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": "11136d60-e7fa-45da-974b-b77fcba66851",
              "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": "21de9565-5b61-40c0-9856-7b4429b9d5da",
      "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": "dd7c2634-695c-44af-b2df-b372199def16",
          "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": "3cc5ce56-49f9-44cf-b911-b46b46dbb205",
              "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": "6ebab967-4877-497e-8472-1e2e492c7987",
              "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": "c12f49b6-1bea-482d-b865-04424db894b8",
              "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": "65020ebe-48ce-438d-b546-9c30e1e81d9b",
              "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": "d38158d8-b7e5-4448-b4e9-016ca1eab1db",
          "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": "252876d3-48d2-4878-9117-76b133f18e29",
              "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": "966c3520-7af8-449e-8d83-138070fe47d9",
              "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": "0997e8d8-1080-4158-a8c8-30eeaa953606",
              "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": "dde9ec41-18e2-4775-8966-d8875ead8a6f",
              "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": "79664ba4-c832-4aaa-9734-808c295ceab4",
      "name": "price-list",
      "description": {
        "content": "Ceník produktů a služeb používaných na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "4fcb638c-8d97-4a02-9a91-f03eb161cfaa",
          "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": "ce1e0b59-e218-4c35-9746-33d783c64ddd",
              "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": "1459d8a9-3468-49c4-8448-fbadce8e0bd8",
              "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": "81cf8b35-0b84-48e1-b0a3-6d34a8d76993",
              "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": "3b6eb40a-59d0-4116-bf44-5c5d599c9fea",
          "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": "f45b5cf2-3ddc-4e36-9719-88d92814f7c0",
              "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\": 1408,\n  \"vattype_id\": 7190,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "31549db1-3d0a-478e-9d4f-10cd66f811f6",
              "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": "3f311014-aabd-445b-8ad2-07c0c776fdc2",
              "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": "5f7cc75a-193e-4964-adce-cef5f4756c81",
              "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": "6cb00ad8-c0a9-4dfb-ae7d-ff72ba2d6bc4",
          "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": "a72a1e5f-0919-453f-a441-849b5d685b2a",
              "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\": 1408,\n  \"vattype_id\": 7190,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "dc76f365-40ca-49df-8e18-ef6aa8d08c13",
              "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": "0863fb6d-d60a-4198-ae70-859bebd8bb4e",
              "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": "70662303-d8b0-404a-9f60-43370dccfc76",
              "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": "d48a2f36-4d51-4695-b78b-35116819cf10",
          "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": "deb90a25-bf7a-4e5b-8169-39aae033350c",
              "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\": 1408,\n  \"vattype_id\": 7190,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "977e555c-5e08-4138-8435-59c09a974870",
              "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": "e942ee56-50b3-45dc-a581-f33b214b7eb1",
              "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": "3aede40b-69a6-4c89-9cb3-0e5f33f081a1",
              "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": "73c4e691-d9b1-43ec-bd16-470f2c01eaea",
              "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": "4692b06c-003b-4f9d-af71-de315c932c09",
          "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": "20a60bc0-9ee5-4da2-af50-274cabb1b294",
              "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": "de5f1620-e62b-4c30-9d5a-f56925a951c9",
              "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": "3e5fb6b2-9c15-4fad-9f87-928abbffb57e",
              "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": "47e3fec6-2222-4e3e-b065-6dd2b359dea9",
              "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": "88555493-183b-4592-8e19-7668a5860a65",
              "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": "e42e20a8-fe2e-4e1f-9a04-83fafc97a4cf",
      "name": "warehouse",
      "description": {
        "content": "Sklady firmy. Zdroj vyžaduje tarif se skladovým modulem.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9635a805-42a4-465f-bbc5-87b2d088fbbb",
          "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": "121a82d1-55e7-4261-8d05-1e018e42c9ce",
              "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": "eb03d5b2-fcee-4535-9a97-288c6e6bad6a",
              "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": "fff93665-5d7b-4d7e-86c9-2af374f70f09",
              "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": "30c5cd58-ee45-41c6-8845-837cc61a40bf",
          "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": "05e219de-587f-4b4e-8524-77004e95f4d6",
              "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": "596fdcfa-df86-42b6-85ef-787ce49442bc",
              "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": "3c4044a5-eaeb-45ef-8e41-3873d4a4b3a4",
              "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": "42d69d9d-cf35-422a-b0e5-9bc7cec2b9d3",
              "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": "09f87603-d15c-4d25-ba72-dedc284656f1",
          "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": "15d1c3c9-a59e-411d-824f-fb6c416b394e",
              "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": "b20cdcb5-cffe-46c3-965d-30b0a9c83630",
              "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": "7739d5e1-cdbe-4edf-806d-007cad4965de",
              "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": "ee87745c-ca00-4cb2-a72d-6ad39b17edf9",
              "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": "90eb1dd4-2ac8-4d22-ae59-3e74a5daa91c",
          "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": "0e438433-e1f2-4ec3-b268-eacc2402b7d4",
              "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": "84401e4f-75f4-4e2d-a02d-f15945b65d20",
              "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": "17df07d0-1cb0-4b20-a9d0-ad264aa53234",
              "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": "60547a34-332d-4f68-ada3-aef27d505b17",
              "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": "150f9a01-6189-4419-b552-67ba409c302d",
              "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": "b16a44bc-f333-4113-a1b8-b22ccad3024b",
          "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": "6cf2025d-0f91-4cb7-a9e7-721913062a2d",
              "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": "d12c194c-92a4-413e-a4dc-27b2cebf2859",
              "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": "52ca140e-a1a1-41d8-a845-9eedd8403df5",
              "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": "09813d90-2375-422e-9b7a-61471324025b",
              "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": "9c12706a-0464-4d7e-898f-471c52cd384d",
              "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": "178b11c5-56fa-4c31-8c78-002f47ce320e",
      "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": "1ef30dcd-0698-45ef-aca0-7fa7d32e7a73",
          "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": "537c3c51-3d4b-46fc-b56e-b9fa170eb379",
              "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": "b3c84b8e-19a9-46df-84aa-9b194fff70ab",
              "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": "cba64fb5-7e75-4c58-bbac-1bdd92653401",
              "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": "3e4e0396-d981-45d1-84bc-391c805bf5ad",
              "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": "a57a398c-a9c4-4e1b-b7d3-86895adb742c",
          "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": "c4d0429c-49cb-4f66-874b-4526eb1cd1ce",
              "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": "fd846d22-33ea-4fa9-86a9-a6496a9ac117",
              "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": "fe5abcea-c328-40ca-951b-1c97de2d88fa",
              "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": "03883c84-c58f-4e68-bb6c-4bc60d17ed02",
              "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": "35c241ca-d835-4769-9b9a-6779eac07779",
          "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": "c459235c-46f1-4b54-a0ca-22e64fe3ef62",
              "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": "83a5d040-4590-4fa1-a38c-f154781a8063",
              "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": "44b928fa-d5d3-4d6d-a819-e2f85be1721f",
              "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": "5b0c41e4-b86a-48c4-9f05-7f114507bf7d",
              "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": "d4530a0d-25b3-4a47-bb26-915b20fd2b75",
          "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": "5ec52183-2736-42f4-b858-f78933accd93",
              "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": "4ff60d41-9e43-4001-8c13-a3a8cf1fbf76",
              "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": "4734d780-6e83-4641-9274-26eb125b9986",
              "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": "86369553-cb44-4f51-9f08-9b255d2ec0fc",
              "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": "717b715d-a9cd-436a-a0c9-8aa4622b2bf2",
              "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": "43f19deb-5ec0-425f-aaff-263d86a981a4",
          "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": "1578646a-06b0-4724-90a8-12a3fcb7edc8",
              "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": "d95fc643-cf57-4ee3-8f79-986fd0c285a6",
              "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": "0bba29ce-cfe5-4439-a1cd-1292dbfe463e",
              "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": "1c737b9f-0a11-4211-9e48-dbd894942933",
              "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": "dc5efb05-9424-4d2d-a1ca-32e293505a1e",
      "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": "52e84188-6ffe-4885-8ac6-1673e0a7dd86",
          "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": "b4985fb6-6a5d-48ee-9df4-ab6147a2ac4c",
              "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": "d0d5b714-7faa-4374-be12-62fc7dc13bf3",
              "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": "b8f58b9e-5d5f-4220-8651-e1bc31418bd0",
              "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": "2d0261f9-2563-4b6b-a9ee-1fc2c94d9f0b",
              "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": "3ccd1016-e67c-4618-b5a3-8e3a6997e5b3",
          "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": "1793c3fa-0c6e-4df5-8ef7-5cf68f2e5ce1",
              "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": "4a646713-2d67-48f7-96f8-9511c8599263",
              "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": "83fc6330-2b06-494f-8db6-3904a33ceabf",
              "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": "505e6828-ef69-4893-a4e2-566361f8e022",
              "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": "21d6e658-2491-4f27-b430-8b255c6e0fc3",
          "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": "82e6ff1f-daa0-4b8b-a0ed-c703c7cc74a2",
              "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": "429a1f7f-b7e1-46e3-8b88-c25883d57466",
              "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": "fbc534de-eecb-4010-b54c-71c2a9705c35",
              "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": "debdef4e-c773-4bea-b227-ea03b4563b4f",
              "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": "9a627f11-80f6-41ce-a129-7dd610360426",
      "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": "3745573c-08b6-4680-ab7b-63d2cfb67858",
          "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": "34ad060f-5ab9-4d4b-b6ec-49e364a77de8",
              "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": "ddbc407d-c8d3-46f0-bb35-1094fdccfbc0",
              "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": "91c9401f-6fda-45f9-97be-62121eec289f",
              "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": "93fbb6a2-36fd-48a7-9d68-291ace6112d7",
              "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": "4a459322-05a5-4eba-a5b8-d5c218e84761",
          "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": "4975c053-6ff1-41d3-a2ee-4164e885ad92",
              "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": "2755226a-26ec-46a5-a367-6c5642127586",
              "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": "695a89f8-2a16-480b-96d3-e44ea849ebf6",
              "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": "b490621b-ff1c-44a4-88c5-f3eafb6eb297",
              "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": "8775ec81-affb-4323-af81-383253171e09",
              "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": "c7320eca-91a1-4549-8296-5af372156fb0",
              "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": "0eeb354c-6f82-429d-84bc-1516abe70a62",
              "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": "5873827f-e3f1-4c79-a82f-2af24c49075e",
      "name": "attachment-detail",
      "description": {
        "content": "Čtení a mazání konkrétní přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f8b9de08-709a-4927-8d2b-6d5d0b91dcf8",
          "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": "9b39ddce-47d6-4f43-acd7-7039f0e16634",
              "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": "42a2a050-5ad4-4e8b-88ef-d5b060cdfa31",
              "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": "78210ffd-f828-4fbb-ad2a-f7bcd2091bb6",
              "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": "3e2f229a-6be9-4a91-9b6f-4cc31d53c45f",
              "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": "9042ad87-a171-44a6-b04a-bf05395232b8",
          "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": "59b076f7-d57a-4105-badc-a2b9f7da478f",
              "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": "4c755261-11b0-40b0-956e-699a654e728d",
              "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": "f14f1841-b7f3-4a26-b5e3-345cc132b1dd",
              "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": "9dc5dd23-4987-42aa-8a5a-06834c5524f8",
              "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": "141a44ab-fbaa-4faf-b3f5-5a0690eccc48",
      "name": "attachment-download",
      "description": {
        "content": "Stažení binárního obsahu přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "7e67e256-870d-4272-8695-9936508077fa",
          "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": "2326b804-5466-47b1-b511-dc49355268e1",
              "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": "2104ef1d-5e65-4b1b-ac5c-fcabd36b8ff5",
              "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": "164d472f-9ce1-4c80-8eeb-708380dd622b",
              "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": "c57a8f4c-bb0a-453e-92e8-7f00148b77db",
              "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": "22a315f6-1e65-45c8-a9b2-febc5a99cf59",
      "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": "64c2f60f-ceb5-49cc-92cb-c05553a6b7c1",
      "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": "aa2a6f62-180d-472e-881d-e46a79779a7c",
    "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"
    }
  }
}