{
  "item": [
    {
      "id": "9c4cdecf-35bf-4faf-818b-b3ef6e283982",
      "name": "currency",
      "description": {
        "content": "Číselník měn použitelných v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "328a2276-77b0-4f07-8f82-ae7ffe2c75ac",
          "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": "2e9f5053-6f97-45ec-b223-3435040e4547",
              "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": "e5179677-ac5f-476f-b31d-acd34fe6ab8f",
              "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": "f993fca8-f36c-4c1b-b1cd-94c4e8e7b974",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "464d86cd-996d-4db8-b9d0-0c5d8ad83c4d",
      "name": "metody-plateb",
      "description": {
        "content": "Číselník způsobů úhrady dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d0337765-7e1f-4196-9ced-877fa43c4b9c",
          "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": "a904197d-f6b7-41a6-9be1-de1004169170",
              "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": "939adce9-67bb-4530-9dd1-dbe5fdfb0245",
              "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": "a4322ddb-9575-40ee-9341-c998d257e510",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "63f079e1-7958-4edf-87e0-7a7b7b8f559e",
      "name": "zaokrouhleni",
      "description": {
        "content": "Číselník metod zaokrouhlování částek v dokladech.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "95779547-b511-4243-bf89-f6108cd903e3",
          "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": "511531d8-478b-473a-a570-a393429ea583",
              "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": "3c24295f-73dd-479c-94a9-ab917939c689",
              "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": "1d13dfcf-e944-48fb-9760-9959fa603667",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "f5fb048c-ce40-4281-8c85-a26bcd341e4b",
      "name": "company-profile",
      "description": {
        "content": "Základní údaje firmy, pod kterou je API klíč vydaný.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a99d3e4e-c933-40ad-b32f-29392f49e0ed",
          "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": "71591e38-c7d2-4d9e-99a3-523c8efb9d11",
              "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": "fd6ae993-c432-4ece-a86e-9972d163440f",
              "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": "453a0f96-1126-4ae9-9f09-2b42f6db1288",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "7df374e6-a26c-4a8b-992e-68b441768c72",
      "name": "bankovni-ucty",
      "description": {
        "content": "Bankovní účty firmy používané na dokladech a platbách.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "f66c5f59-a9fe-4d88-9263-b4705a26d8fb",
          "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": "022f92b6-d865-4eec-8823-e81260e29bd4",
              "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": "c43b3658-27d2-4aad-bc7a-e952a3503b1a",
              "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": "e359bc4e-c83b-43f6-8015-b4dde94f1c9e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "22bd642e-ae05-4d1c-8d3f-e5ccd7d7ad7c",
          "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": "e3f31360-ea86-45a5-973d-8eace0a4ffaf",
              "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": "cdb9598a-cf44-4973-b851-ce30d2bcf34d",
              "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": "9c92b61f-5697-4283-b43d-04dcdf4c17a5",
              "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": "4edb2acd-342e-4fd9-8dd4-b3a660db0a26",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8746444c-bf7b-493e-8d87-110eeaace5e7",
          "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": "4756f269-4f17-4e44-9849-185d8c9921a9",
              "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": "a33112f7-fb45-48ee-b879-028377b128c7",
              "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": "4168a7bb-5908-4f41-bb42-f546444a583a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "47bdf579-e4a6-488c-9545-9fa4597bfb25",
              "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": "8bbc2473-a466-4f89-9bb2-c973fa746eaf",
          "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": "e88654a2-c41e-409e-aa77-4954e8525c13",
              "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": "0cc70d07-17dd-4e12-98bd-f366ea111dfc",
              "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": "c46ed2d8-09e6-49ff-9387-c34b5711c95e",
              "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": "dcf8fde7-2f26-48bc-926f-d3e04d002079",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0ebec013-f6c3-4c0d-a95f-d45529a1c02f",
              "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": "fde247ba-5a38-494f-abdd-bbf1a5ebba01",
          "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": "d49f3e9b-3ba1-491f-9ad5-c7f16b982ecc",
              "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": "ebba8785-bd78-491f-be36-eb54e63a677e",
              "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": "735b874e-5bd0-4382-8d11-e0e13de0f5d7",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c3362323-d5e8-4505-b867-fb4d5a98a4d7",
              "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": "afb3b264-96bc-4e4c-b2c6-a107cdd38c88",
              "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": "2a8fa421-771d-4822-b4de-73ad2daf2432",
      "name": "pokladny",
      "description": {
        "content": "Pokladny firmy používané u hotovostních plateb.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "8ae76b43-8a17-4ec9-8eca-eb7d3258f8a8",
          "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": "49e3a774-8bfb-4417-bdf5-febb2731fd7f",
              "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": "f56582ec-eae2-4751-aee0-973db2c7ed82",
              "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": "6ffe983d-d5fc-459b-829b-6b2c5e8b8ff7",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a50d5b97-aed6-46b4-bd17-8be92767f867",
          "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": "cdf03855-e199-42cd-be71-59a8e1c27210",
              "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": "95974154-ad46-4925-821b-c695589f214c",
              "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": "24e899ef-675e-41fc-8be1-63c7e14d3fee",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a14ca6ab-5b17-4aa4-a5e8-4f83dddfa3bf",
              "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": "af8039f0-3fcf-4c10-8828-64d22baa55f4",
      "name": "strediska",
      "description": {
        "content": "Střediska pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0119591b-74b6-4c00-a4ae-4f779f48bcfe",
          "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": "7b0ed88c-4bca-4d66-8f36-f59e6fbbce30",
              "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": "d675cd44-6303-462f-acf4-29ab7efdad4f",
              "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": "9347da4a-d782-49be-86d0-3e95942f1299",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e98e556a-ea6d-4730-b1fd-157ff06bb738",
          "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": "74edb208-54e1-4520-b90e-27ad03e886f7",
              "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": "308235ac-95ae-4bdd-927d-11671bd3d397",
              "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": "c1e9f481-583a-4ab1-a0eb-2579d9977af4",
              "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": "ed2989f9-a1f3-406a-85b6-22ce30c404ca",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3ac3f5d6-aeda-4bc7-ba58-50cd74149f2a",
          "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": "95d924e1-3122-4c7d-9e0d-2e0018c9136a",
              "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": "5655b666-c63f-4471-9a8c-f5f86a01d9cb",
              "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": "ba0978f0-c552-490c-998b-11b43ccd4691",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "38dfaca8-b454-4fb0-af3c-e6bc8651e394",
              "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": "1d9657b5-5747-4088-bbbd-6e058b4a4c82",
          "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": "57b4d063-dec2-4867-ab11-c5267f059147",
              "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": "b9b3ce78-4249-41b2-8171-53d824e1c387",
              "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": "68f79c93-594f-4622-904a-d33b5735b336",
              "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": "dad77446-e91f-42ac-83ee-18514a2de437",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "33747da9-4e07-4534-b62a-8fb3f6742f92",
              "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": "bd3ded23-c35b-47d6-add1-64928e0827e7",
          "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": "d3bab0ff-3b0e-4785-815b-f938d7ef6034",
              "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": "f6347e9d-1448-4e31-b515-825607988983",
              "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": "4b3c625f-66d4-4bc8-8e90-8d80351ded29",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e89a55fc-4d83-4ec9-bdd8-726b350b0c4a",
              "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": "929edb33-f84c-4513-9967-e492b1d57c2e",
              "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": "56dca8a0-f55c-47ec-8d3f-60a4dd88069b",
      "name": "zakazky",
      "description": {
        "content": "Zakázky pro členění nákladů a výnosů na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "39c2b661-85a9-4a4e-bc20-2b54fabf9b9f",
          "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": "aee25729-057b-4c0a-b9cd-a5b1c95df738",
              "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": "3b80ea7e-7b16-45dc-8b67-67cab80394c0",
              "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": "6aff3531-ccd8-4cf4-a4ab-aa5eb7d5f8ed",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0fb1f870-ae16-4eba-9445-bf70c30639af",
          "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": "e7c0f3e8-d3eb-44a9-aca7-57657c389b50",
              "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": "76365949-50a1-4d93-905a-237bae4fceb4",
              "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": "0a9484f1-fc22-47fc-8492-a358b461ae28",
              "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": "b3c9e358-6b2c-48fb-80bb-9424b75b1bad",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b43514e4-26f5-465d-bcb7-ce39a07afcf5",
          "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": "5660780f-4a78-4e37-9fab-04b6b1003b0e",
              "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": "f25e6344-21dd-4aac-92e2-3fdb5a971477",
              "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": "fa398eea-78d2-4d2b-b9d7-1384db5c8f25",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9866abc6-4cb2-4207-ad7d-a74f1add933c",
              "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": "3d7ae320-fc1a-42c1-8803-b878881e2919",
          "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": "02b001aa-4ee1-4b67-a2aa-78e35f34beb3",
              "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": "6f869ddb-c848-4b32-81b5-7b82ba2791a7",
              "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": "6f8e3c94-6a61-45cc-8d2b-bbc46264d715",
              "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": "532d55e2-676f-4935-bedb-2d9565de796d",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "09c8bd1b-7906-4adf-b44f-0c4e2d79bd9e",
              "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": "f55d336c-ac95-450d-8f43-bf5e942c2bb6",
          "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": "5c2ad316-2302-45c4-a769-0d24fb70c482",
              "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": "c2445cf2-c589-4a97-8c5c-5ece50668109",
              "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": "3cfa305f-4f15-4b5b-a8ae-dfbf766e9df6",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "00c57b6b-16b6-41b5-b7ce-5e654cf7a1c3",
              "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": "5e6b2291-69b0-4467-95eb-1335cd64d3e5",
              "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": "241d633e-6220-4b82-8532-c7696cab8434",
      "name": "business-premises",
      "description": {
        "content": "Provozovny evidované kvůli EET.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "ebaac88a-3c9a-4930-9830-f2c8a0cec33d",
          "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": "6cb1641d-ea97-496e-825c-fe944c89e1ef",
              "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": "e7d6f913-7c4e-47f4-a132-73b2b8550608",
              "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": "bfc2ae37-e470-4d15-ae2a-3107353852e9",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "6fcb4e19-ce6b-4fec-80f5-fd6090584950",
          "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": "f4aa534c-1b72-479a-bf25-c0759467ec0f",
              "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": "56c2a115-5861-4362-a85c-2f9972dc8ca3",
              "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": "2c7f6cc7-26c9-41ce-b5c2-730b80fb075b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2715fbe0-85ab-40d8-9ff8-b79055002d82",
              "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": "fb5c50c4-cb50-4608-9e4c-54c97406e388",
      "name": "document-state",
      "description": {
        "content": "Vlastní stavy, kterými lze označovat doklady.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "6d5caf3c-4296-4ab6-b944-73beb2b51056",
          "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": "3dad3c7d-cc72-4d5e-86e2-b963c0b582c5",
              "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": "d0290d40-4338-45ee-9bc6-4604d872ff8d",
              "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": "59f12d63-6fbb-4253-b71a-5da7eabdb19d",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "53b503ff-76b3-4824-8a0e-c1e741fe1cf2",
          "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": "fc727b61-9cea-4e69-95bb-c85cea18f4a3",
              "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": "a516e92a-bb2c-4269-82fa-4f07894caf18",
              "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": "ab496c3d-f843-4562-8f61-5b9409b0903c",
              "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": "e948a1cf-4af7-4428-b253-0a5532b89f62",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "1a2672e4-2fbd-4141-94fe-b16c7d26e42b",
          "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": "b74934ab-2e0b-48de-852f-d9bfc3b35b10",
              "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": "190f370a-ef8e-4f72-93e9-8e97369d554b",
              "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": "743ea7c6-8448-4067-9f2e-fbeccb7febf2",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "7b991343-935c-43cb-92f6-787b7443bf33",
              "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": "0c23d322-082e-4b68-b33a-0ac7f84501ea",
          "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": "142bc31e-2a2f-4dd9-9cd5-3e92bba51a79",
              "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": "2ffe2036-08b7-4fbe-a626-4230655e39af",
              "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": "ce82e104-4bb9-4358-844c-c06df4996a88",
              "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": "5e70d06a-7276-439e-9605-a5d0fc8ee258",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "47f402be-ea66-47bc-929a-9d4e51677315",
              "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": "1ee899f2-44cc-4e77-ac26-762d76d929be",
          "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": "a7681c16-a425-4a42-a14f-9902c7797eaa",
              "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": "190f3de6-fb55-440b-b8c3-936bd16b3139",
              "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": "cff2603f-e11e-4e7d-b0e4-12900f75dae8",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "115bad35-f874-4ce4-b9b4-f4de38873828",
              "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": "37c7e166-f588-44d7-8e66-892fda5fb531",
              "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": "40837dfb-851c-48e8-b428-e71edd69c08b",
      "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": "0593060c-8d55-4145-9337-25b24d72a961",
          "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": "bcfd223e-0f31-4444-a15f-c900d9d08cc1",
              "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": "edd7993a-fe6c-4052-9726-d6bbd188df00",
              "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": "b43cdfca-4d85-4b08-a766-ac0cadce3300",
              "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": "88dfeac7-a04d-4c61-9489-d78a14334577",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "aa4ceeed-997f-4ae9-9e18-d00c16720a26",
          "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": "59a9f67a-9ed5-4ff8-9705-7e5e54d00d4a",
              "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": "63239187-29f9-4805-8d3d-5ef3f67e65fd",
              "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": "16b87cca-f18d-4d20-94cd-046bbe3c864c",
              "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": "fbc09f6b-aa4a-4014-87df-e9fb392f2cc4",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "79ead432-560f-4328-878c-7f791b86bd2d",
          "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": "64f65ab1-5c2a-4ba5-9555-8ba5d19f3586",
              "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": "77eeb306-79af-4e31-b58d-9367718e7001",
              "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": "8e19b487-82ae-4a7e-832f-8521f5aa043a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "83be8a0c-944e-4e11-8cbc-36b98423d58a",
              "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": "aed600f1-2053-4df3-b215-df2dcfff94a5",
          "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": "0efce085-b34c-4e77-b6f1-30a14a45870d",
              "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": "a6d268f1-c90a-4be1-aa5b-634ecdb130f9",
              "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": "e4c4028d-8e39-47b7-bc94-50c3f3a7023e",
              "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": "a8391ee3-0339-414b-bc3b-27b871eb8cfa",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b41b46fa-6271-4ce6-9183-75190e241b5a",
              "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": "d177947a-26ae-44de-82ad-e0a5d57fe7ee",
          "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": "a8e94266-6361-4dfe-8240-34d421615cc5",
              "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": "f829ab42-64cf-4243-8f65-61e2f60f89f7",
              "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": "f88fc38b-4c67-4b15-af07-642842f7c775",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c8775c25-c639-42c2-a251-8a7df0e7ad56",
              "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": "dc25bfb9-1197-4a5b-a536-abb962f1e931",
              "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": "3250eb82-16b1-422c-b4fa-84e0dcf74c6c",
      "name": "customer-group",
      "description": {
        "content": "Číselník skupin, do kterých lze zákazníky třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "8c807f0f-3153-4b99-97eb-ed5c82d9e523",
          "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": "38cf058d-04aa-4f98-ab97-0e8c5c67112d",
              "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": "faf748bd-611a-4291-bcc1-63c4cc96f6bd",
              "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": "dd9d0350-e167-49eb-90fa-2c4867c8a3ec",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d589b255-59b9-454d-b6d4-949b206c9e11",
      "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": "af41028b-6740-4474-85cb-999c4d38877d",
          "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": "d004659a-3182-4477-9f4d-8d2457838439",
              "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": "58af1d95-b56b-4c61-a254-77d7b7000d04",
              "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": "eea41823-ab9d-4da4-8778-9122e915ab5e",
              "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": "a0e9e324-4d74-42ef-bd41-bee6d8df2d5e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "eefbb960-44ac-4c8f-a3fe-fd8e72cdedfb",
          "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": "54a37dad-e31d-4b10-a1ec-cfd069978869",
              "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": "59126e4f-d991-4d38-bca0-27f132c07287",
              "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": "5062331a-3dab-4be2-bbfa-a97ca5dbdae1",
              "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": "44b593b6-a011-47b6-a6ef-32f496995fb9",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e3cc4253-b6eb-4e0c-b762-4d564bbbe95e",
          "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": "ad77e359-4802-4fa0-93b2-945a9ac83f6d",
              "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": "34ee91cb-32b9-4fc2-a1d3-efca4d340704",
              "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": "5df65f27-5c09-4b98-bdb5-2b92adfd3cd0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "23d07911-e7c3-4094-a750-0d2a4fe9647c",
              "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": "d7ee440d-4bde-4ade-8330-a875322c0d14",
          "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": "eb204d55-db61-4a55-97f5-7f728fcfce44",
              "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": "87a4423a-d188-4b93-aa09-5e36da7e7aa2",
              "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": "72ba715e-6903-4a78-89f8-6c9cf6950dd6",
              "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": "acd4a41c-162a-49a6-93fa-6cefbbd364bd",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0b09a5e2-9aad-42e0-b0f5-ec5c14af2492",
              "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": "defbc195-93b4-43f0-954f-fbcab0a6907f",
          "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": "8187e390-5014-4910-9288-4152e6fb23dd",
              "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": "4411a019-ab96-41f0-9143-228a64b416aa",
              "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": "558ad001-8331-4308-89ec-8d9228e3f790",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b1e376a2-5e66-4136-8251-d2a84ab1d924",
              "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": "ca02923c-e6c1-4243-bdca-2db2b28d6889",
              "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": "d4eaa213-484b-4cd6-bfe6-7c6924d2373e",
      "name": "supplier-group",
      "description": {
        "content": "Číselník skupin, do kterých lze dodavatele třídit.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "e0dcf13e-854f-4f57-860a-b47a1174715e",
          "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": "14d7dfdd-df83-4db8-95de-fa83e692e766",
              "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": "da25b784-39a6-498a-8beb-e32386723516",
              "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": "4d45a80b-2b15-448a-a01c-eddae5c3d83b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "5cc30710-0834-4058-a317-49d9f0df556b",
      "name": "country",
      "description": {
        "content": "Číselník zemí pro adresy kontaktů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b94f1362-da19-40eb-acbb-c6eeeccc0fb1",
          "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": "0a7eb002-a101-48ef-ba95-55b23fee5e50",
              "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": "1e06b449-fe6c-41cc-8b11-5c564225277c",
              "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": "164da943-4b11-4d0c-838a-368c6fef74c6",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "edc04d5d-cadb-4464-85a6-54b0fe3d50e3",
      "name": "preferred-payment-method",
      "description": {
        "content": "Číselník preferovaných způsobů platby u kontaktu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c1b3a9e0-66d0-48a4-a1c0-019c93082e67",
          "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": "2763f285-cf1c-4079-b3e3-020495d99918",
              "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": "3f4d1e77-5469-4045-8297-351edbc50717",
              "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": "4d6b70b9-f31b-4b5e-b706-19fbbf8899d1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "1166d20a-9a8c-400d-994e-da8b5a2a9bde",
      "name": "objednavky-prijate",
      "description": {
        "content": "Objednávky přijaté od zákazníků.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "adbf3409-79be-4848-b1cc-8b29726fd360",
          "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": "6124fc30-4ec5-4f8e-ae1f-18b166befd31",
              "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": "36a4684b-e8a3-4402-a8e9-63815e26ae81",
              "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": "03795e71-af14-48fd-b079-40f5217dc225",
              "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": "e0f57963-0087-40dd-b065-395d4a25bb51",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "1d2bc104-131c-421c-a765-fabe01149a34",
          "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": "6668cd9b-40a8-4e67-8b3a-3f91aa6df40c",
              "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": "a7d1214f-0500-4c6f-bd8f-7c100809d986",
              "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": "6f58bddc-8fe4-4127-a3fe-e27736b03c8e",
              "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": "1ffdee6f-f627-448d-9e07-08ef177cef80",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "505027df-7235-41e7-942f-2fb187210d9c",
              "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": "a60614a8-2cc4-4583-981f-0fe8a04ab366",
          "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": "64e8abd2-689f-4d5b-a527-28ec5394a10f",
              "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": "79519a87-1b12-4971-828e-111300fedbe9",
              "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": "1a5a7f10-fe42-4187-be47-c2559bf70eeb",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e0586b2f-2613-4bd2-8889-aa348ad730f2",
              "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": "11c3a206-9fcf-4f90-9a3d-a7856a55ffb3",
          "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": "46a5a9e5-7b8d-4ee1-97de-38940886be8b",
              "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": "a6f9687b-bf51-4f40-bb86-d5e3349e6def",
              "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": "bb516900-54b5-4114-b3ee-02b07772b045",
              "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": "999d3fd7-1407-4b88-a0d8-176c7c794857",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3552e262-fbb2-4bea-b776-6081bd631741",
              "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": "bff070c5-7e41-496b-b82d-61bfe07699b6",
              "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": "e4695bf9-7712-46fb-a7da-df72b27ae79e",
          "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": "43d84395-d4c0-4e87-88d8-79ca154c69bd",
              "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": "988a0c2f-4db1-4002-81ef-d4515482a3fc",
              "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": "b95474ba-10c4-4559-b270-ec7c08cbc7bb",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "88db8dca-ecd9-4936-b429-ff7ac801d678",
              "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": "1ec564e1-d0c1-4948-b292-a288f3ac3836",
              "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": "0038c27a-2998-46dc-b471-dd93ef527280",
      "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": "efbf1280-692e-41c3-983e-0be41e8cb511",
          "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": "c0e3177f-dc9e-4a95-802f-fec4149945a7",
              "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": "3f1ee4be-4dff-4b3b-977c-cac83196ac50",
              "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": "c8d489c6-c4da-4f45-b6a2-d821e8fc1704",
              "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": "51def919-8431-45a6-ad94-271a14f38925",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "33f38b82-765c-4f4f-9da9-3f6735b4f089",
          "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": "9551aed4-05e2-4bed-b4b3-0f79f94f6e14",
              "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": "95e04899-aaaa-4b6c-8a71-3af1f3a9f900",
              "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": "a28e2501-c1e3-4174-b7ab-dfefbde35781",
              "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": "27909c2a-badf-45d8-839f-be6bf2061112",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "5fd59a36-5b51-4484-a92b-ab8ee07d426e",
              "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": "df186b33-2d90-4d64-8ea9-8e831700206f",
          "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": "ad75fda4-b324-41da-abd8-85fc717f6936",
              "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": "477c5b53-687d-499f-a7eb-41c53ad9cdd4",
              "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": "4f15e366-7d41-4a3c-9f49-1cc3e3ae625b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b564b340-dfaf-4862-b0b0-e3d546b23187",
              "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": "a7584434-fc4e-409c-8abb-5280d21e7584",
          "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": "871e8e29-87ff-459a-82c9-70eafc71002d",
              "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": "70a3f7c7-6b76-4c37-9360-d58ca23195d5",
              "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": "789727f9-bf43-4b6a-8617-cde85dc585d8",
              "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": "e691b075-82ee-40b5-983b-6297437e5bfc",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2d39ed43-c543-4275-babe-3f42673b039a",
              "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": "b635b498-52ac-4e53-8548-c448f723b022",
              "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": "6d77f974-6b95-41a8-9ba9-5e0979307ab0",
          "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": "9690a7ec-ca8e-41e2-a497-4d9729dce523",
              "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": "7348574f-3ec5-45ed-8e6f-0fba3010dd8d",
              "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": "bb39de27-2bd2-4bdd-82c1-48fa0212f3f0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9624ad61-a822-4d0f-9220-9fdaea7797ff",
              "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": "f6147b11-26e2-4945-bdaf-a2815357830d",
              "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": "83c882b4-4206-46ff-a4b9-c9180d27da53",
          "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": "8aa648c0-6140-4053-869f-e8c6b6df9212",
              "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": "557759cc-dabb-48c8-a30f-479519280a6e",
              "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": "080e4cb1-6af1-4bad-9d62-51a320b7235f",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "f4fe13f1-6a21-46e2-abc3-b4d8101f92ea",
              "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": "ac2819b4-cb1d-4166-be8d-66fb39e5c7b2",
          "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": "cb7903e6-5dc8-45f9-b9fa-8883b67dab5c",
              "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": "29d22bd0-b75c-47e8-adbd-4740f1f647c7",
              "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": "b75b3199-cc2e-48f5-95b7-f90dcc3d92ef",
              "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": "b3fe63ac-78fe-490e-b6b3-3647fefd7e9f",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8557b44b-5837-43d1-b0a8-7cb47f648271",
              "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": "ed40defe-919a-46f5-b409-cb8dc67b9d71",
              "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": "72d81a90-3cef-4037-bf51-74fb54d8a9ed",
          "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": "3f0e2e6b-f88c-4c35-a130-b616ba8f107d",
              "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": "188f782e-e2c0-4cba-88e7-d1239642481e",
              "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": "e6b8ac4a-e477-4df8-b456-bfcb44cc7cab",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "f0b9f3df-90ca-4d9a-9973-35766e8e01a3",
              "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": "ede7e698-05cc-4566-b077-3609b3be8df0",
          "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": "8e047014-3578-491d-a71d-09cb1ee185af",
              "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": "abbaacdf-2d2b-4362-9a93-d65e22ae0c9a",
              "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": "ecfbe95f-323f-42f6-ad21-9fd989255ba7",
              "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": "f48c3688-1f27-4730-90b8-57da2e176698",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9483d73f-89e6-478f-8c51-c9ef75cee5e6",
              "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": "467a9402-b759-4677-a105-d3ffcff94906",
      "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": "7c16d83d-bfdd-41c6-93a8-fbd1d4c79c36",
          "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": "8169b355-3ff5-4c94-8e9a-1f5f49c63450",
              "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": "37078a62-6374-43aa-bb66-442328585a26",
              "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": "b779d11f-798e-4079-ae99-e8b9084558f6",
              "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": "39011702-85d0-4b0d-8fd9-3f2b7102fdb7",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "78199fac-d860-45ec-9c5b-7667be9bb4fc",
          "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": "d217d351-7d62-4036-a8fc-e21ca26133d2",
              "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": "f687d13b-f10a-45d3-8afc-8db53a4b1b4d",
              "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": "ebaa39dd-92b8-4180-8451-73b0e805855b",
              "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": "6a5bac09-21d7-4270-82c9-24929f6c118b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "493098af-98f4-4fa5-b6c9-662616f0bc86",
              "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": "c4b3e157-5cc3-412d-b061-9bc695cc4193",
          "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": "fcebb6d4-0c12-4111-b667-5e82d53ad97b",
              "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": "7a3f07d6-4804-45a1-b368-d6c85adf2d7a",
              "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": "38b03b78-6a6f-4692-850e-b62e68a81e5c",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "7578e526-b744-46d5-aac5-44cb7ae0062e",
              "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": "7c8750cd-4394-4bdd-b9ca-d70aeef1c81c",
          "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": "2212971d-a801-4927-b897-0f8b5d176850",
              "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": "a21cbb54-e1c1-4aa1-8424-03903b67bf8a",
              "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": "ac8a7732-4f6e-4197-b5da-79a5ec8d266f",
              "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": "b4511cc3-4ab8-4682-9bd0-3701a291d80a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0dd12153-fc7b-4e76-9b52-7e99cc57d30f",
              "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": "5fe935bf-9441-4a70-b8c5-3c3d76cf290c",
              "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": "92ec0f45-ddce-4923-a98f-b191ae1156e2",
          "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": "f20ce31d-d916-4c03-9779-002bb815bda8",
              "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": "81c4235f-62cb-4887-b584-f1cd8c6960a8",
              "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": "6a8f1747-1268-4ca8-9437-49d9ece7d311",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a08c03bd-9480-4c15-9f0b-7d9a31df1820",
              "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": "83a577aa-ff8f-4e78-b802-ed04abca4bcf",
              "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": "4e9272fb-1776-48ac-9d66-c54ba5849e21",
          "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": "5de43d07-72dc-4f43-bb5d-fe986c23cfd0",
              "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": "b0abf45f-d215-4f14-aca0-f99bddc3fe51",
              "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": "a8613071-fa5f-498c-aa86-904b90ce985f",
              "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": "6340e201-2206-4a16-bfa0-73ab7ac66d7e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "dc58757f-dce5-44a4-bde3-db2acccb824d",
              "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": "ec25f1df-49dd-4353-8193-c4b416a58b30",
              "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": "72f1db52-6439-4e53-affd-1e94f84e47aa",
          "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": "964bb51a-b58e-41fd-a737-6165b415adee",
              "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": "d65698ff-eb97-4efe-bdd4-c27d34d8e8a6",
              "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": "c52544f8-9907-4236-98ee-63ba05d441ce",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c953e923-8a1d-44a0-a03f-9fd88c413c79",
              "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": "f3ed4750-11a4-4172-94f3-e1610df2c9d3",
          "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": "6e21c26c-2ea2-4ec4-a52d-72bf2285bc8e",
              "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": "014c8d09-77d6-4369-bcf4-46438ebc1d3a",
              "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": "0acbf25a-101c-4490-8ee0-d3bb26045bae",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "55b803f3-0bee-47a1-91dc-10f92ef65084",
              "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": "65d5e6b0-b204-4114-bce6-b370c8fec145",
          "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": "bbc4879c-058d-47cc-bc85-3f026e1ffe0a",
              "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": "cd788d97-c82d-4862-ba7b-26bbf56a0f62",
              "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": "2520bfa6-3e85-4b42-b708-93ace9ef6d17",
              "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": "4f11a40a-f269-4f29-8fdc-df20a0b13e3e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9c197e20-bc68-48fc-99ac-d3a0d219c3fa",
              "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": "15dab007-7ac0-43c4-9ac4-133224ee251d",
      "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": "fc5ca8e7-f34d-48b9-bc4f-48ff66792040",
          "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": "deabfb38-5604-45ad-b0f4-b1248f6153df",
              "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": "4fcb99a8-ff7c-4be8-b5c2-42c294048c7f",
              "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": "0bc47244-2cce-4234-ab0f-9c544065b1ac",
              "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": "7d998191-ab86-4586-9044-ae9689f79431",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "cde22828-8466-4995-a4b9-ae5345a5a0b4",
          "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": "043db288-b1ea-44ba-b111-74e11bb9590c",
              "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": "1cdff67d-9984-4c0c-9e79-23d78fc61ddf",
              "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": "17215139-98b4-4bd6-b083-312bae0e036e",
              "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": "f6d1276a-9923-421a-ad7e-aec7472d32b0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "86c69173-ccf8-4fcf-bdd1-d2239c508096",
              "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": "ff6d8b85-4301-4bc5-a8df-f9f0c0f55eb0",
          "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": "bd968f45-6b54-424d-b85a-8cfc7880a7a2",
              "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": "815bd12f-9060-443f-987f-aae1945d7393",
              "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": "d52e15f2-3a65-485c-a794-b379627980e1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d6dfae5b-e6d8-421f-96e3-a99576d5c019",
              "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": "767003ea-9cdf-4269-a8ae-549fd0a75443",
          "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": "9ff6be2c-591c-475a-ab9a-135c63f92cc2",
              "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": "43c29c05-8707-4b0c-9741-958c737701a0",
              "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": "538256d2-47a3-4c6c-a09b-fadc3442ffc3",
              "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": "0fbf77d1-dbce-42c6-9f43-fb3c53f428c8",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c13ca416-91e7-44ac-a7d6-2ee427b7b04c",
              "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": "890d42c2-960a-413a-a4be-1c5064a61852",
              "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": "360c44b4-d243-4e47-9ef4-8f4ad688ed2c",
          "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": "736c8a32-f986-4153-8c47-2c9a9191dffd",
              "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": "08b653d9-8e4f-46bf-90fd-ab9c3c1a924e",
              "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": "19c60a9d-9dfc-41b8-a2ad-650ccb0628a0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "36d539df-9170-44df-bc65-e34cc18992bd",
              "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": "42eef0cb-0ce1-4001-abaa-16c4e0aa8856",
              "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": "6d83faa2-a76d-4937-bbd2-0f048b495b0e",
          "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": "1170ee60-cec9-4fd4-8885-1b7fa3ad13f7",
              "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": "10d6618f-ba1a-4fd1-aa29-ecd629cd9477",
              "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": "9deb2a3a-967f-49e7-9940-de23bc51d835",
              "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": "9e9fc467-3145-4cb3-a324-65f6b6f64393",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b9897a02-1085-4ed6-ab9c-a5eb46eae456",
              "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": "6379424c-8926-4bb3-9827-c8cf90d5cbe8",
              "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": "c0b13096-3c12-48f5-865d-325df2bd2c8a",
          "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": "d5716a4f-892a-4fa2-aaeb-3b33ec0e4c5c",
              "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": "f71ceaeb-54d0-4dda-afcd-ca02c685c874",
              "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": "29bc68df-8e45-415b-8633-79e1331c3d16",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "14c1880e-9438-40a1-8d0a-9d0b1f8b5e56",
              "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": "6939215f-667b-4456-bd0b-79ea72872db6",
          "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": "1445e91d-574d-4c73-8c77-6d3e3ac85246",
              "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": "f813a405-dcc8-4b1e-97d6-895d8beb93ee",
              "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": "3cb2dd65-e687-425e-bc23-721ad88ac4ae",
              "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": "209d87ca-4976-4413-846a-b56b325f9949",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "1c3a8f1c-1475-4f5f-8a21-860a4dfef431",
              "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": "0ad8da81-483e-4a22-96b9-85ee6be6d4db",
      "name": "document-scan",
      "description": {
        "content": "Naskenované doklady čekající na zpracování.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "1bc0453e-7960-44de-baea-55e84686565f",
          "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": "4d380b70-3357-4057-ac19-c745e27af26d",
              "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": "2d01081f-e5de-4eda-91a1-1c09be1f8a72",
              "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": "2eba25bf-5efa-41f0-b0a7-66c0da46c321",
              "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": "6e4de5a3-0b31-46fd-8ea4-81a0a6cd85f4",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3554cbbb-7a31-431d-8f76-085def023b52",
          "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": "8eec4584-8928-498e-bdfb-af10a71a7db1",
              "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": "738b8d33-936d-4c0b-97b1-7f4e8e038981",
              "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": "8386b06f-62cd-4d0f-aabc-50ebb0fe5159",
              "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": "889bbd00-6cff-4b2d-a4d9-6d272d618672",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "88320371-e62a-46eb-9157-1ab055dc581f",
      "name": "objednavky-vydane",
      "description": {
        "content": "Objednávky vystavené dodavatelům.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d4895353-73e2-4248-a98c-74cf5759f4bf",
          "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": "253e5644-76ab-4ff9-ae36-668442508a4f",
              "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": "1e20730e-8220-470c-a3a5-a70bab7faea5",
              "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": "23cbcd58-7104-4fdd-a042-aa47ebb4ee2e",
              "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": "313ff646-5b5f-41db-a20d-16475e586da1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d291c375-f65f-4ed9-b37b-bd61c01ee030",
          "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": "f985590f-a93c-4b82-87b7-bbcab00f86a2",
              "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": "7b9bfad4-9d46-4a8f-883f-555f59f7e8f4",
              "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": "0065d8de-b18a-4694-a41a-a97120470570",
              "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": "0cd8978a-a3ad-44c7-b840-6e5d4c302a5a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "eb3da3f1-5165-4f0f-ba3e-49214fd6da20",
              "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": "cb9d9f7d-19fb-4026-9f2d-b860540762c4",
          "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": "10d1ac20-013c-49ab-9907-61a35c827394",
              "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": "de42de5e-6fb4-4cb5-b298-2f34162fca7a",
              "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": "ae6d97ed-55d1-47b8-a8c4-3e7065c5fbc4",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "73f04045-76b2-4759-996d-95a22f4925d8",
              "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": "1b0f0a6b-7838-4394-8e61-6b162b289649",
          "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": "2445a88b-7ac4-4de3-86cf-a6fee31d1ce6",
              "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": "7d3bb99c-0e5b-4122-9e5e-376a130e64e3",
              "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": "066bdef6-2e7b-48bd-89be-20abd3b364ca",
              "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": "6d5b0eda-18ae-44c9-b929-8f4ccbc64dfe",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "59b2f371-8a37-404b-9a2e-aa44cf25a8c7",
              "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": "02daac3e-376d-4a0d-a3ab-348ce7422d43",
              "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": "2b960617-df4b-4229-91bb-3cc396608cb0",
          "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": "3af3d71a-011f-43c4-b27a-5d7ddc900fb0",
              "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": "846b2a41-7974-440e-a474-e977a2da3e66",
              "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": "b096288c-abf9-4867-ae62-8d6e6bdf930b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8629514e-5e43-4684-b68d-fc32c7d4bc81",
              "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": "aebe1903-e5f2-4c46-941b-6c9f9376a863",
              "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": "87bf20ef-6bb2-4f35-a024-5e6d7b1549f0",
      "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": "891ffa5e-a6a5-45f7-ba94-68226a734894",
          "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": "0f03813a-948f-4441-9473-00f5302773a0",
              "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": "5b01e2af-4a57-4f87-aa87-b79892bd9aa8",
              "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": "1373270d-541f-46ef-93cf-29a27d7887b7",
              "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": "5534e7b9-a925-4825-b6e7-b2de119341cd",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3751d2de-21df-4695-8697-e197c7c9a2c7",
          "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": "84463e38-cca9-443d-abdb-60c4b1ef8f86",
              "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": "b3348a2f-fdac-4083-9ffe-31c676cda6e6",
              "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": "7cced7a3-5285-4ff9-b73f-1872c91210fc",
              "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": "4206502a-ced2-4624-9d4a-ef79177da01a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e30818da-f37a-4f58-9cf3-4bfc899264f0",
              "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": "8e0b4e52-c447-46da-a129-c5221057aaa1",
          "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": "e5207918-dcd4-4480-bee3-cf989a205912",
              "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": "1791ea85-48cc-4c1a-9123-a1f92d74d6ec",
              "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": "d9557bfb-8ccc-4afe-94e2-2469851a47f5",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "36242a67-2264-46fe-a1b5-42833b205931",
              "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": "c33568f3-2bd5-4887-b581-ccca558cd8cb",
          "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": "3aa3eea2-78d7-4ef3-8e3d-b78e1233f5ae",
              "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": "f452c1bf-14ed-4330-a2d3-14556ecc39e6",
              "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": "4a4b36b3-d3c5-4d87-b5a2-2682455a4ad3",
              "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": "9a670274-5a9e-486b-977b-cd7285be45dd",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "19fcd03e-ffed-4c6e-b02b-db39ab5d7e18",
              "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": "7d72424c-0478-4083-9fef-2a606066beb9",
              "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": "754c1e50-f0db-4056-9d22-a06abbf4232e",
          "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": "6a4ed9c8-5e75-4b72-a688-10f41ad5283d",
              "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": "4df1e7a2-5101-4936-ac4d-49c9e874a04a",
              "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": "adea1b60-ad9c-4195-8ae6-af6da506c6bc",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "331da5fd-2bd6-4237-9b4c-25943adee110",
              "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": "2148c039-2e36-4e3a-9545-b331ecc824cf",
              "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": "1ea5a4ba-4a64-42f3-b7e3-74c2f554d345",
      "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": "c0cfe17f-6ae3-4cd1-a7ec-f3796e311215",
          "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": "347249ec-bdf4-45fc-8f1d-2f53ebe3d9a3",
              "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": "bfa548b7-5ceb-4ff3-9262-631ef63c6546",
              "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": "47511ac3-dbe8-4515-a3aa-dd0e9fb35431",
              "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": "c2501bb0-27e8-443a-bc02-eaa5e8b2ad84",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "209f0282-73ed-4d62-8f30-b5d9e8284a0f",
          "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": "a3383bbc-3c2c-4902-99ae-f0b995a17a7e",
              "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": "014ed16b-d859-4e4c-ac45-4900e1e3b26f",
              "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": "f7613500-2695-4402-80d7-5bf48c90a49a",
              "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": "7322a87d-a61e-4eac-8262-035c691bad5c",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "66a7de7e-6c5f-4ed9-8b66-175fbeea9879",
              "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": "7f4818aa-8726-4a78-a17a-17bebeae8465",
          "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": "8c23b2a2-f73f-4421-9137-98296e777d93",
              "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": "5413ce38-67bd-462b-87c6-532d2ea3e871",
              "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": "e1d7e3fb-068d-4da9-a580-faef8b30e06f",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d8e43507-96ba-4e41-8f15-9b8ea3ae407a",
              "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": "f13f8dac-a2ab-4201-a25f-2277a7ffc518",
          "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": "1aaadea0-e39b-46e4-a89b-7a80ca679d00",
              "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": "cb6cd9d4-9f52-498e-aa99-0f02d3dd9385",
              "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": "1c671cdb-284c-4541-b4bf-b26b5e224ce0",
              "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": "0c2f26ac-2b61-43fe-9135-99d8af008c98",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "81a59f22-884a-4656-892a-e2b778f12386",
              "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": "aa234147-13ab-436f-b65c-6a6d284b30df",
              "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": "776cc0ad-faf7-4796-8ce0-96019c1e289b",
          "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": "6f00fb95-36aa-41bb-8adf-4fc7edf72bcc",
              "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": "1dcbf39c-4411-4619-9cb2-f500f240e05a",
              "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": "5d2fcc8e-58fb-47fd-9a20-2ee9a46b49f4",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a2604755-8571-4d60-995d-8497896cc815",
              "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": "c73a6ab3-d3f9-47a6-b327-bdff4dd62c4f",
              "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": "90306a33-5848-4e8f-804a-03fd000178b9",
          "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": "1a2e4f5c-d464-49af-96f7-1ed7060e9b5c",
              "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": "874c6737-6069-48eb-a0f3-2f76bfd0adf9",
              "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": "5e13050e-f239-46a2-ac05-90ef4458ce77",
              "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": "e583fa68-bc42-4c9a-9c2f-86087071ba31",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c33494b6-732c-4f47-9511-c9f9fbd0d4a8",
              "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": "e1774c1e-4282-4d80-b52d-0c4f30b9c94f",
              "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": "18ab7b65-9a41-4a75-9489-93a7855d6ee2",
      "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": "a0bf7138-5c28-4c57-ae08-c128e5dc429a",
          "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": "00566c84-e7ba-4462-86b4-797d4fc06b91",
              "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": "6957ccf0-a530-49fd-84a6-e4182b4bfa58",
              "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": "341c0cd6-67a5-4c62-9e37-5e5514f58b10",
              "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": "f062e6c0-8dea-407a-9d52-f8dfdc4fbe21",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c8aef01c-a5f6-4167-b058-2a1a8435b8f4",
          "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": "0d1267f4-6788-4ad7-87cd-cd876def4581",
              "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": "ae07e3fb-bcda-4583-8720-7b8527142cf7",
              "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": "00ce128f-9166-4931-b267-a0e2c20105e7",
              "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": "48917a04-35d4-401c-b4dd-c88b9a55ebd8",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "45e2d9d5-f98f-437e-a883-a3f520f0cc5e",
              "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": "47b18b18-a744-4c02-a55a-25ce3ee5613f",
          "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": "75bee491-a1ef-4f6d-b2a1-9363720e6591",
              "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": "d10ab15e-d343-44d2-8b1d-ff5ad10b5593",
              "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": "8093fab1-a2f0-465f-9385-d923e59ad00b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d6deda06-2b86-4fa3-911d-d24e48c9b62f",
              "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": "349db0c1-77a0-4753-8cdf-702719e87914",
          "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": "d0c3933d-e5d5-4d1a-9590-879094cea923",
              "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": "e52c2632-93b1-49d7-9f64-194c436cb284",
              "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": "4aafd9ff-5aa9-41ef-b682-b4a0f1f225b5",
              "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": "1ac5c787-d541-4640-8b81-995103aefc1f",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c92584c8-ce1e-477f-9dc8-9dd91d150a54",
              "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": "735cc998-6a7c-4c01-a54a-51ddc5f4b7db",
              "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": "160c9360-d5c3-4c2d-b418-03f657f8c91b",
          "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": "7abd95ce-a85d-4502-975c-73779d798b9c",
              "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": "ae3e2ede-7288-4421-a91f-e03616471a16",
              "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": "481b3348-f9cf-437d-a992-7d51a9639787",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a7192cf8-06dc-4832-a5e0-745ac53e30d0",
              "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": "ed40f111-4668-420f-bc4f-93a3bbe2b208",
              "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": "f8db41bb-a6d3-4615-b16a-093a52de3bf0",
          "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": "ed5bcc2b-3168-46b7-862d-08003011af94",
              "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": "c0ea2182-ea80-44ad-8206-adc1fc77c50d",
              "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": "816addcb-b8b8-4e2a-9b7e-5b7c94b20a31",
              "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": "ef79f348-8dab-44d6-a3ad-6b08af4fc407",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8168386d-cf87-4a9a-b14b-935b9d58d047",
              "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": "f5c9c671-d778-451e-9448-1a1ab42ac3b7",
              "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": "cb50c18b-ad67-4be6-a838-459955db7b5a",
      "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": "b38028dc-4b56-4619-8761-522d96486dea",
          "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": "610f9fe7-9a76-418a-a947-e036f881ddc3",
              "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": "ba57d400-ccee-4372-b938-08ef131d409d",
              "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": "9621f4d4-8799-4cbd-9e9d-47c5d8da566c",
              "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": "7ef69417-7533-476d-bea0-3084500bf70e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "d0564ba2-713a-4e51-a017-0ad02cfb829f",
          "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": "792db367-57ff-4c8c-a112-9739609c3af2",
              "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": "09b4770e-fa5e-43e1-ac11-53b91e6a8162",
              "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": "b8de7932-3776-4791-82bc-b29df6e738d1",
              "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": "a54212d4-1b9e-48a6-a627-0fb97fb7d610",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3960c1bd-7774-4b42-bb65-86c4f927d1bb",
              "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": "9781995b-5885-45b4-8053-c9fe4707de40",
          "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": "89da5756-5702-45cc-be7c-423cdc01e53f",
              "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": "d2eb8a6c-d9b7-4b67-98a1-efdc1028aeea",
              "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": "25a5da03-a0aa-46d2-978d-1de33551b935",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "5ddab367-e46d-4026-830f-59528a5d4961",
              "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": "5403003e-ba0f-478f-83c3-97cd5f533345",
          "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": "00c0657d-2118-40ea-8359-1d9f2d4130de",
              "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": "c2bbfe83-ffdb-42c7-b5c7-93dd9d0a8b9d",
              "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": "bce86e3f-1eb7-4a7b-964b-edb2330b1b9f",
              "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": "be7c43ef-b124-4e55-8ba9-c18548d0e5b0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c06b47e5-877c-47c7-a32e-96629f946500",
              "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": "df19a080-cb5e-4aac-a2ca-d6e5763cfe24",
              "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": "3c6bd396-29a0-46c6-aa1e-d5bac9885d7d",
          "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": "2985d598-d5b7-4230-9da4-77182c3cbc0c",
              "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": "90ca2efb-e05c-4941-98b3-287f7bc233cd",
              "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": "62878958-0033-46b1-b399-01fd1ca12d50",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "58b681d2-ec61-41fe-9842-e05df4a2255a",
              "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": "80dd6deb-9189-43d0-ab77-070630c8f7df",
              "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": "7559f9fc-f110-4a4d-b6b6-5bd80481359f",
          "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": "78fcb5e4-6ac1-46a5-ad09-213e5fe07eda",
              "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": "313ad217-829a-44d0-b998-a7703eb5dd7c",
              "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": "7ed0e36a-6114-43b2-9ddb-4b46b38411ba",
              "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": "449767b4-3370-4c1d-b0fc-2328cb2ac708",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "734194f5-40b2-44ee-be88-05364976be2c",
              "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": "45b7d76e-aa8f-4b43-af6d-57db1eff3447",
              "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": "d93800e1-74c8-4593-b970-590b91f6e43c",
      "name": "platby-vydane",
      "description": {
        "content": "Úhrady odchozí z pokladny nebo bankovního účtu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0a843611-20b5-471a-ba27-8d79f35fb0eb",
          "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": "3580cfd4-cd56-410c-88a6-3a79743b7ad3",
              "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": "324c46ce-1335-4560-b50a-00827b95f9dc",
              "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": "2914cf38-730f-4cb5-b576-243a47da69c4",
              "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": "1368ad04-74c5-4e28-bc7c-42ef20c750be",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "cd4b1e4d-7be0-4100-bbdb-f03b04f5e0db",
          "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": "61446961-a8f4-4aba-b74b-4e67d60f0b11",
              "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": "233fe91b-a152-49ed-a23d-97dbe0da2d70",
              "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": "82aee4a8-7dae-4342-874c-b37258cccc90",
              "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": "dc353437-e1d6-45c5-8076-8f61723aced5",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "5f65216d-8b24-4c28-86c0-5d82e5634fe0",
              "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": "17d4bfb4-6ac4-4c17-a2dd-18ee93c5e194",
          "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": "228b3d64-4494-4f80-b5de-9182989e4d16",
              "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": "8df510ac-8ae3-4eb3-9de1-a3a27ab62bf5",
              "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": "4ceb1e39-b455-4677-82b4-e1398a40c6d2",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "69a47172-cc56-498b-9b27-5b66488cda9e",
              "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": "b10eec29-e3fd-4851-9314-3d609cf90a3c",
          "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": "6bc1744a-9646-4884-8662-c421f3eb9a17",
              "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": "1d251c32-ef50-4f2f-b0dd-34d09fbd7407",
              "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": "b3a0cc80-57b6-41ea-8a5f-fbf2cb62af9c",
              "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": "279d1c64-9342-4b2b-8ac9-5cfddcd2de00",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2f739034-6e7f-482b-a01b-ae4d3aea0752",
              "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": "90b21128-809f-4f49-901f-dca52cff19db",
              "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": "0d18c22d-3aa6-4f96-bba2-c1c9bd986da7",
          "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": "f182ace2-f406-4b6e-99ce-e2f53a97df48",
              "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": "16472f80-8f6a-4999-a293-199fb2c6b1fc",
              "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": "91118ffb-7b89-4673-bfe8-46ed3133f504",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "20934772-be06-4199-9ae1-30c736418677",
              "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": "77e45ecd-0ada-4033-9c0d-97fbf987ea38",
              "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": "dd296649-deb4-437e-9b54-939d14e42330",
          "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": "72850184-f9b8-48c2-bae4-ba38f6a966c2",
              "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": "26d72830-2123-4a88-94d1-71697c0e00ee",
              "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": "ff7f7504-e75c-4541-9478-a5ca06449c90",
              "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": "f09cb260-c804-4ace-9712-6f439256929e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c5c1f1df-0a19-40f4-a816-d06870bd3d71",
              "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": "d761ec48-c895-4566-8eeb-c2aa67da9480",
              "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": "1edee6e9-85a2-458e-b467-70c3c6b22c7e",
      "name": "platby-prijate",
      "description": {
        "content": "Úhrady příchozí do pokladny nebo na bankovní účet.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "16ae48cf-305f-4556-9693-c239157ea243",
          "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": "905501e8-26c9-4320-b018-0f0363f83889",
              "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": "0480a7c7-c931-4ead-8486-88074ac03562",
              "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": "cb912302-df0a-4145-be23-3c7fbbdf0292",
              "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": "550c0205-d86e-41c9-98b7-c852a399d814",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3a1b01e4-c2a1-48f4-8cb0-21e7a3e9eb09",
          "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": "5d4b21e3-9f58-4daa-88d9-0c7e046a09b8",
              "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": "0d05b55d-2f76-43a8-8812-a2869e17ac02",
              "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": "91c0f384-5f2d-4043-bf66-c999046b15b1",
              "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": "e1e8f4cd-f227-43af-9f6a-349fb0cd5356",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "837681bf-0bd6-4f4f-8437-d8c903d3d929",
              "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": "8c45cee6-8843-41f1-96bb-5b586655cabc",
          "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": "ee83a57b-9b11-4ece-b01b-b684db057081",
              "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": "a7917149-ab3d-479a-b79c-81a3542413eb",
              "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": "735d2a69-2cbe-4450-80a3-4e2fad677147",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "6fa46887-bcde-4394-9984-9a33bf5f32b3",
              "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": "dd334734-ae6d-43b7-bf67-3ab0947ca123",
          "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": "fed1819f-5b04-4a40-83e0-515bd2b31ce1",
              "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": "ab78547c-d976-4e8b-9a36-d1458e3626fd",
              "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": "32f8d5b7-b096-4d77-a58b-b0af5c74e9e4",
              "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": "49ff8f8d-29ba-4108-8b33-d9cff00c6347",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "ceac0922-1d68-4490-adee-c8ab32bc4778",
              "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": "f01b18a7-cf82-4f52-81a2-746651d141e6",
              "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": "7e3d26d6-0b44-457d-acc4-fc90cb2d6c4d",
          "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": "c197e35f-64d6-4555-80bb-83522de6a2d2",
              "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": "6d807ae2-a2d6-46f0-9323-a6b95878d97d",
              "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": "18a89011-7187-40a7-9aa0-f0067ecbf40c",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8f40339d-8a95-4654-b272-eca5818c3d99",
              "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": "aa50feaf-cf76-4963-a842-ea736648c0c4",
              "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": "2dc7dcc0-6e1f-436f-be18-71e3672c2d5a",
          "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": "aab93f70-7a90-4d03-a86a-37deaab26658",
              "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": "18e4d186-aa8c-42f4-8f4d-20740108fba0",
              "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": "ef2817f0-4c36-43c9-a7ae-c00ade4e0df0",
              "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": "96791be4-9ea5-46c3-8842-30e05129dbe9",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "491ea135-45e8-4fb5-8063-8248eec71e5a",
              "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": "afb0a5a7-6562-47d5-baaa-f547ca37fa72",
              "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": "0623254c-1569-4f8a-8371-f5fa2eb5d6a2",
      "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": "3445f7d4-d863-4ce5-bf37-82affc1f5784",
          "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": "3e018ba9-cf3b-42ac-9726-d3a544cc31f2",
              "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": "ebd42d16-effd-442b-8f38-f2822d327cb1",
              "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": "e6bb8f6f-efb7-44b7-8d48-b8181f743682",
              "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": "32f6967b-1efc-47d3-bedb-7d683ac3c089",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "c83e5b05-4e80-4e44-bfd5-b89adbb38d54",
          "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": "9bddda32-e302-476e-bbea-e0852328c245",
              "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": "b4ab8dff-d8a3-4487-b156-7c6487f1ddba",
              "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": "d2e1b410-0373-4684-aa66-904f8c09f473",
              "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": "9632f9d9-a7ae-4648-8422-548680829c21",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "ad1b41fe-687d-4ae2-9156-c41a621d45c4",
              "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": "e6c1f0fa-435a-4076-a113-be38c77d46d2",
          "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": "8fcc8e7d-30e4-4382-8e95-7573b90214ab",
              "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": "be4fb569-5456-497f-9af9-5b66be88f9d9",
              "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": "398bdfcf-c969-420b-8e08-663d94244104",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b4492a2a-8248-4041-a603-dd22c428f988",
              "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": "0e56a8c2-36ab-4e7d-91ff-628af9046c3f",
          "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": "861ccda4-9085-4654-b0e3-be36370be3b8",
              "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": "a0b01e12-7876-4b4b-bc7e-1a6a52fcd13b",
              "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": "46ca42dc-38d5-4f7f-9ecf-c29838f98d67",
              "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": "6fb8b83d-8977-40f3-a4fa-b4d2b66c53fd",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e2a5e001-a883-4c1b-9efb-54c4f1e77143",
              "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": "9f5e3d6e-8a03-47ae-b47c-9064ab64bbd2",
              "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": "d54a866b-adb8-4450-8499-dda0b582ed42",
          "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": "365f32cf-c23f-4b74-979d-cf60b5e613f3",
              "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": "e34de6fb-f240-41c7-8988-7e83eb855c9b",
              "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": "3375ba60-791c-4db6-8175-b5ba6ff4918e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "59f898df-73b0-42de-9942-e3c0a4d04c25",
              "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": "49f1e00b-a1de-4b58-a167-aa20de161f16",
              "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": "8ab3c7c6-ca43-47e5-b7ea-152d3e17258c",
          "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": "cc544891-c549-45e3-a9de-279919b08bfe",
              "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\": 9684,\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\": 7799,\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": "664d6844-3ce2-48eb-9f77-d9d605a5ca28",
              "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": "eea5702c-cd15-4b15-893a-6000f72ef377",
              "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": "a5e0aa6a-3cd4-4054-a3ee-fc973b0cd745",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "440ead80-49f5-4b3f-bd9a-19e08abd0bc0",
              "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": "3194634d-8005-491a-a9f1-ff06f226a029",
              "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": "fe4b7f12-eb37-487f-a97f-341180e23161",
      "name": "journal",
      "description": {
        "content": "Zaúčtované položky všech dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "897acdc9-4e94-4a48-8c6b-34f0217842d9",
          "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": "e97e549a-feb6-4a9e-ba43-06ea788e36e6",
              "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": "299c8429-32c4-42c9-903c-36b906338009",
              "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": "e06bcb58-a4ff-423a-b8d2-6bef026a6545",
              "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": "c4beda67-a550-4e17-811d-726b7734029e",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "f22c796b-73e3-4d5f-978d-8ecefc677641",
          "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": "3e7eb6ab-c2d6-41b2-b024-b05108c9b4b1",
              "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": "3d6f3a45-352e-430f-90b7-1b5a3614f623",
              "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": "5ba5b1d8-5648-4ce7-8ab4-3c72386b2e08",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "3a4c5c0e-6cf1-4d13-b9ba-c382b35b5dfb",
              "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": "76845b34-f2b3-4866-a0fd-7ae566ed1bdb",
      "name": "direct-accounting",
      "description": {
        "content": "Účetní doklad zapsaný přímo do deníku bez vazby na doklad.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b77752f6-3ad3-4a3c-9aa2-b6da2d3d9169",
          "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": "dd73bb46-fcaa-4d36-af4d-9b3b867b257b",
              "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": "d7ee5bce-4f66-4120-9b11-bfb58a7291ef",
              "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": "13f37b4c-e174-474c-a87f-73305f621fbb",
              "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": "b8209a88-ce79-4bef-b143-0e0f0a1bd877",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "44fdc653-4e60-4e3e-a1b6-6c64814d746d",
          "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": "a2afe557-24f0-4abc-a12b-02f3dbd604be",
              "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": "ef561857-db10-4f8f-9e68-2b19a1175602",
              "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": "6315aead-258b-43a2-b530-a1f8a718fd22",
              "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": "8325f82e-99fb-43a8-8bd8-07f75a946f66",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "52f0b394-53d5-4faa-8dad-01db2ae3b5b0",
              "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": "31fdd4bb-2fcc-4a2b-83e7-d55022ca5f9c",
          "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": "05e50f28-49ac-4b31-ae67-ff104edcd73f",
              "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": "56e4755d-344c-431d-a51b-456e1d30b445",
              "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": "a18e193d-3171-4f0c-8a23-1842a2259c59",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "aaf93057-b5b9-4fa4-bba4-8c75c242be34",
              "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": "e08f3a9c-c078-4c1b-967c-95fa7b8be7f2",
          "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": "50293807-27ca-4640-ad2d-755976a162ed",
              "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": "edd164bf-ace9-474c-b6dd-f13bcdb282cd",
              "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": "232bbe34-38e7-48a4-87b8-fc9307a94164",
              "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": "f0141cf5-819c-4b35-a099-e1582586bcb0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2cfcd0a9-77ba-4971-8eb2-d68e94a9c66b",
              "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": "80f6e25c-a646-433a-8bdc-fd2e5da604c1",
              "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": "4887131c-db05-4fbe-8cb1-01815f1b2353",
          "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": "95f3ff40-a28d-49b9-993d-3e084f9fe44a",
              "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": "9479e1ee-2125-4015-ab45-c4967ffd0106",
              "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": "71ea66d1-20e6-4b75-b47a-79d36e57bee1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "8b61b711-f6ac-42ea-8528-6cabe377f713",
              "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": "2bf01207-2076-4ea7-bdbf-d4d5a53caf51",
              "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": "78f449d4-713f-435d-a167-715926e507d6",
      "name": "sazba-dph",
      "description": {
        "content": "Platné sazby DPH podle země a data.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "3639f145-379b-4d5b-9ab0-71575dd9d195",
          "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": "68b89afe-fdcd-47b1-b1cb-1d795b41f8a0",
              "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": "9cae2451-68e7-44dc-ab62-71cce79dfabb",
              "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": "49fec87a-1ec2-4259-8e10-c64f078a1559",
              "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": "caa14e3e-4224-441c-bcd4-fc4829c43747",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e53a0b20-1868-4f7a-8bd9-a180bb2575c7",
      "name": "polozky-typy-uc-polozek",
      "description": {
        "content": "Číselník typů účetních položek podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0fc1d57d-19c7-4226-ad1a-acb706f241e7",
          "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": "6ea3ee1a-0853-4e75-a4f7-35ba4b6b18ac",
              "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": "c59cba37-0144-4d08-981b-4a0e8bfdbbcb",
              "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": "ce18aa42-44e9-481e-b403-54d1bd35b2f2",
              "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": "e291beb0-ae21-443b-bbc5-3fe1a2f699f3",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "abc46977-3201-4396-8b4b-0c9d55bbca37",
      "name": "typy-dph",
      "description": {
        "content": "Číselník typů DPH podle typu dokladu.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "137250e9-6d8f-475d-9e63-887684bd1e85",
          "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": "13735444-0bd7-46d0-9cd7-be282884bfb0",
              "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": "f2afe2e0-9fac-449c-ad51-01d97021c4fe",
              "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": "f6d97c86-5efa-4027-97c2-21031f226066",
              "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": "3df8b7b3-28f2-486e-b78b-07dc667dd4a2",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9a6c3627-8e7a-478a-9709-2d0e99ba404a",
      "name": "ucty-uc-osnovy",
      "description": {
        "content": "Číselník účtů účetní osnovy firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9b189c93-fa0f-4afa-abe5-74b3fb65d2fe",
          "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": "b4e0ea30-70b3-4aea-a99e-de706bf9d149",
              "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": "ca985319-d039-4db3-b11d-26312929d014",
              "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": "b87c966c-ba20-4aa7-85f8-f869610fc3eb",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "a1978cf2-3940-4de4-911c-1bc25e35b291",
      "name": "ucty-dph",
      "description": {
        "content": "Číselník účtů DPH firmy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "e3e08e2c-3bb6-4cb9-90ec-ba6b7e045090",
          "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": "2c1fac85-eab7-40ed-9a71-715e0c138e23",
              "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": "853394b1-0833-4b81-819b-557acb78fff1",
              "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": "977ce227-956a-4b5a-b426-d9af7ec3ffaa",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "5382ab94-3ec0-4511-a491-96554877d6ee",
      "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": "e72cbac4-4a1f-46df-a8e9-1c7b0ebe7c2e",
          "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": "d6c685fa-3299-4d68-bde2-dcea9b8997bc",
              "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": "b3454394-7f59-4078-9e10-b72ec6c8798b",
              "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": "26824ebf-e79c-4b32-a551-152dc0241269",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "44c3cccf-6b03-409c-82e1-b1e59260fbf7",
      "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": "b7068a6f-28c1-410c-85c6-a7414252fca6",
          "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": "4dd18e57-6045-4feb-8ca2-06cbbac5f96e",
              "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": "e09025dc-fad6-4d69-86ee-09f0ca5326be",
              "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": "ff16baa6-3b36-4c34-ad39-1de2afa7a654",
              "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": "617bc5a4-df5a-4510-b78e-dfa196ad5ec8",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "32cf0c77-cdb4-48f5-b451-5547f927bd29",
          "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": "6b677c2c-ee53-4cda-8e0a-a8317797ddb2",
              "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": "a43aeeba-efc7-4f55-9abb-a11fd45bdc1a",
              "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": "fe160813-910e-4baa-ae2e-2e689b83d49b",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0ec4ca03-3492-4490-a354-9a3904c181bf",
              "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": "25bade3b-3ca1-4a07-b04e-1c1e3e10db84",
      "name": "price-list",
      "description": {
        "content": "Ceník produktů a služeb používaných na položkách dokladů.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "20175928-e64c-4c10-ac82-01f25d899549",
          "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": "8f2791b3-61c4-470d-8088-940846b8912a",
              "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": "94e57904-cf39-4783-abf6-49ccf5b1ba94",
              "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": "0b4611b2-e86d-454f-a884-7be5f49d2c16",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "437aa2be-9d36-42e6-94bb-2317e2e6255c",
          "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": "68c37eee-fabc-4960-bd60-a683cadf903b",
              "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\": 7709,\n  \"vattype_id\": 4304,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "443fdaba-9906-4f9b-8c60-a954351f5a7f",
              "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": "e0cbd820-1bbe-4774-a95b-ee708e514b8d",
              "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": "9fbee9e6-3844-48e7-99ac-d085f12e0f79",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "ac94afc7-a21f-4325-8f55-69fd9b227ae3",
          "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": "6be4da5e-8c2b-453f-a888-d9ad93cb2f92",
              "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\": 7709,\n  \"vattype_id\": 4304,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "20a7d713-d289-49d4-b68e-4ad8d5e8013e",
              "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": "932a40d2-4c92-4879-ae9e-c64bf880cc49",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "0165788a-dd98-48fc-a0b9-260318f986fb",
              "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": "60e3c2e8-9093-40aa-a61e-c644d2f8fbdb",
          "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": "4592ba00-bd1a-4565-86c9-4598b5e55f5c",
              "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\": 7709,\n  \"vattype_id\": 4304,\n  \"chart_account_id\": 46,\n  \"vat_chart_id\": 52,\n  \"department_id\": 0,\n  \"contract_id\": 0\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1d6979b6-b3e3-4b83-b8a8-35e82277a53c",
              "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": "22bb1a2a-6249-4d98-9f94-1db64281274c",
              "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": "ce2ea792-be9b-4402-8a11-1fcc267002a1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "34fe0d03-428e-4075-8af0-e72df516a77f",
              "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": "0b69997b-c470-46be-9f91-e0354e010c9f",
          "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": "41419efd-4551-40c3-b416-5387017e0c78",
              "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": "c5baa397-75d2-4f7e-860c-5c889c210f92",
              "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": "eb67d7f9-03e7-43c8-98bc-66056c374ed1",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "ec027c91-26fa-45f7-8cfd-62b509ad9452",
              "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": "3c3cabdd-09b5-4b36-83dc-844bae4cc86f",
              "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": "18285ea5-2298-4734-8e56-46c8fa22f7cb",
      "name": "warehouse",
      "description": {
        "content": "Sklady firmy. Zdroj vyžaduje tarif se skladovým modulem.\n",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "ba7cc026-fcb9-4528-95e2-f00b571a7a2d",
          "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": "249ff69f-a9e3-4b1f-905f-da22d877e437",
              "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": "bb83fb82-ff8f-41fd-9a0b-3bd0ef11de67",
              "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": "6c7cde55-47c0-41ed-8463-26fd77dfdd68",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "92e747a0-db17-471c-a0ac-7c4c706d9a3e",
          "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": "6b7b4162-2fff-472d-8243-ce42fcaecb4b",
              "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": "2e76ed89-b615-43f7-9be5-7a1010f38438",
              "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": "304e0303-12ea-453e-a6a1-19bddafbdec2",
              "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": "8b45e97a-39d3-4bb3-9dee-4081c5ea57cf",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e4c7a012-0042-4ae1-a25e-6543dfcb9b28",
          "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": "4821cc6a-8e63-4ea5-882d-b483c21167ad",
              "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": "7faf6d8a-847a-4bfb-9790-720f4b7a778a",
              "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": "f0332035-27e7-4bd7-aadc-97d1be83bbf5",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "bad757f9-af73-4155-b48d-30deb4214d12",
              "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": "49507ed5-0504-4575-9e45-6001fc047214",
          "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": "0a8d0cbd-32c2-431f-937d-05e15dbdcdec",
              "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": "9ca95bee-20c3-417b-944c-67356635daeb",
              "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": "c2bc1989-686b-44f1-9df6-6f827912853c",
              "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": "4d3a7788-b3bf-44f2-a531-23959ccb559f",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2b843d4c-9766-4e9e-b61d-55f9312f9e38",
              "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": "d5b82770-9457-45c2-a7a0-29ba94411458",
          "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": "d46ef3c7-f17b-4433-b99e-58dca9a4f232",
              "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": "993bb777-bbfe-47e7-bd4d-c4907c1ce05a",
              "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": "2d0faacd-a0a7-4aaa-9ec9-0b3a6e3036e6",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "e32b311c-427f-4ab0-b13d-786ecfcd04ac",
              "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": "06488180-c8cb-4c94-b1b4-a69727282b8d",
              "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": "f5a0d2ac-b38b-4597-9527-09ab33f68d6a",
      "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": "0435467b-92f0-4681-9d6a-289e2d605c1e",
          "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": "e43bf981-b30e-4a02-afa9-21420795ad6a",
              "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": "7309c6e3-3e1b-4d7c-b28c-2d1d5188324b",
              "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": "42bc9ba3-bae9-4a20-8592-8e6506ee2cb0",
              "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": "2bb07b5f-e98d-43c7-b27a-02a538870bf3",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "53ab8661-f71a-409d-a06f-f72fa75b5cf1",
          "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": "79192798-b303-485e-962a-e2e93c183654",
              "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": "c437cc8e-5e90-4daa-9e92-1171c31130de",
              "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": "d7452668-536c-4c27-a18c-c3c3ee001776",
              "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": "6eb31fc3-2c53-49a8-9f64-a1c9441c130a",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "2a6a18d1-8494-4b70-87c9-babab215d67f",
          "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": "217e9cd1-bb41-4df6-9058-520fd4d3b9bf",
              "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": "a7787f5e-a489-4f84-ab10-780b67768e32",
              "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": "41cad4cf-2ff4-472e-a46d-6ae5dda787dc",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "53ed78f7-dab7-4374-a70e-c7052069aa1a",
              "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": "4be2b4aa-fc7b-4031-b6e5-91a661b0ffee",
          "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": "3329595f-edf2-4673-92ac-f228eac0c4e4",
              "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": "05e6ac70-190e-4126-89b9-c87eeb400864",
              "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": "03d920fc-4e1e-4077-924d-f6515f8e0099",
              "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": "6e0ecc46-8233-49a0-8ae0-26266329f85d",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b38d5cc2-aa0f-48c6-ab61-da70f961c061",
              "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": "ce2e35d7-6833-4a1a-bff3-fc08f598d5d1",
          "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": "6ae59509-0d7f-4605-99b1-de72323b9c1a",
              "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": "eb755019-4bcd-49bd-89b0-e54df07a36e0",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "4670de17-0c06-4ab8-a8f9-48985d59baa3",
              "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": "9d2b3e22-89cb-4181-9e1b-42d53ede9c2a",
              "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": "e97badd9-fb14-4d26-a2bf-3a6098db8d46",
      "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": "4d784dfb-92bf-47a8-8dc7-19c840d50e09",
          "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": "d37c0e95-9b7a-4a37-8ce3-69ea81b30d84",
              "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": "e7f40865-472c-4e22-997a-47157887f994",
              "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": "6fa0dc91-0547-496b-a5c0-78ca75b29cac",
              "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": "0dfdd947-a926-4668-ab3b-3a3b4987a967",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "1a773123-426d-483a-92c1-e7e5c014d15b",
          "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": "cf24b39e-c4db-4d60-80a1-061784057954",
              "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": "ab40337a-3a57-40ed-b6c1-478d09ba11e1",
              "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": "8ea6a1c9-09e6-45c3-b0c3-184fee6b7168",
              "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": "162a6ccc-2692-4df3-a904-3699b061d890",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "559b7102-cb92-4744-b38b-5341d8449966",
          "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": "7725b8f5-ad7a-480b-96aa-c07575c0cb97",
              "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": "572cdee7-4d6f-45da-8e2b-fb9de9a4b383",
              "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": "d1667239-3922-4fce-8818-c94ef0eb1ae9",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "9754fd60-21a6-4102-b718-fc08b306e754",
              "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": "69dc5654-af4f-4157-b186-c92a803b640a",
      "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": "0a4f8ba6-0151-498d-b039-053bc6d0696d",
          "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": "d15e3e94-10bd-4f4b-890d-82a57ceba065",
              "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": "9ed5f4aa-c3d4-47df-8201-9ec1dbed152d",
              "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": "e2a115a8-4da2-49f0-b7c2-662e17ad8864",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "75410072-7aa2-43ec-918e-07b39a809b6e",
              "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": "b520bee8-28f3-4c8f-87af-f71d75e10222",
          "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": "d9f3b764-5e2d-428b-ac26-a035406b8034",
              "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": "8de05e95-5040-4ef0-9414-c68a7e3a1bbe",
              "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": "b15d2b98-55df-4384-9dfe-0f4f337b41b2",
              "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": "4fab5b54-fa1f-4511-a63d-304d8c77b358",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "81d0ab27-32d7-4005-90c5-acaadac88003",
              "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": "40fed95e-750f-456b-bf69-c0ac71273651",
              "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": "0d466d05-fbf2-4dc9-91ad-a08345d4c7cf",
              "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": "2ccf912c-8283-478c-aae9-1666337ab57b",
      "name": "attachment-detail",
      "description": {
        "content": "Čtení a mazání konkrétní přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d4cc1f7e-d155-424a-980b-723e349f29ae",
          "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": "249257e4-bac2-4530-9ef2-7ef01dd00e76",
              "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": "6bdb7192-3664-4b70-9e4f-4133ef930f53",
              "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": "29cf98d2-8f9a-429b-acb5-731b6176b5ab",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "b954e0c6-206a-4644-b6dc-7adf48dba058",
              "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": "7cd14f7f-93fa-4524-841e-b2b9651ce3ec",
          "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": "af46c42e-4685-420b-9279-333dd5822fe6",
              "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": "8dfd0d52-0e37-4773-98cc-483aed5dc0bc",
              "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": "70c42a68-fe25-4a97-a1b1-cf27970595a7",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "97d6bcce-ddfa-4341-bb96-402bf1ac63e4",
              "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": "53eb51c4-761c-4d68-b5f9-9fe15db44339",
      "name": "attachment-download",
      "description": {
        "content": "Stažení binárního obsahu přílohy.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "64e52448-af78-4e5c-8f57-a8ca979e0c45",
          "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": "d561b22a-6055-4a8e-a94c-3ef438b83124",
              "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": "8c694857-4789-4708-8a81-2d7fe1a7bda2",
              "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": "9e3549f1-0277-49f6-bf5c-ab3187aefb55",
              "name": "Firma nemá k volání nárok kvůli tarifu – 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": "dd20a7f9-095f-4ea3-9ea1-6a453767a579",
              "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": "e9143a41-d8ac-47fc-a61c-2757eaafc78a",
      "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": "1a7039fe-6f1e-4fc3-809d-497a50ebf55a",
      "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": "ff6c9df7-a5c5-4ff5-aab1-11e754f1971c",
    "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"
    }
  }
}