{
  "Invoice": {
    "id": 0,
    "user_id": "1",
    "user_profile_id": "2",
    "client_id": "123",
    "parent_id": null,
    "proforma_id": [
      "415"
    ],
    "estimate_id": null,
    "sequence_id": "321",
    "import_type": null,
    "import_id": null,
    "import_parent_id": null,
    "type": "regular",
    "tax_document": null,
    "lang": "slo",
    "client_data": "{\"Client\":{\"id\":\"172\",\"name\":\"Client name\",\"address\":\"\",\"ico\":\"44981082\",\"email\":\"\",\"zip\":\"\",\"dic\":\"\",\"phone\":\"\",\"city\":\"\",\"ic_dph\":\"\",\"fax\":\"\",\"country_id\":\"191\",\"state\":\"\",\"delivery_name\":\"\",\"delivery_zip\":\"\",\"delivery_city\":\"\",\"delivery_address\":\"\",\"delivery_phone\":\"\",\"delivery_country_id\":\"191\",\"delivery_state\":\"\",\"updateClient\":\"0\",\"save_contact_from_document\":\"\",\"country\":\"Slovensko\",\"delivery_country\":\"Slovensko\"}}",
    "my_data": "{\"MyData\":{\"id\":\"12\",\"user_id\":\"22\",\"user_profile_id\":\"\",\"country_id\":\"191\",\"company_name\":\"API Testy\",\"address\":\"Pri Suchom mlyne 6\",\"city\":\"Bratislava\",\"zip\":\"81104\",\"ico\":\"46655034\",\"dic\":\"2023513470\",\"ic_dph\":\"SK2023513470\",\"update_profile\":\"\",\"tax_payer\":\"1\",\"logo_key\":\"\",\"logo_id\":\"\",\"web\":\"www.superfaktura.sk\",\"Logo\":\"[]\",\"Signature\":\"{\\\"id\\\":null,\\\"model\\\":null,\\\"foreign_key\\\":null,\\\"dirname\\\":null,\\\"basename\\\":null,\\\"checksum\\\":null,\\\"group\\\":null,\\\"default\\\":null,\\\"alternative\\\":null,\\\"size\\\":null,\\\"extern_file\\\":null,\\\"delete_flag\\\":null,\\\"created\\\":null,\\\"modified\\\":null,\\\"path\\\":\\\"\\\"}\",\"travel_agencies\":\"0\",\"business_register\":\"Spolo\\u010dnos\\u0165 zap\\u00edsan\\u00e1 v OR Okresn\\u00e9ho s\\u00fadu Bratislava 1, oddiel: Sro, vlo\\u017eka \\u010d\\u00edslo: 81403\\\/B\",\"BankAccount\":[{\"id\":\"8\",\"show_account\":\"1\",\"default\":\"1\",\"country_id\":\"191\",\"bank_name\":\"UpdatnutaBanka\",\"bank_code\":\"\",\"account\":\"\",\"iban\":\"SK000011112222333344\",\"swift\":\"suzuki\"},{\"id\":\"3\",\"show_account\":\"1\",\"default\":\"\",\"country_id\":\"191\",\"bank_name\":\"NovaBanka\",\"bank_code\":\"\",\"account\":\"\",\"iban\":\"SK000011112222333344\",\"swift\":\"suzuki\"},{\"id\":\"4\",\"show_account\":\"1\",\"default\":\"\",\"country_id\":\"191\",\"bank_name\":\"StaroNovaBanka\",\"bank_code\":\"\",\"account\":\"\",\"iban\":\"SK000011112222333344\",\"swift\":\"77777\"},{\"id\":\"7\",\"show_account\":\"1\",\"default\":\"\",\"country_id\":\"191\",\"bank_name\":\"UpdatnutaBanka\",\"bank_code\":\"\",\"account\":\"\",\"iban\":\"SK000011112222333344\",\"swift\":\"suzuki\"}],\"country\":\"Slovensko\"}}",
    "items_data": "test , ",
    "invoice_no": "11",
    "order_no": null,
    "invoice_no_formatted": null,
    "invoice_no_formatted_raw": "12024006",
    "invoice_no_formatted_length": "11",
    "mask": "YYYYNNN",
    "variable": null,
    "variable_raw": "12024006",
    "constant": "",
    "specific": "",
    "payment_type": "",
    "status": 0,
    "home_currency": "EUR",
    "invoice_currency": "EUR",
    "exchange_rate": "1.00000000000000",
    "country_exchange_rate": "1.00000000000000",
    "amount": "123.00",
    "vat": "24.60",
    "discount": "0",
    "items_name": null,
    "issued_by": "API Testy",
    "issued_by_phone": "+421123456789",
    "issued_by_email": "test@example.com",
    "paid": "0.00",
    "amount_paid": "0.00",
    "deposit": "0.00",
    "internal_comment": "",
    "created": "2024-02-08 12:30:02",
    "modified": "2024-02-08 12:18:57",
    "recurring": null,
    "paydate": null,
    "delivery": "2024-02-08 12:30:02",
    "taxdate": null,
    "accounting_date": "2024-01-19",
    "delivery_type": "",
    "due": "2024-02-20",
    "demo": "0",
    "token": "c484b68c",
    "tags": null,
    "rounding": "item",
    "vat_transfer": null,
    "special_vat_scheme": null,
    "issued_by_web": "www.superfaktura.sk",
    "summary_invoice": null,
    "show_items_with_dph": true,
    "client": "Client name",
    "related_item_id": "415",
    "related_item_type": "proforma"
  },
  "ClientStat": {
    "id": "172",
    "client_id": "172",
    "regular_total": "12.00",
    "regular_count": "1",
    "regular_overdue_total": "0.00",
    "regular_overdue_count": "0",
    "proforma_total": "0.00",
    "proforma_count": "0",
    "proforma_overdue_total": "0.00",
    "proforma_overdue_count": "0",
    "estimate_total": "0.00",
    "estimate_count": "0",
    "order_total": "0.00",
    "order_count": "0",
    "expense_total": "0.00",
    "expense_count": "0",
    "expense_unpaid_total": "0.00",
    "expense_unpaid_count": "0",
    "delivery_total": "0.00",
    "delivery_count": "0",
    "cancel_total": "0.00",
    "cancel_count": "0",
    "reverse_order_total": "0.00",
    "reverse_order_count": "0",
    "pay_time": "6.69",
    "risk": "3",
    "date_founded": null
  },
  "InvoiceItem": [
    {
      "id": null,
      "invoice_id": null,
      "user_id": "22",
      "user_profile_id": "12",
      "stock_item_id": null,
      "name": "test",
      "description": "",
      "sku": null,
      "quantity": null,
      "unit": "",
      "unit_price": 123,
      "tax": 20,
      "tax_deposit": null,
      "discount": 0,
      "discount_description": "Z\u013eava",
      "ordernum": "0",
      "hide_in_autocomplete": null,
      "unit_price_discount": 123,
      "item_price": 123,
      "item_price_no_discount": 123,
      "discount_no_vat": 0,
      "discount_with_vat": 0,
      "discount_with_vat_total": 0,
      "discount_no_vat_total": 0,
      "unit_price_vat": 147.6,
      "unit_price_vat_no_discount": 147.6,
      "item_price_vat": 147.6,
      "item_price_vat_no_discount": 147.6,
      "item_price_vat_check": 147.6
    }
  ],
  "Tag": [],
  "Summary": {
    "vat_base_separate": {
      "20": 123
    },
    "vat_base_total": 123,
    "vat_separate": {
      "20": 24.6
    },
    "vat_total": 24.6,
    "invoice_total": 147.6,
    "discount": 0
  },
  "MyData": {
    "id": "12",
    "user_id": "22",
    "user_profile_id": "",
    "country_id": "191",
    "company_name": "API Testy",
    "address": "Pri Suchom mlyne 6",
    "city": "Bratislava",
    "zip": "81104",
    "ico": "46655034",
    "dic": "2023513470",
    "ic_dph": "SK2023513470",
    "update_profile": "",
    "tax_payer": "1",
    "logo_key": "",
    "logo_id": "",
    "web": "www.superfaktura.sk",
    "Logo": "[]",
    "Signature": "{\"id\":null,\"model\":null,\"foreign_key\":null,\"dirname\":null,\"basename\":null,\"checksum\":null,\"group\":null,\"default\":null,\"alternative\":null,\"size\":null,\"extern_file\":null,\"delete_flag\":null,\"created\":null,\"modified\":null,\"path\":\"\"}",
    "travel_agencies": "0",
    "business_register": "Spolo\u010dnos\u0165 zap\u00edsan\u00e1 v OR Okresn\u00e9ho s\u00fadu Bratislava 1, oddiel: Sro, vlo\u017eka \u010d\u00edslo: 81403\/B",
    "BankAccount": [
      {
        "id": "1",
        "user_id": "1",
        "user_profile_id": "2",
        "currency": null,
        "default": true,
        "show": true,
        "country_id": "191",
        "bank_name": "SuperBanka",
        "bank_code": "",
        "account": "",
        "iban": "SK000011112222333344",
        "swift": "suzuki",
        "created": "2024-01-17 07:03:25",
        "modified": "2024-01-17 07:17:40",
        "show_account": "1"
      }
    ],
    "country": "Slovensko"
  },
  "ClientData": {
    "id": "172",
    "name": "Hesso Jašterák",
    "address": "",
    "ico": "44981082",
    "email": "",
    "zip": "",
    "dic": "",
    "phone": "",
    "city": "",
    "ic_dph": "",
    "fax": "",
    "country_id": "191",
    "state": "",
    "delivery_name": "",
    "delivery_zip": "",
    "delivery_city": "",
    "delivery_address": "",
    "delivery_phone": "",
    "delivery_state": "",
    "save_contact_from_document": "",
    "country": "Slovensko",
    "risk": "3"
  },
  "InvoiceSetting": {
    "signature": true,
    "bysquare": true,
    "payment_info": true,
    "language": "slo",
    "online_payment": false,
    "summary_bg_color": "#d4eef6",
    "force_iban": true,
    "create_from_multiple_deliveries": ""
  }
}
