(261,62,200,'{\"stock\":117,\"id\":200,\"item_id\":200,\"full_description\":\"37668 - APRONAX 550 mg\",\"name\":\"APRONAX 550 mg\",\"second_name\":null,\"description\":\"APRONAX 550 mg - BAYER S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"37668\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"117.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":324,\"description\":\"Unidad\",\"item_id\":200,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"324NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"BAYER S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":197,\"code\":\"20101276\",\"quantity\":118,\"date_of_due\":\"2029-01-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"NAPROXENO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":324,\"description\":\"Unidad\",\"item_id\":200,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"324NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":197}',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,1189,NULL,NULL),
(262,62,814,'{\"stock\":10,\"id\":814,\"item_id\":814,\"full_description\":\"AGUA GOTA\",\"name\":null,\"second_name\":null,\"description\":\"AGUA GOTA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":2,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"10.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":7,\"presentation\":{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"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,1190,NULL,NULL),
(263,62,720,'{\"stock\":35,\"id\":720,\"item_id\":720,\"full_description\":\"JERINGA DESCARTABLE ESTERIL 21GX11\\/2\\\" 5ML\",\"name\":null,\"second_name\":null,\"description\":\"JERINGA DESCARTABLE ESTERIL 21GX11\\/2\\\" 5ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":0.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"0.50\",\"aux_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"35.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":974,\"description\":\"Unidad\",\"item_id\":720,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"974NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":732,\"code\":\"20250714J\",\"quantity\":36,\"date_of_due\":\"2030-07-14\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":6,\"presentation\":{\"id\":974,\"description\":\"Unidad\",\"item_id\":720,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"974NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":0.5,\"IdLoteSelected\":732}',1.0000,0.500000,'20',0.50,18.00,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'01',0.500000,0.50,0.00,0.00,0.50,'[]','[]','[]',NULL,1191,NULL,NULL),
(264,62,600,'{\"stock\":6,\"id\":600,\"item_id\":600,\"full_description\":\"KOTEX NORMAL\",\"name\":null,\"second_name\":null,\"description\":\"KOTEX NORMAL\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":4.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"4.50\",\"aux_sale_unit_price\":\"4.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"6.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":854,\"description\":\"Unidad\",\"item_id\":600,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"854NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":616,\"code\":\"040426F4\",\"quantity\":8,\"date_of_due\":\"2028-04-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":854,\"description\":\"Unidad\",\"item_id\":600,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"854NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":4.5,\"IdLoteSelected\":616}',1.0000,4.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',4.500000,4.50,0.00,0.00,4.50,'[]','[]','[]',NULL,1192,NULL,NULL),
(265,63,271,'{\"stock\":131,\"id\":271,\"item_id\":271,\"full_description\":\"47494 - FLUCONAZOL 150 mg\",\"name\":\"FLUCONAZOL 150 mg\",\"second_name\":null,\"description\":\"FLUCONAZOL 150 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"47494\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":3,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"131.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":467,\"description\":\"Unidad\",\"item_id\":271,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"467NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":271,\"code\":\"2043495\",\"quantity\":131,\"date_of_due\":\"2028-04-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"FLUCONAZOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":467,\"description\":\"Unidad\",\"item_id\":271,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"467NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":271}',3.0000,1.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',1.000000,3.00,0.00,0.00,3.00,'[]','[]','[]',NULL,1193,NULL,NULL),
(266,64,814,'{\"stock\":8,\"id\":814,\"item_id\":814,\"full_description\":\"AGUA GOTA\",\"name\":null,\"second_name\":null,\"description\":\"AGUA GOTA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":2,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"8.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":7,\"presentation\":{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"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,1194,NULL,NULL),
(267,65,565,'{\"stock\":32,\"id\":565,\"item_id\":565,\"full_description\":\"BUKCITO\",\"name\":null,\"second_name\":null,\"description\":\"BUKCITO\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"32.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":819,\"description\":\"Unidad\",\"item_id\":565,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"819NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":578,\"code\":\"001026\",\"quantity\":33,\"date_of_due\":\"2029-01-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":819,\"description\":\"Unidad\",\"item_id\":565,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"819NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":578}',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,1195,NULL,NULL),
(268,65,815,'{\"stock\":4,\"id\":815,\"item_id\":815,\"full_description\":\"AGUA SAN CARLOS 3L\",\"name\":null,\"second_name\":null,\"description\":\"AGUA SAN CARLOS 3L\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":4,\"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\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1069,\"description\":\"Unidad\",\"item_id\":815,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1069NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":8,\"presentation\":{\"id\":1069,\"description\":\"Unidad\",\"item_id\":815,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1069NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":4,\"IdLoteSelected\":null}',1.0000,4.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',4.000000,4.00,0.00,0.00,4.00,'[]','[]','[]',NULL,1196,NULL,NULL),
(269,65,286,'{\"stock\":96,\"id\":286,\"item_id\":286,\"full_description\":\"48591 - CLINDAMICINA 300 mg\",\"name\":\"CLINDAMICINA 300 mg\",\"second_name\":null,\"description\":\"CLINDAMICINA 300 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"48591\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"96.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":509,\"description\":\"Unidad\",\"item_id\":286,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"509NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":287,\"code\":\"2067435\",\"quantity\":103,\"date_of_due\":\"2028-06-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CLINDAMICINA CLORHIDRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":509,\"description\":\"Unidad\",\"item_id\":286,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"509NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":287}',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,1197,NULL,NULL),
(270,65,190,'{\"stock\":160,\"id\":190,\"item_id\":190,\"full_description\":\"50912 - DOLOCORDRALAN EXTRA FORTE\",\"name\":\"DOLOCORDRALAN EXTRA FORTE 500 mg + 50 mg\",\"second_name\":null,\"description\":\"DOLOCORDRALAN EXTRA FORTE - ANSOLAT S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"50912\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"160.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":299,\"description\":\"Unidad\",\"item_id\":190,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"299NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"ANSOLAT S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":186,\"code\":\"1073469\",\"quantity\":169,\"date_of_due\":\"2027-07-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CIANOCOBALAMINA + DICLOFENACO SODICO + TIAMINA CLORHIDRATO + CLORHIDRATO DE PIRIDOXINA\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":299,\"description\":\"Unidad\",\"item_id\":190,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"299NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":186}',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,1198,NULL,NULL),
(271,66,827,'{\"stock\":26,\"id\":827,\"item_id\":827,\"full_description\":\"HELADO DONITO\",\"name\":null,\"second_name\":null,\"description\":\"HELADO DONITO\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"26.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1081,\"description\":\"Unidad\",\"item_id\":827,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1081NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":4,\"presentation\":{\"id\":1081,\"description\":\"Unidad\",\"item_id\":827,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1081NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"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,1199,NULL,NULL),
(272,67,77,'{\"stock\":3,\"id\":77,\"item_id\":77,\"full_description\":\"60414 - SILDENAFILO Tableta Recubierta 50 mg\",\"name\":\"SILDENAFILO Tableta Recubierta 50 mg\",\"second_name\":null,\"description\":\"SILDENAFILO Tableta Recubierta 50 mg - LABORATORIOS SIEGFRIED S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"60414\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":94,\"description\":\"Unidad\",\"item_id\":77,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"94NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS SIEGFRIED S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":74,\"code\":\"2107425\",\"quantity\":4,\"date_of_due\":\"2028-10-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"SILDENAFILO CITRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":94,\"description\":\"Unidad\",\"item_id\":77,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"94NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":74}',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,1200,NULL,NULL),
(273,68,830,'{\"stock\":13,\"id\":830,\"item_id\":830,\"full_description\":\"HELADO SIN PARAR\",\"name\":null,\"second_name\":null,\"description\":\"HELADO SIN PARAR\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"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\":\"10\",\"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:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"13.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1084,\"description\":\"Unidad\",\"item_id\":830,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1084NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":13,\"presentation\":{\"id\":1084,\"description\":\"Unidad\",\"item_id\":830,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1084NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"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,1201,NULL,NULL),
(274,69,255,'{\"stock\":360,\"id\":255,\"item_id\":255,\"full_description\":\"48748 - IBUPROFENO 400 mg\",\"name\":\"IBUPROFENO 400 mg\",\"second_name\":null,\"description\":\"IBUPROFENO 400 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"48748\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":0.2,\"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\":10,\"edit_sale_unit_price\":\"0.20\",\"aux_sale_unit_price\":\"0.20\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"360.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":421,\"description\":\"Unidad\",\"item_id\":255,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"421NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":255,\"code\":\"2107295\",\"quantity\":60,\"date_of_due\":\"2027-10-31\",\"checked\":false,\"compromise_quantity\":0},{\"id\":254,\"code\":\"2021436\",\"quantity\":300,\"date_of_due\":\"2028-02-29\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"IBUPROFENO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":7,\"presentation\":{\"id\":421,\"description\":\"Unidad\",\"item_id\":255,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"421NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":0.2,\"IdLoteSelected\":255}',10.0000,0.200000,'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',0.200000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,1202,NULL,NULL),
(275,70,154,'{\"stock\":63,\"id\":154,\"item_id\":154,\"full_description\":\"57592 - ANAFLEX\\u00ae MUJER\",\"name\":\"ANAFLEX\\u00ae MUJER 200 mg\",\"second_name\":null,\"description\":\"ANAFLEX\\u00ae MUJER - LABORATORIOS BAGO DEL PERU S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"57592\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1.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\":\"10\",\"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:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"63.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":224,\"description\":\"Unidad\",\"item_id\":154,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"224NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS BAGO DEL PERU S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":150,\"code\":\"2033445\",\"quantity\":63,\"date_of_due\":\"2026-11-21\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"IBUPROFENO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":224,\"description\":\"Unidad\",\"item_id\":154,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"224NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1.5,\"IdLoteSelected\":150}',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,1203,NULL,NULL),
(276,71,804,'{\"stock\":24,\"id\":804,\"item_id\":804,\"full_description\":\"KR NARANJA\",\"name\":null,\"second_name\":null,\"description\":\"KR NARANJA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"24.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1058,\"description\":\"Unidad\",\"item_id\":804,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1058NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":1058,\"description\":\"Unidad\",\"item_id\":804,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1058NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"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,1204,NULL,NULL),
(277,71,825,'{\"stock\":15,\"id\":825,\"item_id\":825,\"full_description\":\"HELADO MINI SANWISH\",\"name\":null,\"second_name\":null,\"description\":\"HELADO MINI SANWISH\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":3,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"15.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1079,\"description\":\"Unidad\",\"item_id\":825,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1079NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":8,\"presentation\":{\"id\":1079,\"description\":\"Unidad\",\"item_id\":825,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1079NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":null}',3.0000,2.000000,'20',6.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,6.00,0.00,0.00,6.00,'[]','[]','[]',NULL,1205,NULL,NULL),
(278,71,150,'{\"stock\":127,\"id\":150,\"item_id\":150,\"full_description\":\"42812 - GASEOVET\",\"name\":\"GASEOVET 40 mg\",\"second_name\":null,\"description\":\"GASEOVET - MEDIFARMA S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"42812\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":3,\"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\":\"3.00\",\"aux_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"127.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":218,\"description\":\"Unidad\",\"item_id\":150,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"218NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"MEDIFARMA S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":146,\"code\":\"2082734\",\"quantity\":128,\"date_of_due\":\"2027-08-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"SIMETICONA\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":2,\"presentation\":{\"id\":218,\"description\":\"Unidad\",\"item_id\":150,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"218NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":3,\"IdLoteSelected\":146}',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,1206,NULL,NULL),
(279,71,121,'{\"stock\":5,\"id\":121,\"item_id\":121,\"full_description\":\"DOLOCORDRALAN EXTRA FORTE NF CAPSULA\",\"name\":null,\"second_name\":null,\"description\":\"DOLOCORDRALAN EXTRA FORTE NF CAPSULA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":151,\"description\":\"Unidad\",\"item_id\":121,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"151NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":117,\"code\":\"2118014\",\"quantity\":5,\"date_of_due\":\"2026-11-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":151,\"description\":\"Unidad\",\"item_id\":121,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"151NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":117}',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,1207,NULL,NULL),
(280,71,74,'{\"stock\":13,\"id\":74,\"item_id\":74,\"full_description\":\"39733 - DETALLE + Tableta Recubierta 1.5 mg\",\"name\":\"DETALLE + Tableta Recubierta 1.5 mg\",\"second_name\":null,\"description\":\"DETALLE + Tableta Recubierta 1.5 mg - GRUPO EMPRESARIAL MENDOZA FARMACEUTICAS S.A.C.- GEMEFAR S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"39733\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":12,\"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\":\"12.00\",\"aux_sale_unit_price\":\"12.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"13.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":88,\"description\":\"Unidad\",\"item_id\":74,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"88NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"GRUPO EMPRESARIAL MENDOZA FARMACEUTICAS S.A.C.- GEMEFAR S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":71,\"code\":\"E89925001\",\"quantity\":13,\"date_of_due\":\"2028-03-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"LEVONORGESTREL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":88,\"description\":\"Unidad\",\"item_id\":74,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"88NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":12,\"IdLoteSelected\":71}',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,1208,NULL,NULL),
(281,71,271,'{\"stock\":128,\"id\":271,\"item_id\":271,\"full_description\":\"47494 - FLUCONAZOL 150 mg\",\"name\":\"FLUCONAZOL 150 mg\",\"second_name\":null,\"description\":\"FLUCONAZOL 150 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"47494\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"128.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":467,\"description\":\"Unidad\",\"item_id\":271,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"467NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":271,\"code\":\"2043495\",\"quantity\":131,\"date_of_due\":\"2028-04-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"FLUCONAZOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":467,\"description\":\"Unidad\",\"item_id\":271,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"467NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":271}',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,1209,NULL,NULL),
(282,71,195,'{\"stock\":129,\"id\":195,\"item_id\":195,\"full_description\":\"54587 - MIODEL RELAX NF\",\"name\":\"MIODEL RELAX NF 450 mg + 35 mg\",\"second_name\":null,\"description\":\"MIODEL RELAX NF - LABORATORIOS DELFARMA S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"54587\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"129.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":313,\"description\":\"Unidad\",\"item_id\":195,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"313NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS DELFARMA S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":192,\"code\":\"2020106\",\"quantity\":134,\"date_of_due\":\"2029-02-28\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"ORFENADRINA CITRATO + PARACETAMOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":313,\"description\":\"Unidad\",\"item_id\":195,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"313NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":192}',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,1210,NULL,NULL),
(283,71,179,'{\"stock\":114,\"id\":179,\"item_id\":179,\"full_description\":\"55001 - DOLO DOLFENEX FORTE\",\"name\":\"DOLO DOLFENEX FORTE 50 mg + 50 mg + 50 mg + 0.25 mg\",\"second_name\":null,\"description\":\"DOLO DOLFENEX FORTE - INSTITUTO QUIMIOTERAPICO S.A. - IQFARMA\",\"currency_type_id\":\"PEN\",\"internal_id\":\"55001\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"114.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":274,\"description\":\"Unidad\",\"item_id\":179,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"274NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"INSTITUTO QUIMIOTERAPICO S.A. - IQFARMA\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":175,\"code\":\"21101575\",\"quantity\":120,\"date_of_due\":\"2027-11-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CIANOCOBALAMINA + DICLOFENACO SODICO + PIRIDOXINA CLORHIDRATO + TIAMINA CLORHIDRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":274,\"description\":\"Unidad\",\"item_id\":179,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"274NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":175}',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,1211,NULL,NULL),
(284,71,304,'{\"stock\":126,\"id\":304,\"item_id\":304,\"full_description\":\"58632 - AMPICILINA 500 mg\",\"name\":\"AMPICILINA 500 mg\",\"second_name\":null,\"description\":\"AMPICILINA 500 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"58632\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":0.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":4,\"edit_sale_unit_price\":\"0.50\",\"aux_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"126.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":558,\"description\":\"Unidad\",\"item_id\":304,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"558NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":304,\"code\":\"2125225\",\"quantity\":136,\"date_of_due\":\"2028-12-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"AMPICILINA TRIHIDRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":558,\"description\":\"Unidad\",\"item_id\":304,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"558NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":0.5,\"IdLoteSelected\":304}',4.0000,0.500000,'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',0.500000,2.00,0.00,0.00,2.00,'[]','[]','[]',NULL,1212,NULL,NULL),
(285,71,565,'{\"stock\":31,\"id\":565,\"item_id\":565,\"full_description\":\"BUKCITO\",\"name\":null,\"second_name\":null,\"description\":\"BUKCITO\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"31.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":819,\"description\":\"Unidad\",\"item_id\":565,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"819NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":578,\"code\":\"001026\",\"quantity\":33,\"date_of_due\":\"2029-01-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":2,\"presentation\":{\"id\":819,\"description\":\"Unidad\",\"item_id\":565,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"819NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":578}',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,1213,NULL,NULL),
(286,71,263,'{\"stock\":30,\"id\":263,\"item_id\":263,\"full_description\":\"58722 - KETOPROFENO 100 mg\",\"name\":\"KETOPROFENO 100 mg\",\"second_name\":null,\"description\":\"KETOPROFENO 100 mg - GENFAR DEL PERU S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"58722\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":2,\"edit_sale_unit_price\":\"1.50\",\"aux_sale_unit_price\":\"1.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"30.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":445,\"description\":\"Unidad\",\"item_id\":263,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"445NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"GENFAR DEL PERU S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":263,\"code\":\"F02934A\",\"quantity\":30,\"date_of_due\":\"2028-12-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"KETOPROFENO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":445,\"description\":\"Unidad\",\"item_id\":263,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"445NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1.5,\"IdLoteSelected\":263}',2.0000,1.500000,'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',1.500000,3.00,0.00,0.00,3.00,'[]','[]','[]',NULL,1214,NULL,NULL),
(287,71,289,'{\"stock\":88,\"id\":289,\"item_id\":289,\"full_description\":\"50635 - CIPROFLOXACINO 500 mg\",\"name\":\"CIPROFLOXACINO 500 mg\",\"second_name\":null,\"description\":\"CIPROFLOXACINO 500 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"50635\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":0.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":2,\"edit_sale_unit_price\":\"0.50\",\"aux_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"88.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":517,\"description\":\"Unidad\",\"item_id\":289,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"517NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":290,\"code\":\"2104124\",\"quantity\":89,\"date_of_due\":\"2027-10-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CIPROFLOXACINO CLORHIDRATO MONOHIDRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":517,\"description\":\"Unidad\",\"item_id\":289,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"517NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":0.5,\"IdLoteSelected\":290}',2.0000,0.500000,'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',0.500000,1.00,0.00,0.00,1.00,'[]','[]','[]',NULL,1215,NULL,NULL),
(288,71,107,'{\"stock\":23,\"id\":107,\"item_id\":107,\"full_description\":\"48958 - SAL DE ANDREWS AZUL\",\"name\":\"SAL DE ANDREWS Polvo Efervescente para Soluci\\u00f3n Oral 2.28 g + 0.8825 g\",\"second_name\":null,\"description\":\"SAL DE ANDREWS AZUL - MEDIFARMA S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"48958\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1.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\":\"10\",\"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:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"23.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":127,\"description\":\"Unidad\",\"item_id\":107,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"127NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"MEDIFARMA S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":103,\"code\":\"2112685\",\"quantity\":32,\"date_of_due\":\"2027-11-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"BICARBONATO DE SODIO + SULFATO DE MAGNESIO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":127,\"description\":\"Unidad\",\"item_id\":107,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"127NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1.5,\"IdLoteSelected\":103}',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,1216,NULL,NULL),
(289,71,814,'{\"stock\":6,\"id\":814,\"item_id\":814,\"full_description\":\"AGUA GOTA\",\"name\":null,\"second_name\":null,\"description\":\"AGUA GOTA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"6.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":2,\"presentation\":{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"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,1217,NULL,NULL),
(290,71,106,'{\"stock\":61,\"id\":106,\"item_id\":106,\"full_description\":\"57988 - SAL DE ANDREWS CLASICA\",\"name\":\"SAL DE ANDREWS CLASICA Polvo Efervescente para Soluci\\u00f3n Oral 1.13 g + 0.87 g + 0.975 g\",\"second_name\":null,\"description\":\"SAL DE ANDREWS CLASICA - MEDIFARMA S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"57988\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"61.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":126,\"description\":\"Unidad\",\"item_id\":106,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"126NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"MEDIFARMA S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":102,\"code\":\"2112805\",\"quantity\":65,\"date_of_due\":\"2027-11-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"BICARBONATO DE SODIO + MAGNESIO SULFATO DIHIDRATO + ACIDO CITRICO ANHIDRO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":126,\"description\":\"Unidad\",\"item_id\":106,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"126NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":102}',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,1218,NULL,NULL),
(291,71,213,'{\"stock\":60,\"id\":213,\"item_id\":213,\"full_description\":\"GASA ABSORBENTE 10CM + 10CM\",\"name\":null,\"second_name\":null,\"description\":\"GASA ABSORBENTE 10CM + 10CM\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":3,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"60.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":355,\"description\":\"Unidad\",\"item_id\":213,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"355NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":209,\"code\":\"20251216\",\"quantity\":60,\"date_of_due\":\"2030-12-16\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":355,\"description\":\"Unidad\",\"item_id\":213,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"355NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":209}',3.0000,2.000000,'20',6.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,6.00,0.00,0.00,6.00,'[]','[]','[]',NULL,1219,NULL,NULL),
(292,71,808,'{\"stock\":35,\"id\":808,\"item_id\":808,\"full_description\":\"SPORADE 500ML\",\"name\":null,\"second_name\":null,\"description\":\"SPORADE 500ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.50\",\"aux_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"35.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1062,\"description\":\"Unidad\",\"item_id\":808,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1062NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":1062,\"description\":\"Unidad\",\"item_id\":808,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1062NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2.5,\"IdLoteSelected\":null}',1.0000,2.500000,'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',2.500000,2.50,0.00,0.00,2.50,'[]','[]','[]',NULL,1220,NULL,NULL),
(293,71,354,'{\"stock\":24,\"id\":354,\"item_id\":354,\"full_description\":\"PRESERVATIVO PIEL TRIPLE SENSACION\",\"name\":null,\"second_name\":null,\"description\":\"PRESERVATIVO PIEL TRIPLE SENSACION\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":3.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"3.50\",\"aux_sale_unit_price\":\"3.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"24.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":608,\"description\":\"Unidad\",\"item_id\":354,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"608NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":354,\"code\":\"M42250302\",\"quantity\":24,\"date_of_due\":\"2030-02-28\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":608,\"description\":\"Unidad\",\"item_id\":354,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"608NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":3.5,\"IdLoteSelected\":354}',1.0000,3.500000,'20',3.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,3.50,0.00,0.00,3.50,'[]','[]','[]',NULL,1221,NULL,NULL),
(294,71,149,'{\"stock\":76,\"id\":149,\"item_id\":149,\"full_description\":\"46469 - ASPIRINA  100 mg\",\"name\":\"ASPIRINA 100 100 mg\",\"second_name\":null,\"description\":\"ASPIRINA  100 mg - BAYER S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"46469\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":2,\"edit_sale_unit_price\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"76.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":215,\"description\":\"Unidad\",\"item_id\":149,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"215NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"BAYER S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":145,\"code\":\"X26GDS\",\"quantity\":78,\"date_of_due\":\"2027-07-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"ACIDO ACETILSALICILICO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":215,\"description\":\"Unidad\",\"item_id\":149,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"215NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":145}',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,1222,NULL,NULL),
(295,71,194,'{\"stock\":94,\"id\":194,\"item_id\":194,\"full_description\":\"38707 - TDN ALLERGY\",\"name\":\"TDN ALLERGY 10 mg\",\"second_name\":null,\"description\":\"TDN ALLERGY - SHERFARMA S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"38707\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"94.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":311,\"description\":\"Unidad\",\"item_id\":194,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"311NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"SHERFARMA S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":191,\"code\":\"1574742\",\"quantity\":96,\"date_of_due\":\"2028-09-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CETIRIZINA DICLORHIDRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":311,\"description\":\"Unidad\",\"item_id\":194,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"311NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":191}',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,1223,NULL,NULL),
(296,71,6,'{\"stock\":198,\"id\":6,\"item_id\":6,\"full_description\":\"58437 - PALDOLOR EXTRA FORTE F\",\"name\":\"PALDOLOR EXTRA FORTE F Tableta Recubierta 200 mg + 500 mg\",\"second_name\":null,\"description\":\"PALDOLOR EXTRA FORTE F - HERSIL S.A.C. LABORATORIOS INDUSTRIALES FARMACEUTICOS\",\"currency_type_id\":\"PEN\",\"internal_id\":\"58437\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"198.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":8,\"description\":\"Unidad\",\"item_id\":6,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"HERSIL S.A.C. LABORATORIOS INDUSTRIALES FARMACEUTICOS\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":6,\"code\":\"2086145\",\"quantity\":200,\"date_of_due\":\"2027-08-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"IBUPROFENO + PARACETAMOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":8,\"description\":\"Unidad\",\"item_id\":6,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":6}',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,1224,NULL,NULL),
(297,71,152,'{\"stock\":87,\"id\":152,\"item_id\":152,\"full_description\":\"BRONCO-AMOXICLIN 500\",\"name\":null,\"second_name\":null,\"description\":\"BRONCO-AMOXICLIN 500\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"87.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":220,\"description\":\"Unidad\",\"item_id\":152,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"220NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":148,\"code\":\"2125765\",\"quantity\":87,\"date_of_due\":\"2027-12-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":220,\"description\":\"Unidad\",\"item_id\":152,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"220NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":148}',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,1225,NULL,NULL),
(298,72,825,'{\"stock\":12,\"id\":825,\"item_id\":825,\"full_description\":\"HELADO MINI SANWISH\",\"name\":null,\"second_name\":null,\"description\":\"HELADO MINI SANWISH\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"12.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1079,\"description\":\"Unidad\",\"item_id\":825,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1079NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":8,\"presentation\":{\"id\":1079,\"description\":\"Unidad\",\"item_id\":825,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1079NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"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,1226,NULL,NULL),
(299,72,814,'{\"stock\":5,\"id\":814,\"item_id\":814,\"full_description\":\"AGUA GOTA\",\"name\":null,\"second_name\":null,\"description\":\"AGUA GOTA\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[],\"lot_status\":\"none\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":1068,\"description\":\"Unidad\",\"item_id\":814,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1068NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"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,1227,NULL,NULL),
(300,72,13,'{\"stock\":19,\"id\":13,\"item_id\":13,\"full_description\":\"50566 - ACICLAV\",\"name\":\"ACICLAV Tableta Recubierta 500 mg + 125 mg\",\"second_name\":null,\"description\":\"ACICLAV - OQ PHARMA S.A.C.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"50566\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.50\",\"aux_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"19.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":21,\"description\":\"Unidad\",\"item_id\":13,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"21NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"OQ PHARMA S.A.C.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":13,\"code\":\"2510306\",\"quantity\":23,\"date_of_due\":\"2028-10-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"AMOXICILINA + CLAVULANATO POTASICO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":21,\"description\":\"Unidad\",\"item_id\":13,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"21NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2.5,\"IdLoteSelected\":13}',1.0000,2.500000,'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',2.500000,2.50,0.00,0.00,2.50,'[]','[]','[]',NULL,1228,NULL,NULL),
(301,72,204,'{\"stock\":55,\"id\":204,\"item_id\":204,\"full_description\":\"54313 - PANADOL ANTIGRIPAL NF\",\"name\":\"PANADOL ANTIGRIPAL NF 500 mg + 5 mg + 2 mg\",\"second_name\":null,\"description\":\"PANADOL ANTIGRIPAL NF - GSK CONSUMER HEALTHCARE PERU S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"54313\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"2.50\",\"aux_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"55.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":335,\"description\":\"Unidad\",\"item_id\":204,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"335NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"GSK CONSUMER HEALTHCARE PERU S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":201,\"code\":\"A59G\",\"quantity\":58,\"date_of_due\":\"2027-05-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"CLORFENAMINA MALEATO + FENILEFRINA CLORHIDRATO + PARACETAMOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":335,\"description\":\"Unidad\",\"item_id\":204,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"335NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2.5,\"IdLoteSelected\":201}',1.0000,2.500000,'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',2.500000,2.50,0.00,0.00,2.50,'[]','[]','[]',NULL,1229,NULL,NULL),
(302,72,213,'{\"stock\":57,\"id\":213,\"item_id\":213,\"full_description\":\"GASA ABSORBENTE 10CM + 10CM\",\"name\":null,\"second_name\":null,\"description\":\"GASA ABSORBENTE 10CM + 10CM\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"57.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":355,\"description\":\"Unidad\",\"item_id\":213,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"355NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":209,\"code\":\"20251216\",\"quantity\":60,\"date_of_due\":\"2030-12-16\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":355,\"description\":\"Unidad\",\"item_id\":213,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"355NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":209}',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,1230,NULL,NULL),
(303,72,582,'{\"stock\":8,\"id\":582,\"item_id\":582,\"full_description\":\"PASTA DENTAL FAMILY DOCTOR HERBAL 220gr\",\"name\":null,\"second_name\":null,\"description\":\"PASTA DENTAL FAMILY DOCTOR HERBAL 220gr\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":8,\"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.00\",\"aux_sale_unit_price\":\"8.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"8.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":836,\"description\":\"Unidad\",\"item_id\":582,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"836NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":596,\"code\":\"20250328\",\"quantity\":8,\"date_of_due\":\"2030-03-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":836,\"description\":\"Unidad\",\"item_id\":582,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"836NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":8,\"IdLoteSelected\":596}',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,1231,NULL,NULL),
(304,72,106,'{\"stock\":60,\"id\":106,\"item_id\":106,\"full_description\":\"57988 - SAL DE ANDREWS CLASICA\",\"name\":\"SAL DE ANDREWS CLASICA Polvo Efervescente para Soluci\\u00f3n Oral 1.13 g + 0.87 g + 0.975 g\",\"second_name\":null,\"description\":\"SAL DE ANDREWS CLASICA - MEDIFARMA S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"57988\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":1,\"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\":\"1.00\",\"aux_sale_unit_price\":\"1.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"60.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":126,\"description\":\"Unidad\",\"item_id\":106,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"126NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"MEDIFARMA S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":102,\"code\":\"2112805\",\"quantity\":65,\"date_of_due\":\"2027-11-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"BICARBONATO DE SODIO + MAGNESIO SULFATO DIHIDRATO + ACIDO CITRICO ANHIDRO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":126,\"description\":\"Unidad\",\"item_id\":106,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"126NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":1,\"IdLoteSelected\":102}',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,1232,NULL,NULL),
(305,72,361,'{\"stock\":24,\"id\":361,\"item_id\":361,\"full_description\":\"PRESERVATIVO PIEL CHOCOLATE\",\"name\":null,\"second_name\":null,\"description\":\"PRESERVATIVO PIEL CHOCOLATE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":4.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\":\"10\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"4.50\",\"aux_sale_unit_price\":\"4.50\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"24.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":615,\"description\":\"Unidad\",\"item_id\":361,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"615NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":361,\"code\":\"M40251009\",\"quantity\":24,\"date_of_due\":\"2030-09-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":8,\"presentation\":{\"id\":615,\"description\":\"Unidad\",\"item_id\":361,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"615NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":4.5,\"IdLoteSelected\":361}',1.0000,4.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',4.500000,4.50,0.00,0.00,4.50,'[]','[]','[]',NULL,1233,NULL,NULL),
(306,72,490,'{\"stock\":2,\"id\":490,\"item_id\":490,\"full_description\":\"DESODORANTE AXE APOLLO 150ML\",\"name\":null,\"second_name\":null,\"description\":\"DESODORANTE AXE APOLLO 150ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":15,\"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\":\"15.00\",\"aux_sale_unit_price\":\"15.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":744,\"description\":\"Unidad\",\"item_id\":490,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"744NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":487,\"code\":\"TZC021734788\",\"quantity\":2,\"date_of_due\":\"2029-03-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":744,\"description\":\"Unidad\",\"item_id\":490,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"744NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":15,\"IdLoteSelected\":487}',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,1234,NULL,NULL),
(307,72,245,'{\"stock\":2,\"id\":245,\"item_id\":245,\"full_description\":\"PARACETAMOL 60ML\",\"name\":null,\"second_name\":null,\"description\":\"PARACETAMOL 60ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":6,\"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\":\"6.00\",\"aux_sale_unit_price\":\"6.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":395,\"description\":\"Unidad\",\"item_id\":245,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":6,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"395NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":244,\"code\":\"2085384\",\"quantity\":2,\"date_of_due\":\"2027-08-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":395,\"description\":\"Unidad\",\"item_id\":245,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":6,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"395NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":6,\"IdLoteSelected\":244}',1.0000,6.000000,'20',6.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,6.00,0.00,0.00,6.00,'[]','[]','[]',NULL,1235,NULL,NULL),
(308,72,197,'{\"stock\":4,\"id\":197,\"item_id\":197,\"full_description\":\"TAPSIN PARACETAMOL 1G\",\"name\":null,\"second_name\":null,\"description\":\"TAPSIN PARACETAMOL 1G\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":4,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"4.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":316,\"description\":\"Unidad\",\"item_id\":197,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"316NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":194,\"code\":\"25K700\",\"quantity\":5,\"date_of_due\":\"2028-09-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":316,\"description\":\"Unidad\",\"item_id\":197,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"316NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":194}',4.0000,2.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',2.000000,8.00,0.00,0.00,8.00,'[]','[]','[]',NULL,1236,NULL,NULL),
(309,72,3,'{\"stock\":50,\"id\":3,\"item_id\":3,\"full_description\":\"57390 - MEJORAL MIGRA\\u00d1A\",\"name\":\"MEJORAL MIGRA\\u00d1A Tableta Recubierta 250 mg + 250 mg + 65 mg\",\"second_name\":null,\"description\":\"MEJORAL MIGRA\\u00d1A - MEDIFARMA S.A.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"57390\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":2,\"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\":6,\"edit_sale_unit_price\":\"2.00\",\"aux_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"50.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":3,\"description\":\"Unidad\",\"item_id\":3,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"3NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"MEDIFARMA S.A.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":2,\"code\":\"2105415\",\"quantity\":50,\"date_of_due\":\"2027-10-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"ACIDO ACETILSALICILICO + CAFEINA + PARACETAMOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":3,\"description\":\"Unidad\",\"item_id\":3,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"3NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":2,\"IdLoteSelected\":2}',6.0000,2.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',2.000000,12.00,0.00,0.00,12.00,'[]','[]','[]',NULL,1237,NULL,NULL),
(310,72,1,'{\"stock\":9,\"id\":1,\"item_id\":1,\"full_description\":\"53075 - VAPORUB 12g\",\"name\":\"VAPORUB Ung\\u00fcento\",\"second_name\":null,\"description\":\"VAPORUB 12g - PROCTER & GAMBLE PERU S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"53075\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":4,\"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\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"9.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":1,\"description\":\"Unidad\",\"item_id\":1,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"PROCTER & GAMBLE PERU S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":5,\"code\":\"60224354\",\"quantity\":11,\"date_of_due\":\"2027-06-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"ACEITE DE EUCALIPTO + ALCANFOR + MENTOL\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":1,\"description\":\"Unidad\",\"item_id\":1,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"1NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":4,\"IdLoteSelected\":5}',1.0000,4.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',4.000000,4.00,0.00,0.00,4.00,'[]','[]','[]',NULL,1238,NULL,NULL),
(311,72,212,'{\"stock\":86,\"id\":212,\"item_id\":212,\"full_description\":\"HEPABIONTA FORTE\",\"name\":null,\"second_name\":null,\"description\":\"HEPABIONTA FORTE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":3,\"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\":3,\"edit_sale_unit_price\":\"3.00\",\"aux_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"86.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":354,\"description\":\"Unidad\",\"item_id\":212,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"354NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":208,\"code\":\"217425\",\"quantity\":96,\"date_of_due\":\"2028-09-30\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":null,\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":354,\"description\":\"Unidad\",\"item_id\":212,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"354NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":3,\"IdLoteSelected\":208}',3.0000,3.000000,'20',9.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,9.00,0.00,0.00,9.00,'[]','[]','[]',NULL,1239,NULL,NULL),
(312,72,76,'{\"stock\":29,\"id\":76,\"item_id\":76,\"full_description\":\"51137 - SILDEMAX Tableta Recubierta 100 mg\",\"name\":\"SILDEMAX Tableta Recubierta 100 mg\",\"second_name\":null,\"description\":\"SILDEMAX Tableta Recubierta 100 mg - LABORATORIOS PORTUGAL S.R.L.\",\"currency_type_id\":\"PEN\",\"internal_id\":\"51137\",\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":4,\"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\":\"4.00\",\"aux_sale_unit_price\":\"4.00\",\"image_url\":\"https:\\/\\/medic.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"29.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":93,\"description\":\"Unidad\",\"item_id\":76,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"93NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]}],\"category\":null,\"brand\":\"LABORATORIOS PORTUGAL S.R.L.\",\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"lots_group\":[{\"id\":73,\"code\":\"2087705\",\"quantity\":32,\"date_of_due\":\"2028-08-31\",\"checked\":false,\"compromise_quantity\":0}],\"lot_status\":\"ok\",\"active_principle\":\"SILDENAFILO CITRATO\",\"payWithPoints\":false,\"generic\":0,\"location\":null,\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"stock_min\":\"1\",\"exchange_points\":false,\"quantity_of_points\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"is_vaccine\":false,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":93,\"description\":\"Unidad\",\"item_id\":76,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"93NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":4,\"IdLoteSelected\":73}',1.0000,4.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',4.000000,4.00,0.00,0.00,4.00,'[]','[]','[]',NULL,1240,NULL,NULL);
COMMIT;

--
-- 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) NOT NULL,
  `remote_id` int(10) unsigned NOT NULL DEFAULT 0,
  `number` varchar(255) DEFAULT NULL,
  `data` longtext 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`
--

COMMIT;

--
-- 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) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `payment_received` tinyint(1) 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=80 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `sale_note_payments` VALUES
(1,1,'2026-06-26','01',0,NULL,NULL,NULL,NULL,4.00),
(2,2,'2026-06-26','01',0,NULL,NULL,NULL,NULL,3.00),
(3,3,'2026-06-26','01',0,NULL,NULL,NULL,NULL,2.00),
(4,4,'2026-06-26','01',0,NULL,NULL,NULL,NULL,46.00),
(5,5,'2026-06-26','02',0,NULL,NULL,NULL,NULL,3.00),
(6,5,'2026-06-26','01',0,NULL,NULL,NULL,NULL,9.00),
(7,6,'2026-06-26','01',0,NULL,NULL,NULL,NULL,14.50),
(8,7,'2026-06-26','01',0,NULL,NULL,NULL,NULL,17.50),
(9,8,'2026-06-26','01',0,NULL,NULL,NULL,NULL,13.00),
(10,9,'2026-06-26','01',0,NULL,NULL,NULL,NULL,14.00),
(11,10,'2026-06-26','01',0,NULL,NULL,NULL,NULL,3.00),
(12,11,'2026-06-26','01',0,NULL,NULL,NULL,NULL,3.00),
(13,12,'2026-06-27','01',0,NULL,NULL,NULL,NULL,22.00),
(14,13,'2026-06-27','01',0,NULL,NULL,NULL,NULL,18.50),
(15,13,'2026-06-27','02',0,NULL,NULL,NULL,NULL,3.00),
(16,14,'2026-06-27','01',0,NULL,NULL,NULL,NULL,85.50),
(17,15,'2026-06-27','01',0,NULL,NULL,NULL,NULL,14.00),
(18,16,'2026-06-28','01',0,NULL,NULL,NULL,NULL,4.00),
(19,17,'2026-06-28','01',0,NULL,NULL,NULL,NULL,3.00),
(20,18,'2026-06-28','01',0,NULL,NULL,NULL,NULL,60.50),
(21,19,'2026-06-28','02',0,NULL,NULL,NULL,NULL,2.00),
(22,20,'2026-06-28','01',0,NULL,NULL,NULL,NULL,7.50),
(23,21,'2026-06-28','01',0,NULL,NULL,NULL,NULL,10.00),
(24,22,'2026-06-28','01',0,NULL,NULL,NULL,NULL,8.00),
(25,23,'2026-06-28','01',0,NULL,NULL,NULL,NULL,2.50),
(26,24,'2026-06-28','01',0,NULL,NULL,NULL,NULL,2.00),
(27,25,'2026-06-28','01',0,NULL,NULL,NULL,NULL,4.00),
(28,26,'2026-06-28','02',0,NULL,NULL,NULL,NULL,7.00),
(29,27,'2026-06-28','01',0,NULL,NULL,NULL,NULL,3.00),
(30,28,'2026-06-28','01',0,NULL,NULL,NULL,NULL,33.50),
(31,29,'2026-06-28','02',0,NULL,NULL,NULL,NULL,13.00),
(32,30,'2026-06-28','01',0,NULL,NULL,NULL,NULL,4.00),
(33,31,'2026-06-28','01',0,NULL,NULL,NULL,NULL,3.00),
(34,32,'2026-06-28','01',0,NULL,NULL,NULL,NULL,2.00),
(35,33,'2026-06-29','01',0,NULL,NULL,NULL,NULL,15.50),
(36,34,'2026-06-29','01',0,NULL,NULL,NULL,NULL,18.00),
(37,35,'2026-06-29','01',0,NULL,NULL,NULL,NULL,16.50),
(38,36,'2026-06-29','02',0,NULL,NULL,NULL,NULL,3.00),
(39,37,'2026-06-29','01',0,NULL,NULL,NULL,NULL,2.00),
(40,38,'2026-06-29','01',0,NULL,NULL,NULL,NULL,1.50),
(41,39,'2026-06-29','01',0,NULL,NULL,NULL,NULL,1.00),
(42,40,'2026-06-29','01',0,NULL,NULL,NULL,NULL,2.50),
(43,41,'2026-06-29','01',0,NULL,NULL,NULL,NULL,5.00),
(44,42,'2026-06-29','01',0,NULL,NULL,NULL,NULL,3.00),
(45,43,'2026-06-29','02',0,NULL,NULL,NULL,NULL,13.50),
(46,43,'2026-06-29','01',0,NULL,NULL,NULL,NULL,66.50),
(47,44,'2026-06-29','01',0,NULL,NULL,NULL,NULL,5.50),
(48,45,'2026-06-30','01',0,NULL,NULL,NULL,NULL,40.50),
(49,46,'2026-06-30','01',0,NULL,NULL,NULL,NULL,12.50),
(50,47,'2026-06-30','01',0,NULL,NULL,NULL,NULL,2.00),
(51,48,'2026-06-30','01',0,NULL,NULL,NULL,NULL,24.00),
(52,49,'2026-06-30','01',0,NULL,NULL,NULL,NULL,0.50),
(53,50,'2026-06-30','01',0,NULL,NULL,NULL,NULL,0.50),
(54,51,'2026-06-30','01',0,NULL,NULL,NULL,NULL,2.00),
(55,52,'2026-06-30','02',0,NULL,NULL,NULL,NULL,13.00),
(56,53,'2026-06-30','02',0,NULL,NULL,NULL,NULL,3.00),
(57,54,'2026-06-30','02',0,NULL,NULL,NULL,NULL,22.60),
(58,54,'2026-06-30','01',0,NULL,NULL,NULL,NULL,61.00),
(59,55,'2026-06-30','02',0,NULL,NULL,NULL,NULL,9.60),
(60,55,'2026-06-30','01',0,NULL,NULL,NULL,NULL,19.00),
(61,56,'2026-06-30','01',0,NULL,NULL,NULL,NULL,2.00),
(62,57,'2026-07-01','01',0,NULL,NULL,NULL,NULL,1.50),
(63,58,'2026-07-01','02',0,NULL,NULL,NULL,NULL,2.00),
(64,59,'2026-07-01','01',0,NULL,NULL,NULL,NULL,24.00),
(65,60,'2026-07-01','02',0,NULL,NULL,NULL,NULL,23.00),
(66,61,'2026-07-01','01',0,NULL,NULL,NULL,NULL,2.00),
(67,62,'2026-07-01','01',0,NULL,NULL,NULL,NULL,14.50),
(68,63,'2026-07-01','02',0,NULL,NULL,NULL,NULL,3.00),
(69,64,'2026-07-01','01',0,NULL,NULL,NULL,NULL,2.00),
(70,65,'2026-07-01','01',0,NULL,NULL,NULL,NULL,8.00),
(71,66,'2026-07-01','01',0,NULL,NULL,NULL,NULL,2.00),
(72,67,'2026-07-01','02',0,NULL,NULL,NULL,NULL,2.00),
(73,68,'2026-07-01','01',0,NULL,NULL,NULL,NULL,5.00),
(74,69,'2026-07-01','02',0,NULL,NULL,NULL,NULL,2.00),
(75,70,'2026-07-01','01',0,NULL,NULL,NULL,NULL,1.50),
(76,71,'2026-07-01','01',0,NULL,NULL,NULL,NULL,33.50),
(77,71,'2026-07-01','02',0,NULL,NULL,NULL,NULL,24.00),
(78,72,'2026-07-01','02',0,NULL,NULL,NULL,NULL,4.50),
(79,72,'2026-07-01','01',0,NULL,NULL,NULL,NULL,77.00);
COMMIT;

--
-- 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) 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) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` char(2) NOT NULL DEFAULT 'NV',
  `series` varchar(255) 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) NOT NULL,
  `payment_condition_id` char(2) NOT NULL DEFAULT '01',
  `payment_method_type_id` char(2) 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) 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,
  `coupon_id` int(10) unsigned DEFAULT NULL,
  `coupon_code` varchar(50) DEFAULT 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_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 DEFAULT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `unique_filename` varchar(255) 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) DEFAULT NULL,
  `plate_number` varchar(255) DEFAULT NULL,
  `reference_data` varchar(500) DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `purchase_order` varchar(50) 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,
  `total_points` double NOT NULL DEFAULT 0,
  `seller_id` int(10) unsigned DEFAULT 0,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  `terms_condition` text DEFAULT NULL,
  `prescription_doctor_id` int(10) unsigned 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`),
  KEY `sale_notes_payment_condition_id_foreign` (`payment_condition_id`),
  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_condition_id_foreign` FOREIGN KEY (`payment_condition_id`) REFERENCES `payment_conditions` (`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=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `sale_notes` VALUES
(1,3,'117ada84-8120-4661-accb-94c3dee10241',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',1,'2026-06-26','09:45:31',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,4.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4.00,4.00,4.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-1-20260626','NV01-1-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 09:46:06','2026-06-26 09:46:06',0,3,NULL,NULL,NULL,NULL),
(2,3,'a59c12e0-0c66-4d4d-aa3c-f3d7ef5f1a61',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',2,'2026-06-26','09:58:06',2,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"75478910\",\"name\":\"VEGA SALAZAR, JEAN CLAUDE\",\"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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-2-20260626','NV01-2-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 09:59:57','2026-06-26 09:59:57',0,3,NULL,NULL,NULL,NULL),
(3,3,'5c81ce2a-0614-40af-80cf-0d4aea85986b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',3,'2026-06-26','09:59:58',4,'{\"identity_document_type_id\":\"1\",\"identity_document_type\":{\"id\":\"1\",\"description\":\"DNI\"},\"number\":\"41887672\",\"name\":\"CHAPO\\u00d1AN RAMOS, MILTON CESAR\",\"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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-3-20260626','NV01-3-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 10:01:42','2026-06-26 10:01:42',0,3,NULL,NULL,NULL,NULL),
(4,3,'246f1d92-8247-40fb-8822-378f3b937a5d',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',4,'2026-06-26','11:40:16',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,46.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,46.00,46.00,46.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-4-20260626','NV01-4-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 11:57:19','2026-06-26 11:57:20',0,3,NULL,NULL,NULL,NULL),
(5,3,'c035cf57-5655-4110-b0a5-8fcb8f0aad15',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',5,'2026-06-26','11:57: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,12.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,12.00,12.00,12.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-5-20260626','NV01-5-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 13:58:04','2026-06-26 13:58:05',0,3,NULL,NULL,NULL,NULL),
(6,3,'0c778589-d838-47a3-b441-10f39d76b02d',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',6,'2026-06-26','13:58: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,14.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,14.50,14.50,14.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-6-20260626','NV01-6-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 16:00:54','2026-06-26 16:00:54',0,3,NULL,NULL,NULL,NULL),
(7,3,'79514332-3df1-46ea-bfe3-b17ce478d3fb',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',7,'2026-06-26','16:00:55',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,17.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,17.50,17.50,17.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-7-20260626','NV01-7-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 16:51:42','2026-06-26 16:51:42',0,3,NULL,NULL,NULL,NULL),
(8,3,'e63b0b07-dbc5-4083-8e1d-0c12a35eae3b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',8,'2026-06-26','16:51:42',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,13.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,13.00,13.00,13.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-8-20260626','NV01-8-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 18:20:12','2026-06-26 18:20:13',0,3,NULL,NULL,NULL,NULL),
(9,3,'73b20e9b-1508-4174-9b4b-047ebd1f41b8',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',9,'2026-06-26','18:30:37',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,14.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,14.00,14.00,14.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-9-20260626','NV01-9-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 18:42:04','2026-06-26 18:42:05',0,3,NULL,NULL,NULL,NULL),
(10,3,'9f6e8d8b-5ac7-464c-92b4-44716ef915e2',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',10,'2026-06-26','18:53:40',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-10-20260626','NV01-10-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 19:27:35','2026-06-26 19:27:35',0,3,NULL,NULL,NULL,NULL),
(11,3,'4cf4dc92-f097-4ece-ac76-d44a57407f37',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',11,'2026-06-26','19:45:31',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-11-20260626','NV01-11-20260626',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-26 19:45:43','2026-06-26 19:45:44',0,3,NULL,NULL,NULL,NULL),
(12,3,'cd4451af-cc42-4b26-b876-06e48893fbf3',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',12,'2026-06-27','07:25: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,22.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,22.00,22.00,22.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-12-20260627','NV01-12-20260627',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-27 08:46:27','2026-06-27 08:46:28',0,3,NULL,NULL,NULL,NULL),
(13,3,'7a8997a6-2310-445c-8b2f-f019fe92ea23',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',13,'2026-06-27','08:46:28',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,21.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,21.50,21.50,21.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-13-20260627','NV01-13-20260627',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-27 09:56:50','2026-06-27 09:56:51',0,3,NULL,NULL,NULL,NULL),
(14,3,'408b42a0-9fe1-46f2-93c7-feae43da0c24',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',14,'2026-06-27','09:56:51',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,85.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,85.50,85.50,85.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-14-20260627','NV01-14-20260627',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-27 11:50:50','2026-06-27 11:50:50',0,3,NULL,NULL,NULL,NULL),
(15,3,'5da1ac98-377a-4d22-a648-35b66e55dbd2',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',15,'2026-06-27','11:50:51',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,14.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,14.00,14.00,14.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-15-20260627','NV01-15-20260627',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-27 14:39:58','2026-06-27 14:39:59',0,3,NULL,NULL,NULL,NULL),
(16,2,'914ed41b-59ae-440d-9d42-4362e9a08b8e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',16,'2026-06-28','07:05:31',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,4.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4.00,4.00,4.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-16-20260628','NV01-16-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 07:17:03','2026-06-28 07:17:03',0,2,NULL,NULL,NULL,NULL),
(17,2,'c3955970-f723-4fe9-87d8-72f559129f20',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',17,'2026-06-28','07:17: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-17-20260628','NV01-17-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 07:58:05','2026-06-28 07:58:05',0,2,NULL,NULL,NULL,NULL),
(18,2,'1af43864-18b5-4333-8ba2-36287a5d973f',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',18,'2026-06-28','08:30:15',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,60.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,60.50,60.50,60.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-18-20260628','NV01-18-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:07:04','2026-06-28 15:07:06',0,2,NULL,NULL,NULL,NULL),
(19,2,'20f69bef-224d-40f3-861b-49a86f20ee96',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',19,'2026-06-28','15:07:47',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-19-20260628','NV01-19-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:08:21','2026-06-28 15:08:21',0,2,NULL,NULL,NULL,NULL),
(20,2,'0df65707-5427-485a-8434-90870fc28a83',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',20,'2026-06-28','15: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,7.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,7.50,7.50,7.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-20-20260628','NV01-20-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:09:52','2026-06-28 15:09:52',0,2,NULL,NULL,NULL,NULL),
(21,2,'f53ec52e-726d-4005-b877-823acd60143a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',21,'2026-06-28','15:11:36',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,10.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,10.00,10.00,10.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-21-20260628','NV01-21-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:15:18','2026-06-28 15:15:19',0,2,NULL,NULL,NULL,NULL),
(22,2,'29930357-502b-4456-9463-0543c032e13b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',22,'2026-06-28','15:15:35',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,8.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,8.00,8.00,8.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-22-20260628','NV01-22-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:16:41','2026-06-28 15:16:42',0,2,NULL,NULL,NULL,NULL),
(23,2,'c7cd705e-5d44-4a51-b2a8-72c04f61e4cb',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',23,'2026-06-28','15:17:00',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,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-23-20260628','NV01-23-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:23:54','2026-06-28 15:23:54',0,2,NULL,NULL,NULL,NULL),
(24,2,'6f10233c-cf9d-4de8-a79a-348ae96f22a7',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',24,'2026-06-28','15:27:51',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-24-20260628','NV01-24-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:28:18','2026-06-28 15:28:18',0,2,NULL,NULL,NULL,NULL),
(25,2,'ee08ed0a-5bb2-41cc-97a9-15c5fd51aa3b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',25,'2026-06-28','15:28:26',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,4.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4.00,4.00,4.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-25-20260628','NV01-25-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 15:41:51','2026-06-28 15:41:51',0,2,NULL,NULL,NULL,NULL),
(26,2,'086feac5-168f-480c-b4fa-5a1d3e2b2618',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',26,'2026-06-28','15:42:04',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,7.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,7.00,7.00,7.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-26-20260628','NV01-26-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 16:01:13','2026-06-28 16:01:13',0,2,NULL,NULL,NULL,NULL),
(27,2,'58e7c147-3eb2-4f30-a222-f4937392b523',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',27,'2026-06-28','16:01:37',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-27-20260628','NV01-27-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 16:19:43','2026-06-28 16:19:43',0,2,NULL,NULL,NULL,NULL),
(28,2,'aecef8d4-ff18-4fc2-bdc4-0f50b9aeba68',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',28,'2026-06-28','17:50:54',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,33.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,33.50,33.50,33.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-28-20260628','NV01-28-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 18:54:13','2026-06-28 18:54:14',0,2,NULL,NULL,NULL,NULL),
(29,2,'1368947b-6e28-44c1-bcbd-0b936fa1c96d',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',29,'2026-06-28','18:54:41',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,13.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,13.00,13.00,13.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-29-20260628','NV01-29-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 18:55:52','2026-06-28 18:55:52',0,2,NULL,NULL,NULL,NULL),
(30,2,'dd2e44c8-ad91-4c14-849d-8c5e8ea4b5ac',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',30,'2026-06-28','18:57:34',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,4.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4.00,4.00,4.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-30-20260628','NV01-30-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 18:58:45','2026-06-28 18:58:45',0,2,NULL,NULL,NULL,NULL),
(31,2,'7257e08b-ee27-48b3-9867-614216722c11',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',31,'2026-06-28','18:58:58',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-31-20260628','NV01-31-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 19:42:23','2026-06-28 19:42:23',0,2,NULL,NULL,NULL,NULL),
(32,2,'c4c5a312-6bfc-4de6-940d-ffd8ffb6966c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',32,'2026-06-28','19:42:39',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-32-20260628','NV01-32-20260628',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-28 19:53:39','2026-06-28 19:53:39',0,2,NULL,NULL,NULL,NULL),
(33,2,'a2d16f6a-6a61-4f78-9aaf-8fb7fa76c244',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',33,'2026-06-29','07:22:02',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,15.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,15.50,15.50,15.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-33-20260629','NV01-33-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 07:27:36','2026-06-29 07:27:37',0,2,NULL,NULL,NULL,NULL),
(34,2,'390193b5-f683-4445-8b98-4201acaa58d6',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',34,'2026-06-29','07:27: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,18.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,18.00,18.00,18.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-34-20260629','NV01-34-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 11:26:38','2026-06-29 11:26:39',0,2,NULL,NULL,NULL,NULL),
(35,2,'968f1dc0-55b7-4bae-bc52-c76520b4127c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',35,'2026-06-29','11:26:47',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,16.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,16.50,16.50,16.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-35-20260629','NV01-35-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 12:32:36','2026-06-29 12:32:36',0,2,NULL,NULL,NULL,NULL),
(36,2,'4ef89b87-e874-4170-82ea-f5dae0bdf4a4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',36,'2026-06-29','12:42:25',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-36-20260629','NV01-36-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 12:44:13','2026-06-29 12:44:13',0,2,NULL,NULL,NULL,NULL),
(37,2,'23bd20c7-3459-4027-ba52-0cb372ca4a2d',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',37,'2026-06-29','12:44:27',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-37-20260629','NV01-37-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 13:31:43','2026-06-29 13:31:43',0,2,NULL,NULL,NULL,NULL),
(38,2,'68da5961-be98-4f99-8142-12be570a8289',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',38,'2026-06-29','13:31:54',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,1.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.50,1.50,1.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-38-20260629','NV01-38-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 13:38:23','2026-06-29 13:38:23',0,2,NULL,NULL,NULL,NULL),
(39,2,'82ea09dd-7a6e-432f-b178-eb74daa3b8e9',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',39,'2026-06-29','13:54:17',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,1.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.00,1.00,1.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-39-20260629','NV01-39-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 13:54:40','2026-06-29 13:54:40',0,2,NULL,NULL,NULL,NULL),
(40,2,'4c5d4f3a-f87e-4301-820a-3086fa5ec403',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',40,'2026-06-29','13:54:38',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,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-40-20260629','NV01-40-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 14:22:40','2026-06-29 14:22:40',0,2,NULL,NULL,NULL,NULL),
(41,2,'57aee5b5-bd51-4284-9adb-87e51dba7804',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',41,'2026-06-29','14:23:18',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,5.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,5.00,5.00,5.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-41-20260629','NV01-41-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 14:28:19','2026-06-29 14:28:19',0,2,NULL,NULL,NULL,NULL),
(42,2,'0883c719-fedc-459d-9f39-a1f76df15d5a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',42,'2026-06-29','14:28:31',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-42-20260629','NV01-42-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 14:40:45','2026-06-29 14:40:45',0,2,NULL,NULL,NULL,NULL),
(43,3,'98e983a2-a966-46be-90eb-5871665cdcdb',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',43,'2026-06-29','15:44:37',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,80.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,80.00,80.00,80.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-43-20260629','NV01-43-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 21:45:06','2026-06-29 21:45:07',0,3,NULL,NULL,NULL,NULL),
(44,3,'8ce480e3-3e20-4bf6-b399-d6ad97d4e7df',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',44,'2026-06-29','21:45:07',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,5.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,5.50,5.50,5.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-44-20260629','NV01-44-20260629',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-29 22:43:40','2026-06-29 22:43:41',0,3,NULL,NULL,NULL,NULL),
(45,2,'b72cd818-f70e-4aed-a67e-2a89333f3b08',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',45,'2026-06-30','07:22:52',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,40.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,40.50,40.50,40.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-45-20260630','NV01-45-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 11:02:57','2026-06-30 11:02:58',0,2,NULL,NULL,NULL,NULL),
(46,2,'080a78b6-461a-4374-b7f2-5e0f9b8087c6',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',46,'2026-06-30','11:03:10',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,12.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,12.50,12.50,12.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-46-20260630','NV01-46-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 12:11:54','2026-06-30 12:11:54',0,2,NULL,NULL,NULL,NULL),
(47,2,'a5338a28-dcd3-4dd3-a3ed-734b725675d8',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',47,'2026-06-30','12:12:05',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-47-20260630','NV01-47-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 12:43:15','2026-06-30 12:43:15',0,2,NULL,NULL,NULL,NULL),
(48,2,'13497d3e-106e-408b-8000-6d0b95f24ce0',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',48,'2026-06-30','12:43:26',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,24.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,24.00,24.00,24.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-48-20260630','NV01-48-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 13:41:40','2026-06-30 13:41:40',0,2,NULL,NULL,NULL,NULL),
(49,2,'98e4174e-d957-4df3-92e0-2582e5c89ed1',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',49,'2026-06-30','13:41:52',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,0.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.50,0.50,0.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-49-20260630','NV01-49-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 13:48:29','2026-06-30 13:48:29',0,2,NULL,NULL,NULL,NULL),
(50,2,'b1e581cd-d5a5-479b-8b68-988fff0c455b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',50,'2026-06-30','13:49:37',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,0.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.50,0.50,0.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-50-20260630','NV01-50-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 13:50:36','2026-06-30 13:50:36',0,2,NULL,NULL,NULL,NULL),
(51,2,'840195fc-83ba-4913-b195-3de2348b64b3',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',51,'2026-06-30','13:50:50',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-51-20260630','NV01-51-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 14:22:46','2026-06-30 14:22:47',0,2,NULL,NULL,NULL,NULL),
(52,2,'9e43377f-dd9a-455c-8455-15025f79d0c4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',52,'2026-06-30','14:33: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,13.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,13.00,13.00,13.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-52-20260630','NV01-52-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 14:53:34','2026-06-30 14:53:34',0,2,NULL,NULL,NULL,NULL),
(53,2,'89013429-7328-474b-8ad7-5da09547c59b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',53,'2026-06-30','14:55:28',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-53-20260630','NV01-53-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 14:55:48','2026-06-30 14:55:48',0,2,NULL,NULL,NULL,NULL),
(54,3,'06e18aab-51d8-40c7-b3af-b2db9c601732',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',54,'2026-06-30','15:13:12',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,83.60,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,83.60,83.60,83.60,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-54-20260630','NV01-54-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 19:23:29','2026-06-30 19:23:31',0,3,NULL,NULL,NULL,NULL),
(55,3,'1905fd51-ea3d-47ba-bd4c-c515a5c97401',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',55,'2026-06-30','19:23:31',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,28.60,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,28.60,28.60,28.60,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-55-20260630','NV01-55-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 22:27:43','2026-06-30 22:27:45',0,3,NULL,NULL,NULL,NULL),
(56,3,'626c989f-728a-4935-b75a-937625c305c4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',56,'2026-06-30','22:42: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-56-20260630','NV01-56-20260630',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-06-30 22:42:28','2026-06-30 22:42:29',0,3,NULL,NULL,NULL,NULL),
(57,2,'24eb1f58-bdd2-436d-bcb8-3d8f692250a9',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',57,'2026-07-01','10:00:22',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,1.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.50,1.50,1.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-57-20260701','NV01-57-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 10:01:17','2026-07-01 10:01:18',0,2,NULL,NULL,NULL,NULL),
(58,2,'2f5e3db5-3437-447d-8cff-e34215673277',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',58,'2026-07-01','10:01:29',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-58-20260701','NV01-58-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 10:01:48','2026-07-01 10:01:48',0,2,NULL,NULL,NULL,NULL),
(59,2,'a125da43-df7a-4691-961c-68faf7f740a5',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',59,'2026-07-01','10:02:02',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,24.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,24.00,24.00,24.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-59-20260701','NV01-59-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 10:04:43','2026-07-01 10:04:44',0,2,NULL,NULL,NULL,NULL),
(60,2,'0ea3b1db-f07e-4801-9ec4-c60e5f52d26e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',60,'2026-07-01','10:04:54',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,23.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,23.00,23.00,23.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-60-20260701','NV01-60-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 10:06:04','2026-07-01 10:06:05',0,2,NULL,NULL,NULL,NULL),
(61,2,'6a616322-f136-4d4e-babb-7041326811b0',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',61,'2026-07-01','10:06:51',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-61-20260701','NV01-61-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 10:07:05','2026-07-01 10:07:06',0,2,NULL,NULL,NULL,NULL),
(62,2,'3ba1fb98-91df-4e5b-b0c7-829b1de1581a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',62,'2026-07-01','11:20:02',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,14.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,14.50,14.50,14.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-62-20260701','NV01-62-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 12:07:54','2026-07-01 12:07:55',0,2,NULL,NULL,NULL,NULL),
(63,2,'35e3caf3-4785-45f8-8177-d46ea59053ef',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',63,'2026-07-01','12:08:17',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,3.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.00,3.00,3.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-63-20260701','NV01-63-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 12:08:41','2026-07-01 12:08:41',0,2,NULL,NULL,NULL,NULL),
(64,2,'5ebf6759-cb6a-4273-8ef3-19b1ee660e03',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',64,'2026-07-01','12:08:59',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-64-20260701','NV01-64-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 12:09:17','2026-07-01 12:09:17',0,2,NULL,NULL,NULL,NULL),
(65,2,'853aa604-bf0c-4767-b09f-72ca3dcd800c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',65,'2026-07-01','12:09: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,8.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,8.00,8.00,8.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-65-20260701','NV01-65-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:06:13','2026-07-01 14:06:14',0,2,NULL,NULL,NULL,NULL),
(66,2,'358a6afd-728f-491d-954f-f08cf0d5656c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',66,'2026-07-01','14:06:25',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-66-20260701','NV01-66-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:06:58','2026-07-01 14:06:58',0,2,NULL,NULL,NULL,NULL),
(67,2,'571d9593-4635-497f-8635-6efe25d46c94',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',67,'2026-07-01','14:19: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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-67-20260701','NV01-67-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:20:01','2026-07-01 14:20:01',0,2,NULL,NULL,NULL,NULL),
(68,2,'32c3dae2-6d1e-4ae3-a88e-28c98d58c4e2',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',68,'2026-07-01','14:20:01',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,5.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,5.00,5.00,5.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-68-20260701','NV01-68-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:20:24','2026-07-01 14:20:24',0,2,NULL,NULL,NULL,NULL),
(69,2,'040bb1ad-6806-4ed1-a65e-6ab80621733c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',69,'2026-07-01','14:20:24',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,2.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.00,2.00,2.00,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-69-20260701','NV01-69-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:48:09','2026-07-01 14:48:09',0,2,NULL,NULL,NULL,NULL),
(70,2,'7a86a7eb-7a32-4da5-84f3-d5c7d65a7f77',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',70,'2026-07-01','14:50:04',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,1.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.50,1.50,1.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-70-20260701','NV01-70-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 14:50:18','2026-07-01 14:50:18',0,2,NULL,NULL,NULL,NULL),
(71,3,'e1dc795c-2bf9-4580-94bb-573d87478ab4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',71,'2026-07-01','15:05:48',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,57.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,57.50,57.50,57.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-71-20260701','NV01-71-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 18:49:58','2026-07-01 18:50:00',0,3,NULL,NULL,NULL,NULL),
(72,3,'2e695766-9ebb-4d45-92cf-b5cf724a681d',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150101\",\"district\":{\"id\":\"150101\",\"description\":\"Lima\"},\"urbanization\":null,\"address\":\"-\",\"email\":\"medic@gmail.com\",\"telephone\":\"-\",\"code\":\"0000\",\"trade_address\":null,\"web_address\":null,\"aditional_information\":null,\"logo\":null}','01','01','NV','NV01',72,'2026-07-01','18:50:01',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','01',NULL,3.415,0,NULL,1,0,0,NULL,NULL,NULL,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.00,0.00,81.50,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,81.50,81.50,81.50,0,'[]','[]',NULL,'[]',NULL,NULL,NULL,NULL,'','NV01-72-20260701','NV01-72-20260701',NULL,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2026-07-01 22:35:46','2026-07-01 22:35:47',0,3,NULL,NULL,NULL,NULL);
COMMIT;

--
-- 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) 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) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` varchar(255) 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) 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) DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `observation` text 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`
--

COMMIT;

--
-- 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) 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`
--

COMMIT;

--
-- 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) 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) 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`
--

COMMIT;

--
-- Table structure for table `seller_point_ledger`
--

CREATE TABLE `seller_point_ledger` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `cash_id` int(10) unsigned DEFAULT NULL,
  `shift_type` varchar(10) DEFAULT NULL,
  `sales_net` decimal(12,2) NOT NULL DEFAULT 0.00,
  `points` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'con signo: + earned / +-/ adjustment',
  `reason` varchar(20) NOT NULL DEFAULT 'earned',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_point_ledger_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_point_ledger_seller_id_index` (`seller_id`),
  KEY `seller_point_ledger_cash_id_index` (`cash_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_point_ledger`
--

COMMIT;

--
-- Table structure for table `seller_reward`
--

CREATE TABLE `seller_reward` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `stock` int(11) DEFAULT NULL COMMENT 'NULL = ilimitado',
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward`
--

COMMIT;

--
-- Table structure for table `seller_reward_redemption`
--

CREATE TABLE `seller_reward_redemption` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `seller_reward_id` int(10) unsigned NOT NULL,
  `reward_name` varchar(255) NOT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_redemption_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_reward_redemption_seller_id_index` (`seller_id`),
  KEY `seller_reward_redemption_seller_reward_id_index` (`seller_reward_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward_redemption`
--

COMMIT;

--
-- 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) NOT NULL,
  `number` varchar(255) 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=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `series` VALUES
(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,1,'U2','NIA1',0,NULL,NULL),
(13,1,'U3','NSA1',0,NULL,NULL),
(14,1,'U4','NTA1',0,NULL,NULL);
COMMIT;

--
-- 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) NOT NULL,
  `series` varchar(255) NOT NULL,
  `number` varchar(255) 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

COMMIT;

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

CREATE TABLE `skins` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `filename` varchar(255) 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);
COMMIT;

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

CREATE TABLE `soap_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`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');
COMMIT;

--
-- Table structure for table `specialties`
--

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

--
-- Dumping data for table `specialties`
--

COMMIT;

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

CREATE TABLE `state_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`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');
COMMIT;

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

CREATE TABLE `status_orders` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(30) 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','2026-06-19 18:59:23',NULL),
(2,'Pago verificado','2026-06-19 18:59:23',NULL),
(3,'Despachado','2026-06-19 18:59:23',NULL),
(4,'Confirmado por el cliente','2026-06-19 18:59:23',NULL);
COMMIT;

--
-- 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) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `summary_status_type_id` varchar(255) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `unique_filename` varchar(255) DEFAULT NULL,
  `ticket` varchar(255) 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

COMMIT;

--
-- 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) 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

COMMIT;

--
-- Table structure for table `supplier_item_aliases`
--

CREATE TABLE `supplier_item_aliases` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `supplier_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `supplier_item_code` varchar(100) DEFAULT NULL,
  `supplier_description_original` varchar(500) DEFAULT NULL,
  `supplier_description_normalized` varchar(255) DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `supplier_item_aliases_supplier_code_unique` (`supplier_id`,`supplier_item_code`),
  KEY `supplier_item_aliases_item_id_foreign` (`item_id`),
  KEY `supplier_item_aliases_created_by_foreign` (`created_by`),
  KEY `supplier_item_aliases_supplier_desc_idx` (`supplier_id`,`supplier_description_normalized`),
  CONSTRAINT `supplier_item_aliases_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),
  CONSTRAINT `supplier_item_aliases_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `supplier_item_aliases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_item_aliases`
--

COMMIT;

--
-- Table structure for table `suscription_grade`
--

CREATE TABLE `suscription_grade` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_grade`
--

INSERT INTO `suscription_grade` VALUES
(1,'1er'),
(2,'2do'),
(3,'3ro'),
(4,'4to'),
(5,'5to'),
(6,'6to'),
(7,'7mo'),
(8,'8vo');
COMMIT;

--
-- Table structure for table `suscription_plans`
--

CREATE TABLE `suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `name` text NOT NULL COMMENT 'Nombre del plan',
  `description` longtext NOT NULL COMMENT 'Descripcion del plan',
  `total` float DEFAULT 0 COMMENT 'El total del costo del plan',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT NULL,
  `exchange_rate_sale` float DEFAULT 0,
  `total_prepayment` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total_exportation` float DEFAULT 0,
  `total_free` float DEFAULT 0,
  `total_taxed` float DEFAULT 0,
  `total_unaffected` float DEFAULT 0,
  `total_exonerated` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `total_igv_free` float DEFAULT 0,
  `total_base_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `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`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `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`)),
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_plans`
--

INSERT INTO `suscription_plans` VALUES
(1,1,'Matricula Escolar','Demostración de matricula escolar',1,'PEN','01',12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
COMMIT;

--
-- Table structure for table `suscription_section`
--

CREATE TABLE `suscription_section` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_section`
--

INSERT INTO `suscription_section` VALUES
(1,'A'),
(2,'B'),
(3,'C'),
(4,'D'),
(5,'E'),
(6,'F'),
(7,'G'),
(8,'H');
COMMIT;

--
-- Table structure for table `system_activity_log_types`
--

CREATE TABLE `system_activity_log_types` (
  `id` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_log_types`
--

INSERT INTO `system_activity_log_types` VALUES
('companies_certificate','Actualización del campo certificado en configuración de empresa'),
('companies_name','Actualización del campo nombre en configuración de empresa'),
('companies_number','Actualización del campo número en configuración de empresa'),
('companies_soap_password','Actualización del campo SOAP Contraseña en configuración de empresa'),
('companies_soap_send_id','Actualización del campo SOAP envío en configuración de empresa'),
('companies_soap_type_id','Actualización del campo SOAP tipo en configuración de empresa'),
('companies_soap_url','Actualización del campo SOAP url envío en configuración de empresa'),
('companies_soap_username','Actualización del campo SOAP Usuario en configuración de empresa'),
('failed','Error de inicio de sesión'),
('level_module_access_error','Error de acceso al submódulo (no tiene permiso)'),
('login','Iniciar sesión'),
('login_lockout','Bloqueo de usuario por exceder límite de intentos permitidos al iniciar sesión'),
('logout','Cerrar sesión'),
('module_access_error','Error de acceso al módulo (no tiene permiso)');
COMMIT;

--
-- Table structure for table `system_activity_logs`
--

CREATE TABLE `system_activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `system_activity_log_type_id` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(255) DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `device_name` varchar(255) DEFAULT NULL,
  `device_type` varchar(255) DEFAULT NULL,
  `platform_name` varchar(255) DEFAULT NULL,
  `platform_version` varchar(255) DEFAULT NULL,
  `browser_name` varchar(255) DEFAULT NULL,
  `browser_version` varchar(255) DEFAULT NULL,
  `request_email` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `location` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`location`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_index` (`origin_id`,`origin_type`),
  KEY `system_activity_logs_user_id_foreign` (`user_id`),
  KEY `system_activity_logs_auth_transaction_type_index` (`system_activity_log_type_id`),
  KEY `system_activity_logs_date_index` (`date`),
  KEY `system_activity_logs_time_index` (`time`),
  KEY `system_activity_logs_device_type_index` (`device_type`),
  CONSTRAINT `system_activity_logs_system_activity_log_type_id_foreign` FOREIGN KEY (`system_activity_log_type_id`) REFERENCES `system_activity_log_types` (`id`),
  CONSTRAINT `system_activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_logs`
--

INSERT INTO `system_activity_logs` VALUES
(1,1,'login','2026-06-20','11:27:54',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 11:27:54','2026-06-20 11:27:54'),
(2,1,'logout','2026-06-20','12:22:08',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 12:22:08','2026-06-20 12:22:08'),
(3,1,'login','2026-06-20','12:22:28',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 12:22:28','2026-06-20 12:22:28'),
(4,1,'login','2026-06-20','17:27:20',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:27:20','2026-06-20 17:27:20'),
(5,1,'logout','2026-06-20','17:29:45',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:29:45','2026-06-20 17:29:45'),
(6,2,'login','2026-06-20','17:30:00',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:30:00','2026-06-20 17:30:00'),
(7,2,'login','2026-06-20','17:30:12',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:30:12','2026-06-20 17:30:12'),
(8,2,'module_access_error','2026-06-20','17:30:13',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:30:13','2026-06-20 17:30:13'),
(9,NULL,'failed','2026-06-20','17:31:09',NULL,NULL,'179.6.81.8','WebKit','desktop','Linux','0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:31:09','2026-06-20 17:31:09'),
(10,1,'login','2026-06-20','17:31:23',1,'App\\Models\\Tenant\\User','179.6.81.8','WebKit','desktop','Linux','0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:31:23','2026-06-20 17:31:23'),
(11,2,'logout','2026-06-20','17:54:08',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:54:08','2026-06-20 17:54:08'),
(12,1,'login','2026-06-20','17:54:14',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:54:14','2026-06-20 17:54:14'),
(13,1,'login','2026-06-20','17:59:09',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 17:59:09','2026-06-20 17:59:09'),
(14,1,'logout','2026-06-20','18:07:21',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 18:07:21','2026-06-20 18:07:21'),
(15,2,'login','2026-06-20','18:07:33',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 18:07:33','2026-06-20 18:07:33'),
(16,2,'module_access_error','2026-06-20','18:07:34',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 18:07:34','2026-06-20 18:07:34'),
(17,2,'logout','2026-06-20','19:03:08',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:03:08','2026-06-20 19:03:08'),
(18,1,'login','2026-06-20','19:03:14',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:03:14','2026-06-20 19:03:14'),
(19,1,'logout','2026-06-20','19:07:44',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:07:44','2026-06-20 19:07:44'),
(20,2,'login','2026-06-20','19:08:03',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:08:03','2026-06-20 19:08:03'),
(21,2,'module_access_error','2026-06-20','19:08:04',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:08:04','2026-06-20 19:08:04'),
(22,2,'logout','2026-06-20','19:08:21',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-20 19:08:21','2026-06-20 19:08:21'),
(23,1,'login','2026-06-21','01:58:17',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 01:58:17','2026-06-21 01:58:17'),
(24,2,'login','2026-06-21','07:53:04',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 07:53:04','2026-06-21 07:53:04'),
(25,2,'module_access_error','2026-06-21','07:53:04',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 07:53:04','2026-06-21 07:53:04'),
(26,2,'logout','2026-06-21','13:09:50',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 13:09:50','2026-06-21 13:09:50'),
(27,NULL,'failed','2026-06-21','18:42:02',NULL,NULL,'179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 18:42:02','2026-06-21 18:42:02'),
(28,1,'login','2026-06-21','18:42:13',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 18:42:13','2026-06-21 18:42:13'),
(29,1,'level_module_access_error','2026-06-21','18:46:33',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'prescriptions/digemid','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-21 18:46:33','2026-06-21 18:46:33'),
(30,2,'login','2026-06-22','07:33:54',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 07:33:54','2026-06-22 07:33:54'),
(31,2,'module_access_error','2026-06-22','07:33:54',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 07:33:54','2026-06-22 07:33:54'),
(32,2,'module_access_error','2026-06-22','07:37:13',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 07:37:13','2026-06-22 07:37:13'),
(33,2,'module_access_error','2026-06-22','10:48:27',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 10:48:27','2026-06-22 10:48:27'),
(34,2,'module_access_error','2026-06-22','15:30:34',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 15:30:34','2026-06-22 15:30:34'),
(35,1,'login','2026-06-22','16:25:09',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 16:25:09','2026-06-22 16:25:09'),
(36,2,'logout','2026-06-22','21:16:39',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 21:16:39','2026-06-22 21:16:39'),
(37,NULL,'failed','2026-06-22','23:06:49',NULL,NULL,'179.6.26.113','WebKit','desktop','Linux','0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 23:06:49','2026-06-22 23:06:49'),
(38,1,'login','2026-06-22','23:07:17',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Linux','0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-22 23:07:17','2026-06-22 23:07:17'),
(39,2,'login','2026-06-23','15:26:10',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-23 15:26:10','2026-06-23 15:26:10'),
(40,2,'module_access_error','2026-06-23','15:26:11',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-23 15:26:11','2026-06-23 15:26:11'),
(41,2,'logout','2026-06-23','22:43:59',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-23 22:43:59','2026-06-23 22:43:59'),
(42,2,'login','2026-06-24','07:27:10',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-24 07:27:10','2026-06-24 07:27:10'),
(43,2,'module_access_error','2026-06-24','07:27:11',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-24 07:27:11','2026-06-24 07:27:11'),
(44,2,'logout','2026-06-24','20:31:28',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-24 20:31:28','2026-06-24 20:31:28'),
(45,3,'login','2026-06-26','09:36:27',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:36:27','2026-06-26 09:36:27'),
(46,3,'module_access_error','2026-06-26','09:36:27',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:36:27','2026-06-26 09:36:27'),
(47,3,'logout','2026-06-26','09:36:56',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:36:56','2026-06-26 09:36:56'),
(48,2,'failed','2026-06-26','09:37:04',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:37:04','2026-06-26 09:37:04'),
(49,2,'login','2026-06-26','09:37:11',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:37:11','2026-06-26 09:37:11'),
(50,2,'module_access_error','2026-06-26','09:37:12',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:37:12','2026-06-26 09:37:12'),
(51,2,'logout','2026-06-26','09:40:17',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:40:17','2026-06-26 09:40:17'),
(52,2,'login','2026-06-26','09:40:27',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:40:27','2026-06-26 09:40:27'),
(53,2,'module_access_error','2026-06-26','09:40:27',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:40:27','2026-06-26 09:40:27'),
(54,2,'logout','2026-06-26','09:40:48',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:40:48','2026-06-26 09:40:48'),
(55,2,'login','2026-06-26','09:41:02',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:41:02','2026-06-26 09:41:02'),
(56,2,'module_access_error','2026-06-26','09:41:03',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:41:03','2026-06-26 09:41:03'),
(57,2,'logout','2026-06-26','09:45:03',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:45:03','2026-06-26 09:45:03'),
(58,3,'login','2026-06-26','09:45:13',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:45:13','2026-06-26 09:45:13'),
(59,3,'module_access_error','2026-06-26','09:45:14',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:45:14','2026-06-26 09:45:14'),
(60,3,'logout','2026-06-26','09:48:02',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:48:02','2026-06-26 09:48:02'),
(61,1,'login','2026-06-26','09:48:10',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:48:10','2026-06-26 09:48:10'),
(62,1,'logout','2026-06-26','09:57:40',1,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:57:40','2026-06-26 09:57:40'),
(63,3,'login','2026-06-26','09:58:03',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:58:03','2026-06-26 09:58:03'),
(64,3,'module_access_error','2026-06-26','09:58:04',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 09:58:04','2026-06-26 09:58:04'),
(65,3,'module_access_error','2026-06-26','10:10:03',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 10:10:03','2026-06-26 10:10:03'),
(66,3,'logout','2026-06-26','11:24:11',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 11:24:11','2026-06-26 11:24:11'),
(67,3,'login','2026-06-26','11:24:21',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 11:24:21','2026-06-26 11:24:21'),
(68,3,'module_access_error','2026-06-26','11:24:21',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 11:24:21','2026-06-26 11:24:21'),
(69,3,'module_access_error','2026-06-26','11:25:46',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents/create','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 11:25:46','2026-06-26 11:25:46'),
(70,3,'module_access_error','2026-06-26','11:25:51',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents/create','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 11:25:51','2026-06-26 11:25:51'),
(71,3,'logout','2026-06-26','19:49:39',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-26 19:49:39','2026-06-26 19:49:39'),
(72,3,'login','2026-06-27','07:25:05',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-27 07:25:05','2026-06-27 07:25:05'),
(73,3,'module_access_error','2026-06-27','07:25:06',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-27 07:25:06','2026-06-27 07:25:06'),
(74,3,'logout','2026-06-27','15:00:05',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-27 15:00:05','2026-06-27 15:00:05'),
(75,2,'login','2026-06-28','07:03:28',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-28 07:03:28','2026-06-28 07:03:28'),
(76,2,'module_access_error','2026-06-28','07:03:28',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-28 07:03:28','2026-06-28 07:03:28'),
(77,2,'logout','2026-06-28','20:01:27',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-28 20:01:27','2026-06-28 20:01:27'),
(78,2,'login','2026-06-29','07:21:23',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 07:21:23','2026-06-29 07:21:23'),
(79,2,'module_access_error','2026-06-29','07:21:23',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 07:21:23','2026-06-29 07:21:23'),
(80,2,'logout','2026-06-29','15:00:54',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 15:00:54','2026-06-29 15:00:54'),
(81,3,'login','2026-06-29','15:03:13',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 15:03:13','2026-06-29 15:03:13'),
(82,3,'module_access_error','2026-06-29','15:03:13',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 15:03:13','2026-06-29 15:03:13'),
(83,3,'logout','2026-06-29','22:56:31',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-29 22:56:31','2026-06-29 22:56:31'),
(84,2,'login','2026-06-30','07:19:43',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 07:19:43','2026-06-30 07:19:43'),
(85,2,'module_access_error','2026-06-30','07:19:44',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 07:19:44','2026-06-30 07:19:44'),
(86,2,'logout','2026-06-30','15:03:25',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 15:03:25','2026-06-30 15:03:25'),
(87,3,'login','2026-06-30','15:03:59',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 15:03:59','2026-06-30 15:03:59'),
(88,3,'module_access_error','2026-06-30','15:04:00',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 15:04:00','2026-06-30 15:04:00'),
(89,3,'module_access_error','2026-06-30','22:51:18',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 22:51:18','2026-06-30 22:51:18'),
(90,3,'logout','2026-06-30','22:51:27',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-06-30 22:51:27','2026-06-30 22:51:27'),
(91,2,'login','2026-07-01','07:31:59',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 07:31:59','2026-07-01 07:31:59'),
(92,2,'module_access_error','2026-07-01','07:32:00',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 07:32:00','2026-07-01 07:32:00'),
(93,2,'module_access_error','2026-07-01','14:09:28',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents/create','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 14:09:28','2026-07-01 14:09:28'),
(94,2,'logout','2026-07-01','15:00:32',2,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 15:00:32','2026-07-01 15:00:32'),
(95,3,'login','2026-07-01','15:04:38',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 15:04:38','2026-07-01 15:04:38'),
(96,3,'module_access_error','2026-07-01','15:04:38',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 15:04:38','2026-07-01 15:04:38'),
(97,NULL,'failed','2026-07-01','19:08:24',NULL,NULL,'179.6.81.200','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:08:24','2026-07-01 19:08:24'),
(98,NULL,'failed','2026-07-01','19:08:35',NULL,NULL,'179.6.81.200','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:08:35','2026-07-01 19:08:35'),
(99,1,'login','2026-07-01','19:08:50',1,'App\\Models\\Tenant\\User','179.6.81.200','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:08:50','2026-07-01 19:08:50'),
(100,4,'login','2026-07-01','19:12:26',4,'App\\Models\\Tenant\\User','200.106.93.152','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:12:26','2026-07-01 19:12:26'),
(101,4,'logout','2026-07-01','19:20:28',4,'App\\Models\\Tenant\\User','200.106.93.152','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:20:28','2026-07-01 19:20:28'),
(102,4,'login','2026-07-01','19:20:31',4,'App\\Models\\Tenant\\User','200.106.93.152','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 19:20:31','2026-07-01 19:20:31'),
(103,3,'logout','2026-07-01','22:57:35',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-01 22:57:35','2026-07-01 22:57:35'),
(104,3,'failed','2026-07-02','07:12:49',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-02 07:12:49','2026-07-02 07:12:49'),
(105,3,'login','2026-07-02','07:12:57',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-02 07:12:57','2026-07-02 07:12:57'),
(106,3,'module_access_error','2026-07-02','07:12:57',3,'App\\Models\\Tenant\\User','179.6.26.223','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'documents','{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-02 07:12:57','2026-07-02 07:12:57');
COMMIT;

--
-- Table structure for table `tags`
--

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

--
-- Dumping data for table `tags`
--

COMMIT;

--
-- Table structure for table `tasks`
--

CREATE TABLE `tasks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class` varchar(255) NOT NULL,
  `execution_time` time NOT NULL,
  `output` longtext 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 `tasks`
--

COMMIT;

--
-- Table structure for table `technical_service_items`
--

CREATE TABLE `technical_service_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_services_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de technical_services',
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Json con el contenido de item' CHECK (json_valid(`item`)),
  `quantity` float DEFAULT 0 COMMENT 'Cantidad de item usado',
  `unit_value` float DEFAULT 0 COMMENT 'unit_value',
  `affectation_igv_type_id` longtext DEFAULT NULL COMMENT 'Tipo de afectacion dde igv. cat_affectation_igv_types',
  `total_base_igv` float DEFAULT 0 COMMENT 'Monto base del IGV',
  `percentage_igv` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `system_isc_type_id` longtext DEFAULT NULL,
  `total_base_isc` float DEFAULT 0,
  `percentage_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `percentage_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_plastic_bag_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `price_type_id` longtext DEFAULT NULL,
  `unit_price` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total` float DEFAULT 0,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Atributos' CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Descuentos' CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Cargos' CHECK (json_valid(`charges`)),
  `additional_information` longtext DEFAULT NULL COMMENT 'Informacion adicional',
  `warehouse_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `name_product_pdf` longtext DEFAULT NULL COMMENT 'Nombre de producto en el pdf',
  `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 `technical_service_items`
--

COMMIT;

--
-- Table structure for table `technical_service_payments`
--

CREATE TABLE `technical_service_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_service_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `change` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `technical_service_payments_technical_service_id_foreign` (`technical_service_id`),
  KEY `technical_service_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `technical_service_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `technical_service_payments_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_service_payments`
--

COMMIT;

--
-- Table structure for table `technical_services`
--

CREATE TABLE `technical_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `establishment_id` int(10) unsigned DEFAULT 0,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`establishment`)),
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` text DEFAULT NULL,
  `payment_condition_id` text DEFAULT NULL,
  `payment_method_type_id` text DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT 0,
  `exchange_rate_sale` decimal(13,3) DEFAULT 0.000,
  `total_prepayment` decimal(12,2) DEFAULT 0.00,
  `total_charge` decimal(12,2) DEFAULT 0.00,
  `total_discount` decimal(12,2) DEFAULT 0.00,
  `total_exportation` decimal(12,2) DEFAULT 0.00,
  `total_free` decimal(12,2) DEFAULT 0.00,
  `total_taxed` decimal(12,2) DEFAULT 0.00,
  `total_unaffected` decimal(12,2) DEFAULT 0.00,
  `total_exonerated` decimal(12,2) DEFAULT 0.00,
  `total_igv` decimal(12,2) DEFAULT 0.00,
  `total_igv_free` decimal(12,2) DEFAULT 0.00,
  `total_base_isc` decimal(12,2) DEFAULT 0.00,
  `total_isc` decimal(12,2) DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) DEFAULT 0.00,
  `total_taxes` decimal(12,2) DEFAULT 0.00,
  `total_value` decimal(12,2) DEFAULT 0.00,
  `subtotal` decimal(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `is_editable` tinyint(3) unsigned DEFAULT 0,
  `cellphone` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `description` text NOT NULL,
  `state` text NOT NULL,
  `reason` text NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `activities` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `brand` varchar(255) DEFAULT NULL,
  `equipment` varchar(255) DEFAULT NULL,
  `important_note` text DEFAULT NULL,
  `repair` tinyint(1) NOT NULL DEFAULT 0,
  `warranty` tinyint(1) NOT NULL DEFAULT 0,
  `maintenance` tinyint(1) NOT NULL DEFAULT 0,
  `diagnosis` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `technical_services_user_id_foreign` (`user_id`),
  KEY `technical_services_soap_type_id_foreign` (`soap_type_id`),
  KEY `technical_services_customer_id_foreign` (`customer_id`),
  KEY `technical_services_date_of_issue_index` (`date_of_issue`),
  KEY `technical_services_serial_number_index` (`serial_number`),
  CONSTRAINT `technical_services_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `technical_services_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `technical_services_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_services`
--

COMMIT;

--
-- Table structure for table `tips`
--

CREATE TABLE `tips` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `soap_type_id` char(2) NOT NULL,
  `date` date NOT NULL COMMENT 'Fecha de registro',
  `origin_date_of_issue` date NOT NULL COMMENT 'Fecha del documento origen de la propina',
  `origin_id` int(11) NOT NULL,
  `origin_type` varchar(255) NOT NULL,
  `worker_full_name` varchar(255) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `origin_index` (`origin_id`,`origin_type`),
  KEY `tips_soap_type_id_foreign` (`soap_type_id`),
  KEY `tips_date_index` (`date`),
  KEY `tips_origin_date_of_issue_index` (`origin_date_of_issue`),
  KEY `tips_worker_full_name_index` (`worker_full_name`),
  CONSTRAINT `tips_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tips`
--

COMMIT;

--
-- Table structure for table `track_api_peru_services`
--

CREATE TABLE `track_api_peru_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `service` int(10) unsigned DEFAULT 0 COMMENT 'Tipo de servicio  1 => sunat/dni, 2 => validacion_multiple_cpe, 3 => CPE, 4 => tipo_de_cambio, 5 => printer_ticket',
  `date_of_issue` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `track_api_peru_services`
--

COMMIT;

--
-- Table structure for table `transaction_queries`
--

CREATE TABLE `transaction_queries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`response`)),
  `transaction_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_queries_transaction_id_foreign` (`transaction_id`),
  CONSTRAINT `transaction_queries_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_queries`
--

COMMIT;

--
-- Table structure for table `transaction_states`
--

CREATE TABLE `transaction_states` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `success` tinyint(1) NOT NULL,
  `status` varchar(255) NOT NULL,
  `status_detail` varchar(255) NOT NULL,
  `original_message` varchar(255) NOT NULL,
  `user_message` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_states_name_index` (`name`),
  KEY `transaction_states_success_index` (`success`),
  KEY `transaction_states_status_index` (`status`),
  KEY `transaction_states_status_detail_index` (`status_detail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_states`
--

INSERT INTO `transaction_states` VALUES
('00','Rechazado (Error desconocido)',0,'other','other','Error desconocido','Lo sentimos, ocurrió un error inesperado.'),
('01','Aceptado',1,'approved','accredited','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo de amount como statement_descriptor.','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo del pago.'),
('02','En proceso',1,'in_process','pending_contingency','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó.'),
('03','En proceso',1,'in_process','pending_review_manual','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.'),
('04','Rechazado',0,'rejected','cc_rejected_bad_filled_card_number','Revisa el número de tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el número de tarjeta.'),
('05','Rechazado',0,'rejected','cc_rejected_bad_filled_date','Revisa la fecha de vencimiento.','Lo sentimos, ocurrió un inconveniente. Revisa la fecha de vencimiento.'),
('06','Rechazado',0,'rejected','cc_rejected_bad_filled_other','Revisa los datos.','Lo sentimos, ocurrió un inconveniente. Revisa los datos.'),
('07','Rechazado',0,'rejected','cc_rejected_bad_filled_security_code','Revisa el código de seguridad de la tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el código de seguridad de la tarjeta.'),
('08','Rechazado',0,'rejected','cc_rejected_blacklist','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),
('09','Rechazado',0,'rejected','cc_rejected_call_for_authorize','Debes autorizar ante payment_method_id el pago de amount.','Debes autorizar ante el medio de pago, el pago a realizar.'),
('10','Rechazado',0,'rejected','cc_rejected_card_disabled','Llama a payment_method_id para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.','Llama a la entidad para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.'),
('11','Rechazado',0,'rejected','cc_rejected_card_error','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),
('12','Rechazado',0,'rejected','cc_rejected_duplicated_payment','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.'),
('13','Rechazado',0,'rejected','cc_rejected_high_risk','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.'),
('14','Rechazado',0,'rejected','cc_rejected_insufficient_amount','Tu payment_method_id no tiene fondos suficientes.','Lo sentimos, ocurrió un inconveniente. Tu medio de pago no tiene fondos suficientes.'),
('15','Rechazado',0,'rejected','cc_rejected_invalid_installments','payment_method_id no procesa pagos en installments cuotas.','Para el medio de pago ingresado, no se puede procesar los pagos en la cantidad de cuotas seleccionadas.'),
('16','Rechazado',0,'rejected','cc_rejected_max_attempts','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.'),
('17','Rechazado',0,'rejected','cc_rejected_other_reason','payment_method_id no procesó el pago.','Lo sentimos, ocurrió un inconveniente. El pago no pudo ser procesado por el medio usado');
COMMIT;

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `payment_link_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `uuid` char(36) NOT NULL,
  `description` varchar(255) NOT NULL,
  `payment_id` varchar(255) DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `transaction_state_id` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `transactions_uuid_unique` (`uuid`),
  KEY `transactions_payment_link_id_foreign` (`payment_link_id`),
  KEY `transactions_transaction_state_id_foreign` (`transaction_state_id`),
  KEY `transactions_date_index` (`date`),
  KEY `transactions_time_index` (`time`),
  KEY `transactions_description_index` (`description`),
  KEY `transactions_payment_id_index` (`payment_id`),
  KEY `transactions_amount_index` (`amount`),
  KEY `transactions_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `transactions_payment_link_id_foreign` FOREIGN KEY (`payment_link_id`) REFERENCES `payment_links` (`id`),
  CONSTRAINT `transactions_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `transactions_transaction_state_id_foreign` FOREIGN KEY (`transaction_state_id`) REFERENCES `transaction_states` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transactions`
--

COMMIT;

--
-- Table structure for table `transfer_account_payments`
--

CREATE TABLE `transfer_account_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `origin_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de origen',
  `origin_type` text DEFAULT NULL COMMENT 'Modelo de origen',
  `destiny_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de destino',
  `destiny_type` text DEFAULT NULL COMMENT 'Modelo de destino',
  `amount` decimal(9,2) DEFAULT 0.00 COMMENT 'Monto a transferir',
  `date_of_movement` datetime DEFAULT NULL COMMENT 'Fecha de movimiento',
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Usuario que realiza el movimiento',
  `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 `transfer_account_payments`
--

COMMIT;

--
-- Table structure for table `transports`
--

CREATE TABLE `transports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plate_number` varchar(50) NOT NULL,
  `model` varchar(255) NOT NULL,
  `brand` varchar(255) NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `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 `transports`
--

COMMIT;

--
-- Table structure for table `user_commissions`
--

CREATE TABLE `user_commissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_commissions_user_id_foreign` (`user_id`),
  CONSTRAINT `user_commissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_commissions`
--

COMMIT;

--
-- Table structure for table `user_default_document_types`
--

CREATE TABLE `user_default_document_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_default_document_types_user_id_foreign` (`user_id`),
  KEY `user_default_document_types_document_type_id_foreign` (`document_type_id`),
  KEY `user_default_document_types_series_id_foreign` (`series_id`),
  CONSTRAINT `user_default_document_types_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `user_default_document_types_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`),
  CONSTRAINT `user_default_document_types_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_default_document_types`
--

COMMIT;

--
-- Table structure for table `user_mobile_establishments`
--

CREATE TABLE `user_mobile_establishments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ume_user_establishment_unique` (`user_id`,`establishment_id`),
  KEY `user_mobile_establishments_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `user_mobile_establishments_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_mobile_establishments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_mobile_establishments`
--

COMMIT;

--
-- Table structure for table `user_rel_suscription_plans`
--

CREATE TABLE `user_rel_suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con usuario',
  `suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con planes de suscripcion',
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Pega los items relacionados a modo de standar' CHECK (json_valid(`items`)),
  `editable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser modificado',
  `deletable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser borrado',
  `start_date` date DEFAULT NULL COMMENT 'Fecha de inicio',
  `sale_notes` text DEFAULT NULL,
  `documents` text DEFAULT NULL,
  `dates_of_documents` text DEFAULT NULL,
  `automatic_date_of_issue` date DEFAULT NULL,
  `customer_id` int(10) unsigned DEFAULT 0,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `parent_customer_id` int(10) unsigned DEFAULT 0,
  `parent_customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`parent_customer`)),
  `children_customer_id` int(10) unsigned DEFAULT 0,
  `children_customer` longtext DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT 0,
  `apply_concurrency` int(10) unsigned NOT NULL DEFAULT 0,
  `enabled_concurrency` int(10) unsigned NOT NULL DEFAULT 1 COMMENT 'Se pasará a nota de ventas como activo',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `exchange_rate_sale` float DEFAULT 0,
  `total_prepayment` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total_exportation` float DEFAULT 0,
  `total_free` float DEFAULT 0,
  `total_taxed` float DEFAULT 0,
  `total_unaffected` float DEFAULT 0,
  `total_exonerated` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `total_igv_free` float DEFAULT 0,
  `total_base_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `total` decimal(12,2) DEFAULT 0.00,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `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`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `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`)),
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_rel_suscription_plans`
--

COMMIT;

--
-- Dumping data for table `users`
--

COMMIT;

--
-- Table structure for table `vet_appointments`
--

CREATE TABLE `vet_appointments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `scheduled_at` datetime NOT NULL,
  `duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `title` varchar(255) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_appointments_veterinarian_id_scheduled_at_index` (`veterinarian_id`,`scheduled_at`),
  KEY `vet_appointments_pet_id_index` (`pet_id`),
  KEY `vet_appointments_owner_id_index` (`owner_id`),
  KEY `vet_appointments_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_appointments_scheduled_at_index` (`scheduled_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_appointments`
--

COMMIT;

--
-- Table structure for table `vet_boardings`
--

CREATE TABLE `vet_boardings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `check_in` date NOT NULL,
  `check_out` date DEFAULT NULL,
  `kennel` varchar(255) DEFAULT NULL,
  `daily_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_boardings_status_check_in_index` (`status`,`check_in`),
  KEY `vet_boardings_pet_id_index` (`pet_id`),
  KEY `vet_boardings_owner_id_index` (`owner_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_boardings`
--

COMMIT;

--
-- Table structure for table `vet_breeds`
--

CREATE TABLE `vet_breeds` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_breeds_species_id_index` (`species_id`),
  KEY `vet_breeds_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_breeds`
--

COMMIT;

--
-- Table structure for table `vet_consultation_attachments`
--

CREATE TABLE `vet_consultation_attachments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `path` varchar(255) NOT NULL,
  `mime` varchar(100) DEFAULT NULL,
  `kind` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_attachments_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_attachments`
--

COMMIT;

--
-- Table structure for table `vet_consultation_procedures`
--

CREATE TABLE `vet_consultation_procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_procedures_consultation_id_index` (`consultation_id`),
  KEY `vet_consultation_procedures_item_id_index` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_procedures`
--

COMMIT;

--
-- Table structure for table `vet_consultations`
--

CREATE TABLE `vet_consultations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `consultation_date` date NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'consulta',
  `reason` varchar(255) DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `temperature` decimal(5,2) DEFAULT NULL,
  `heart_rate` varchar(20) DEFAULT NULL,
  `resp_rate` varchar(20) DEFAULT NULL,
  `general_state` varchar(191) DEFAULT NULL,
  `diarrhea` tinyint(1) DEFAULT NULL,
  `diarrhea_note` varchar(191) DEFAULT NULL,
  `vaccination_status` varchar(20) DEFAULT NULL,
  `deworming_status` varchar(20) DEFAULT NULL,
  `anamnesis` text DEFAULT NULL,
  `diagnosis_text` text DEFAULT NULL,
  `prescription_cie10_id` int(10) unsigned DEFAULT NULL,
  `treatment` text DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultations_pet_id_consultation_date_index` (`pet_id`,`consultation_date`),
  KEY `vet_consultations_pet_id_index` (`pet_id`),
  KEY `vet_consultations_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_consultations_prescription_cie10_id_index` (`prescription_cie10_id`),
  KEY `vet_consultations_appointment_id_index` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultations`
--

COMMIT;

--
-- Table structure for table `vet_memberships`
--

CREATE TABLE `vet_memberships` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `plan_name` varchar(255) NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `period` varchar(255) NOT NULL DEFAULT 'monthly',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `benefits` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_memberships_status_end_date_index` (`status`,`end_date`),
  KEY `vet_memberships_owner_id_index` (`owner_id`),
  KEY `vet_memberships_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_memberships`
--

COMMIT;

--
-- Table structure for table `vet_notification_log`
--

CREATE TABLE `vet_notification_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `channel` varchar(20) NOT NULL,
  `destination` varchar(191) NOT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `body` text NOT NULL,
  `ref_type` varchar(40) DEFAULT NULL,
  `ref_id` int(10) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL,
  `error` text DEFAULT NULL,
  `sent_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_notification_log_ref_type_ref_id_index` (`ref_type`,`ref_id`),
  KEY `vet_notification_log_status_index` (`status`),
  KEY `vet_notification_log_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_notification_log`
--

COMMIT;

--
-- Table structure for table `vet_pets`
--

CREATE TABLE `vet_pets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `species` varchar(60) DEFAULT NULL,
  `species_id` int(10) unsigned DEFAULT NULL,
  `breed` varchar(120) DEFAULT NULL,
  `breed_id` int(10) unsigned DEFAULT NULL,
  `sex` varchar(20) DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `color` varchar(60) DEFAULT NULL,
  `microchip` varchar(60) DEFAULT NULL,
  `sterilized` tinyint(1) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `allergies` text DEFAULT NULL,
  `chronic_conditions` text DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_pets_owner_id_active_index` (`owner_id`,`active`),
  KEY `vet_pets_owner_id_index` (`owner_id`),
  KEY `vet_pets_species_id_index` (`species_id`),
  KEY `vet_pets_breed_id_index` (`breed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_pets`
--

COMMIT;

--
-- Table structure for table `vet_prescription_items`
--

CREATE TABLE `vet_prescription_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `dosage` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `frequency` varchar(255) DEFAULT NULL,
  `duration` varchar(255) DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescription_items_prescription_id_index` (`prescription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescription_items`
--

COMMIT;

--
-- Table structure for table `vet_prescriptions`
--

CREATE TABLE `vet_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `consultation_id` int(10) unsigned DEFAULT NULL,
  `prescription_date` date NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescriptions_pet_id_prescription_date_index` (`pet_id`,`prescription_date`),
  KEY `vet_prescriptions_pet_id_index` (`pet_id`),
  KEY `vet_prescriptions_owner_id_index` (`owner_id`),
  KEY `vet_prescriptions_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_prescriptions_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescriptions`
--

COMMIT;

--
-- Table structure for table `vet_quote_items`
--

CREATE TABLE `vet_quote_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quote_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quote_items_quote_id_index` (`quote_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quote_items`
--

COMMIT;

--
-- Table structure for table `vet_quotes`
--

CREATE TABLE `vet_quotes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `quote_date` date NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quotes_pet_id_quote_date_index` (`pet_id`,`quote_date`),
  KEY `vet_quotes_pet_id_index` (`pet_id`),
  KEY `vet_quotes_owner_id_index` (`owner_id`),
  KEY `vet_quotes_veterinarian_id_index` (`veterinarian_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quotes`
--

COMMIT;

--
-- Table structure for table `vet_species`
--

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

--
-- Dumping data for table `vet_species`
--

COMMIT;

--
-- Table structure for table `vet_vaccination_records`
--

CREATE TABLE `vet_vaccination_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `item_id` int(10) unsigned DEFAULT NULL,
  `vaccine_name` varchar(255) NOT NULL,
  `applied_date` date DEFAULT NULL,
  `lot_code` varchar(60) DEFAULT NULL,
  `next_dose_date` date DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccination_records_pet_id_applied_date_index` (`pet_id`,`applied_date`),
  KEY `vet_vaccination_records_pet_id_index` (`pet_id`),
  KEY `vet_vaccination_records_item_id_index` (`item_id`),
  KEY `vet_vaccination_records_next_dose_date_index` (`next_dose_date`),
  KEY `vet_vaccination_records_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_vaccination_records_type_index` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccination_records`
--

COMMIT;

--
-- Table structure for table `vet_vaccine_protocols`
--

CREATE TABLE `vet_vaccine_protocols` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `dose_name` varchar(191) NOT NULL,
  `offset_value` int(11) NOT NULL,
  `offset_unit` varchar(10) NOT NULL DEFAULT 'weeks',
  `offset_from` varchar(10) NOT NULL DEFAULT 'birth',
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccine_protocols_species_id_sort_order_index` (`species_id`,`sort_order`),
  KEY `vet_vaccine_protocols_species_id_index` (`species_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccine_protocols`
--

COMMIT;

--
-- Table structure for table `vet_veterinarians`
--

CREATE TABLE `vet_veterinarians` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `cmp` varchar(255) DEFAULT NULL,
  `specialty` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `work_days` varchar(20) DEFAULT NULL,
  `work_start` time DEFAULT NULL,
  `work_end` time DEFAULT NULL,
  `slot_minutes` int(10) unsigned DEFAULT 30,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_veterinarians_active_index` (`active`),
  KEY `vet_veterinarians_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_veterinarians`
--

COMMIT;

--
-- Table structure for table `vital_signs_parameters`
--

CREATE TABLE `vital_signs_parameters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `specialty_id` int(10) unsigned NOT NULL,
  `paramter_name` varchar(255) NOT NULL,
  `unit` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `is_optional` tinyint(1) DEFAULT NULL,
  `order` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsp_specialty_id` (`specialty_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_parameters`
--

COMMIT;

--
-- Table structure for table `vital_signs_values`
--

CREATE TABLE `vital_signs_values` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` int(10) unsigned NOT NULL,
  `vital_sign_id` int(10) unsigned NOT NULL,
  `value` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsv_appointment_id` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_values`
--

COMMIT;

--
-- Table structure for table `voided`
--

CREATE TABLE `voided` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `ticket` varchar(255) 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`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_user_id_foreign` (`user_id`),
  KEY `voided_soap_type_id_foreign` (`soap_type_id`),
  KEY `voided_state_type_id_foreign` (`state_type_id`),
  CONSTRAINT `voided_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `voided_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `voided_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided`
--

COMMIT;

--
-- Table structure for table `voided_documents`
--

CREATE TABLE `voided_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `voided_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_documents_voided_id_foreign` (`voided_id`),
  KEY `voided_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `voided_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `voided_documents_voided_id_foreign` FOREIGN KEY (`voided_id`) REFERENCES `voided` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided_documents`
--

COMMIT;

--
-- Table structure for table `waiters`
--

CREATE TABLE `waiters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT 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 `waiters`
--

COMMIT;

--
-- Table structure for table `warehouses`
--

CREATE TABLE `warehouses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `warehouses_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `warehouses_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouses`
--

INSERT INTO `warehouses` VALUES
(1,1,'Almacén Oficina Principal','2026-06-19 18:59:35','2026-06-19 18:59:35');
COMMIT;

--
-- Table structure for table `web_platforms`
--

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

--
-- Dumping data for table `web_platforms`
--

INSERT INTO `web_platforms` VALUES
(1,'Saga Falabella',NULL,NULL),
(2,'Mercado Libre ',NULL,NULL),
(3,'Linio',NULL,NULL);
COMMIT;

--
-- Table structure for table `workers`
--

CREATE TABLE `workers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `birth_date` date NOT NULL,
  `admission_date` date NOT NULL,
  `occupation` varchar(255) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `workers_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `workers_number_index` (`number`),
  KEY `workers_name_index` (`name`),
  CONSTRAINT `workers_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `workers`
--

COMMIT;

--
-- Table structure for table `zones`
--

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

--
-- Dumping data for table `zones`
--

COMMIT;


