-- Table structure for table `quotation_payments`
--

CREATE TABLE `quotation_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quotation_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `quotation_payments_quotation_id_foreign` (`quotation_id`),
  KEY `quotation_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `quotation_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `quotation_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `quotation_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `quotation_payments_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotation_payments`
--

INSERT INTO `quotation_payments` VALUES (1,4,'2023-01-03','01',0,NULL,NULL,NULL,184.00),(2,5,'2023-01-09','01',0,NULL,NULL,NULL,435.00);

--
-- Table structure for table `quotations`
--

CREATE TABLE `quotations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `seller_id` int(10) unsigned DEFAULT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefix` char(3) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `date_of_due` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `shipping_address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method_type_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terms_condition` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `referential_information` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `changed` tinyint(1) NOT NULL DEFAULT 0,
  `sale_opportunity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `description` varchar(1000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quotations_user_id_foreign` (`user_id`),
  KEY `quotations_establishment_id_foreign` (`establishment_id`),
  KEY `quotations_customer_id_foreign` (`customer_id`),
  KEY `quotations_soap_type_id_foreign` (`soap_type_id`),
  KEY `quotations_state_type_id_foreign` (`state_type_id`),
  KEY `quotations_currency_type_id_foreign` (`currency_type_id`),
  KEY `quotations_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `quotations_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `quotations_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `quotations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `quotations_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `quotations_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `quotations_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`),
  CONSTRAINT `quotations_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `quotations_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `quotations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotations`
--

INSERT INTO `quotations` VALUES (1,2,2,'597ecfee-62f7-4bac-b93b-ae9ef8734351',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2022-12-14','19:07:15','15',NULL,6,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"71717746\",\"name\":\"ALFARO CLAVO, CESAR LUIS\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"address\":\"JR. AYACUCHO 1648\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.835,0.00,0.00,0.00,0.00,0.00,0.00,0.00,34.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,34.00,34.00,34.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-1-20221214',NULL,NULL,NULL,NULL,NULL,0,NULL,'2022-12-14 19:27:23','2022-12-14 19:27:23',NULL),(2,3,3,'211e2a1d-44a7-48ff-9779-64006045c731',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2022-12-16','11:28:15',NULL,NULL,67,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20488103149\",\"name\":\"G & T CONSTRUCCIONES S.R.L.\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0101\",\"province\":{\"id\":\"0101\",\"description\":\"Chachapoyas\"},\"district_id\":\"010101\",\"district\":{\"id\":\"010101\",\"description\":\"Chachapoyas\"},\"address\":\"JR. AMAZONAS NRO. 770  BARRIO LA LAGUNA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.849,0.00,0.00,0.00,0.00,0.00,0.00,0.00,465.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,465.00,465.00,465.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-2-20221216',NULL,NULL,NULL,NULL,NULL,0,NULL,'2022-12-16 11:31:32','2022-12-16 11:31:32',NULL),(3,3,3,'f1157d51-c412-430e-be87-77c38184c79e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2022-12-17','18:17:20',NULL,NULL,77,'{\"identity_document_type_id\":\"4\",\"identity_document_type\":{\"id\":\"4\",\"description\":\"CE\"},\"number\":\"00000006\",\"name\":\"I.E 17300\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":\"LA PUNTILLA _ BAGUA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.853,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1208.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1208.00,1208.00,1208.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-3-20221217',NULL,NULL,NULL,NULL,NULL,0,NULL,'2022-12-17 18:22:32','2022-12-17 18:22:32',NULL),(4,3,3,'5b4c923f-8586-41a7-a203-c5d8b9b81795',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-03','16:17:10',NULL,NULL,59,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20603810644\",\"name\":\"ESMERALDA GAMING S.A.C.\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"25\",\"department\":{\"id\":\"25\",\"description\":\"UCAYALI\"},\"province_id\":\"2501\",\"province\":{\"id\":\"2501\",\"description\":\"Coronel Portillo\"},\"district_id\":\"250101\",\"district\":{\"id\":\"250101\",\"description\":\"Calleria\"},\"address\":\"AV. SAN MARTIN NRO. 200B URB. CERCADO DE PUCALLPA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.820,0.00,0.00,0.00,0.00,0.00,0.00,0.00,184.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,184.00,184.00,184.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-4-20230103',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-03 16:19:01','2023-01-03 16:19:01',NULL),(5,3,3,'8891f136-477a-4a74-ba36-04d7fdbf7ec6',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-09','18:12:47',NULL,NULL,114,'{\"identity_document_type_id\":\"4\",\"identity_document_type\":{\"id\":\"4\",\"description\":\"CE\"},\"number\":\"00000004\",\"name\":\"I.E 16284\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.806,0.00,0.00,0.00,0.00,0.00,0.00,0.00,435.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,435.00,435.00,435.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-5-20230109',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-09 18:14:36','2023-01-09 18:14:36',NULL),(6,3,3,'52df0a7c-b39f-47c3-9ceb-254aeb08a112',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-13','10:21:10',NULL,NULL,129,'{\"identity_document_type_id\":\"4\",\"identity_document_type\":{\"id\":\"4\",\"description\":\"CE\"},\"number\":\"00000012\",\"name\":\"MUNICIPALIDAD DISTRITAL DE EL PARCO\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.784,0.00,0.00,0.00,0.00,0.00,0.00,0.00,321.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,321.00,321.00,321.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-6-20230113',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-13 10:23:12','2023-01-13 10:23:12',NULL),(7,3,3,'14ba1589-ab50-43d6-b452-6c6c733d8c6b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-15','11:34:58',NULL,NULL,141,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"09968902\",\"name\":\"ROJAS SANCHEZ, WILSO\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010704\",\"district\":{\"id\":\"010704\",\"description\":\"El Milagro\"},\"address\":\"AV. EL EJERCITO S\\/N\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',1.000,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4628.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4628.00,4628.00,4628.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-7-20230115',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-15 11:36:51','2023-01-15 11:36:52',NULL),(8,3,3,'069d19b4-677d-4d91-9cbc-4e25c3e3f126',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-16','11:49:39',NULL,NULL,145,'{\"identity_document_type_id\":\"4\",\"identity_document_type\":{\"id\":\"4\",\"description\":\"CE\"},\"number\":\"00000013\",\"name\":\"I.E. 16192 - BAGUA\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.806,0.00,0.00,0.00,0.00,0.00,0.00,0.00,870.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,870.00,870.00,870.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-8-20230116',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-16 11:50:33','2023-01-16 11:50:33',NULL),(9,3,3,'776b9a5e-d747-4d67-90eb-3a716cc4a5c0',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-30','17:24:47',NULL,NULL,59,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20603810644\",\"name\":\"ESMERALDA GAMING S.A.C.\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"25\",\"department\":{\"id\":\"25\",\"description\":\"UCAYALI\"},\"province_id\":\"2501\",\"province\":{\"id\":\"2501\",\"description\":\"Coronel Portillo\"},\"district_id\":\"250101\",\"district\":{\"id\":\"250101\",\"description\":\"Calleria\"},\"address\":\"AV. SAN MARTIN NRO. 200B URB. CERCADO DE PUCALLPA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.829,0.00,0.00,0.00,0.00,0.00,0.00,0.00,11.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,11.00,11.00,11.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-9-20230130',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-30 17:31:00','2023-01-30 17:31:00',NULL),(10,3,3,'a16e4922-a054-4ee6-9f66-fedd2e467edd',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-30','17:31:00',NULL,NULL,59,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20603810644\",\"name\":\"ESMERALDA GAMING S.A.C.\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"25\",\"department\":{\"id\":\"25\",\"description\":\"UCAYALI\"},\"province_id\":\"2501\",\"province\":{\"id\":\"2501\",\"description\":\"Coronel Portillo\"},\"district_id\":\"250101\",\"district\":{\"id\":\"250101\",\"description\":\"Calleria\"},\"address\":\"AV. SAN MARTIN NRO. 200B URB. CERCADO DE PUCALLPA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.829,0.00,0.00,0.00,0.00,0.00,0.00,0.00,17.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,17.50,17.50,17.50,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-10-20230130',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-30 17:45:29','2023-01-30 17:45:29',NULL),(11,3,3,'7c57c9e2-95f5-480b-a972-192fa90c7166',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','COT','2023-01-30','17:45:29',NULL,NULL,59,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20603810644\",\"name\":\"ESMERALDA GAMING S.A.C.\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"25\",\"department\":{\"id\":\"25\",\"description\":\"UCAYALI\"},\"province_id\":\"2501\",\"province\":{\"id\":\"2501\",\"description\":\"Coronel Portillo\"},\"district_id\":\"250101\",\"district\":{\"id\":\"250101\",\"description\":\"Calleria\"},\"address\":\"AV. SAN MARTIN NRO. 200B URB. CERCADO DE PUCALLPA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}',NULL,'PEN','10',3.829,0.00,0.00,0.00,0.00,0.00,0.00,0.00,21.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,21.00,21.00,21.00,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'COT-11-20230130',NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-30 18:00:27','2023-01-30 18:00:27',NULL);

--
-- Table structure for table `rel_user_to_documentary_offices`
--

CREATE TABLE `rel_user_to_documentary_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'usuario asociado',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'etapa asociada',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rel_user_to_documentary_offices`
--


--
-- Table structure for table `report_configurations`
--

CREATE TABLE `report_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `route_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `route_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `convert_pen` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `report_configurations_route_name_unique` (`route_name`),
  UNIQUE KEY `report_configurations_route_path_unique` (`route_path`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `report_configurations`
--

INSERT INTO `report_configurations` VALUES (1,'tenant.reports.general_items.index','reports/general-items','Ventas - Reporte general de productos',0,'2022-11-07 23:08:24','2022-11-07 23:08:24'),(2,'tenant.reports.purchases.general_items.index','reports/purchases/general_items','Compras - Reporte general de productos',0,'2022-11-07 23:08:24','2022-11-07 23:08:24'),(3,'tenant.reports.purchases.index','reports/purchases','Compras - Compras totales',0,'2022-11-07 23:08:24','2022-11-07 23:08:24');

--
-- Table structure for table `restaurant_configurations`
--

CREATE TABLE `restaurant_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `menu_pos` tinyint(1) NOT NULL,
  `menu_order` tinyint(1) NOT NULL,
  `menu_tables` tinyint(1) NOT NULL,
  `first_menu` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tables_quantity` int(11) NOT NULL DEFAULT 15,
  `menu_bar` tinyint(1) NOT NULL DEFAULT 1,
  `menu_kitchen` tinyint(1) NOT NULL DEFAULT 1,
  `items_maintenance` tinyint(1) NOT NULL DEFAULT 0,
  `enabled_environment_1` tinyint(1) NOT NULL DEFAULT 1,
  `enabled_environment_2` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_2` int(11) NOT NULL DEFAULT 5,
  `enabled_environment_3` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_3` int(11) NOT NULL DEFAULT 5,
  `enabled_environment_4` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_4` int(11) NOT NULL DEFAULT 5,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_configurations`
--

INSERT INTO `restaurant_configurations` VALUES (1,1,1,1,'POS',15,1,1,0,1,0,5,0,5,0,5);

--
-- Table structure for table `restaurant_notes`
--

CREATE TABLE `restaurant_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_notes`
--


--
-- Table structure for table `restaurant_roles`
--

CREATE TABLE `restaurant_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_roles`
--

INSERT INTO `restaurant_roles` VALUES (1,'MOZO','Mozo','Usuario que genera pedidos en mesas',NULL,NULL),(2,'CAJA','Caja','Usuario que genera pago de pedidos',NULL,NULL),(3,'ADM','Administrador','Usuario con permisos totales',NULL,NULL),(6,'KITBAR','Cocina/Bar','Usuario con acceso a cocina y bar',NULL,NULL);

--
-- Table structure for table `restaurant_table_envs`
--

CREATE TABLE `restaurant_table_envs` (
  `id` int(10) unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active` tinyint(1) NOT NULL,
  `tables_quantity` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_table_envs`
--

INSERT INTO `restaurant_table_envs` VALUES (1,'Ambiente 1',1,25),(2,'Ambiente 2',1,25),(3,'Ambiente 3',1,25),(4,'Ambiente 4',1,25);

--
-- Table structure for table `restaurant_tables`
--

CREATE TABLE `restaurant_tables` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `products` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`products`)),
  `total` decimal(12,2) NOT NULL,
  `personas` int(11) NOT NULL,
  `cliente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentarios` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `label` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `shape` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `environment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `waiter` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_tables`
--


--
-- Table structure for table `retention_documents`
--

CREATE TABLE `retention_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `retention_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_issue` date NOT NULL,
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_document` decimal(10,2) NOT NULL,
  `payments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`payments`)),
  `exchange_rate` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`exchange_rate`)),
  `date_of_retention` date NOT NULL,
  `total_retention` decimal(10,2) NOT NULL,
  `total_to_pay` decimal(10,2) NOT NULL,
  `total_payment` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `retention_documents_retention_id_foreign` (`retention_id`),
  KEY `retention_documents_document_type_id_foreign` (`document_type_id`),
  KEY `retention_documents_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `retention_documents_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `retention_documents_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `retention_documents_retention_id_foreign` FOREIGN KEY (`retention_id`) REFERENCES `retentions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_documents`
--


--
-- Table structure for table `sale_note_items`
--

CREATE TABLE `sale_note_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `system_isc_type_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inventory_kardex_id` int(10) unsigned DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `name_product_pdf` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_items_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_items_item_id_foreign` (`item_id`),
  KEY `sale_note_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `sale_note_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `sale_note_items_price_type_id_foreign` (`price_type_id`),
  KEY `sale_note_items_inventory_kardex_id_foreign` (`inventory_kardex_id`),
  KEY `sale_note_items_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `sale_note_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `sale_note_items_inventory_kardex_id_foreign` FOREIGN KEY (`inventory_kardex_id`) REFERENCES `inventory_kardex` (`id`),
  CONSTRAINT `sale_note_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `sale_note_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `sale_note_items_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sale_note_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`),
  CONSTRAINT `sale_note_items_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=87 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_items`
--

