{
	"inv": [
		{
			"top": [
				{
					"top_record_id": "20050930.001951.2u2ms.top_ zzy000c09f7bd0c503",
					"top_change_id": "20150618.123620.ko001.top_ zzy010ddb1b45aa809",
					"top_discount_days": 0,
					"top_transfer_id": "",
					"top_terms_of_payment_id": "30",
					"top_firm_id": 0,
					"top_creator_id": "",
					"top_target_date_difference": 0,
					"top_net_days": 30,
					"top_transfer_state": -10,
					"top_customer_project": "",
					"top_discount_percentage": 0,
					"top_project_id": "",
					"top_info": "",
					"top_ar_code": "",
					"top_modifier_id": "",
					"top_no_due_date": false,
					"top_name": "30 pv netto",
					"top_export_code": "4"
				}
			],
			"inv_eur_1_no": "",
			"co": [
				{
					"co_accountable_person_id": "",
          "co_name_2": "",
          "co_name": "Sähkötuote Oy",
          "co_foreign_company": false,
          "co_default_sales_person_id": "ANI",
          "co_language": "",
          "co_employee_count": 0,
          "co_delivery_company_id": "",
          "co_freight_charges_payer": "",
          "co_telephone_area_code": "",
          "co_bank_account": "",
          "co_invoice_company_id": "",
          "co_trade_registry_number": "",
          "co_cumulative_sales": 0,
          "co_foreign_sales_price_in_use": false,
          "co_send_type": "",
          "co_country": "",
          "co_www": "",
          "co_vat_number": "",
          "co_modifier_id": "",
          "co_cost_center": "",
          "co_supplier_number": "",
          "co_is_collection_invoice": true,
          "co_waybill_customer_number": "",
          "co_group_1": "SATUNN",
          "co_payment_delay": 0,
          "co_firm_id": 0,
          "co_allowed_delivery_delay": 0,
          "co_email": "myynti@sahkotuote.com",
          "co_your_reference": "Tarjous SOP1",
          "co_post_code": "65320",
          "co_transfer_state": -10,
          "co_capacity_multiplier": 0,
          "co_terms_of_payment_id": "30",
          "co_currency_id": "EUR",
          "co_swift_code": "",
          "co_transfer_id": "",
          "co_abc_class": "",
          "co_covenant": "",
          "co_way_of_delivery": "Matkahuolto",
          "co_project_id": "",
          "co_address": "Silmukkatie 1",
          "co_electronic_invoice_address": "",
          "co_allowed_delivery_advance": 0,
          "co_info": "",
          "co_post_office": "Vaasa",
          "co_credit_limit": 0,
          "co_company_id": "SÄHKÖTUOTE",
          "co_creator_id": "",
          "co_fax_area_code": "",
          "co_record_id": "20050930.001951.rj2iv.co_  zzy000c09f7bd0c503",
          "co_change_id": "20150113.183832.gy017.co_  zzy010ddb1b45aa809",
          "co_waybill_deal_number": "",
          "co_group_2": "",
          "co_creation_date": "2015-02-09",
          "co_row_discount_percentage": 0,
          "co_customer_project": "",
          "co_telephone_number": "",
          "co_price_group": "",
          "co_sales_order_code_id": "OMAT",
          "co_order_discount_percentage": 0,
          "co_extra_cost_to_invoice": 0,
          "co_text_address": "Sähkötuote Oy\nSilmukkatie 1\n65320 Vaasa",
          "co_last_modification_date": "2015-05-15",
          "co_area": "",
          "co_stock_position": "",
          "co_type_": 0,
          "co_group_3": "",
          "co_state": 0,
          "co_fax_number": "",
          "co_extra_time_multiplier": 0,
          "co_work_advance_days": 0,
          "co_company_number": "0004",
          "co_term_of_delivery": "",
          "co_invoice_number_serie": ""
				},
				{
					"co_accountable_person_id": "",
					"co_name_2": "",
					"co_name": "Koneen Valo Oy",
					"co_foreign_company": true,
					"co_default_sales_person_id": "AK",
					"co_language": "Englanti",
					"co_employee_count": 0,
					"co_delivery_company_id": "SÄHKÖTUOTE",
					"co_freight_charges_payer": "",
					"co_telephone_area_code": "019",
					"co_bank_account": "",
					"co_invoice_company_id": "",
					"co_trade_registry_number": "123233-9",
					"co_cumulative_sales": 0,
					"co_foreign_sales_price_in_use": true,
					"co_send_type": "EDI",
					"co_country": "Suomi",
					"co_www": "",
					"co_vat_number": "",
					"co_modifier_id": "",
					"co_cost_center": "",
					"co_supplier_number": "",
					"co_is_collection_invoice": true,
					"co_waybill_customer_number": "",
					"co_group_1": "AS AKT",
					"co_payment_delay": 0,
					"co_firm_id": 0,
					"co_allowed_delivery_delay": 0,
					"co_email": "",
					"co_your_reference": "",
					"co_post_code": "08500",
					"co_transfer_state": -10,
					"co_capacity_multiplier": 0,
					"co_terms_of_payment_id": "30",
					"co_currency_id": "EUR",
					"co_swift_code": "",
					"co_transfer_id": "",
					"co_abc_class": "",
					"co_covenant": "",
					"co_way_of_delivery": "Kiitolinja",
					"co_project_id": "KV",
					"co_address": "Honkatie 11",
					"co_electronic_invoice_address": "",
					"co_allowed_delivery_advance": 0,
					"co_info": "",
					"co_post_office": "Lohja As.",
					"co_credit_limit": 0,
					"co_company_id": "KONEEN VALO",
					"co_creator_id": "",
					"co_fax_area_code": "019",
					"co_record_id": "20050930.001951.rh2ip.co_  zzy000c09f7bd0c503",
					"co_change_id": "20160205.162602.i6cd2.co_  zzy010ddb1b45aa80l",
					"co_waybill_deal_number": "",
					"co_group_2": "TUOTANTO",
					"co_creation_date": "2009-11-01",
					"co_row_discount_percentage": 0,
					"co_customer_project": "",
					"co_telephone_number": "36061",
					"co_price_group": "",
					"co_sales_order_code_id": "",
					"co_order_discount_percentage": 0,
					"co_extra_cost_to_invoice": 0,
					"co_text_address": "Koneen Valo Oy\nHonkatie 11\n08500 Lohja As.\nSuomi",
					"co_last_modification_date": "2016-06-20",
					"co_area": "",
					"co_stock_position": "",
					"co_type_": 3,
					"co_group_3": "",
					"co_state": 0,
					"co_fax_number": "382587",
					"co_extra_time_multiplier": 0,
					"co_work_advance_days": 0,
					"co_company_number": "0008",
					"co_term_of_delivery": "Vapaasti varastossamme",
					"co_invoice_number_serie": ""
				}
			],
			"inv_transfer_id": "",
			"inv_reference_number": "11008000088",
			"inv_order_discount_total": 0,
			"inv_printed": false,
			"inv_project_id": "P999",
			"inv_delivery_company_id": "SÄHKÖTUOTE",
			"inv_voucher_id": "",
			"inv_penalty_interest": 10,
			"inv_additional_data": "{\n\t\"order_address\": {\n\t\t\"address\": \"Honkatie 11\",\n\t\t\"post_code\": \"08500\",\n\t\t\"name\": \"Koneen Valo Oy\",\n\t\t\"post_office\": \"Lohja As.\",\n                                \"country\": \"asd\"\n\t},\n\t\"invoicing_address\": {\n\t\t\"address\": \"PL 100 (laskutus)\",\n\t\t\"post_code\": \"08501\",\n\t\t\"post_office\": \"Lohja As.\",\n\"country\": \"Suomi\"\n\t},\n\t\"info\": \"}\",\n\t\"delivery_address\": {\n\t\t\"address\": \"Silmukkatie 1\",\n\t\t\"post_code\": \"65320\",\n\t\t\"name\": \"Sähkötuote Oy\",\n\t\t\"post_office\": \"Vaasa\"\n\t}\n}",
			"inv_collection_invoice_id": "110080",
			"inv_last_collection_date": "0000-00-00",
			"inv_supplier_invoice_number": "",
			"inv_exchange_rate": 1,
			"inv_delivery_address": "Sähkötuote Oy\nSilmukkatie 1\n65320 Vaasa",
			"inv_send_type": "",
			"inv_coming_total": 49.6,
			"inv_exported_to_ar": true,
			"inv_firm_id": 1,
			"inv_your_reference": "Y012",
			"inv_modifier_id": "",
			"inv_discount_amount": 0,
			"inv_invoice_address": "Koneen Valo Oy\nPL 100 (laskutus)\n08501\tLohja As.",
			"inv_change_id": "20160321.192359.no001.in_  zzy010ddb1b45aa80e",
			"inv_discount_percentage": 0,
			"inv_send_state": "",
			"inv_terms_of_payment_id": "30",
			"inv_company_id": "KONEEN VALO",
			"inv_invoice_text": "Tavarat ovat toimittajan omaisuutta kunnes lasku on kokonaan maksettu.\n\n\n",
			"inv_invoice_id": "110080",
			"inv_handler_id": "MG_AK",
			"inv_vat_total": 85.2,
			"inv_order_discount_percentage": 0,
			"inv_paid_total": 390.6,
			"inv_footnote": "Alv 24% 85,20 EUR\n ",
			"inv_currency_id": "EUR",
			"inv_divided": "",
			"inv_discount_total": 0,
			"inv_total_rounding": 0,
			"inv_creator_id": "",
			"inv_net_weight": 60,
			"inv_info": ",\n\t\t\"country\": \"Suomi\"\nMuutettu maksetuksi 1.2.2016 MG_AK",
			"inv_volume": 0,
			"inv_price_total": 355,
			"inv_remark_time": "7 pv",
			"inv_due_date": "2015-07-08",
			"inv_type_": "NO",
			"inv_total_amount": 440.2,
			"inv_our_reference": "110022/AK",
			"inv_customer_project": "Runko*2",
			"inv_mark": "M321",
			"inv_gross_weight": 75,
			"inv_cash_discount_due_date": "2015-07-08",
			"inv_collection_started": "0000-00-00",
			"inv_transfer_state": -100,
			"inv_supplier_invoice_date": "0000-00-00",
			"inv_description_of_the_goods": "",
			"inv_credit_note": "",
			"inv_term_of_delivery": "DDU",
			"inv_date_": "2015-06-08",
			"inv_state": 1,
			"inv_destination_date": "2015-06-08",
			"inv_customer_order_number": "R001",
			"inv_record_id": "20150608.120814.0l009.in_  zzy0d0509942557e05",
			"inv_way_of_delivery": "Matkahuolto",
			"invr": [
				{
					"invr_total_amount": 390.6,
					"invr_price__unit": 105,
					"invr_purchase_order": "",
					"invr_discount_percentage": 0,
					"invr_tariff_heading": "",
					"invr_purchase_order_code_id": "OMA",
					"invr_price_total": 315,
					"invr_marketing_support": 0,
					"invr_unit": "kpl",
					"invr_delivery_customer": "SÄHKÖTUOTE",
					"invr_vat_price": 75.6,
					"invr_explanation": "Mikroauton putkirunko\nPitkä selitys raporttia varten tuotteelle: Mikroauton putkirunko",
					"invr_parcel_code": "",
					"invr_transfer_state": -100,
					"invr_record_id": "20150608.120814.5t00a.inr_ zzy0d0509942557e05",
					"invr_discount_amount": 0,
					"invr_cost_center": "520",
					"invr_change_id": "20150615.154027.m200f.inr_ zzy010ddb1b45aa80c",
					"invr_product_id": "MA RUNKO",
					"invr_sales_order": "110022",
					"invr_project_id": "KV",
					"invr_order_amount": 20,
					"invr_dispatch_note": "123456",
					"invr_position_": "",
					"invr_serial_number": "S123123",
					"invr_sales_order_code_id": "M24",
					"invr_row_number": 1,
					"invr_modifier_id": "",
					"invr_invoice_id": "110080",
					"invr_delivered_quantity": 3,
					"invr_info": "",
					"invr_unit_total": 0,
					"invr_customer_project": "",
					"invr_transfer_id": "",
					"invr_delivery_date": "2015-06-08",
					"invr_firm_id": 0,
					"invr_creator_id": "",
					"invr_dimension": 0,
					"invr_no_printing": false,
					"invr_type_": "NO",
					"invr_vat_percentage": 24,
					"invr_customer_row_number": "2",
					"invr_employee_id": "AK",
					"invr_cost_price__unit": 152.15666666667,
					"invr_commission": 0,
					"invr_sales_price": 315,
					"soc": [
						{
							"soc_sales_order_code_id": "M24",
							"soc_sales_account_id": "3000"
						}
					],
					"em": [
						{
							"em_employee_id": "AK",
							"em_employee_number": "123"
						}
					]
				},
				{
					"invr_total_amount": 49.6,
					"invr_price__unit": 20,
					"invr_purchase_order": "",
					"invr_discount_percentage": 0,
					"invr_tariff_heading": "",
					"invr_purchase_order_code_id": "OMA",
					"invr_price_total": 40,
					"invr_marketing_support": 0,
					"invr_unit": "kpl",
					"invr_delivery_customer": "SÄHKÖTUOTE",
					"invr_vat_price": 9.6,
					"invr_explanation": "Mikroauton poljin\n",
					"invr_parcel_code": "",
					"invr_transfer_state": -100,
					"invr_record_id": "20160321.190235.nd002.inr_ zzy0d0509942557e09",
					"invr_discount_amount": 0,
					"invr_cost_center": "",
					"invr_change_id": "20160321.190319.36008.inr_ zzy010ddb1b45aa80d",
					"invr_product_id": "MA POLJIN",
					"invr_sales_order": "",
					"invr_project_id": "P999",
					"invr_order_amount": 1,
					"invr_dispatch_note": "",
					"invr_position_": "",
					"invr_serial_number": "",
					"invr_sales_order_code_id": "M24",
					"invr_row_number": 2,
					"invr_modifier_id": "",
					"invr_invoice_id": "110080",
					"invr_delivered_quantity": 2,
					"invr_info": "",
					"invr_unit_total": 0,
					"invr_customer_project": "Runko*2",
					"invr_transfer_id": "",
					"invr_delivery_date": "2016-03-21",
					"invr_firm_id": 0,
					"invr_creator_id": "",
					"invr_dimension": 0,
					"invr_no_printing": false,
					"invr_type_": "NO",
					"invr_vat_percentage": 24,
					"invr_customer_row_number": "002",
					"invr_employee_id": "AK",
					"invr_cost_price__unit": 37.387874,
					"invr_commission": 0,
					"invr_sales_price": 0,
					"soc": [
						{
							"soc_sales_order_code_id": "M24",
							"soc_sales_account_id": "3000"
						}
					],
					"em": [
						{
							"em_employee_id": "AK",
							"em_employee_number": "123"
						}
					]
				}
			]
		}
	]
}
