{
  "error": 5,
  "error_message": {
    "created": [
      "Neplatný dátum."
    ],
    "delivery": [
      "Neplatný dátum."
    ]
  },
  "error_data": {
    "Invoice": {
      "user_id": "1",
      "user_profile_id": "2",
      "parent_id": null,
      "proforma_id": null,
      "estimate_id": null,
      "sequence_id": "10",
      "import_type": null,
      "import_id": null,
      "import_parent_id": null,
      "type": "regular",
      "tax_document": null,
      "name": "Test API 5",
      "lang": null,
      "client_data": "{\"Client\":{\"user_id\":\"1\",\"user_profile_id\":\"2\",\"uuid\":null,\"country_id\":\"191\",\"name\":\"J\\u00e1n Kap\\u013eavka\",\"ico\":\"51097541\",\"dic\":null,\"ic_dph\":null,\"iban\":null,\"swift\":null,\"bank_account_prefix\":null,\"bank_account\":null,\"bank_code\":null,\"account\":null,\"email\":null,\"address\":null,\"city\":null,\"zip\":null,\"state\":null,\"country\":null,\"delivery_name\":null,\"delivery_address\":null,\"delivery_city\":null,\"delivery_zip\":null,\"delivery_state\":null,\"delivery_country\":null,\"delivery_country_id\":null,\"phone\":null,\"delivery_phone\":null,\"fax\":null,\"due_date\":null,\"default_variable\":null,\"discount\":null,\"currency\":null,\"bank_account_id\":null,\"comment\":null,\"tags\":null,\"distance\":null,\"dont_travel\":null,\"notices\":\"1\",\"id\":14}}",
      "my_data": "{\"MyData\":{\"id\":\"2\",\"user_id\":\"1\",\"country_id\":\"191\",\"company_name\":\"Super & Faktura\",\"ico\":\"46655034\",\"dic\":\"2023513470\",\"ic_dph\":\"SK2023513470\",\"business_register\":\"Obchodn\\u00fd register Mestsk\\u00e9ho s\\u00fadu Bratislava III, oddiel: Sro, vlo\\u017eka \\u010d. 81403\\\/B\",\"address\":\"Pri Suchom mlyne 6\",\"city\":\"Bratislava - mestsk\\u00e1 \\u010das\\u0165 Star\\u00e9 Mesto\",\"zip\":\"811 04\",\"tax_payer\":\"1\",\"BankAccount\":[{\"id\":\"10\",\"user_id\":\"1\",\"user_profile_id\":\"2\",\"currency\":\"EUR\",\"default\":true,\"show\":true,\"country_id\":\"191\",\"bank_name\":\"Tatra banka, a.s.\",\"bank_code\":\"1100\",\"account\":\"2926858237\",\"iban\":\"SK3211000000002926858237\",\"swift\":\"TATRSKBX\",\"created\":\"2023-09-06 07:02:29\",\"modified\":\"2023-09-08 10:36:07\",\"show_account\":true},{\"id\":\"11\",\"user_id\":\"1\",\"user_profile_id\":\"2\",\"currency\":\"CZK\",\"default\":false,\"show\":true,\"country_id\":\"191\",\"bank_name\":\"Fio banka, a.s.\",\"bank_code\":\"2010\",\"account\":\"2100961334\",\"iban\":\"CZ4720100000002100961334\",\"swift\":\"FIOBCZPP\",\"created\":\"2023-09-06 07:02:29\",\"modified\":\"2023-09-06 07:02:29\",\"show_account\":true},{\"id\":\"14\",\"user_id\":\"1\",\"user_profile_id\":\"2\",\"currency\":null,\"default\":null,\"show\":true,\"country_id\":\"191\",\"bank_name\":\"\",\"bank_code\":\"\",\"account\":\"\",\"iban\":\"\",\"swift\":\"\",\"created\":\"2023-09-07 08:03:43\",\"modified\":\"2023-09-07 08:03:43\",\"show_account\":true}],\"Logo\":[{\"id\":\"5\",\"model\":\"User\",\"foreign_key\":\"2\",\"dirname\":\"img\",\"basename\":\"107e0cf4df5e0c2286c2_2_undercover.jpg\",\"checksum\":\"f5a178ff7bddc15c860b113260108aa0\",\"group\":\"logo\",\"default\":false,\"alternative\":\"2_undercover.jpg\",\"size\":\"20312\",\"extern_file\":\"0\",\"delete_flag\":false,\"created\":\"2023-06-23 10:53:21\",\"modified\":\"2023-09-06 07:02:29\",\"path\":\"img\\\/107e0cf4df5e0c2286c2_2_undercover.jpg\"}],\"Signature\":{\"id\":\"4\",\"model\":\"User\",\"foreign_key\":\"2\",\"dirname\":\"img\",\"basename\":\"ac4c25f4bd4ee92d004f_2_undercover.jpg\",\"checksum\":\"f5a178ff7bddc15c860b113260108aa0\",\"group\":\"signature\",\"default\":false,\"alternative\":\"2_undercover.jpg\",\"size\":\"20312\",\"extern_file\":\"0\",\"delete_flag\":false,\"created\":\"2023-06-23 10:53:21\",\"modified\":\"2023-06-23 10:53:21\",\"path\":\"img\\\/ac4c25f4bd4ee92d004f_2_undercover.jpg\"}}}",
      "items_data": null,
      "invoice_no": 1,
      "order_no": null,
      "invoice_no_formatted": "1970001",
      "invoice_no_formatted_raw": null,
      "invoice_no_formatted_length": "0",
      "mask": "YYYYNNN",
      "variable": "1970001",
      "variable_raw": null,
      "constant": "",
      "specific": null,
      "payment_type": "transfer",
      "status": "1",
      "home_currency": "EUR",
      "invoice_currency": "EUR",
      "exchange_rate": 1,
      "country_exchange_rate": 1,
      "amount": null,
      "vat": null,
      "discount": "0",
      "items_name": null,
      "issued_by": "Joe Doe",
      "issued_by_phone": "",
      "issued_by_email": "company-1-user-1@lokalhost.sk",
      "paid": null,
      "amount_paid": null,
      "deposit": "0.00",
      "header_comment": "",
      "comment": "",
      "internal_comment": null,
      "recurring": null,
      "paydate": null,
      "delivery": "1970-01-01",
      "taxdate": null,
      "accounting_date": null,
      "delivery_type": "mail",
      "due": "1970-01-06",
      "demo": "0",
      "token": null,
      "tags": null,
      "vat_transfer": null,
      "special_vat_scheme": null,
      "issued_by_web": null,
      "summary_invoice": "0",
      "created": "1970-01-01",
      "id": 0,
      "client_id": 14,
      "rounding": "item"
    },
    "InvoiceItem": [
      {
        "stock_item_id": "",
        "name": "item 1",
        "description]": "",
        "sku": "",
        "quantity": null,
        "unit": "",
        "unit_price": "10",
        "tax": "20",
        "tax_deposit": "",
        "discount": 0,
        "discount_description": "",
        "ordernum": 0,
        "hide_in_autocomplete": "",
        "description": "description of item 1"
      }
    ],
    "InvoiceSetting": {
      "settings": "{\"summary_bg_color\":\"#009f1b\"}"
    }
  }
}