INSERT INTO `sale_note_items` VALUES (1,1,1486,'{\"stock\":\"100.0000\",\"id\":1486,\"item_id\":1486,\"full_description\":\"BI1486 - CABLE AUTOMOTRIZ #10\",\"name\":\"CABLE AUTOMOTRIZ #10\",\"second_name\":null,\"description\":\"CABLE AUTOMOTRIZ #10\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1486\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"MTR\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"0.5\",\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"100.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',0.5000,5.000000,'20',2.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,2.50,0.00,0.00,2.50,'[]','[]','[]',NULL,6553,NULL,NULL),(2,2,2170,'{\"stock\":\"0.0000\",\"id\":2170,\"item_id\":2170,\"full_description\":\"CONTROL PARA DECODIFICADOR\",\"name\":\"CONTROL PARA DECODIFICADOR\",\"second_name\":\"CONTROL\",\"description\":\"CONTROL PARA DECODIFICADOR\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"20.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"20.00\",\"aux_sale_unit_price\":\"20.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"20.00\",\"IdLoteSelected\":null}',1.0000,20.000000,'20',20.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',20.000000,20.00,0.00,0.00,20.00,'[]','[]','[]',NULL,6595,NULL,NULL),(3,3,2055,'{\"stock\":\"1.0000\",\"id\":2055,\"item_id\":2055,\"full_description\":\"BI2055 - ADAPTADOR VGA X HDMI\",\"name\":\"ADAPTADOR VGA X HDMI\",\"second_name\":null,\"description\":\"ADAPTADOR VGA X HDMI\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2055\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"28\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"28\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"28\",\"IdLoteSelected\":null}',1.0000,28.000000,'20',28.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',28.000000,28.00,0.00,0.00,28.00,'[]','[]','[]',NULL,6658,NULL,NULL),(4,3,2082,'{\"stock\":\"100.0000\",\"id\":2082,\"item_id\":2082,\"full_description\":\"BI2082 - CAPTURADOR DE VIDEO\",\"name\":\"CAPTURADOR DE VIDEO\",\"second_name\":null,\"description\":\"CAPTURADOR DE VIDEO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2082\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"62\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"62\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"100.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"62\",\"IdLoteSelected\":null}',1.0000,62.000000,'20',62.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',62.000000,62.00,0.00,0.00,62.00,'[]','[]','[]',NULL,6659,NULL,NULL),(5,4,204,'{\"stock\":\"2.0000\",\"id\":204,\"item_id\":204,\"full_description\":\"BI204 - ADAPTADOR RJ45 X USB - METAL\",\"name\":\"ADAPTADOR RJ45 X USB - METAL\",\"second_name\":null,\"description\":\"ADAPTADOR RJ45 X USB - METAL\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI204\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"48\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"48\",\"aux_sale_unit_price\":\"50.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":19,\"sets\":[],\"unit_type\":[],\"category\":\"ADAP.\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"48\",\"IdLoteSelected\":null}',1.0000,48.000000,'20',48.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',48.000000,48.00,0.00,0.00,48.00,'[]','[]','[]',NULL,6848,NULL,NULL),(6,5,1247,'{\"stock\":\"30.0000\",\"id\":1247,\"item_id\":1247,\"full_description\":\"BI1247 - CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"name\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"second_name\":null,\"description\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1247\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"5\",\"edit_sale_unit_price\":\"5\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"30.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5\",\"IdLoteSelected\":null}',5.0000,5.000000,'20',25.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,25.00,0.00,0.00,25.00,'[]','[]','[]',NULL,7091,NULL,NULL),(7,6,652,'{\"stock\":\"44.0000\",\"id\":652,\"item_id\":652,\"full_description\":\"BI652 - FILTRO DE REFRIGERACION\",\"name\":\"FILTRO DE REFRIGERACION\",\"second_name\":null,\"description\":\"FILTRO DE REFRIGERACION\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI652\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"6.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"6.50\",\"aux_sale_unit_price\":\"6.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"44.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"6.50\",\"IdLoteSelected\":null}',1.0000,6.500000,'20',6.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',6.500000,6.50,0.00,0.00,6.50,'[]','[]','[]',NULL,13623,NULL,NULL),(8,6,587,'{\"stock\":\"16.0000\",\"id\":587,\"item_id\":587,\"full_description\":\"BI587 - VALVULA DE GAS PICCHINA\",\"name\":\"VALVULA DE GAS PICCHINA\",\"second_name\":null,\"description\":\"VALVULA DE GAS PICCHINA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI587\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"6.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"6.00\",\"aux_sale_unit_price\":\"6.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"16.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"6.00\",\"IdLoteSelected\":null}',2.0000,6.000000,'20',12.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',6.000000,12.00,0.00,0.00,12.00,'[]','[]','[]',NULL,13624,NULL,NULL),(9,6,582,'{\"stock\":\"13.0000\",\"id\":582,\"item_id\":582,\"full_description\":\"BI582 - GAS DE REFRIGERACI\\u00d3N GLOBAL R-134A - 340G\",\"name\":\"GAS DE REFRIGERACI\\u00d3N GLOBAL R-134A - 340G\",\"second_name\":null,\"description\":\"GAS DE REFRIGERACI\\u00d3N GLOBAL R-134A - 340G\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI582\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"35.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"35.00\",\"aux_sale_unit_price\":\"35.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"13.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"35.00\",\"IdLoteSelected\":null}',1.0000,35.000000,'20',35.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',35.000000,35.00,0.00,0.00,35.00,'[]','[]','[]',NULL,13625,NULL,NULL),(10,7,498,'{\"stock\":\"50.0000\",\"id\":498,\"item_id\":498,\"full_description\":\"BI498 - COCODRILOS TIPO PINZA PEQUE\\u00d1OS\",\"name\":\"COCODRILOS TIPO PINZA PEQUE\\u00d1OS\",\"second_name\":null,\"description\":\"COCODRILOS TIPO PINZA PEQUE\\u00d1OS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI498\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"1.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"50.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"1.00\",\"IdLoteSelected\":null}',1.0000,1.000000,'20',1.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',1.000000,1.00,0.00,0.00,1.00,'[]','[]','[]',NULL,13808,NULL,NULL),(11,7,2010,'{\"stock\":\"200.0000\",\"id\":2010,\"item_id\":2010,\"full_description\":\"BI2010 - PRESINTOS GRANDES\",\"name\":\"PRESINTOS GRANDES\",\"second_name\":null,\"description\":\"PRESINTOS GRANDES\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2010\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"1.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"3\",\"edit_sale_unit_price\":\"1.50\",\"aux_sale_unit_price\":\"1.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"200.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"1.50\",\"IdLoteSelected\":null}',3.0000,1.500000,'20',4.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',1.500000,4.50,0.00,0.00,4.50,'[]','[]','[]',NULL,13809,NULL,NULL),(12,7,591,'{\"stock\":\"4.0000\",\"id\":591,\"item_id\":591,\"full_description\":\"BI591 - SILICONA EN SPRAY GRANDE\",\"name\":\"SILICONA EN SPRAY GRANDE\",\"second_name\":null,\"description\":\"SILICONA EN SPRAY GRANDE\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI591\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"12.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"12.00\",\"aux_sale_unit_price\":\"12.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"12.00\",\"IdLoteSelected\":null}',1.0000,12.000000,'20',12.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',12.000000,12.00,0.00,0.00,12.00,'[]','[]','[]',NULL,13810,NULL,NULL),(13,7,686,'{\"stock\":\"7.0000\",\"id\":686,\"item_id\":686,\"full_description\":\"BI686 - DESARMADOR REVERSIBLE MEDIANO\",\"name\":\"DESARMADOR REVERSIBLE MEDIANO\",\"second_name\":null,\"description\":\"DESARMADOR REVERSIBLE MEDIANO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI686\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"3.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"3.00\",\"aux_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"7.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"3.00\",\"IdLoteSelected\":null}',1.0000,3.000000,'20',3.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',3.000000,3.00,0.00,0.00,3.00,'[]','[]','[]',NULL,13811,NULL,NULL),(14,7,654,'{\"stock\":\"191.0000\",\"id\":654,\"item_id\":654,\"full_description\":\"BI654 - CUTTER ECONOMICO\",\"name\":\"CUTTER ECONOMICO\",\"second_name\":null,\"description\":\"CUTTER ECONOMICO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI654\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"191.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',2.0000,2.000000,'20',4.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,4.00,0.00,0.00,4.00,'[]','[]','[]',NULL,13812,NULL,NULL),(15,7,588,'{\"stock\":\"1.0000\",\"id\":588,\"item_id\":588,\"full_description\":\"BI588 - LLAVE PARA GAS DE REFRIGERACION\",\"name\":\"LLAVE PARA GAS DE REFRIGERACION\",\"second_name\":null,\"description\":\"LLAVE PARA GAS DE REFRIGERACION\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI588\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"7.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"7.00\",\"aux_sale_unit_price\":\"7.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"7.00\",\"IdLoteSelected\":null}',1.0000,7.000000,'20',7.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',7.000000,7.00,0.00,0.00,7.00,'[]','[]','[]',NULL,13813,NULL,NULL),(16,8,516,'{\"stock\":\"5.0000\",\"id\":516,\"item_id\":516,\"full_description\":\"BI516 - LINTERNA RECARGABLE 2 EN 1 OPALUX - 3W 220V\",\"name\":\"LINTERNA RECARGABLE 2 EN 1 OPALUX - 3W 220V\",\"second_name\":null,\"description\":\"LINTERNA RECARGABLE 2 EN 1 OPALUX - 3W 220V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI516\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"39.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"39.00\",\"aux_sale_unit_price\":\"39.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":33,\"sets\":[],\"unit_type\":[],\"category\":\"LUMINARIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"39.00\",\"IdLoteSelected\":null}',1.0000,39.000000,'20',39.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',39.000000,39.00,0.00,0.00,39.00,'[]','[]','[]',NULL,13967,NULL,NULL),(17,8,385,'{\"stock\":\"20.0000\",\"id\":385,\"item_id\":385,\"full_description\":\"BI385 - BATERIA SECA RECARGABLE DURACOM 6V - 4AH\",\"name\":\"BATERIA SECA RECARGABLE DURACOM 6V - 4AH\",\"second_name\":null,\"description\":\"BATERIA SECA RECARGABLE DURACOM 6V - 4AH\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI385\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"30.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"30.00\",\"aux_sale_unit_price\":\"30.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"20.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":26,\"sets\":[],\"unit_type\":[],\"category\":\"BATERIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"30.00\",\"IdLoteSelected\":null}',1.0000,30.000000,'20',30.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',30.000000,30.00,0.00,0.00,30.00,'[]','[]','[]',NULL,13968,NULL,NULL),(18,8,587,'{\"stock\":\"14.0000\",\"id\":587,\"item_id\":587,\"full_description\":\"BI587 - VALVULA DE GAS PICCHINA\",\"name\":\"VALVULA DE GAS PICCHINA\",\"second_name\":null,\"description\":\"VALVULA DE GAS PICCHINA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI587\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"6.5\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"6.5\",\"aux_sale_unit_price\":\"6.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"14.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"6.5\",\"IdLoteSelected\":null}',1.0000,6.500000,'20',6.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',6.500000,6.50,0.00,0.00,6.50,'[]','[]','[]',NULL,13969,NULL,NULL),(19,8,653,'{\"stock\":\"56.0000\",\"id\":653,\"item_id\":653,\"full_description\":\"BI653 - SOLDADURA DE PLATA\",\"name\":\"SOLDADURA DE PLATA\",\"second_name\":null,\"description\":\"SOLDADURA DE PLATA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI653\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"3.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"5\",\"edit_sale_unit_price\":\"3.50\",\"aux_sale_unit_price\":\"3.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"56.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"3.50\",\"IdLoteSelected\":null}',5.0000,3.500000,'20',17.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',3.500000,17.50,0.00,0.00,17.50,'[]','[]','[]',NULL,13970,NULL,NULL),(20,8,652,'{\"stock\":\"43.0000\",\"id\":652,\"item_id\":652,\"full_description\":\"BI652 - FILTRO DE REFRIGERACION\",\"name\":\"FILTRO DE REFRIGERACION\",\"second_name\":null,\"description\":\"FILTRO DE REFRIGERACION\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI652\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"6.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"6.50\",\"aux_sale_unit_price\":\"6.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"43.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"6.50\",\"IdLoteSelected\":null}',2.0000,6.500000,'20',13.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',6.500000,13.00,0.00,0.00,13.00,'[]','[]','[]',NULL,13971,NULL,NULL),(21,8,679,'{\"stock\":\"2.0000\",\"id\":679,\"item_id\":679,\"full_description\":\"BI679 - FUNDENTE PARA REFRIGERACION\",\"name\":\"FUNDENTE PARA REFRIGERACION\",\"second_name\":null,\"description\":\"FUNDENTE PARA REFRIGERACION\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI679\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":36,\"sets\":[],\"unit_type\":[],\"category\":\"REFRIGERACION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',1.0000,10.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,13972,NULL,NULL),(22,9,258,'{\"stock\":\"49.0000\",\"id\":258,\"item_id\":258,\"full_description\":\"BI258 - TRANSFORMADOR 12V 3A\",\"name\":\"TRANSFORMADOR 12V 3A\",\"second_name\":null,\"description\":\"TRANSFORMADOR 12V 3A\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI258\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"38.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"38.00\",\"aux_sale_unit_price\":\"38.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"49.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":24,\"sets\":[],\"unit_type\":[],\"category\":\"TRANSFORMADOR\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"38.00\",\"IdLoteSelected\":null}',2.0000,38.000000,'20',76.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',38.000000,76.00,0.00,0.00,76.00,'[]','[]','[]',NULL,14156,NULL,NULL),(23,9,2160,'{\"stock\":\"37.0000\",\"id\":2160,\"item_id\":2160,\"full_description\":\"BI2103 - BORNIZ PARA BATERIA\",\"name\":\"BORNIZ PARA BATERIA\",\"second_name\":null,\"description\":\"BORNIZ PARA BATERIA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2103\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"8.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"8.50\",\"aux_sale_unit_price\":\"8.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"37.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"8.50\",\"IdLoteSelected\":null}',1.0000,8.500000,'20',8.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',8.500000,8.50,0.00,0.00,8.50,'[]','[]','[]',NULL,14157,NULL,NULL),(24,9,214,'{\"stock\":\"41.0000\",\"id\":214,\"item_id\":214,\"full_description\":\"BI214 - BALOOM PARA CAMARA\",\"name\":\"BALOOM PARA CAMARA\",\"second_name\":null,\"description\":\"BALOOM PARA CAMARA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI214\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"15.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"15.00\",\"aux_sale_unit_price\":\"15.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"41.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":3,\"sets\":[],\"unit_type\":[],\"category\":\"INTERNET\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"15.00\",\"IdLoteSelected\":null}',1.0000,15.000000,'20',15.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',15.000000,15.00,0.00,0.00,15.00,'[]','[]','[]',NULL,14158,NULL,NULL),(25,9,499,'{\"stock\":\"223.0000\",\"id\":499,\"item_id\":499,\"full_description\":\"BI499 - COCODRILOS TIPO PINZA MEDIANOS\",\"name\":\"COCODRILOS TIPO PINZA MEDIANOS\",\"second_name\":null,\"description\":\"COCODRILOS TIPO PINZA MEDIANOS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI499\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"1.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"1.50\",\"aux_sale_unit_price\":\"1.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"223.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"1.50\",\"IdLoteSelected\":null}',1.0000,1.500000,'20',1.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',1.500000,1.50,0.00,0.00,1.50,'[]','[]','[]',NULL,14159,NULL,NULL),(26,10,157,'{\"stock\":\"4.0000\",\"id\":157,\"item_id\":157,\"full_description\":\"BI157 - RACK MOVIBLE PARA TV DE 23\\\"- 42\\\" - BATBLACK\",\"name\":\"RACK MOVIBLE PARA TV DE 23\\\"- 42\\\" - BATBLACK\",\"second_name\":null,\"description\":\"RACK MOVIBLE PARA TV DE 23\\\"- 42\\\" - BATBLACK\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI157\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"78\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"78\",\"aux_sale_unit_price\":\"79.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":13,\"sets\":[],\"unit_type\":[],\"category\":\"RACK\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"78\",\"IdLoteSelected\":null}',1.0000,78.000000,'20',78.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',78.000000,78.00,0.00,0.00,78.00,'[]','[]','[]',NULL,14662,NULL,NULL),(27,10,710,'{\"stock\":\"1.0000\",\"id\":710,\"item_id\":710,\"full_description\":\"BI710 - CAUTIN SAMWIN - 100W MANGO MADERA (CODIGO: WD-100W)\",\"name\":\"CAUTIN SAMWIN - 100W MANGO MADERA (CODIGO: WD-100W)\",\"second_name\":null,\"description\":\"CAUTIN SAMWIN - 100W MANGO MADERA (CODIGO: WD-100W)\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI710\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"46.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"46.00\",\"aux_sale_unit_price\":\"46.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"46.00\",\"IdLoteSelected\":null}',1.0000,46.000000,'20',46.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',46.000000,46.00,0.00,0.00,46.00,'[]','[]','[]',NULL,14663,NULL,NULL),(28,10,204,'{\"stock\":\"1.0000\",\"id\":204,\"item_id\":204,\"full_description\":\"BI204 - ADAPTADOR RJ45 X USB - METAL\",\"name\":\"ADAPTADOR RJ45 X USB - METAL\",\"second_name\":null,\"description\":\"ADAPTADOR RJ45 X USB - METAL\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI204\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"50.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"50.00\",\"aux_sale_unit_price\":\"50.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":19,\"sets\":[],\"unit_type\":[],\"category\":\"ADAP.\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"50.00\",\"IdLoteSelected\":null}',1.0000,50.000000,'20',50.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',50.000000,50.00,0.00,0.00,50.00,'[]','[]','[]',NULL,14664,NULL,NULL),(29,10,1270,'{\"stock\":\"16.0000\",\"id\":1270,\"item_id\":1270,\"full_description\":\"BI1270 - CABLE DE RED CAT.6 - 20 METROS\",\"name\":\"CABLE DE RED CAT.6 - 20 METROS\",\"second_name\":null,\"description\":\"CABLE DE RED CAT.6 - 20 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1270\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"28.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"28.00\",\"aux_sale_unit_price\":\"28.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"16.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"28.00\",\"IdLoteSelected\":null}',2.0000,28.000000,'20',56.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',28.000000,56.00,0.00,0.00,56.00,'[]','[]','[]',NULL,14665,NULL,NULL),(30,10,603,'{\"stock\":\"28.0000\",\"id\":603,\"item_id\":603,\"full_description\":\"BI603 - RESISTENCIA DE VULCANIZAR 650W\",\"name\":\"RESISTENCIA DE VULCANIZAR 650W\",\"second_name\":null,\"description\":\"RESISTENCIA DE VULCANIZAR 650W\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI603\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"28.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":37,\"sets\":[],\"unit_type\":[],\"category\":\"RESISTENCIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',1.0000,10.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,14666,NULL,NULL),(31,10,901,'{\"stock\":\"11.0000\",\"id\":901,\"item_id\":901,\"full_description\":\"BI901 - EXTENSION VULCANIZADA - 20 METROS\",\"name\":\"EXTENSION VULCANIZADA - 20 METROS\",\"second_name\":null,\"description\":\"EXTENSION VULCANIZADA - 20 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI901\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"50.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"50.00\",\"aux_sale_unit_price\":\"50.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"11.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":44,\"sets\":[],\"unit_type\":[],\"category\":\"EXTENSION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"50.00\",\"IdLoteSelected\":null}',1.0000,50.000000,'20',50.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',50.000000,50.00,0.00,0.00,50.00,'[]','[]','[]',NULL,14667,NULL,NULL),(32,10,2086,'{\"stock\":\"4300.0000\",\"id\":2086,\"item_id\":2086,\"full_description\":\"BI2086 - CABLE PODER - 3 METROS\",\"name\":null,\"second_name\":null,\"description\":\"CABLE PODER - 3 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2086\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"12.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"12.00\",\"aux_sale_unit_price\":\"12.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4300.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4300.0000\"}],\"category_id\":12,\"sets\":[],\"unit_type\":[],\"category\":\"AUTORRADIO\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"12.00\",\"IdLoteSelected\":null}',2.0000,12.000000,'20',24.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',12.000000,24.00,0.00,0.00,24.00,'[]','[]','[]',NULL,14668,NULL,NULL),(33,10,2236,'{\"stock\":\"4000.0000\",\"id\":2236,\"item_id\":2236,\"full_description\":\"BI2054 - CABLE DE AUDIO Y VIDEO 3X3 PVC - 1.8 METROS\",\"name\":null,\"second_name\":null,\"description\":\"CABLE DE AUDIO Y VIDEO 3X3 PVC - 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2054\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"5\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4000.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4000.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5\",\"IdLoteSelected\":null}',1.0000,5.000000,'20',5.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,5.00,0.00,0.00,5.00,'[]','[]','[]',NULL,14669,NULL,NULL),(34,10,830,'{\"stock\":\"50.0000\",\"id\":830,\"item_id\":830,\"full_description\":\"BI830 - CONTROL PARA TV LG\",\"name\":\"CONTROL PARA TV LG\",\"second_name\":null,\"description\":\"CONTROL PARA TV LG\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI830\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"50.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',1.0000,10.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,14670,NULL,NULL),(35,10,2044,'{\"stock\":\"4083.0000\",\"id\":2044,\"item_id\":2044,\"full_description\":\"BI2044 - CABLE DE AUDIO 1 PLUG X 2 RCA PVC - 1.8 METROS\",\"name\":null,\"second_name\":null,\"description\":\"CABLE DE AUDIO 1 PLUG X 2 RCA PVC - 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2044\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"6.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"3\",\"edit_sale_unit_price\":\"6.50\",\"aux_sale_unit_price\":\"6.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4083.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4099.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"6.50\",\"IdLoteSelected\":null}',3.0000,6.500000,'20',19.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',6.500000,19.50,0.00,0.00,19.50,'[]','[]','[]',NULL,14671,NULL,NULL),(36,10,502,'{\"stock\":\"1.0000\",\"id\":502,\"item_id\":502,\"full_description\":\"BI502 - LINTERNA FRONTAL RECARGABLE OPALUX - 5W 220V\",\"name\":\"LINTERNA FRONTAL RECARGABLE OPALUX - 5W 220V\",\"second_name\":null,\"description\":\"LINTERNA FRONTAL RECARGABLE OPALUX - 5W 220V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI502\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"29.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"29.00\",\"aux_sale_unit_price\":\"29.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":33,\"sets\":[],\"unit_type\":[],\"category\":\"LUMINARIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"29.00\",\"IdLoteSelected\":null}',1.0000,29.000000,'20',29.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',29.000000,29.00,0.00,0.00,29.00,'[]','[]','[]',NULL,14672,NULL,NULL),(37,10,1685,'{\"stock\":\"9.0000\",\"id\":1685,\"item_id\":1685,\"full_description\":\"BI1685 - RESISTENCIA DE SELLADORA 30CM\",\"name\":\"RESISTENCIA DE SELLADORA 30CM\",\"second_name\":null,\"description\":\"RESISTENCIA DE SELLADORA 30CM\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1685\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"9.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":34,\"sets\":[],\"unit_type\":[],\"category\":\"SELLADORA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',1.0000,10.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,14673,NULL,NULL),(38,10,686,'{\"stock\":\"6.0000\",\"id\":686,\"item_id\":686,\"full_description\":\"BI686 - DESARMADOR REVERSIBLE MEDIANO\",\"name\":\"DESARMADOR REVERSIBLE MEDIANO\",\"second_name\":null,\"description\":\"DESARMADOR REVERSIBLE MEDIANO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI686\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"3.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"3.00\",\"aux_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"6.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"3.00\",\"IdLoteSelected\":null}',1.0000,3.000000,'20',3.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',3.000000,3.00,0.00,0.00,3.00,'[]','[]','[]',NULL,14674,NULL,NULL),(39,10,654,'{\"stock\":\"189.0000\",\"id\":654,\"item_id\":654,\"full_description\":\"BI654 - CUTTER ECONOMICO\",\"name\":\"CUTTER ECONOMICO\",\"second_name\":null,\"description\":\"CUTTER ECONOMICO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI654\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"189.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',1.0000,2.000000,'20',2.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,14675,NULL,NULL),(40,10,786,'{\"stock\":\"102.0000\",\"id\":786,\"item_id\":786,\"full_description\":\"BI786 - CONTROL PARA TV LCD LG\",\"name\":\"CONTROL PARA TV LCD LG\",\"second_name\":null,\"description\":\"CONTROL PARA TV LCD LG\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI786\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"14.00\",\"aux_sale_unit_price\":\"14.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"102.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14.00\",\"IdLoteSelected\":null}',2.0000,14.000000,'20',28.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,28.00,0.00,0.00,28.00,'[]','[]','[]',NULL,14676,NULL,NULL),(41,10,1247,'{\"stock\":\"29.0000\",\"id\":1247,\"item_id\":1247,\"full_description\":\"BI1247 - CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"name\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"second_name\":null,\"description\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1247\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"4.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"29.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"4.00\",\"IdLoteSelected\":null}',2.0000,4.000000,'20',8.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',4.000000,8.00,0.00,0.00,8.00,'[]','[]','[]',NULL,14677,NULL,NULL),(42,10,2206,'{\"stock\":\"4100.0000\",\"id\":2206,\"item_id\":2206,\"full_description\":\"BI2118 - CUCHILLA OSTER ORIGINAL 4 ASPAS\",\"name\":null,\"second_name\":null,\"description\":\"CUCHILLA OSTER ORIGINAL 4 ASPAS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2118\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"1.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4100.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4100.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"1.00\",\"IdLoteSelected\":null}',2.0000,1.000000,'20',2.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',1.000000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,14678,NULL,NULL),(43,10,328,'{\"stock\":\"10.0000\",\"id\":328,\"item_id\":328,\"full_description\":\"BI328 - MICROFONO ALAMBRICO EALSEM (MODELO: ES-848)\",\"name\":\"MICROFONO ALAMBRICO EALSEM (MODELO: ES-848)\",\"second_name\":null,\"description\":\"MICROFONO ALAMBRICO EALSEM (MODELO: ES-848)\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI328\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"38.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"38.00\",\"aux_sale_unit_price\":\"38.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"10.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":14,\"sets\":[],\"unit_type\":[],\"category\":\"AUDIO\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"38.00\",\"IdLoteSelected\":null}',1.0000,38.000000,'20',38.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',38.000000,38.00,0.00,0.00,38.00,'[]','[]','[]',NULL,14679,NULL,NULL),(44,10,1248,'{\"stock\":\"57.0000\",\"id\":1248,\"item_id\":1248,\"full_description\":\"BI1248 - CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"name\":\"CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"second_name\":null,\"description\":\"CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1248\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"8.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"3\",\"edit_sale_unit_price\":\"8.00\",\"aux_sale_unit_price\":\"8.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"57.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"-1.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"8.00\",\"IdLoteSelected\":null}',3.0000,8.000000,'20',24.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',8.000000,24.00,0.00,0.00,24.00,'[]','[]','[]',NULL,14680,NULL,NULL),(45,10,787,'{\"stock\":\"26.0000\",\"id\":787,\"item_id\":787,\"full_description\":\"BI787 - CONTROL PARA TV LCD SAMSUMG\",\"name\":\"CONTROL PARA TV LCD SAMSUMG\",\"second_name\":null,\"description\":\"CONTROL PARA TV LCD SAMSUMG\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI787\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"4\",\"edit_sale_unit_price\":\"14.00\",\"aux_sale_unit_price\":\"14.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"26.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14.00\",\"IdLoteSelected\":null}',4.0000,14.000000,'20',56.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,56.00,0.00,0.00,56.00,'[]','[]','[]',NULL,14681,NULL,NULL),(46,10,2172,'{\"stock\":\"4003.0000\",\"id\":2172,\"item_id\":2172,\"full_description\":\"BI2115 - CUCHILLA OSTER ECONOMICA 4 ASPAS\",\"name\":null,\"second_name\":null,\"description\":\"CUCHILLA OSTER ECONOMICA 4 ASPAS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2115\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"14\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4003.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4000.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14\",\"IdLoteSelected\":null}',1.0000,14.000000,'20',14.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,14.00,0.00,0.00,14.00,'[]','[]','[]',NULL,14682,NULL,NULL),(47,10,20,'{\"stock\":\"2.0000\",\"id\":20,\"item_id\":20,\"full_description\":\"BI020 - MICROFONO INALAMBRICO BATBLACK UHF (MODELO: BT-M43)\",\"name\":\"MICROFONO INALAMBRICO BATBLACK UHF (MODELO: BT-M43)\",\"second_name\":null,\"description\":\"MICROFONO INALAMBRICO BATBLACK UHF (MODELO: BT-M43)\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI020\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"448.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"448.00\",\"aux_sale_unit_price\":\"448.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":4,\"sets\":[],\"unit_type\":[],\"category\":\"COMPUTADORA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"448.00\",\"IdLoteSelected\":null}',1.0000,448.000000,'20',448.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',448.000000,448.00,0.00,0.00,448.00,'[]','[]','[]',NULL,14683,NULL,NULL),(48,10,2123,'{\"stock\":\"100.0000\",\"id\":2123,\"item_id\":2123,\"full_description\":\"BI749 - BALANZA DIGITAL GRAMERA OPALUX\",\"name\":\"BALANZA DIGITAL GRAMERA OPALUX\",\"second_name\":null,\"description\":\"BALANZA DIGITAL GRAMERA OPALUX\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI749\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"42.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"42.00\",\"aux_sale_unit_price\":\"42.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"},{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"100.0000\"}],\"category_id\":39,\"sets\":[],\"unit_type\":[],\"category\":\"BALANZA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"42.00\",\"IdLoteSelected\":null}',1.0000,42.000000,'20',42.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',42.000000,42.00,0.00,0.00,42.00,'[]','[]','[]',NULL,14684,NULL,NULL),(49,10,256,'{\"stock\":\"33.0000\",\"id\":256,\"item_id\":256,\"full_description\":\"BI256 - TRANSFORMADOR 12V 2A\",\"name\":\"TRANSFORMADOR 12V 2A\",\"second_name\":null,\"description\":\"TRANSFORMADOR 12V 2A\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI256\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"18.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"18.00\",\"aux_sale_unit_price\":\"18.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"33.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":24,\"sets\":[],\"unit_type\":[],\"category\":\"TRANSFORMADOR\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"18.00\",\"IdLoteSelected\":null}',1.0000,18.000000,'20',18.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',18.000000,18.00,0.00,0.00,18.00,'[]','[]','[]',NULL,14685,NULL,NULL),(50,10,907,'{\"stock\":\"13.0000\",\"id\":907,\"item_id\":907,\"full_description\":\"BI907 - EXTENSION VULCANIZADA - 5 METROS\",\"name\":\"EXTENSION VULCANIZADA - 5 METROS\",\"second_name\":null,\"description\":\"EXTENSION VULCANIZADA - 5 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI907\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"23.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"23.00\",\"aux_sale_unit_price\":\"23.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"13.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":44,\"sets\":[],\"unit_type\":[],\"category\":\"EXTENSION\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"23.00\",\"IdLoteSelected\":null}',2.0000,23.000000,'20',46.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',23.000000,46.00,0.00,0.00,46.00,'[]','[]','[]',NULL,14686,NULL,NULL),(51,10,2237,'{\"stock\":\"4000.0000\",\"id\":2237,\"item_id\":2237,\"full_description\":\"BI2056 - CABLE DE AUDIO Y VIDEO 3X3 SATINADO - 1.8 METROS\",\"name\":null,\"second_name\":null,\"description\":\"CABLE DE AUDIO Y VIDEO 3X3 SATINADO - 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2056\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"7.5\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"7.5\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4000.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4000.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"7.5\",\"IdLoteSelected\":null}',2.0000,7.500000,'20',15.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',7.500000,15.00,0.00,0.00,15.00,'[]','[]','[]',NULL,14687,NULL,NULL),(52,10,245,'{\"stock\":\"19.0000\",\"id\":245,\"item_id\":245,\"full_description\":\"BI245 - TRANSFORMADOR 6V 1A\",\"name\":\"TRANSFORMADOR 6V 1A\",\"second_name\":null,\"description\":\"TRANSFORMADOR 6V 1A\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI245\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"17.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"17.00\",\"aux_sale_unit_price\":\"17.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"19.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":24,\"sets\":[],\"unit_type\":[],\"category\":\"TRANSFORMADOR\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"17.00\",\"IdLoteSelected\":null}',1.0000,17.000000,'20',17.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',17.000000,17.00,0.00,0.00,17.00,'[]','[]','[]',NULL,14688,NULL,NULL),(53,11,391,'{\"stock\":\"0.0000\",\"id\":391,\"item_id\":391,\"full_description\":\"BI391 - BATERIA SECA RECARGABLE 12V - 18AH\",\"name\":\"BATERIA SECA RECARGABLE 12V - 1AH\",\"second_name\":null,\"description\":\"BATERIA SECA RECARGABLE 12V - 18AH\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI391\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"225.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"225.00\",\"aux_sale_unit_price\":\"225.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":26,\"sets\":[],\"unit_type\":[],\"category\":\"BATERIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"225.00\",\"IdLoteSelected\":null}',1.0000,225.000000,'20',225.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',225.000000,225.00,0.00,0.00,225.00,'[]','[]','[]',NULL,14967,NULL,NULL),(54,12,160,'{\"stock\":\"4.0000\",\"id\":160,\"item_id\":160,\"full_description\":\"BI160 - RACK MOVIBLE PARA TV DE 32\\\"- 70\\\" - BATBLACK\",\"name\":\"RACK MOVIBLE PARA TV DE 32\\\"- 70\\\" - BATBLACK\",\"second_name\":null,\"description\":\"RACK MOVIBLE PARA TV DE 32\\\"- 70\\\" - BATBLACK\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI160\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"165.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"165.00\",\"aux_sale_unit_price\":\"165.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":13,\"sets\":[],\"unit_type\":[],\"category\":\"RACK\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"165.00\",\"IdLoteSelected\":null}',1.0000,165.000000,'20',165.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',165.000000,165.00,0.00,0.00,165.00,'[]','[]','[]',NULL,15071,NULL,NULL),(55,12,523,'{\"stock\":\"54.0000\",\"id\":523,\"item_id\":523,\"full_description\":\"BI523 - CINTA NEON 12V COLOR ROJO - 5 METROS\",\"name\":\"CINTA NEON 12V COLOR ROJO - 5 METROS\",\"second_name\":null,\"description\":\"CINTA NEON 12V COLOR ROJO - 5 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI523\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"3\",\"edit_sale_unit_price\":\"50\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"54.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":33,\"sets\":[],\"unit_type\":[],\"category\":\"LUMINARIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"50\",\"IdLoteSelected\":null}',3.0000,50.000000,'20',150.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',50.000000,150.00,0.00,0.00,150.00,'[]','[]','[]',NULL,15072,NULL,NULL),(56,12,785,'{\"stock\":\"55.0000\",\"id\":785,\"item_id\":785,\"full_description\":\"BI785 - CONTROL PARA TV LCD SONY\",\"name\":\"CONTROL PARA TV LCD SONY\",\"second_name\":null,\"description\":\"CONTROL PARA TV LCD SONY\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI785\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"14.00\",\"aux_sale_unit_price\":\"14.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"55.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14.00\",\"IdLoteSelected\":null}',1.0000,14.000000,'20',14.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,14.00,0.00,0.00,14.00,'[]','[]','[]',NULL,15073,NULL,NULL),(57,12,543,'{\"stock\":\"97.0000\",\"id\":543,\"item_id\":543,\"full_description\":\"BI543 - CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"name\":\"CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI543\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"97.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',1.0000,2.000000,'20',2.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,15074,NULL,NULL),(58,12,1188,'{\"stock\":\"100.0000\",\"id\":1188,\"item_id\":1188,\"full_description\":\"BI1188 - ENCHUFE DE HORNO\",\"name\":\"ENCHUFE DE HORNO\",\"second_name\":null,\"description\":\"ENCHUFE DE HORNO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1188\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"100.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',2.0000,5.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15075,NULL,NULL),(59,12,600,'{\"stock\":\"35.0000\",\"id\":600,\"item_id\":600,\"full_description\":\"BI600 - RESISTENCIA DE HORNO 1500W\",\"name\":\"RESISTENCIA DE HORNO 1500W\",\"second_name\":null,\"description\":\"RESISTENCIA DE HORNO 1500W\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI600\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"8.50\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"8.50\",\"aux_sale_unit_price\":\"8.50\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"35.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":37,\"sets\":[],\"unit_type\":[],\"category\":\"RESISTENCIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"8.50\",\"IdLoteSelected\":null}',1.0000,8.500000,'20',8.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',8.500000,8.50,0.00,0.00,8.50,'[]','[]','[]',NULL,15076,NULL,NULL),(60,12,1156,'{\"stock\":\"95.0000\",\"id\":1156,\"item_id\":1156,\"full_description\":\"BI1156 - PILAS PANASONIC AAA\",\"name\":\"PILAS PANASONIC AAA\",\"second_name\":null,\"description\":\"PILAS PANASONIC AAA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1156\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"95.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":47,\"sets\":[],\"unit_type\":[],\"category\":\"PILAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',2.0000,2.000000,'20',4.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,4.00,0.00,0.00,4.00,'[]','[]','[]',NULL,15077,NULL,NULL),(61,12,1161,'{\"stock\":\"129.0000\",\"id\":1161,\"item_id\":1161,\"full_description\":\"BI1161 - PILAS TOSHIBA 9V\",\"name\":\"PILAS TOSHIBA 9V\",\"second_name\":null,\"description\":\"PILAS TOSHIBA 9V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1161\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"129.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"97.0000\"}],\"category_id\":47,\"sets\":[],\"unit_type\":[],\"category\":\"PILAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',2.0000,5.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15078,NULL,NULL),(62,12,540,'{\"stock\":\"36.0000\",\"id\":540,\"item_id\":540,\"full_description\":\"BI540 - CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"name\":\"CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI540\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"36.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',2.0000,5.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15079,NULL,NULL),(63,12,1158,'{\"stock\":\"110.0000\",\"id\":1158,\"item_id\":1158,\"full_description\":\"BI1158 - PILAS DURACELL AAA\",\"name\":\"PILAS DURACELL AAA\",\"second_name\":null,\"description\":\"PILAS DURACELL AAA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1158\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"7.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"7.00\",\"aux_sale_unit_price\":\"7.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"110.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":47,\"sets\":[],\"unit_type\":[],\"category\":\"PILAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"7.00\",\"IdLoteSelected\":null}',1.0000,7.000000,'20',7.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',7.000000,7.00,0.00,0.00,7.00,'[]','[]','[]',NULL,15080,NULL,NULL),(64,12,256,'{\"stock\":\"52.0000\",\"id\":256,\"item_id\":256,\"full_description\":\"BI256 - TRANSFORMADOR 12V 2A\",\"name\":\"TRANSFORMADOR 12V 2A\",\"second_name\":null,\"description\":\"TRANSFORMADOR 12V 2A\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI256\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"18.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"18.00\",\"aux_sale_unit_price\":\"18.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"52.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":24,\"sets\":[],\"unit_type\":[],\"category\":\"TRANSFORMADOR\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"18.00\",\"IdLoteSelected\":null}',1.0000,18.000000,'20',18.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',18.000000,18.00,0.00,0.00,18.00,'[]','[]','[]',NULL,15081,NULL,NULL),(65,12,654,'{\"stock\":\"188.0000\",\"id\":654,\"item_id\":654,\"full_description\":\"BI654 - CUTTER ECONOMICO\",\"name\":\"CUTTER ECONOMICO\",\"second_name\":null,\"description\":\"CUTTER ECONOMICO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI654\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"188.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',1.0000,2.000000,'20',2.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,15082,NULL,NULL),(66,12,1160,'{\"stock\":\"111.0000\",\"id\":1160,\"item_id\":1160,\"full_description\":\"BI1160 - PILAS DURACELL 9V\",\"name\":\"PILAS DURACELL 9V\",\"second_name\":null,\"description\":\"PILAS DURACELL 9V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1160\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"15.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"10\",\"edit_sale_unit_price\":\"15.00\",\"aux_sale_unit_price\":\"15.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"111.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"100.0000\"}],\"category_id\":47,\"sets\":[],\"unit_type\":[],\"category\":\"PILAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"15.00\",\"IdLoteSelected\":null}',10.0000,15.000000,'20',150.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',15.000000,150.00,0.00,0.00,150.00,'[]','[]','[]',NULL,15083,NULL,NULL),(67,12,1248,'{\"stock\":\"54.0000\",\"id\":1248,\"item_id\":1248,\"full_description\":\"BI1248 - CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"name\":\"CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"second_name\":null,\"description\":\"CABLE PARA GRABADORA ORIGINAL 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1248\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"8.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"8.00\",\"aux_sale_unit_price\":\"8.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"54.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"-1.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"8.00\",\"IdLoteSelected\":null}',1.0000,8.000000,'20',8.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',8.000000,8.00,0.00,0.00,8.00,'[]','[]','[]',NULL,15084,NULL,NULL),(68,12,924,'{\"stock\":\"48.0000\",\"id\":924,\"item_id\":924,\"full_description\":\"BI924 - FOCO LED OPALUX - AMARILLO 7W 220V\",\"name\":\"FOCO LED OPALUX - AMARILLO 7W 220V\",\"second_name\":null,\"description\":\"FOCO LED OPALUX - AMARILLO 7W 220V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI924\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"14\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"48.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":33,\"sets\":[],\"unit_type\":[],\"category\":\"LUMINARIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14\",\"IdLoteSelected\":null}',1.0000,14.000000,'20',14.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,14.00,0.00,0.00,14.00,'[]','[]','[]',NULL,15085,NULL,NULL),(69,12,2206,'{\"stock\":\"4097.0000\",\"id\":2206,\"item_id\":2206,\"full_description\":\"BI2118 - CUCHILLA OSTER ORIGINAL 4 ASPAS\",\"name\":null,\"second_name\":null,\"description\":\"CUCHILLA OSTER ORIGINAL 4 ASPAS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2118\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"24\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"3\",\"edit_sale_unit_price\":\"24\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4097.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4098.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"24\",\"IdLoteSelected\":null}',3.0000,24.000000,'20',72.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',24.000000,72.00,0.00,0.00,72.00,'[]','[]','[]',NULL,15086,NULL,NULL),(70,12,786,'{\"stock\":\"98.0000\",\"id\":786,\"item_id\":786,\"full_description\":\"BI786 - CONTROL PARA TV LCD LG\",\"name\":\"CONTROL PARA TV LCD LG\",\"second_name\":null,\"description\":\"CONTROL PARA TV LCD LG\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI786\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"4\",\"edit_sale_unit_price\":\"14.00\",\"aux_sale_unit_price\":\"14.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"98.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14.00\",\"IdLoteSelected\":null}',4.0000,14.000000,'20',56.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,56.00,0.00,0.00,56.00,'[]','[]','[]',NULL,15087,NULL,NULL),(71,12,603,'{\"stock\":\"55.0000\",\"id\":603,\"item_id\":603,\"full_description\":\"BI603 - RESISTENCIA DE VULCANIZAR 650W\",\"name\":\"RESISTENCIA DE VULCANIZAR 650W\",\"second_name\":null,\"description\":\"RESISTENCIA DE VULCANIZAR 650W\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI603\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"55.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":37,\"sets\":[],\"unit_type\":[],\"category\":\"RESISTENCIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',2.0000,10.000000,'20',20.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,20.00,0.00,0.00,20.00,'[]','[]','[]',NULL,15088,NULL,NULL),(72,12,542,'{\"stock\":\"82.0000\",\"id\":542,\"item_id\":542,\"full_description\":\"BI542 - CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"name\":\"CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI542\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"4.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"4\",\"edit_sale_unit_price\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"82.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"49.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"4.00\",\"IdLoteSelected\":null}',4.0000,4.000000,'20',16.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',4.000000,16.00,0.00,0.00,16.00,'[]','[]','[]',NULL,15089,NULL,NULL),(73,12,1247,'{\"stock\":\"27.0000\",\"id\":1247,\"item_id\":1247,\"full_description\":\"BI1247 - CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"name\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"second_name\":null,\"description\":\"CABLE PARA GRABADORA ECONOMICO 1.8 METROS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1247\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"5\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"27.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":6,\"sets\":[],\"unit_type\":[],\"category\":\"CABLE\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5\",\"IdLoteSelected\":null}',2.0000,5.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15090,NULL,NULL),(74,13,543,'{\"stock\":\"96.0000\",\"id\":543,\"item_id\":543,\"full_description\":\"BI543 - CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"name\":\"CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE TECNOFAN PEQUE\\u00d1O COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI543\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"2.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"96.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"2.00\",\"IdLoteSelected\":null}',1.0000,2.000000,'20',2.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',2.000000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,15091,NULL,NULL),(75,13,1161,'{\"stock\":\"127.0000\",\"id\":1161,\"item_id\":1161,\"full_description\":\"BI1161 - PILAS TOSHIBA 9V\",\"name\":\"PILAS TOSHIBA 9V\",\"second_name\":null,\"description\":\"PILAS TOSHIBA 9V\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI1161\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"127.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"97.0000\"}],\"category_id\":47,\"sets\":[],\"unit_type\":[],\"category\":\"PILAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',1.0000,5.000000,'20',5.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,5.00,0.00,0.00,5.00,'[]','[]','[]',NULL,15092,NULL,NULL),(76,13,185,'{\"stock\":\"38.0000\",\"id\":185,\"item_id\":185,\"full_description\":\"BI185 - ADAPTADOR DE BLUETOOTH CON USB\",\"name\":\"ADAPTADOR DE BLUETOOTH CON USB - BLISTER\",\"second_name\":null,\"description\":\"ADAPTADOR DE BLUETOOTH CON USB\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI185\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"23.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"23.00\",\"aux_sale_unit_price\":\"23.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"38.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":14,\"sets\":[],\"unit_type\":[],\"category\":\"AUDIO\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"23.00\",\"IdLoteSelected\":null}',1.0000,23.000000,'20',23.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',23.000000,23.00,0.00,0.00,23.00,'[]','[]','[]',NULL,15093,NULL,NULL),(77,13,603,'{\"stock\":\"53.0000\",\"id\":603,\"item_id\":603,\"full_description\":\"BI603 - RESISTENCIA DE VULCANIZAR 650W\",\"name\":\"RESISTENCIA DE VULCANIZAR 650W\",\"second_name\":null,\"description\":\"RESISTENCIA DE VULCANIZAR 650W\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI603\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"10.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"10.00\",\"aux_sale_unit_price\":\"10.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"53.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":37,\"sets\":[],\"unit_type\":[],\"category\":\"RESISTENCIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"10.00\",\"IdLoteSelected\":null}',1.0000,10.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',10.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15094,NULL,NULL),(78,13,2266,'{\"stock\":\"4000.0000\",\"id\":2266,\"item_id\":2266,\"full_description\":\"BI2128 - EXTENSOR REPETIDOR DE WIFI - 2 ANTENAS\",\"name\":null,\"second_name\":null,\"description\":\"EXTENSOR REPETIDOR DE WIFI - 2 ANTENAS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI2128\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"98\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"98\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4000.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"4000.0000\"}],\"category_id\":0,\"sets\":[],\"unit_type\":[],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"98\",\"IdLoteSelected\":null}',2.0000,98.000000,'20',196.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',98.000000,196.00,0.00,0.00,196.00,'[]','[]','[]',NULL,15095,NULL,NULL),(79,13,786,'{\"stock\":\"94.0000\",\"id\":786,\"item_id\":786,\"full_description\":\"BI786 - CONTROL PARA TV LCD LG\",\"name\":\"CONTROL PARA TV LCD LG\",\"second_name\":null,\"description\":\"CONTROL PARA TV LCD LG\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI786\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"14.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"14.00\",\"aux_sale_unit_price\":\"14.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"94.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":42,\"sets\":[],\"unit_type\":[],\"category\":\"CONTROL\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"14.00\",\"IdLoteSelected\":null}',2.0000,14.000000,'20',28.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',14.000000,28.00,0.00,0.00,28.00,'[]','[]','[]',NULL,15096,NULL,NULL),(80,13,243,'{\"stock\":\"60.0000\",\"id\":243,\"item_id\":243,\"full_description\":\"BI243 - TRANSFORMADOR 5V 2A\",\"name\":\"TRANSFORMADOR 5V 2A\",\"second_name\":null,\"description\":\"TRANSFORMADOR 5V 2A\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI243\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"16.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"16.00\",\"aux_sale_unit_price\":\"16.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"60.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":24,\"sets\":[],\"unit_type\":[],\"category\":\"TRANSFORMADOR\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"16.00\",\"IdLoteSelected\":null}',1.0000,16.000000,'20',16.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',16.000000,16.00,0.00,0.00,16.00,'[]','[]','[]',NULL,15097,NULL,NULL),(81,13,542,'{\"stock\":\"78.0000\",\"id\":542,\"item_id\":542,\"full_description\":\"BI542 - CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"name\":\"CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE TECNOFAN GRANDE COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI542\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"4.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"78.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"49.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"4.00\",\"IdLoteSelected\":null}',2.0000,4.000000,'20',8.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',4.000000,8.00,0.00,0.00,8.00,'[]','[]','[]',NULL,15098,NULL,NULL),(82,13,385,'{\"stock\":\"13.0000\",\"id\":385,\"item_id\":385,\"full_description\":\"BI385 - BATERIA SECA RECARGABLE 6V - 4AH\",\"name\":\"BATERIA SECA RECARGABLE 6V - 4AH\",\"second_name\":null,\"description\":\"BATERIA SECA RECARGABLE 6V - 4AH\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI385\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"30.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"30.00\",\"aux_sale_unit_price\":\"30.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"13.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":26,\"sets\":[],\"unit_type\":[],\"category\":\"BATERIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"30.00\",\"IdLoteSelected\":null}',1.0000,30.000000,'20',30.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',30.000000,30.00,0.00,0.00,30.00,'[]','[]','[]',NULL,15099,NULL,NULL),(83,13,540,'{\"stock\":\"34.0000\",\"id\":540,\"item_id\":540,\"full_description\":\"BI540 - CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"name\":\"CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"second_name\":null,\"description\":\"CINTA AISLANTE 3M GRANDE COLOR NEGRO\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI540\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"5.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"5.00\",\"aux_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"34.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"50.0000\"}],\"category_id\":31,\"sets\":[],\"unit_type\":[],\"category\":\"FERRETERIA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"5.00\",\"IdLoteSelected\":null}',2.0000,5.000000,'20',10.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',5.000000,10.00,0.00,0.00,10.00,'[]','[]','[]',NULL,15100,NULL,NULL),(84,13,390,'{\"stock\":\"3.0000\",\"id\":390,\"item_id\":390,\"full_description\":\"BI390 - BATERIA SECA RECARGABLE 12V - 12AH\",\"name\":\"BATERIA SECA RECARGABLE 12V - 12AH\",\"second_name\":null,\"description\":\"BATERIA SECA RECARGABLE 12V - 12AH\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI390\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"175.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":\"2\",\"edit_sale_unit_price\":\"175.00\",\"aux_sale_unit_price\":\"175.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"-1.0000\"}],\"category_id\":26,\"sets\":[],\"unit_type\":[],\"category\":\"BATERIAS\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"175.00\",\"IdLoteSelected\":null}',2.0000,175.000000,'20',350.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',175.000000,350.00,0.00,0.00,350.00,'[]','[]','[]',NULL,15101,NULL,NULL),(85,13,747,'{\"stock\":\"16.0000\",\"id\":747,\"item_id\":747,\"full_description\":\"BI747 - BALANZA DIGITAL GRAMERA HASTA 7Kg (SF-400)\",\"name\":\"BALANZA DIGITAL GRAMERA HASTA 7Kg (SF-400)\",\"second_name\":null,\"description\":\"BALANZA DIGITAL GRAMERA HASTA 7Kg (SF-400)\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI747\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"38.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"38.00\",\"aux_sale_unit_price\":\"38.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"16.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":39,\"sets\":[],\"unit_type\":[],\"category\":\"BALANZA\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"38.00\",\"IdLoteSelected\":null}',1.0000,38.000000,'20',38.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',38.000000,38.00,0.00,0.00,38.00,'[]','[]','[]',NULL,15102,NULL,NULL),(86,13,689,'{\"stock\":\"72.0000\",\"id\":689,\"item_id\":689,\"full_description\":\"BI689 - CHEMMER (SUPER GLUE)\",\"name\":\"CHEMMER (SUPER GLUE) TOKAY\",\"second_name\":null,\"description\":\"CHEMMER (SUPER GLUE)\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI689\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":\"1.00\",\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/tantalean.softlte.net.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"72.0000\"},{\"warehouse_description\":\"Almac\\u00e9n - Sucursal\",\"stock\":\"0.0000\"}],\"category_id\":38,\"sets\":[],\"unit_type\":[],\"category\":\"PEGAMENTO\",\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"unit_price\":\"1.00\",\"IdLoteSelected\":null}',1.0000,1.000000,'20',1.00,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',1.000000,1.00,0.00,0.00,1.00,'[]','[]','[]',NULL,15103,NULL,NULL);

--
-- Table structure for table `sale_note_migration`
--

CREATE TABLE `sale_note_migration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_notes_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `success` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remote_id` int(10) unsigned NOT NULL DEFAULT 0,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `data` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_migration`
--


--
-- Table structure for table `sale_note_payments`
--

CREATE TABLE `sale_note_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_payments_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `sale_note_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `sale_note_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `sale_note_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `sale_note_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_note_payments_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_payments`
--

INSERT INTO `sale_note_payments` VALUES (1,1,'2022-12-19','01',0,NULL,NULL,NULL,2.50),(2,2,'2022-12-27','01',0,NULL,NULL,NULL,20.00),(3,3,'2023-01-03','01',0,NULL,NULL,NULL,90.00),(4,4,'2023-01-09','01',0,NULL,NULL,NULL,48.00),(5,5,'2023-01-10','01',0,NULL,NULL,NULL,25.00),(6,6,'2023-01-12','01',0,NULL,NULL,NULL,53.50),(7,7,'2023-01-12','01',0,NULL,NULL,NULL,31.50),(8,8,'2023-01-14','01',0,NULL,NULL,NULL,116.00),(9,9,'2023-01-15','01',0,NULL,NULL,NULL,101.00),(10,10,'2023-01-27','01',0,NULL,NULL,NULL,1148.50),(11,11,'2023-02-25','01',0,NULL,NULL,NULL,225.00),(12,12,'2023-03-01','01',0,NULL,NULL,NULL,746.50),(13,13,'2023-03-01','01',0,NULL,NULL,NULL,717.00);

--
-- Table structure for table `sale_notes`
--

CREATE TABLE `sale_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefix` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method_type_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `point_system` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indica si se uso en sistema por puntos',
  `point_system_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'datos de sistema por puntos' CHECK (json_valid(`point_system_data`)),
  `created_from_pos` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indica si se registro desde pos',
  `apply_concurrency` tinyint(1) NOT NULL DEFAULT 0,
  `enabled_concurrency` tinyint(1) NOT NULL DEFAULT 0,
  `automatic_date_of_issue` date DEFAULT NULL,
  `quantity_period` int(11) DEFAULT NULL,
  `type_period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `dispatch_ticket_pdf` tinyint(1) NOT NULL DEFAULT 0,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `additional_information` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unique_filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quotation_id` int(10) unsigned DEFAULT NULL,
  `order_note_id` int(10) unsigned DEFAULT NULL,
  `technical_service_id` int(10) unsigned DEFAULT NULL,
  `order_id` int(10) unsigned DEFAULT NULL,
  `total_canceled` tinyint(1) NOT NULL DEFAULT 0,
  `changed` tinyint(1) NOT NULL DEFAULT 0,
  `paid` tinyint(1) NOT NULL DEFAULT 0,
  `license_plate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plate_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_data` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `observation` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `purchase_order` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `user_rel_suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con suscripciones',
  `due_date` date DEFAULT NULL COMMENT 'Fecha de vencimiento',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT 0,
  `grade` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  `terms_condition` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sale_notes_unique_filename_unique` (`unique_filename`),
  KEY `sale_notes_user_id_foreign` (`user_id`),
  KEY `sale_notes_establishment_id_foreign` (`establishment_id`),
  KEY `sale_notes_customer_id_foreign` (`customer_id`),
  KEY `sale_notes_soap_type_id_foreign` (`soap_type_id`),
  KEY `sale_notes_state_type_id_foreign` (`state_type_id`),
  KEY `sale_notes_currency_type_id_foreign` (`currency_type_id`),
  KEY `sale_notes_quotation_id_foreign` (`quotation_id`),
  KEY `sale_notes_apply_concurrency_index` (`apply_concurrency`),
  KEY `sale_notes_type_period_index` (`type_period`),
  KEY `sale_notes_quantity_period_index` (`quantity_period`),
  KEY `sale_notes_automatic_date_of_issue_index` (`automatic_date_of_issue`),
  KEY `sale_notes_enabled_concurrency_index` (`enabled_concurrency`),
  KEY `sale_notes_order_note_id_foreign` (`order_note_id`),
  KEY `sale_notes_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `sale_notes_order_id_foreign` (`order_id`),
  KEY `sale_notes_technical_service_id_foreign` (`technical_service_id`),
  KEY `sale_notes_agent_id_foreign` (`agent_id`),
  KEY `sale_notes_changed_index` (`changed`),
  CONSTRAINT `sale_notes_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `agents` (`id`),
  CONSTRAINT `sale_notes_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_notes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sale_notes_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `sale_notes_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`),
  CONSTRAINT `sale_notes_order_note_id_foreign` FOREIGN KEY (`order_note_id`) REFERENCES `order_notes` (`id`),
  CONSTRAINT `sale_notes_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_notes_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`),
  CONSTRAINT `sale_notes_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `sale_notes_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `sale_notes_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`),
  CONSTRAINT `sale_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_notes`
--

INSERT INTO `sale_notes` VALUES (1,3,'7d36ea63-41a1-4e75-971b-5b3614299cbe',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',1,'2022-12-19','08:44:43',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.853,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.50,2.50,2.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-1-20221219','NV01-1-20221219',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2022-12-19 08:45:35','2022-12-19 08:45:35',3,NULL,NULL,NULL),(2,3,'22c0f139-2546-4a56-8489-a30740a1c416',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',2,'2022-12-27','15:27:06',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.823,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,20.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,20.00,20.00,20.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-2-20221227','NV01-2-20221227',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2022-12-27 15:29:03','2022-12-27 15:29:03',3,NULL,NULL,NULL),(3,3,'d24f2fbb-cdf3-49db-9580-9c841534a2e1',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',3,'2023-01-03','10:31:46',103,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"40529791\",\"name\":\"MOLINA ALVARADO, OSCAR DAVID\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010704\",\"district\":{\"id\":\"010704\",\"description\":\"El Milagro\"},\"address\":\"CASERIO LA PAPAYA\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.820,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,90.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,90.00,90.00,90.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-3-20230103','NV01-3-20230103',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-03 10:33:22','2023-01-03 10:33:23',3,NULL,NULL,NULL),(4,2,'b3e08e94-2964-46f7-a3cd-b50723617d7c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',4,'2023-01-09','16:08:44',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.806,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,48.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,48.00,48.00,48.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-4-20230109','NV01-4-20230109',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-09 16:10:01','2023-01-09 16:10:02',2,NULL,NULL,NULL),(5,2,'afd7edfd-718e-4a28-86b0-eb5c6666cec2',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',5,'2023-01-10','13:14:49',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.803,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,25.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,25.00,25.00,25.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-5-20230110','NV01-5-20230110',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-10 13:16:02','2023-01-10 13:16:02',2,NULL,NULL,NULL),(6,3,'88660822-93d0-4a7b-b789-4a45f62898fd',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',6,'2023-01-12','09:21:32',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.783,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,53.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,53.50,53.50,53.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-6-20230112','NV01-6-20230112',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-12 09:25:02','2023-01-12 09:25:03',3,NULL,NULL,NULL),(7,2,'911b2816-1b36-4f97-988f-43731dfd0d81',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',7,'2023-01-12','21:42:57',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.783,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,31.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,31.50,31.50,31.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-7-20230112','NV01-7-20230112',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-12 21:48:02','2023-01-12 21:48:03',2,NULL,NULL,NULL),(8,3,'4236ba24-5d64-45af-9b7f-d82944c1bcf1',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',8,'2023-01-14','10:11:14',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.806,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,116.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,116.00,116.00,116.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-8-20230114','NV01-8-20230114',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-14 10:24:58','2023-01-14 10:24:59',3,NULL,NULL,NULL),(9,3,'01c14e9d-4536-4007-b80b-5b2ba766ab9c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',9,'2023-01-15','08:39:20',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,1.000,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,101.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,101.00,101.00,101.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-9-20230115','NV01-9-20230115',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-15 08:50:37','2023-01-15 08:50:38',3,NULL,NULL,NULL),(10,3,'ae804e88-53c7-44c6-a328-d4b00997f5b4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',10,'2023-01-27','17:38:53',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.867,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1148.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1148.50,1148.50,1148.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-10-20230127','NV01-10-20230127',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-01-27 18:36:14','2023-01-27 18:36:17',3,NULL,NULL,NULL),(11,3,'5f2fe838-07ed-48a7-a9b4-71518584b981',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',11,'2023-02-25','17:27:34',215,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"42680204\",\"name\":\"SANCHEZ BAZAN, NORBIL\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"address\":\"JR. CAJAMARCA 700\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.820,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,225.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-11-20230225','NV01-11-20230225',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-02-25 17:28:56','2023-02-25 17:28:57',3,NULL,NULL,NULL),(12,2,'588fd77b-1727-4b7a-9ed3-6126d3d9983b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',12,'2023-03-01','12:23:56',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.810,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,746.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,746.50,746.50,746.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-12-20230301','NV01-12-20230301',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-03-01 12:54:48','2023-03-01 12:54:51',2,NULL,NULL,NULL),(13,2,'be28ec81-7f7d-4d31-a06a-4bd05aac55c3',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0102\",\"province\":{\"id\":\"0102\",\"description\":\"Bagua\"},\"district_id\":\"010201\",\"district\":{\"id\":\"010201\",\"description\":\"Bagua\"},\"urbanization\":null,\"address\":\"Av. Circunvalaci\\u00f3n #1417 Bagua - Amazonas\",\"email\":\"tantalean@gmail.com\",\"telephone\":\"976408580 - 041 261473\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','01','NV','NV01',13,'2023-03-01','12:37:13',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN',NULL,3.810,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,717.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,717.00,717.00,717.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-13-20230301','NV01-13-20230301',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-03-01 13:03:40','2023-03-01 13:03:42',2,NULL,NULL,NULL);

--
-- Table structure for table `sale_opportunities`
--

CREATE TABLE `sale_opportunities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefix` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `detail` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `observation` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunities_user_id_foreign` (`user_id`),
  KEY `sale_opportunities_establishment_id_foreign` (`establishment_id`),
  KEY `sale_opportunities_customer_id_foreign` (`customer_id`),
  KEY `sale_opportunities_soap_type_id_foreign` (`soap_type_id`),
  KEY `sale_opportunities_state_type_id_foreign` (`state_type_id`),
  KEY `sale_opportunities_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `sale_opportunities_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_opportunities_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sale_opportunities_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `sale_opportunities_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `sale_opportunities_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `sale_opportunities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunities`
--


--
-- Table structure for table `sale_opportunity_files`
--

CREATE TABLE `sale_opportunity_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_files_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `sale_opportunity_files_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_files`
--


--
-- Table structure for table `sale_opportunity_items`
--

CREATE TABLE `sale_opportunity_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_items_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  KEY `sale_opportunity_items_item_id_foreign` (`item_id`),
  KEY `sale_opportunity_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `sale_opportunity_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `sale_opportunity_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `sale_opportunity_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `sale_opportunity_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `sale_opportunity_items_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_items`
--


--
-- Table structure for table `series`
--

CREATE TABLE `series` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contingency` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_establishment_id_foreign` (`establishment_id`),
  KEY `series_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series`
--

INSERT INTO `series` VALUES (1,1,'01','F001',0,NULL,NULL),(2,1,'03','B001',0,NULL,NULL),(3,1,'07','FC01',0,NULL,NULL),(4,1,'07','BC01',0,NULL,NULL),(5,1,'08','FD01',0,NULL,NULL),(6,1,'08','BD01',0,NULL,NULL),(7,1,'20','R001',0,NULL,NULL),(8,1,'09','T001',0,NULL,NULL),(9,1,'40','P001',0,NULL,NULL),(10,1,'80','NV01',0,NULL,NULL),(11,1,'04','L001',0,NULL,NULL),(12,2,'01','F002',0,'2022-11-09 11:03:21','2022-11-09 11:03:21'),(13,2,'03','B002',0,'2022-11-09 11:03:33','2022-11-09 11:03:33'),(14,2,'07','FC02',0,'2022-11-09 11:03:44','2022-11-09 11:03:44'),(15,2,'08','BC02',0,'2022-11-09 11:04:07','2022-11-09 11:04:07'),(16,2,'20','R002',0,'2022-11-09 11:04:21','2022-11-09 11:04:21'),(17,2,'09','T002',0,'2022-11-09 11:04:33','2022-11-09 11:04:33'),(18,2,'40','P002',0,'2022-11-09 11:04:47','2022-11-09 11:04:47'),(19,2,'80','NV02',0,'2022-11-09 11:05:04','2022-11-09 11:05:04'),(20,2,'04','L002',0,'2022-11-09 11:05:19','2022-11-09 11:05:19'),(21,1,'U2','NIA1',0,'2022-12-18 13:28:32','2022-12-18 13:28:32'),(22,1,'U3','NSA1',0,'2022-12-18 13:28:32','2022-12-18 13:28:32'),(23,1,'U4','NTA1',0,'2022-12-18 13:28:32','2022-12-18 13:28:32'),(24,2,'U2','NIA2',0,'2022-12-18 13:28:32','2022-12-18 13:28:32'),(25,2,'U3','NSA2',0,'2022-12-18 13:28:32','2022-12-18 13:28:32'),(26,2,'U4','NTA2',0,'2022-12-18 13:28:32','2022-12-18 13:28:32');

--
-- Table structure for table `series_configurations`
--

CREATE TABLE `series_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `series_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_configurations_series_id_foreign` (`series_id`),
  KEY `series_configurations_series_index` (`series`),
  KEY `series_configurations_number_index` (`number`),
  KEY `series_configurations_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_configurations_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_configurations_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series_configurations`
--

INSERT INTO `series_configurations` VALUES (1,1,'01','F001','194','2022-11-09 11:00:09','2022-11-09 11:00:09'),(2,2,'03','B001','669','2022-11-09 11:01:25','2022-11-09 11:01:25'),(4,12,'01','F002','55','2022-11-09 11:06:07','2022-11-09 11:06:07'),(5,13,'03','B002','243','2022-11-09 11:06:29','2022-11-09 11:06:29');

--
-- Table structure for table `skins`
--

CREATE TABLE `skins` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `skins`
--

INSERT INTO `skins` VALUES (1,'Default','default.css',1,NULL,NULL),(2,'Light','light.css',1,NULL,NULL);

--
-- Table structure for table `soap_types`
--

CREATE TABLE `soap_types` (
  `id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  KEY `soap_types_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `soap_types`
--

INSERT INTO `soap_types` VALUES ('01','Demo'),('02','Producción'),('03','Interno');

--
-- Table structure for table `state_types`
--

CREATE TABLE `state_types` (
  `id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  KEY `state_types_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `state_types`
--

INSERT INTO `state_types` VALUES ('01','Registrado'),('03','Enviado'),('05','Aceptado'),('07','Observado'),('09','Rechazado'),('11','Anulado'),('13','Por anular');

--
-- Table structure for table `status_orders`
--

CREATE TABLE `status_orders` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status_orders`
--

INSERT INTO `status_orders` VALUES (1,'Pago sin verificar','2022-11-07 23:08:20',NULL),(2,'Pago verificado','2022-11-07 23:08:20',NULL),(3,'Despachado','2022-11-07 23:08:20',NULL),(4,'Confirmado por el cliente','2022-11-07 23:08:20',NULL);

--
-- Table structure for table `summaries`
--

CREATE TABLE `summaries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `summary_status_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ubl_version` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unique_filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ticket` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `has_ticket` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`soap_shipping_response`)),
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_signature_pse`)),
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_send_cdr_pse`)),
  `unknown_error_status_response` tinyint(1) NOT NULL DEFAULT 0,
  `manually_regularized` tinyint(1) NOT NULL DEFAULT 0,
  `error_manually_regularized` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`error_manually_regularized`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `summaries_unique_filename_unique` (`unique_filename`),
  KEY `summaries_user_id_foreign` (`user_id`),
  KEY `summaries_soap_type_id_foreign` (`soap_type_id`),
  KEY `summaries_state_type_id_foreign` (`state_type_id`),
  KEY `summaries_summary_status_type_id_foreign` (`summary_status_type_id`),
  KEY `summaries_date_of_issue_index` (`date_of_issue`),
  CONSTRAINT `summaries_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `summaries_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `summaries_summary_status_type_id_foreign` FOREIGN KEY (`summary_status_type_id`) REFERENCES `cat_summary_status_types` (`id`),
  CONSTRAINT `summaries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summaries`
--

INSERT INTO `summaries` VALUES (1,2,'fb068260-5317-482d-b0a9-b2dc718bab66','02','05','1','2.0','2022-11-15','2022-11-15','RC-20221115-1','20606828994-RC-20221115-1','20606828994-RC-20221115-1','202210383630843',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221115-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-15 17:17:53','2022-11-15 17:17:58'),(2,1,'2760b9bd-889d-4ccb-880a-0af805356647','02','05','1','2.0','2022-11-18','2022-11-17','RC-20221118-1','20606828994-RC-20221118-1','20606828994-RC-20221118-1','202210400128281',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221118-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-18 00:00:22','2022-11-18 00:30:21'),(4,1,'45544c15-31b7-4788-baec-b4d01ab7bd20','02','05','1','2.0','2022-11-19','2022-11-18','RC-20221119-1','20606828994-RC-20221119-1','20606828994-RC-20221119-1','202210407479217',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221119-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-19 00:00:20','2022-11-19 00:30:07'),(7,1,'cf7d4d1b-bf83-45b1-a4a7-7716a5e5705b','02','05','1','2.0','2022-11-20','2022-11-19','RC-20221120-1','20606828994-RC-20221120-1','20606828994-RC-20221120-1','202210414371700',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221120-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-20 00:00:17','2022-11-20 00:30:11'),(8,1,'26123be0-95c3-49f0-a9d1-8a48beef6485','02','05','1','2.0','2022-11-22','2022-11-21','RC-20221122-1','20606828994-RC-20221122-1','20606828994-RC-20221122-1','202210426994302',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221122-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-22 00:00:23','2022-11-22 00:30:07'),(11,1,'08d014ba-d059-41c6-b649-7c387f8e515e','02','05','1','2.0','2022-11-23','2022-11-22','RC-20221123-1','20606828994-RC-20221123-1','20606828994-RC-20221123-1','202210434314105',0,0,NULL,0,NULL,NULL,1,1,'{\"message\":\"Code: env:Server; Description: Internal Error (from server)\"}','2022-11-23 00:00:18','2022-11-23 11:31:26'),(12,1,'0c1a1885-0980-4ba9-854e-b628ca0e4d93','02','05','1','2.0','2022-11-24','2022-11-23','RC-20221124-1','20606828994-RC-20221124-1','20606828994-RC-20221124-1','202210441296156',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221124-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-24 00:00:25','2022-11-24 00:30:09'),(14,1,'9521fd38-3efa-42b4-82cd-797863b89495','02','05','1','2.0','2022-11-25','2022-11-24','RC-20221125-1','20606828994-RC-20221125-1','20606828994-RC-20221125-1','202210448024313',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221125-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-25 00:00:15','2022-11-25 00:30:06'),(16,1,'371da0ae-3245-4a7b-abbd-f63906863286','02','05','1','2.0','2022-11-26','2022-11-25','RC-20221126-1','20606828994-RC-20221126-1','20606828994-RC-20221126-1','202210455326016',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221126-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-26 00:00:27','2022-11-26 00:30:11'),(18,1,'02691d20-51ed-4e0c-807a-d219e01d2c91','02','05','1','2.0','2022-11-27','2022-11-26','RC-20221127-1','20606828994-RC-20221127-1','20606828994-RC-20221127-1','202210462129319',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221127-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-27 00:00:25','2022-11-27 00:30:09'),(20,1,'e9220164-b5e5-468a-8a92-0aa6bd8b4b08','02','05','1','2.0','2022-11-28','2022-11-27','RC-20221128-1','20606828994-RC-20221128-1','20606828994-RC-20221128-1','202210467720789',0,0,NULL,0,NULL,NULL,1,1,'{\"message\":\"Code: 133; Description:  - El sistema no puede responder su solicitud. (No se pudo grabar la entrada del log)\\n\\t\\t         Detalle:xxx.xxx.xxx value=\'ticket: 202210467720789 error: Error al tratar de dejar traza: \'\"}','2022-11-28 00:00:11','2022-11-28 20:23:33'),(22,2,'41822d30-315f-4909-b801-0bd24658a602','02','05','1','2.0','2022-11-28','2022-11-27','RC-20221128-2','20606828994-RC-20221128-2','20606828994-RC-20221128-2','202210473884778',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221128-2, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-28 20:29:44','2022-11-28 20:29:48'),(23,1,'a2faaf0a-c20c-4ce3-8960-58bbd3ae069b','02','05','1','2.0','2022-11-29','2022-11-28','RC-20221129-1','20606828994-RC-20221129-1','20606828994-RC-20221129-1','202210474969701',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221129-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-29 00:00:18','2022-11-29 00:30:12'),(25,2,'c289c2b6-3009-4365-9899-3f1f62b6c4df','02','05','1','2.0','2022-11-29','2022-11-29','RC-20221129-2','20606828994-RC-20221129-2','20606828994-RC-20221129-2','202210481396860',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221129-2, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-11-29 21:34:00','2022-11-29 21:34:06'),(26,1,'09cc5eb5-7cc0-4a05-b6b2-3c7e248d2bf0','02','05','1','2.0','2022-12-01','2022-11-30','RC-20221201-1','20606828994-RC-20221201-1','20606828994-RC-20221201-1','202210489938550',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221201-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-01 00:00:20','2022-12-01 00:30:09'),(29,1,'c118d42b-2e0d-444c-8649-fc9f2ac7d7da','02','05','1','2.0','2022-12-02','2022-12-01','RC-20221202-1','20606828994-RC-20221202-1','20606828994-RC-20221202-1','202210497852207',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221202-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-02 00:00:21','2022-12-02 00:30:08'),(30,1,'bd5e3140-07f7-4ad8-aaa9-04cb81ea59e6','02','05','1','2.0','2022-12-04','2022-12-03','RC-20221204-1','20606828994-RC-20221204-1','20606828994-RC-20221204-1','202210513856916',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221204-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-04 00:00:23','2022-12-04 00:30:07'),(32,1,'35c67262-18f6-487d-9ff1-70797dec5cc9','02','05','1','2.0','2022-12-06','2022-12-05','RC-20221206-1','20606828994-RC-20221206-1','20606828994-RC-20221206-1','202210526705439',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221206-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-06 00:00:32','2022-12-06 00:30:08'),(34,2,'f4a8cca3-6e94-4a67-beee-4ccf79e51cc3','02','05','3','2.0','2022-12-27','2022-12-26','RC-20221227-1','20606828994-RC-20221227-1','20606828994-RC-20221227-1','202210675986083',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221227-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-27 15:19:59','2022-12-27 15:20:10'),(35,1,'d01f0dfd-73e0-45b3-8ec2-61a70dbd434b','02','05','1','2.0','2022-12-28','2022-12-27','RC-20221228-1','20606828994-RC-20221228-1','20606828994-RC-20221228-1','202210679739084',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221228-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-28 00:00:17','2022-12-28 00:30:06'),(37,1,'73c50a65-5e3e-40e1-9a91-4adab3ddc791','02','05','1','2.0','2022-12-29','2022-12-28','RC-20221229-1','20606828994-RC-20221229-1','20606828994-RC-20221229-1','202210687785438',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221229-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-29 00:00:09','2022-12-29 00:30:05'),(39,1,'5d4a4f8f-48b6-4a6d-a8fc-9d63e1b40235','02','05','1','2.0','2022-12-30','2022-12-29','RC-20221230-1','20606828994-RC-20221230-1','20606828994-RC-20221230-1','202210695828329',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20221230-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2022-12-30 00:00:13','2022-12-30 00:30:10'),(42,1,'27bd8f75-e498-413b-9258-3ff7daf6052c','02','05','1','2.0','2023-01-01','2022-12-31','RC-20230101-1','20606828994-RC-20230101-1','20606828994-RC-20230101-1','202310710382805',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230101-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-01 00:00:14','2023-01-01 00:30:05'),(43,1,'3eb4d58f-146d-481f-9f8c-cf3d8cd9c58e','02','05','1','2.0','2023-01-03','2023-01-02','RC-20230103-1','20606828994-RC-20230103-1','20606828994-RC-20230103-1','202310724305602',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230103-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-03 00:00:16','2023-01-03 00:30:08'),(45,1,'fe7d157c-1045-4868-abe3-cad229204b15','02','05','1','2.0','2023-01-04','2023-01-03','RC-20230104-1','20606828994-RC-20230104-1','20606828994-RC-20230104-1','202310736103228',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230104-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-04 00:00:11','2023-01-04 00:30:07'),(47,1,'cf5ff529-4a44-48bf-8a59-7ed3ce3ea9cb','02','05','1','2.0','2023-01-06','2023-01-05','RC-20230106-1','20606828994-RC-20230106-1','20606828994-RC-20230106-1','202310751450517',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230106-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-06 00:00:11','2023-01-06 00:30:11'),(49,1,'dfa49dfd-fd0d-4989-b67a-eef910e67347','02','05','1','2.0','2023-01-07','2023-01-06','RC-20230107-1','20606828994-RC-20230107-1','20606828994-RC-20230107-1','202310759293932',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Resumen de comprobantes numero RC-20230107-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-07 00:00:10','2023-01-07 00:30:09'),(52,1,'03956756-eb0a-4a27-a33e-47e70f547e15','02','05','1','2.0','2023-01-08','2023-01-07','RC-20230108-1','20606828994-RC-20230108-1','20606828994-RC-20230108-1','202310766609350',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230108-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-08 00:00:17','2023-01-08 00:30:08'),(53,1,'fc7d0097-32fd-47ed-9932-96983704b01e','02','05','1','2.0','2023-01-09','2023-01-08','RC-20230109-1','20606828994-RC-20230109-1','20606828994-RC-20230109-1','202310773273499',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230109-1, ha sido aceptado\",\"notes\":[\"4027 - El importe total no coincide con la sumatoria de los valores de venta mas los tributos mas los cargos - Error en la linea: 1. : 4027 (nodo: \\\"sac:SummaryDocumentsLine\\/sac:TotalAmount\\\" valor: \\\"2630\\\")\"],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-09 00:00:06','2023-01-10 00:30:06'),(55,1,'3b970eca-b007-42f4-a68a-c1e69f97433e','02','05','1','2.0','2023-01-10','2023-01-09','RC-20230110-1','20606828994-RC-20230110-1','20606828994-RC-20230110-1','202310781022472',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230110-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-10 00:00:14','2023-01-10 00:30:07'),(57,1,'be3748c6-fa90-4144-85db-cb3d34ad8ed6','02','05','1','2.0','2023-01-11','2023-01-10','RC-20230111-1','20606828994-RC-20230111-1','20606828994-RC-20230111-1','202310788797993',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230111-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-11 00:00:13','2023-01-11 00:30:07'),(59,1,'8a9d8fc2-7d76-4c83-b6d3-28db3ee008b1','02','05','1','2.0','2023-01-12','2023-01-11','RC-20230112-1','20606828994-RC-20230112-1','20606828994-RC-20230112-1','202310796776560',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230112-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-12 00:00:06','2023-01-12 00:30:06'),(61,1,'02524115-65c0-4908-a262-bc1eecfa8e8d','02','05','1','2.0','2023-01-13','2023-01-12','RC-20230113-1','20606828994-RC-20230113-1','20606828994-RC-20230113-1','202310804509368',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230113-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-13 00:00:16','2023-01-13 00:30:07'),(63,1,'1c7b8125-3e40-4e3f-83da-6da03b72c71a','02','05','1','2.0','2023-01-14','2023-01-13','RC-20230114-1','20606828994-RC-20230114-1','20606828994-RC-20230114-1','202310810905222',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230114-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-14 00:00:10','2023-01-14 00:30:23'),(65,1,'22fcbd68-b0a6-4857-aab2-f8cb7ab8ac73','02','05','1','2.0','2023-01-15','2023-01-14','RC-20230115-1','20606828994-RC-20230115-1','20606828994-RC-20230115-1','202310817478974',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230115-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-15 00:00:20','2023-01-15 00:30:07'),(67,1,'e7a3e484-3345-4ad3-bce7-9a1738ff38cb','02','05','1','2.0','2023-01-16','2023-01-15','RC-20230116-1','20606828994-RC-20230116-1','20606828994-RC-20230116-1','202310823438780',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230116-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-16 00:00:07','2023-01-16 00:30:05'),(69,1,'b0a302ad-7ca4-439f-a100-7641dce8014b','02','05','1','2.0','2023-01-17','2023-01-16','RC-20230117-1','20606828994-RC-20230117-1','20606828994-RC-20230117-1','202310831195007',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230117-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-17 00:00:11','2023-01-17 00:30:07'),(72,1,'4bf31fff-a78d-4f36-80ff-3828fb0f60e7','02','05','1','2.0','2023-01-18','2023-01-17','RC-20230118-1','20606828994-RC-20230118-1','20606828994-RC-20230118-1','202310838904958',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230118-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-18 00:00:12','2023-01-18 00:30:15'),(73,1,'8c3d2669-2732-4afa-9bc8-ae0cd4ac1ac2','02','05','1','2.0','2023-01-19','2023-01-18','RC-20230119-1','20606828994-RC-20230119-1','20606828994-RC-20230119-1','202310846969168',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230119-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-19 00:00:15','2023-01-19 00:30:09'),(76,1,'7c54b31e-0d0a-415a-b095-03c2f3da63f2','02','05','1','2.0','2023-01-20','2023-01-19','RC-20230120-1','20606828994-RC-20230120-1','20606828994-RC-20230120-1','202310853867543',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230120-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-20 00:00:10','2023-01-20 00:30:07'),(78,1,'fe784f3f-df1b-4a8b-8ca5-5464332d4a7e','02','05','1','2.0','2023-01-21','2023-01-20','RC-20230121-1','20606828994-RC-20230121-1','20606828994-RC-20230121-1','202310859850110',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230121-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-21 00:00:15','2023-01-21 00:30:07'),(79,1,'70d07a89-50d0-4172-9014-f0c918dbc8de','02','05','1','2.0','2023-01-22','2023-01-21','RC-20230122-1','20606828994-RC-20230122-1','20606828994-RC-20230122-1','202310865447344',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Resumen de comprobantes numero RC-20230122-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-22 00:00:36','2023-01-23 00:30:11'),(81,1,'b5c7d35f-5597-4b65-90d0-500ad75232c4','02','05','1','2.0','2023-01-27','2023-01-26','RC-20230127-1','20606828994-RC-20230127-1','20606828994-RC-20230127-1','202310892259801',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230127-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-27 00:00:18','2023-01-27 00:30:14'),(84,1,'b40a77e9-f9f1-4853-a226-a1f872803ab7','02','05','1','2.0','2023-01-28','2023-01-27','RC-20230128-1','20606828994-RC-20230128-1','20606828994-RC-20230128-1','202310898510058',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230128-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-28 00:00:36','2023-01-28 00:30:10'),(85,1,'4155cc32-af40-452e-841d-39566a03686d','02','05','1','2.0','2023-01-29','2023-01-28','RC-20230129-1','20606828994-RC-20230129-1','20606828994-RC-20230129-1','202310904701285',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230129-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-29 00:00:25','2023-01-29 00:30:11'),(87,1,'1f7f1c3f-0173-4616-bbab-d6d180450afa','02','05','1','2.0','2023-01-31','2023-01-30','RC-20230131-1','20606828994-RC-20230131-1','20606828994-RC-20230131-1','202310915233319',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230131-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-01-31 00:00:29','2023-01-31 00:30:08'),(89,1,'7db06db4-2008-49d1-bdf3-79d973d08efd','02','05','1','2.0','2023-02-01','2023-01-31','RC-20230201-1','20606828994-RC-20230201-1','20606828994-RC-20230201-1','202310919473648',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230201-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-01 00:00:32','2023-02-01 00:30:17'),(91,1,'384b1cb5-f1c7-4cb4-9e79-c6df5b67443a','02','05','1','2.0','2023-02-02','2023-02-01','RC-20230202-1','20606828994-RC-20230202-1','20606828994-RC-20230202-1','202310927601402',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230202-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-02 00:00:22','2023-02-02 00:30:10'),(94,1,'7753da12-58dd-421f-afce-6913a499e8d1','02','05','1','2.0','2023-02-03','2023-02-02','RC-20230203-1','20606828994-RC-20230203-1','20606828994-RC-20230203-1','202310934120245',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230203-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-03 00:00:13','2023-02-03 00:30:10'),(95,1,'c02fce5d-241d-483e-b0bc-ec341d20f4e9','02','05','1','2.0','2023-02-04','2023-02-03','RC-20230204-1','20606828994-RC-20230204-1','20606828994-RC-20230204-1','202310940873303',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230204-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-04 00:00:12','2023-02-04 00:30:07'),(98,1,'d97def93-5640-4c62-8ee9-da390784baa5','02','05','1','2.0','2023-02-05','2023-02-04','RC-20230205-1','20606828994-RC-20230205-1','20606828994-RC-20230205-1','202310947603887',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230205-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-05 00:00:20','2023-02-05 00:30:07'),(105,1,'23c2f2b5-feb9-4022-977c-d189757e63e8','02','05','1','2.0','2023-02-08','2023-02-07','RC-20230208-1','20606828994-RC-20230208-1','20606828994-RC-20230208-1','202310965014589',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230208-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-08 00:00:14','2023-02-08 00:30:08'),(108,1,'d03af77d-e3c1-46ac-bf1a-68f9ff7b3029','02','05','1','2.0','2023-02-09','2023-02-08','RC-20230209-1','20606828994-RC-20230209-1','20606828994-RC-20230209-1','202310970651515',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230209-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-09 00:00:34','2023-02-09 00:30:10'),(110,1,'9f1780b7-ad92-4042-8b23-62e17ecb96a3','02','05','1','2.0','2023-02-10','2023-02-09','RC-20230210-1','20606828994-RC-20230210-1','20606828994-RC-20230210-1','202310976569646',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230210-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-10 00:00:30','2023-02-10 00:30:10'),(111,1,'2516637f-411c-421e-b4e8-c3494d7f27a1','02','05','1','2.0','2023-02-11','2023-02-10','RC-20230211-1','20606828994-RC-20230211-1','20606828994-RC-20230211-1','202310982765511',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230211-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-11 00:00:31','2023-02-11 00:30:10'),(113,1,'db30ea0d-9cc4-427b-b199-cd6c2c451ebe','02','05','1','2.0','2023-02-14','2023-02-13','RC-20230214-1','20606828994-RC-20230214-1','20606828994-RC-20230214-1','202310999611738',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230214-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-14 00:00:22','2023-02-14 00:30:14'),(115,1,'3c747e5b-74bf-46db-8eae-82315f903881','02','05','1','2.0','2023-02-16','2023-02-15','RC-20230216-1','20606828994-RC-20230216-1','20606828994-RC-20230216-1','202311011396761',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230216-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-16 00:00:27','2023-02-16 00:30:10'),(117,1,'0067b9dc-90df-40f8-b084-cde3c0e353a8','02','05','1','2.0','2023-02-18','2023-02-17','RC-20230218-1','20606828994-RC-20230218-1','20606828994-RC-20230218-1','202311023550399',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230218-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-18 00:00:26','2023-02-18 00:30:06'),(119,1,'04b3b7c9-29da-4f33-913b-f30af0f5d78e','02','05','1','2.0','2023-02-19','2023-02-18','RC-20230219-1','20606828994-RC-20230219-1','20606828994-RC-20230219-1','202311028612399',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230219-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-19 00:00:26','2023-02-19 00:30:07'),(121,1,'e35dab17-0683-4de0-83b5-22a4f1f10688','02','05','1','2.0','2023-02-20','2023-02-19','RC-20230220-1','20606828994-RC-20230220-1','20606828994-RC-20230220-1','202311032459582',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230220-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-20 00:00:10','2023-02-20 00:30:06'),(124,1,'b33d07f9-0376-4bb1-8777-4fb51c57a4cb','02','05','1','2.0','2023-02-21','2023-02-20','RC-20230221-1','20606828994-RC-20230221-1','20606828994-RC-20230221-1','202311038102180',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230221-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-21 00:00:41','2023-02-21 00:30:19'),(125,1,'c274252a-187c-4cee-82ff-c258509637a2','02','05','1','2.0','2023-02-22','2023-02-21','RC-20230222-1','20606828994-RC-20230222-1','20606828994-RC-20230222-1','202311044124329',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230222-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-22 00:00:31','2023-02-22 00:30:06'),(126,1,'11aab75e-ff4d-484d-a8ad-6558fabcd78e','02','05','1','2.0','2023-02-23','2023-02-22','RC-20230223-1','20606828994-RC-20230223-1','20606828994-RC-20230223-1','202311050522347',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230223-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-23 00:00:18','2023-02-23 00:30:08'),(129,1,'0e35194c-5644-47da-9c03-e49b2e4ac37d','02','05','1','2.0','2023-02-24','2023-02-23','RC-20230224-1','20606828994-RC-20230224-1','20606828994-RC-20230224-1','202311056351972',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230224-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-24 00:00:42','2023-02-24 00:30:08'),(130,1,'13b35363-ead6-4335-b292-8f75e52f1a5d','02','05','1','2.0','2023-02-25','2023-02-24','RC-20230225-1','20606828994-RC-20230225-1','20606828994-RC-20230225-1','202311062487760',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230225-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-25 00:00:19','2023-02-25 00:30:08'),(136,1,'30507210-1e25-4c07-a105-0205008707b4','02','05','1','2.0','2023-02-27','2023-02-25','RC-20230227-1','20606828994-RC-20230227-1','20606828994-RC-20230227-1','202311072383461',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230227-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-27 00:00:14','2023-02-27 00:30:06'),(138,1,'f9f5af59-b866-421e-8edf-1197dfa71454','02','05','1','2.0','2023-02-27','2023-02-26','RC-20230227-2','20606828994-RC-20230227-2','20606828994-RC-20230227-2','202311072383690',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230227-2, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-27 00:00:18','2023-02-27 00:30:08'),(140,1,'910e4f90-b244-49ea-be0f-46c454506329','02','05','1','2.0','2023-02-28','2023-02-27','RC-20230228-1','20606828994-RC-20230228-1','20606828994-RC-20230228-1','202311078483156',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Resumen de comprobantes numero RC-20230228-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-02-28 00:00:26','2023-02-28 00:30:07'),(142,1,'954e7461-7b76-4528-8dad-883f69d788ca','02','05','1','2.0','2023-03-01','2023-02-28','RC-20230301-1','20606828994-RC-20230301-1','20606828994-RC-20230301-1','202311085179755',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230301-1, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-03-01 00:00:21','2023-03-01 00:30:10'),(144,1,'77a28df7-5491-4f68-af34-d96d3a7eb7d0','02','05','1','2.0','2023-03-01','2023-03-01','RC-20230301-2','20606828994-RC-20230301-2','20606828994-RC-20230301-2','202311091077803',0,0,'{\"sent\":true,\"code\":\"0\",\"description\":\"El Comprobante RC-20230301-2, ha sido aceptado\",\"notes\":[],\"is_accepted\":true,\"status_code\":0}',0,NULL,NULL,0,0,NULL,'2023-03-01 20:55:37','2023-03-01 20:55:42');

--
-- Table structure for table `summary_documents`
--

CREATE TABLE `summary_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `summary_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `summary_documents_summary_id_foreign` (`summary_id`),
  KEY `summary_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `summary_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `summary_documents_summary_id_foreign` FOREIGN KEY (`summary_id`) REFERENCES `summaries` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=273 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summary_documents`
--

INSERT INTO `summary_documents` VALUES (1,1,9,NULL),(2,1,10,NULL),(3,2,11,NULL),(4,4,14,NULL),(5,4,15,NULL),(6,7,16,NULL),(7,8,17,NULL),(8,8,18,NULL),(9,8,20,NULL),(10,11,21,NULL),(11,11,22,NULL),(12,11,23,NULL),(13,12,24,NULL),(14,14,25,NULL),(15,16,26,NULL),(16,18,28,NULL),(17,18,29,NULL),(18,18,30,NULL),(19,18,31,NULL),(20,18,32,NULL),(21,20,33,NULL),(22,20,34,NULL),(23,20,35,NULL),(24,20,36,NULL),(25,20,37,NULL),(26,22,33,NULL),(27,22,34,NULL),(28,22,35,NULL),(29,22,36,NULL),(30,22,37,NULL),(31,23,38,NULL),(32,25,40,NULL),(33,25,41,NULL),(34,26,42,NULL),(35,26,43,NULL),(36,29,44,NULL),(37,30,45,NULL),(38,30,46,NULL),(39,30,47,NULL),(40,30,48,NULL),(41,32,49,NULL),(42,32,50,NULL),(43,32,51,NULL),(44,32,53,NULL),(45,32,54,NULL),(46,34,117,'igv'),(47,35,120,NULL),(48,35,121,NULL),(49,37,122,NULL),(50,39,125,NULL),(51,39,126,NULL),(52,39,127,NULL),(53,39,128,NULL),(54,42,129,NULL),(55,42,130,NULL),(56,42,131,NULL),(57,42,132,NULL),(58,42,133,NULL),(59,42,134,NULL),(60,42,135,NULL),(61,43,136,NULL),(62,43,137,NULL),(63,43,138,NULL),(64,45,139,NULL),(65,45,140,NULL),(66,45,141,NULL),(67,47,142,NULL),(68,47,143,NULL),(69,49,147,NULL),(70,52,148,NULL),(71,53,149,NULL),(72,53,151,NULL),(73,53,152,NULL),(74,55,153,NULL),(75,57,154,NULL),(76,57,155,NULL),(77,57,156,NULL),(78,57,157,NULL),(79,57,158,NULL),(80,59,159,NULL),(81,59,160,NULL),(82,61,161,NULL),(83,61,162,NULL),(84,61,163,NULL),(85,61,164,NULL),(86,61,165,NULL),(87,61,166,NULL),(88,61,167,NULL),(89,61,169,NULL),(90,63,170,NULL),(91,63,171,NULL),(92,63,173,NULL),(93,65,174,NULL),(94,65,176,NULL),(95,65,177,NULL),(96,65,178,NULL),(97,65,179,NULL),(98,65,180,NULL),(99,67,181,NULL),(100,67,182,NULL),(101,69,183,NULL),(102,69,184,NULL),(103,69,185,NULL),(104,69,186,NULL),(105,69,187,NULL),(106,72,188,NULL),(107,72,189,NULL),(108,72,190,NULL),(109,73,191,NULL),(110,76,192,NULL),(111,78,193,NULL),(112,78,194,NULL),(113,79,195,NULL),(114,79,196,NULL),(115,79,197,NULL),(116,79,198,NULL),(117,81,199,NULL),(118,81,200,NULL),(119,84,201,NULL),(120,84,202,NULL),(121,84,203,NULL),(122,84,204,NULL),(123,84,205,NULL),(124,85,206,NULL),(125,85,207,NULL),(126,85,208,NULL),(127,87,209,NULL),(128,87,210,NULL),(129,87,211,NULL),(130,87,212,NULL),(131,87,213,NULL),(132,87,214,NULL),(133,89,215,NULL),(134,89,216,NULL),(135,89,218,NULL),(136,91,219,NULL),(137,91,221,NULL),(138,91,222,NULL),(139,91,223,NULL),(140,94,224,NULL),(141,94,226,NULL),(142,95,229,NULL),(143,95,230,NULL),(144,95,231,NULL),(145,95,232,NULL),(146,95,233,NULL),(147,95,234,NULL),(148,98,235,NULL),(149,98,236,NULL),(150,98,237,NULL),(151,98,238,NULL),(152,98,240,NULL),(153,98,241,NULL),(154,98,242,NULL),(185,105,249,NULL),(186,108,250,NULL),(187,108,251,NULL),(188,108,252,NULL),(189,108,253,NULL),(190,110,254,NULL),(191,110,255,NULL),(192,110,257,NULL),(193,111,258,NULL),(194,111,262,NULL),(195,113,264,NULL),(196,115,266,NULL),(197,117,267,NULL),(198,119,268,NULL),(199,121,269,NULL),(200,124,270,NULL),(201,124,271,NULL),(202,124,272,NULL),(203,124,273,NULL),(204,124,275,NULL),(205,124,277,NULL),(206,125,278,NULL),(207,125,279,NULL),(208,125,280,NULL),(209,125,281,NULL),(210,126,282,NULL),(211,126,283,NULL),(212,126,284,NULL),(213,126,285,NULL),(214,129,286,NULL),(215,129,288,NULL),(216,129,289,NULL),(217,129,290,NULL),(218,130,293,NULL),(247,136,294,NULL),(248,136,296,NULL),(249,136,297,NULL),(250,136,298,NULL),(251,136,300,NULL),(252,136,301,NULL),(253,136,302,NULL),(254,138,303,NULL),(255,138,304,NULL),(256,138,305,NULL),(257,138,306,NULL),(258,138,307,NULL),(259,138,308,NULL),(260,138,309,NULL),(261,138,310,NULL),(262,138,311,NULL),(263,138,312,NULL),(264,140,313,NULL),(265,140,314,NULL),(266,142,315,NULL),(267,142,317,NULL),(268,142,318,NULL),(269,142,320,NULL),(270,142,321,NULL),(271,142,322,NULL),(272,144,323,NULL);

--
