COMMIT;

--
-- Table structure for table `laboratory_results`
--

CREATE TABLE `laboratory_results` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_laboratory_item_id` int(10) unsigned DEFAULT NULL,
  `date_result` date DEFAULT NULL,
  `file_url` varchar(255) DEFAULT NULL,
  `observations` text 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 `laboratory_results`
--

COMMIT;

--
-- Table structure for table `locations`
--

CREATE TABLE `locations` (
  `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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `locations`
--

COMMIT;

--
-- Table structure for table `machine_types`
--

CREATE TABLE `machine_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  `description` text DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 0,
  `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 `machine_types`
--

COMMIT;

--
-- Table structure for table `machines`
--

CREATE TABLE `machines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `machine_type_id` int(10) unsigned NOT NULL,
  `name` text DEFAULT NULL,
  `brand` text DEFAULT NULL,
  `model` text DEFAULT NULL,
  `closing_force` text 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 `machines`
--

COMMIT;

--
-- Table structure for table `medical_consultation_diagnoses`
--

CREATE TABLE `medical_consultation_diagnoses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `diagnosis_id` int(10) unsigned NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcd_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_diagnoses`
--

COMMIT;

--
-- Table structure for table `medical_consultation_procedures`
--

CREATE TABLE `medical_consultation_procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `procedure_id` int(10) unsigned NOT NULL,
  `description` text DEFAULT NULL,
  `days` int(11) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcp_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_procedures`
--

COMMIT;

--
-- Table structure for table `medical_consultation_vouchers`
--

CREATE TABLE `medical_consultation_vouchers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `prefix` varchar(255) DEFAULT NULL,
  `voucher_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcv_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_vouchers`
--

COMMIT;

--
-- Table structure for table `medical_consultations`
--

CREATE TABLE `medical_consultations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `treatment` text DEFAULT NULL,
  `work_plan` text DEFAULT NULL,
  `evaluation` text DEFAULT NULL,
  `patient_status` text DEFAULT NULL,
  `additional_observations` text DEFAULT NULL,
  `recital_date` date DEFAULT NULL,
  `vas_scale` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mc_patient_id` (`patient_id`),
  KEY `mc_appointment_id` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultations`
--

COMMIT;

--
-- Table structure for table `medical_laboratories`
--

CREATE TABLE `medical_laboratories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `medical_consultation_id` int(10) unsigned DEFAULT NULL,
  `priority` char(2) DEFAULT NULL,
  `state` char(2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `prefix` text DEFAULT NULL,
  `order` text DEFAULT NULL,
  `schedule_date` date DEFAULT NULL,
  `creation_date` date 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 `medical_laboratories`
--

COMMIT;

--
-- Table structure for table `medical_laboratory_items`
--

CREATE TABLE `medical_laboratory_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT NULL,
  `medical_laboratory_id` int(10) unsigned 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 `medical_laboratory_items`
--

COMMIT;

--
-- Table structure for table `mi_tienda_pe`
--

CREATE TABLE `mi_tienda_pe` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_number` text DEFAULT NULL COMMENT 'Numero de pedido',
  `transaction_code` text DEFAULT NULL COMMENT 'Codigo de pasareña',
  `order_note_id` int(10) unsigned DEFAULT 0,
  `document_id` int(10) unsigned DEFAULT 0,
  `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 `mi_tienda_pe`
--

COMMIT;

--
-- Dumping data for table `migration_configuration`
--

COMMIT;

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1017 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES
(1,'2018_00_00_000000_tenant_catalogs_table',1),
(2,'2018_01_00_000000_tenant_system_table',1),
(3,'2018_01_01_000000_tenant_users_table',1),
(4,'2018_01_01_000001_tenant_password_resets_table',1),
(5,'2018_01_01_000004_tenant_modules_table',1),
(6,'2018_01_01_000006_tenant_module_user_table',1),
(7,'2018_01_01_000013_tenant_location_table',1),
(8,'2018_05_16_000800_tenant_companies_table',1),
(9,'2018_05_16_000810_tenant_establishments_table',1),
(10,'2018_05_16_000900_tenant_configurations_table',1),
(11,'2018_05_17_000002_tenant_series_table',1),
(12,'2018_05_17_000101_tenant_persons_table',1),
(13,'2018_06_17_000001_tenant_items_table',1),
(14,'2018_06_17_000002_tenant_documents_table',1),
(15,'2018_06_17_000005_tenant_document_items_table',1),
(16,'2018_06_19_000020_tenant_invoices_table',1),
(17,'2018_06_19_000021_tenant_notes_table',1),
(18,'2018_06_21_000002_tenant_summaries_table',1),
(19,'2018_06_21_000003_tenant_summary_documents_table',1),
(20,'2018_06_21_000004_tenant_voided_table',1),
(21,'2018_06_21_000005_tenant_voided_documents_table',1),
(22,'2018_06_22_000022_tenant_retentions_table',1),
(23,'2018_06_22_000023_tenant_retention_documents_table',1),
(24,'2018_06_22_000024_tenant_perceptions_table',1),
(25,'2018_06_22_000026_tenant_perception_details_table',1),
(26,'2018_07_22_000024_tenant_dispatches_table',1),
(27,'2018_07_22_000030_tenant_dispatch_items_table',1),
(28,'2019_02_12_000002_tenant_purchases_table',1),
(29,'2019_02_12_000005_tenant_purchase_items_table',1),
(30,'2019_02_12_000007_tenant_kardex_table',1),
(31,'2019_02_13_150334_tenant_add_cront_to_configurations',1),
(32,'2019_02_13_175903_tenant_change_type_column_quantity_to_document_items',1),
(33,'2019_02_13_190940_tenant_add_information_to_documents',1),
(34,'2019_02_14_100645_tenant_add_establishment_id_to_users',1),
(35,'2019_02_19_150123_tenant_change_columns_to_exchange_rates',1),
(36,'2019_02_25_074400_tenant_add_data_json_to_documents',1),
(37,'2019_02_26_084922_tenant_change_columns_offline_to_documents',1),
(38,'2019_02_27_093803_tenant_add_send_online_to_documents',1),
(39,'2019_02_27_150015_create_tasks_table',1),
(40,'2019_02_28_100503_tenant_add_calculate_quantity_to_items',1),
(41,'2019_02_28_154355_tenant_delete_unique_class_to_tasks',1),
(42,'2019_02_28_215128_tenant_change_decimal_column_quantity_to_document_items',1),
(43,'2019_03_01_100028_tenant_change_decimal_column_stock_to_items',1),
(44,'2019_03_01_100550_tenant_change_type_column_quantity_to_purchase_items',1),
(45,'2019_03_01_100938_tenant_change_type_column_quantity_to_kardex',1),
(46,'2019_03_01_163938_tenant_add_locked_to_users',1),
(47,'2019_03_16_095539_tenant_quotations_table',1),
(48,'2019_03_16_095620_tenant_quotation_items_table',1),
(49,'2019_03_19_155345_tenant_sale_notes_table',1),
(50,'2019_03_19_155546_tenant_sale_note_items_table',1),
(51,'2019_03_20_152101_tenant_add_sale_note_id_to_kardex',1),
(52,'2019_03_22_095723_tenant_change_nullable_colum_type_to_kardex',1),
(53,'2019_03_23_114011_tenant_warehouses_table',1),
(54,'2019_03_23_134515_add_warehouse_id_to_items',1),
(55,'2019_03_23_154011_tenant_item_warehouse_table',1),
(56,'2019_03_25_120709_tenant_inventories_table',1),
(57,'2019_03_26_120709_tenant_inventory_kardex_table',1),
(58,'2019_03_27_104823_tenant_add_record_to_warehouses',1),
(59,'2019_03_28_102106_tenant_add_quotation_id_to_documents',1),
(60,'2019_03_28_112106_tenant_add_foreign_establishment_id_to_warehouses',1),
(61,'2019_03_29_100403_tenant_add_foreign_to_item_warehouse',1),
(62,'2019_03_29_100413_tenant_add_foreign_to_inventories',1),
(63,'2019_03_29_100433_tenant_add_foreign_to_inventory_kardex',1),
(64,'2019_03_29_100503_tenant_add_has_igv_to_items',1),
(65,'2019_04_24_151702_tenant_add_stock_to_configurations',1),
(66,'2019_04_26_105302_tenant_add_contingency_to_series',1),
(67,'2019_04_29_111659_tenant_inventory_configurations_table',1),
(68,'2019_04_29_164935_tenant_add_record_to_inventory_configurations',1),
(69,'2019_04_30_140509_tenant_add_type_to_users',1),
(70,'2019_05_06_174801_tenant_change_column_type_to_users',1),
(71,'2019_05_07_160954_tenant_item_unit_types_table',1),
(72,'2019_05_10_172128_tenant_add_price_default_to_item_unit_types',1),
(73,'2019_05_13_145524_tenant_fix_error_to_inventories',1),
(74,'2019_05_14_091046_tenant_description_to_item_unit_types',1),
(75,'2019_05_27_185903_tenant_change_type_column_qr_to_documents',1),
(76,'2019_05_28_172128_tenant_add_percentage_of_profit_to_items',1),
(77,'2019_06_12_000005_tenant_document_payments_table',1),
(78,'2019_06_12_000015_tenant_sale_note_payments_table',1),
(79,'2019_06_12_172128_tenant_add_total_canceled_to_sale_notes',1),
(80,'2019_06_13_100503_tenant_change_unit_price_to_items',1),
(81,'2019_06_14_100503_tenant_person_address_table',1),
(82,'2019_06_24_122116_tenant_add_changed_to_sale_notes',1),
(83,'2019_07_09_141248_tenant_expense_types_table',1),
(84,'2019_07_09_141408_tenant_expenses_table',1),
(85,'2019_07_09_141508_tenant_expense_items_table',1),
(86,'2019_07_09_172826_tenant_add_perception_agent_to_persons',1),
(87,'2019_07_10_092347_tenant_add_percentage_perception_to_items',1),
(88,'2019_07_10_103811_tenant_add_columns_perceptions_to_purchases',1),
(89,'2019_07_10_120610_tenant_add_columns_purchases_to_payment_method_types',1),
(90,'2019_07_10_123325_tenant_purchase_payments_table',1),
(91,'2019_07_10_140636_tenant_add_date_of_due_to_purchases',1),
(92,'2019_07_10_151332_tenant_add_warehouse_id_to_purchase_items',1),
(93,'2019_07_12_181618_tenant_add_columns_aditional_to_establishments',1),
(94,'2019_07_19_163617_tenant_add_columns_system_to_configurations',1),
(95,'2019_07_22_094601_tenant_cash_table',1),
(96,'2019_07_22_094658_tenant_cash_documents_table',1),
(97,'2019_07_22_094725_tenant_add_image_to_items',1),
(98,'2019_07_22_094803_tenant_modify_document_id_to_cash_documents',1),
(99,'2019_07_22_102243_tenant_accounts_table',1),
(100,'2019_07_22_103459_tenant_add_account_id_to_items',1),
(101,'2019_07_23_175808_tenant_modify_decimals_to_item_unit_types',1),
(102,'2019_07_24_162847_tenant_add_data_module_for_pos',1),
(103,'2019_07_25_144505_tenant_add_ose_to_companies',1),
(104,'2019_07_27_181623_tenant_add_name_name2_to_items',1),
(105,'2019_07_31_165537_tenant_add_subtotal_account_to_configurations',1),
(106,'2019_08_01_002801_tenant_add_status_to_item',1),
(107,'2019_08_01_005553_tenant_add_status_to_persons',1),
(108,'2019_08_01_011908_tenant_add_description_to_quotations',1),
(109,'2019_08_01_095140_tenant_add_status_to_bank_accounts',1),
(110,'2019_08_01_101234_tenant_add_active_to_banks',1),
(111,'2019_08_01_102419_tenant_add_active_to_card_brands',1),
(112,'2019_08_01_105836_tenant_delete_subtotal_account_to_configurations',1),
(113,'2019_08_01_110045_tenant_company_accounts_table',1),
(114,'2019_08_03_162431_tenant_add_data_modules_for_dashboard',1),
(115,'2019_08_05_130830_tenant_add_index_external_id_to_documents',1),
(116,'2019_08_12_125016_tenant_up_unit_price_to_items',1),
(117,'2019_08_13_082230_tenant_add_column_limit_user_to_configurations',1),
(118,'2019_08_16_153648_tenant_add_more_decimal_column_stock_to_items',1),
(119,'2019_08_16_161756_tenant_add_total_plastic_bag_taxes_to_documents',1),
(120,'2019_08_16_161824_tenant_add_total_plastic_bag_taxes_to_document_items',1),
(121,'2019_08_16_161854_tenant_add_amount_plastic_bag_taxes_to_items',1),
(122,'2019_08_19_112540_tenant_add_quotation_id_to_sale_notes',1),
(123,'2019_08_19_115344_tenant_add_sale_note_id_to_documents',1),
(124,'2019_08_19_124610_tenant_add_state_condition_to_persons',1),
(125,'2019_08_20_121326_tenant_add_indexes_to_documents',1),
(126,'2019_08_20_144511_tenant_add_indexes_to_summaries',1),
(127,'2019_08_20_151037_tenant_add_indexes_to_persons',1),
(128,'2019_08_21_145954_tenant_modify_name_name2_to_items',1),
(129,'2019_08_23_115358_tenant_add_data_accounnting_inventory_to_modules',1),
(130,'2019_08_23_160411_tenant_modify_description_to_items',1),
(131,'2019_09_03_153427_tenant_change_nullable_column_affected_document_id_to_notes',1),
(132,'2019_09_03_153656_tenant_add_data_affected_document_to_notes',1),
(133,'2019_09_09_153206_tenant_add_sale_note_id_to_cash_documents',1),
(134,'2019_09_09_174848_tenant_modify_columns_to_perceptions',1),
(135,'2019_09_09_174916_tenant_modify_columns_to_perception_details',1),
(136,'2019_09_10_102854_tenant_modify_series_id_to_perceptions',1),
(137,'2019_09_11_131559_tenant_add_apply_store_to_items',1),
(138,'2019_09_11_154949_tenant_expense_method_types',1),
(139,'2019_09_11_155535_tenant_expense_payments',1),
(140,'2019_09_11_174858_tenant_expense_reasons',1),
(141,'2019_09_11_174929_tenant_add_expense_reason_id_to_expenses',1),
(142,'2019_09_13_112026_tenant_add_column_image_medium_and_image_small_to_items',1),
(143,'2019_09_15_233528_tenant_create_table_tag',1),
(144,'2019_09_15_233537_tenant_create_table_item_tag',1),
(145,'2019_09_16_121938_tenant_add_date_of_due_to_items',1),
(146,'2019_09_16_133219_tenant_add_data_ecommerce_to_modules',1),
(147,'2019_09_16_160453_tenant_add_timestamps_to_tag',1),
(148,'2019_09_16_161726_tenant_add_status_to_tags',1),
(149,'2019_09_17_131050_tenant_add_type_client_to_users',1),
(150,'2019_09_17_202003_tenant_promotions_table',1),
(151,'2019_09_18_152416_tenant_add_percentage_perception_to_persons',1),
(152,'2019_09_18_160838_tenant_add_has_perception_to_items',1),
(153,'2019_09_30_151349_tenant_add_has_prepayment_to_documents',1),
(154,'2019_09_30_160541_tenant_inventory_transactions_table',1),
(155,'2019_09_30_160919_tenant_change_columns_to_inventories',1),
(156,'2019_10_04_092658_tenant_business_turns_table',1),
(157,'2019_10_04_094841_tenant_document_hotels_table',1),
(158,'2019_10_09_101229_tenant_add_locked_tenant_to_configurations',1),
(159,'2019_10_10_155554_tenant_add_quantity_documents_date_time_start_to_configurations',1),
(160,'2019_10_11_095050_tenant_billing_cycles_table',1),
(161,'2019_10_11_153948_tenant_add_locked_users_to_configurations',1),
(162,'2019_10_14_101501_tenant_add_column_set_to_items',1),
(163,'2019_10_14_102317_tenant_item_sets_table',1),
(164,'2019_10_14_235308_tenant_orders_table',1),
(165,'2019_10_15_122633_tenant_person_types_table',1),
(166,'2019_10_15_123201_tenant_add_person_types_to_persons',1),
(167,'2019_10_16_001052_tenant_add_identity_and_number_to_users',1),
(168,'2019_10_17_100307_tenant_add_data_to_document_types',1),
(169,'2019_10_18_150004_tenant_categories_table',1),
(170,'2019_10_18_150414_tenant_brands_table',1),
(171,'2019_10_18_150604_tenant_brand_category_to_items',1),
(172,'2019_10_18_194622_tenant_add_soft_delete_to_purchases',1),
(173,'2019_10_20_190039_tenant_add_plan_to_configurations',1),
(174,'2019_10_20_195730_tenant_add_cuenta_to_modules',1),
(175,'2019_10_20_200958_tenant_account_payments_table',1),
(176,'2019_10_22_173407_tenant_add_was_deducted_prepayment_to_documents',1),
(177,'2019_10_24_103947_tenant_add_sunat_alternate_server_to_configurations',1),
(178,'2019_10_24_183250_tenant_add_document_id_to_orders',1),
(179,'2019_10_24_210806_tenant_items_rating_table',1),
(180,'2019_10_26_213130_tenant_add_logo_store_to_companies',1),
(181,'2019_10_28_202116_tenant_add_reference_number_to_cash',1),
(182,'2019_11_05_113236_create_padrones_table',1),
(183,'2019_11_05_113320_create_charge_padrones_table',1),
(184,'2019_11_06_095251_tenant_add_success_shipping_status_to_documents',1),
(185,'2019_11_06_102422_tenant_add_success_sunat_shipping_status_to_documents',1),
(186,'2019_11_06_110606_tenant_add_success_query_status_to_documents',1),
(187,'2019_11_06_113035_tenant_offline_configurations_table',1),
(188,'2019_11_11_102124_tenant_series_configurations_table',1),
(189,'2019_11_12_223340_tenant_add_reference_document_id_to_dispatches',1),
(190,'2019_11_13_124821_tenant_add_document_type_id_to_series_configurations',1),
(191,'2019_11_18_154307_tenant_create_congiguration_ecommerce_table',1),
(192,'2019_11_19_113132_tenant_cat_detraction_types_table',1),
(193,'2019_11_20_175549_tenant_add_inventory_kardex_id_to_sale_note_items',1),
(194,'2019_11_20_221547_tenant_add_address_to_configuration_ecommerce',1),
(195,'2019_11_25_213648_tenant_add_social_to_configuration_ecommerce',1),
(196,'2019_11_29_093342_tenant_add_detraction_account_to_companies',1),
(197,'2019_12_02_105910_tenant_add_purchase_expense_to_cash_documents',1),
(198,'2019_12_02_111743_tenant_change_expense_reason_id_to_expenses',1),
(199,'2019_12_02_111837_tenant_add_soap_type_id_to_expenses',1),
(200,'2019_12_02_152128_tenant_add_date_of_due_to_quotations',1),
(201,'2019_12_02_161856_tenant_add_data_to_payment_method_types',1),
(202,'2019_12_02_163726_tenant_add_payment_method_type_id_to_quotations',1),
(203,'2019_12_05_104120_tenant_fixed_columns_to_cash_documents',1),
(204,'2019_12_06_114132_tenant_add_shipping_address_to_quotations',1),
(205,'2019_12_06_120917_tenant_add_commission_amount_to_items',1),
(206,'2019_12_11_111224_tenant_purchase_quotations_table',1),
(207,'2019_12_11_112209_tenant_purchase_quotation_items_table',1),
(208,'2019_12_11_122830_tenant_add_reference_quotation_id_to_dispatches',1),
(209,'2019_12_11_174726_tenant_purchase_orders_table',1),
(210,'2019_12_11_175353_tenant_purchase_order_items_table',1),
(211,'2019_12_16_103759_tenant_add_decimal_quantity_to_configurations',1),
(212,'2019_12_16_181022_tenant_add_prefix_to_purchase_orders',1),
(213,'2019_12_17_101130_tenant_add_purchase_order_id_to_purchases',1),
(214,'2019_12_19_102946_tenant_item_lots_table',1),
(215,'2019_12_19_105644_tenant_add_lot_code_to_items',1),
(216,'2019_12_19_141604_tenant_add_operation_amazonia_to_companies',1),
(217,'2019_12_20_123931_tenant_module_levels_table',1),
(218,'2019_12_20_123945_tenant_module_level_user_table',1),
(219,'2019_12_23_144236_tenant_add_apply_concurrency_to_sale_notes',1),
(220,'2019_12_23_171335_tenant_add_columns_periods_to_sale_notes',1),
(221,'2019_12_24_114350_tenant_add_columns_lots_to_item_lots',1),
(222,'2019_12_24_123601_tenant_add_lot_code_to_purchase_items',1),
(223,'2019_12_27_111848_tenant_add_lot_code_to_inventories',1),
(224,'2019_12_30_095201_tenant_add_lots_enabled_to_items',1),
(225,'2020_01_03_111747_tenant_add_amount_plastic_bag_taxes_to_configurations',1),
(226,'2020_01_08_102051_tenant_add_total_canceled_to_documents',1),
(227,'2020_01_09_094728_tenant_change_decimal_column_quantity_to_dispatch_items',1),
(228,'2020_01_09_102017_tenant_change_type_decimal_column_quantity_to_dispatch_items',1),
(229,'2020_01_09_153023_tenant_add_compact_sidebar_to_configurations',1),
(230,'2020_01_10_095143_tenant_add_cci_to_bank_accounts',1),
(231,'2020_01_10_121518_tenant_add_warehouse_id_to_document_items',1),
(232,'2020_01_15_095621_tenant_add_change_decimal_exchange_rate_sale_tables',1),
(233,'2020_01_15_100032_tenant_add_data_to_cat_document_types',1),
(234,'2020_01_15_144606_tenant_add_series_number_to_sale_notes',1),
(235,'2020_01_15_172447_tenant_add_paid_to_sale_notes',1),
(236,'2020_01_15_181229_tenant_add_plate_to_sale_notes',1),
(237,'2020_01_16_101424_tenant_add_detail_to_inventories',1),
(238,'2020_01_16_103741_tenant_change_decimals_unit_price_tables',1),
(239,'2020_01_16_121313_tenant_add_state_to_item_lots',1),
(240,'2020_01_17_095233_tenant_document_transports_table',1),
(241,'2020_01_17_115328_tenant_add_plate_number_to_documents',1),
(242,'2020_01_17_175217_tenant_add_state_type_to_expenses',1),
(243,'2020_01_21_153921_tenant_inventories_transfer_table',1),
(244,'2020_01_21_155245_tenant_add_inventories_transfer_id_to_inventories',1),
(245,'2020_01_23_120700_tenant_drop_compact_sidebar_to_configurations',1),
(246,'2020_01_23_120830_tenant_re_create_compact_sidebar_to_configurations',1),
(247,'2020_01_23_123235_tenant_add_columns_to_document_hotels',1),
(248,'2020_01_27_121553_tenant_add_commission_type_to_items',1),
(249,'2020_01_27_150915_tenant_change_column_number_to_sale_notes',1),
(250,'2020_01_28_135422_tenant_add_tag_to_configuration_ecommerce',1),
(251,'2020_01_31_122444_tenant_add_config_system_to_configurations',1),
(252,'2020_02_05_124542_tenant_add_guests_to_document_hotels',1),
(253,'2020_02_07_164026_tenant_create_person_addresses',1),
(254,'2020_02_10_111943_tenant_add_affectation_type_prepayment_to_documents',1),
(255,'2020_02_11_210535_tenant_add_active_to_items',1),
(256,'2020_02_12_203736_tenant_add_contact_to_users',1),
(257,'2020_02_17_115050_tenant_add_delivery_date_to_quotations',1),
(258,'2020_02_17_141658_tenant_create_format_templates_table',1),
(259,'2020_02_17_194731_tenant_add_formats_to_configurations',1),
(260,'2020_02_17_202910_tenant_item_images_table',1),
(261,'2020_02_19_102018_tenant_order_notes_table',1),
(262,'2020_02_19_121619_tenant_order_note_items_table',1),
(263,'2020_02_19_150814_tenant_add_order_note_id_to_documents',1),
(264,'2020_02_19_150828_tenant_add_order_note_id_to_sale_notes',1),
(265,'2020_02_19_160926_tenant_add_reference_order_note_id_to_dispatches',1),
(266,'2020_02_20_224501_tenant_add_colums_grid_items_to_configurations',1),
(267,'2020_02_21_172411_tenant_add_soap_shipping_response_to_documents',1),
(268,'2020_02_24_213558_tenant_date_of_due_column_to_purchase_items',1),
(269,'2020_02_25_103837_tenant_add_options_pos_to_configurations',1),
(270,'2020_02_25_154338_tenant_add_change_to_document_payments',1),
(271,'2020_02_26_201604_tenant_item_lots_group_table',1),
(272,'2020_02_26_203030_tenant_add_series_enabled_to_items',1),
(273,'2020_02_27_113111_tenant_add_change_to_sale_note_payments',1),
(274,'2020_03_03_172821_tenant_add_additional_information_to_document_items',1),
(275,'2020_03_06_101730_tenant_global_payments_table',1),
(276,'2020_03_10_165850_tenant_add_data_module_for_finance',1),
(277,'2020_03_11_151338_tenant_add_edit_name_product_purchase',1),
(278,'2020_03_13_110238_add_column_name_product_pdf',1),
(279,'2020_03_13_134951_add_column_name_product_pdf_update',1),
(280,'2020_03_13_134955_add_column_name_product_pdf_change',1),
(281,'2020_03_16_152939_tenant_add_indexes_to_payments_tables_for_finances',1),
(282,'2020_03_16_162652_tenant_add_enabled_to_persons',1),
(283,'2020_03_20_030559_add_columna_restrict_receipt_date',1),
(284,'2020_03_20_174637_tenant_add_affectation_igv_type_id_to_configurations',1),
(285,'2020_03_25_173128_tenant_sale_opportunities_table',1),
(286,'2020_03_25_173442_tenant_sale_opportunity_items_table',1),
(287,'2020_03_26_121642_tenant_add_sale_opportunity_id_to_quotations',1),
(288,'2020_03_26_170415_tenant_sale_opportunity_files_table',1),
(289,'2020_03_27_111133_tenant_quotation_payments_table',1),
(290,'2020_03_27_123343_tenant_add_changed_to_quotations',1),
(291,'2020_03_27_141008_tenant_add_column_visual_to_configurations',1),
(292,'2020_03_27_143825_tenant_add_account_number_to_quotations',1),
(293,'2020_03_27_150024_tenant_add_terms_condition_to_quotations',1),
(294,'2020_03_30_112859_tenant_payment_files_table',1),
(295,'2020_03_31_111522_tenant_add_customer_id_to_purchases',1),
(296,'2020_03_31_122445_tenant_fixed_asset_items_table',1),
(297,'2020_03_31_141008_tenant_add_column_show_ws_to_configurations',1),
(298,'2020_03_31_151057_tenant_fixed_asset_purchases_table',1),
(299,'2020_03_31_151323_tenant_fixed_asset_purchase_items_table',1),
(300,'2020_04_01_150413_tenant_add_terms_condition_to_configurations',1),
(301,'2020_04_02_124023_tenant_add_sale_opportunity_id_to_purchase_orders',1),
(302,'2020_04_02_151534_tenant_add_total_canceled_to_purchases',1),
(303,'2020_04_02_154134_tenant_contracts_table',1),
(304,'2020_04_02_154147_tenant_contract_items_table',1),
(305,'2020_04_02_154244_tenant_contract_payments_table',1),
(306,'2020_04_03_111019_tenant_income_types_table',1),
(307,'2020_04_03_111139_tenant_income_reasons_table',1),
(308,'2020_04_03_111209_tenant_income_table',1),
(309,'2020_04_03_111703_tenant_income_items_table',1),
(310,'2020_04_03_124629_tenant_income_payments_table',1),
(311,'2020_04_03_143703_tenant_insert_internal_to_soap_types',1),
(312,'2020_05_06_205001_create_status_orders_table',1),
(313,'2020_05_06_210451_tenant_add_status_orders_to_orders',1),
(314,'2020_05_07_123152_tenant_technical_services_table',1),
(315,'2020_05_07_164323_tenant_user_commissions_table',1),
(316,'2020_05_12_131218_add_product_to_configurations',1),
(317,'2020_05_12_204311_tenant_add_cotizaction_finance_configurations',1),
(318,'2020_05_19_162014_tenant_add_contact_to_persons',1),
(319,'2020_05_25_140825_tenant_add_column_plate_number_to_sales_note',1),
(320,'2020_05_30_132013_tenant_add_certificate_due_to_companies',1),
(321,'2020_06_05_111820_tenant_add_line_to_items',1),
(322,'2020_06_10_102549_tenant_add_columns_technical_specifications_items',1),
(323,'2020_06_11_093739_tenant_add_columns_header_image_legend_footer_to_configurations',1),
(324,'2020_06_11_152155_tenant_add_purchase_orders',1),
(325,'2020_06_23_122822_tenant_drivers_table',1),
(326,'2020_06_23_122938_tenant_dispatchers_table',1),
(327,'2020_06_23_123012_tenant_order_forms_table',1),
(328,'2020_06_23_123126_tenant_order_form_items_table',1),
(329,'2020_06_24_173951_tenant_add_reference_order_form_id_to_dispatches',1),
(330,'2020_07_03_124017_tenant_add_purchase_has_igv_to_items',1),
(331,'2020_07_08_163451_tenant_change_column_name_product_pdf_to_document_items',1),
(332,'2020_07_21_213555_tenant_add_columns_to_technical_services',1),
(333,'2020_07_23_153920_tenant_add_user_id_to_global_payments',1),
(334,'2020_07_23_215548_tenant_add_img_firm_to_companies',1),
(335,'2020_07_23_221614_tenant_add_qr_to_order_forms',1),
(336,'2020_07_27_184250_add_apiruc_to_configurations',1),
(337,'2020_07_30_101311_tenant_add_soap_shipping_response_to_summaries',1),
(338,'2020_07_30_105514_tenant_add_soap_shipping_response_to_voided',1),
(339,'2020_08_03_123426_tenant_add_secondary_license_plates_to_dispatches',1),
(340,'2020_08_04_104159_tenant_add_initial_balance_to_bank_accounts',1),
(341,'2020_08_04_123149_tenant_add_pending_amount_prepayment_to_documents',1),
(342,'2020_08_05_104849_tenant_add_payment_method_type_id_to_documents',1),
(343,'2020_08_05_125307_tenant_add_filename_to_purchases',1),
(344,'2020_08_06_101100_tenant_change_columns_delivery_date_date_of_due_to_quotations',1),
(345,'2020_08_06_120140_tenant_add_data_to_module_levels',1),
(346,'2020_08_20_151205_tenant_change_column_terms_condition_to_quotations',1),
(347,'2020_08_20_151856_tenant_change_column_terms_condition_to_configurations',1),
(348,'2020_08_20_172938_tenant_change_decimal_column_quantity_to_item_lots_group',1),
(349,'2020_08_26_142025_tenant_add_indexes_to_items',1),
(350,'2020_08_27_101335_tenant_add_indexes_to_item_lots',1),
(351,'2020_08_28_100623_tenant_change_type_column_terms_condition_to_contracts',1),
(352,'2020_09_01_160245_tenant_add_warehouse_id_to_sale_note_items',1),
(353,'2020_09_02_103127_tenant_add_warehouse_id_to_order_note_items',1),
(354,'2020_09_02_124906_tenant_add_customer_id_to_establishments',1),
(355,'2020_09_04_094513_tenant_add_quantity_to_item_sets',1),
(356,'2020_09_04_165849_tenant_active_data_to_cat_operation_types',1),
(357,'2020_09_07_110546_tenant_add_data_module_for_establishments_users',1),
(358,'2020_09_08_141513_tenant_add_regularize_shipping_to_documents',1),
(359,'2020_09_08_142658_tenant_add_response_regularize_shipping_to_documents',1),
(360,'2020_09_09_144419_tenant_modify_text_description_to_expense_method_types',1),
(361,'2020_09_09_151848_tenant_change_column_number_to_expenses',1),
(362,'2020_09_09_160249_tenant_contract_state_types_table',1),
(363,'2020_09_09_161329_tenant_change_state_type_id_to_contracts',1),
(364,'2020_09_11_105705_tenant_cash_transactions_table',1),
(365,'2020_09_14_123539_tenant_technical_service_payments_table',1),
(366,'2020_09_25_113553_tenant_add_data_rh_to_cat_document_types',1),
(367,'2020_09_29_110506_tenant_change_description_to_items',1),
(368,'2020_10_09_153402_tenant_add_default_document_type_03_to_configurations',1),
(369,'2020_10_13_095308_tenant_add_data_public_services_to_cat_document_types',1),
(370,'2020_10_13_111740_tenant_web_platforms_table',1),
(371,'2020_10_13_112548_tenant_add_destination_default_to_configurations',1),
(372,'2020_10_13_120454_tenant_add_web_platform_id_to_items',1),
(373,'2020_10_15_120313_tenant_active_transport_1004_to_cat_operation_types',1),
(374,'2020_10_15_173515_tenant_add_contact_phone_to_quotations',1),
(375,'2020_10_16_101845_teanant_add_data_to_module_levels',1),
(376,'2020_10_16_143042_tenant_add_columns_aditional_to_modules',1),
(377,'2020_10_26_151606_tenant_change_columns_nullable_to_dispatches',1),
(378,'2020_11_05_103808_tenant_add_seller_to_documents',1),
(379,'2020_11_05_120923_tenant_add_payment_method_type_id_to_sale_notes',1),
(380,'2020_11_06_104926_tenant_add_soap_shipping_response_to_retentions',1),
(381,'2020_11_10_101728_tenant_change_column_name_to_items',1),
(382,'2020_11_12_143726_tenant_add_observation_to_sale_notes',1),
(383,'2020_11_12_164451_tenant_add_reference_sale_note_id_to_dispatches',1),
(384,'2020_11_18_123948_tenant_add_soap_shipping_response_to_dispatches',1),
(385,'2020_11_19_115728_tenant_devolution_reasons_table',1),
(386,'2020_11_19_115848_tenant_devolutions_table',1),
(387,'2020_11_19_115944_tenant_devolution_items_table',1),
(388,'2020_11_25_115944_tenant_create_preprinted_format_templates_table',1),
(389,'2020_12_01_172908_tenant_add_reference_data_to_documents_sale_notes',1),
(390,'2020_12_03_141335_tenant_change_text_description_to_cat_document_types',1),
(391,'2020_12_31_103348_tenant_add_has_plastic_bag_taxes_to_items',1),
(392,'2021_01_05_145928_add_model_column_to_items_table',1),
(393,'2021_01_08_095018_add_barcode_column_to_items_table',1),
(394,'2021_01_08_103402_update_barcode_column_to_items_table',1),
(395,'2021_01_18_143008_change_lenght_to_items_table',1),
(396,'2021_01_19_111533_add_internal_code_column_to_persons_table',1),
(397,'2021_01_21_181843_add_terms_condition_sale_to_configurations_table',1),
(398,'2021_01_21_183856_add_terms_condition_column_to_documents_table',1),
(399,'2021_01_26_102448_create_hotel_rates_table',1),
(400,'2021_01_26_152649_create_hotel_categories_table',1),
(401,'2021_01_26_161851_create_hotel_floors_table',1),
(402,'2021_01_26_171515_create_hotel_rooms_table',1),
(403,'2021_01_27_155235_create_hotel_room_rates_table',1),
(404,'2021_01_28_205134_create_hotel_rents_table',1),
(405,'2021_01_31_163211_create_hotel_rent_items_table',1),
(406,'2021_02_01_102051_add_columns_to_hotel_rents_table',1),
(407,'2021_02_01_112617_add_column_item_id_to_hotel_rooms_table',1),
(408,'2021_02_02_180153_add_arrears_column_to_hotel_rents_table',1),
(409,'2021_02_04_215327_add_show_in_document_column_to_bank_accounts_table',1),
(410,'2021_02_08_111945_add_document_id_column_to_dispatches_table',1),
(411,'2021_02_10_153546_add_login_column_to_configurations_table',1),
(412,'2021_02_11_113008_change_destination_to_global_payments_table',1),
(413,'2021_02_15_101110_add_favicon_column_to_companies_table',1),
(414,'2021_02_15_175921_add_navbar_column_to_configurations_table',1),
(415,'2021_02_19_165318_add_finances_column_to_configurations_table',1),
(416,'2021_02_25_165224_create_documentary_offices_table',1),
(417,'2021_02_25_180958_create_documentary_processes_table',1),
(418,'2021_02_25_183124_create_documentary_documents_table',1),
(419,'2021_02_26_102851_create_documentary_actions_table',1),
(420,'2021_02_26_102900_create_documentary_files_table',1),
(421,'2021_03_01_120554_add_user_id_column_to_documentary_files_table',1),
(422,'2021_03_01_120931_create_documentary_file_offices_table',1),
(423,'2021_03_10_163436_add_extra_modules_to_modules_table',1),
(424,'2021_03_11_111743_add_logo_column_to_establishments_table',1),
(425,'2021_03_19_204148_add_items_to_modules_table',1),
(426,'2021_03_19_221614_add_referential_information_to_quotations_table',1),
(427,'2021_03_20_112202_change_order_items_to_modules_table',1),
(428,'2021_03_20_115648_add_seller_id_column_to_quotations_table',1),
(429,'2021_03_20_132104_add_seller_id_column_to_contracts_table',1),
(430,'2021_03_21_165318_add_quotation_allow_seller_generate_sale_column_to_configurations_table',1),
(431,'2021_03_24_111209_tenant_payment_conditions_table',1),
(432,'2021_03_24_111211_tenant_add_payment_condition_to_documents',1),
(433,'2021_03_24_141211_tenant_document_fee_table',1),
(434,'2021_03_25_162827_add_purchase_order_column_to_sale_notes_table',1),
(435,'2021_03_25_215438_add_codes_column_to_items_table',1),
(436,'2021_03_25_215438_add_column_digemid_code_to_companies_table',1),
(437,'2021_03_25_215438_change_column_second_name_on_items_table',1),
(438,'2021_03_31_212318_add_document_id_column_to_sale_notes_table',1),
(439,'2021_04_01_113520_add_levels_to_module_levels_table',1),
(440,'2021_04_05_115318_add_allow_edit_unit_price_to_seller_column_to_configurations_table',1),
(441,'2021_04_06_172009_create_item_warehouse_prices_table',1),
(442,'2021_04_08_000106_create_points_table',1),
(443,'2021_04_08_004409_create_configuration_points_table',1),
(444,'2021_04_08_005315_add_foreign_to_points_table',1),
(445,'2021_04_08_175347_change_electronico_at_cat_document_type',1),
(446,'2021_04_11_113741_add_column_points_to_items_table',1),
(447,'2021_04_17_163456_add_technical_service_id_to_cash_documents_table',1),
(448,'2021_04_19_141528_add_column_points_to_sale_notes_table',1),
(449,'2021_04_19_144103_add_column_points_to_documents_table',1),
(450,'2021_04_22_170915_add_template_pdf_to_establishments_table',1),
(451,'2021_04_23_143433_add_edit_flag_to_documents_table',1),
(452,'2021_04_27_105557_add_payment_type_to_payment_method',1),
(453,'2021_04_29_122333_add_visual_ticket_58_to_configurations_table',1),
(454,'2021_05_03_131833_add_mail_configuration',1),
(455,'2021_05_06_152551_add_due_date_to_sales_note',1),
(456,'2021_05_07_154207_add_soft_delete_to_document',1),
(457,'2021_05_07_154207_remove_soft_delete_to_document',1),
(458,'2021_05_12_163406_add_seller_can_create_porduct_to_configuration',1),
(459,'2021_05_13_120615_add_seller_can_view_balance_on_finance_to_configuration',1),
(460,'2021_05_27_124620_add_generate_option_to_sale_opportunities',1),
(461,'2021_06_03_122337_add_method_type_to_documents_fee',1),
(462,'2021_06_03_165209_add_serie_and_document_to_user',1),
(463,'2021_06_07_140759_change_format_number_to_expenses_table',1),
(464,'2021_06_09_124243_add_update_documents_by_dispaches_to_configurations',1),
(465,'2021_06_10_092525_add_pharmacy_to_items',1),
(466,'2021_06_15_094333_add_name_product_pdf_to_order_note_items',1),
(467,'2021_06_16_154233_add_send_auto_sunat_to_dispatches',1),
(468,'2021_06_18_141048_add_modules_digemid',1),
(469,'2021_06_22_112855_add_fields_to_client',1),
(470,'2021_06_23_130016_create_digemid_catalog',1),
(471,'2021_06_28_125907_add_fields_to_documentary_office',1),
(472,'2021_06_28_142358_tenant_add_active_warehouse_prices_to_configurations',1),
(473,'2021_06_29_173743_tenant_add_allowance_charge_to_configurations',1),
(474,'2021_06_29_184419_remove_key_from_documentary',1),
(475,'2021_06_30_174147_create_adjust_to_docymentary_offices',1),
(476,'2021_06_30_175311_tenant_add_purchase_to_cash_documents',1),
(477,'2021_07_01_171620_adjust_to_docymentary_procedure',1),
(478,'2021_07_02_133558_add_office_to_process',1),
(479,'2021_07_05_091229_change_data_to',1),
(480,'2021_07_05_094927_create_documentary_guides_number',1),
(481,'2021_07_05_125811_add_field_to_documentary_file',1),
(482,'2021_07_05_141048_add_modules_docymentary_requirements',1),
(483,'2021_07_05_213052_change_observation_from_file_offices',1),
(484,'2021_07_05_220241_add_requirements_to_documentary_file',1),
(485,'2021_07_06_114113_tenant_add_discount_stock_to_cat_transfer_reason_types',1),
(486,'2021_07_06_173358_tenant_add_dispatch_id_to_documents',1),
(487,'2021_07_06_174510_add_name_pdf_to_sale_note_item',1),
(488,'2021_07_14_103324_add_data_affected_document',1),
(489,'2021_07_16_204722_add_phone_to_configuration_ecommerce',1),
(490,'2021_07_19_132554_add_days_to_client',1),
(491,'2021_07_26_102802_add_banned_column_to_points_table',1),
(492,'2021_07_30_113708_create_expiration_date_settings_table',1),
(493,'2021_08_03_115743_add_field_to_send_sale_note_to_other_site',1),
(494,'2021_08_05_143043_add_quotation_to_order_note',1),
(495,'2021_08_05_144042_tenant_add_search_item_by_series_to_configurations',1),
(496,'2021_08_06_094151_tenant_add_change_free_affectation_igv_to_configurations',1),
(497,'2021_08_09_115837_add_currency_to_configuration',1),
(498,'2021_08_09_131738_tenant_add_select_available_price_list_to_configurations',1),
(499,'2021_08_16_111909_create_colors_for_items',1),
(500,'2021_08_17_091109_add_more_propertys_to_item',1),
(501,'2021_08_20_153033_add_extra_data_of_product_to_configuration',1),
(502,'2021_08_20_161555_add_extra_data_item_menu',1),
(503,'2021_08_23_105050_tenant_add_group_items_generate_document_to_configurations',1),
(504,'2021_08_23_172828_adjust_inventory_item_extra_data',1),
(505,'2021_08_24_153219_tenant_add_columns_unknown_error_to_summaries',1),
(506,'2021_08_25_155900_tenant_add_columns_integrated_query_to_companies',1),
(507,'2021_09_08_165136_add_optional_emails_to_person',1),
(508,'2021_09_10_120216_create_email_send_log',1),
(509,'2021_09_10_143648_tenant_add_subtotal_to_documents',1),
(510,'2021_09_13_171757_tenat_add_total_igv_free_to_documents',1),
(511,'2021_09_15_115746_add_global_igv_to_purchase',1),
(512,'2021_09_15_170619_tenant_change_length_description_to_quotations',1),
(513,'2021_09_16_144202_add_app_to_modules',1),
(514,'2021_09_17_120309_add_url_apk_to_configurations',1),
(515,'2021_09_17_150025_transfer_accounts_payment',1),
(516,'2021_09_20_183304_add_new_enter_template_to_format_templates',1),
(517,'2021_09_21_172056_add_file_to_format_templates',1),
(518,'2021_09_22_120834_add_fields_technical_services',1),
(519,'2021_09_22_120835_create_technical_service_items',1),
(520,'2021_09_24_114832_add_configuration_to_show_name_of_pdf',1),
(521,'2021_09_28_183535_add_name_pdf_to_quotation_items',1),
(522,'2021_09_29_123827_add_text_to_address_in_configuration',1),
(523,'2021_09_29_180607_tenant_add_set_address_by_establishment_to_configurations',1),
(524,'2021_09_30_135325_tenant_add_order_id_to_sale_notes',1),
(525,'2021_09_30_170149_tenant_add_permission_to_edit_cpe_to_configurations',1),
(526,'2021_09_30_171912_tenant_add_permission_edit_cpe_to_users',1),
(527,'2021_10_04_154837_tenant_change_nullable_packages_number_to_dispatches',1),
(528,'2021_10_05_171912_add_configuration_module_to_user',1),
(529,'2021_10_05_174410_tenant_add_total_igv_free_to_quotations',1),
(530,'2021_10_06_132920_tenant_add_total_igv_free_to_order_notes',1),
(531,'2021_10_07_144354_create_guide_file',1),
(532,'2021_10_11_110825_create_item_movement_table',1),
(533,'2021_10_12_111345_create_item_movement_rel_extra_table',1),
(534,'2021_10_13_113504_add_only_user_warehouse_item_to_config',1),
(535,'2021_10_18_110547_tenant_add_technical_service_id_to_documents',1),
(536,'2021_10_18_110700_change_default_show_items_only_user_stablishment',1),
(537,'2021_10_18_110700_change_value_show_items_only_user_stablishment',1),
(538,'2021_10_18_110907_tenant_add_technical_service_id_to_sale_notes',1),
(539,'2021_10_18_150100_tenant_add_document_type_04_to_cat_document_types',1),
(540,'2021_10_18_150136_tenant_add_data_operation_type_0501_to_cat_operation_types',1),
(541,'2021_10_18_150154_tenant_cat_address_types_table',1),
(542,'2021_10_18_150215_tenant_add_address_type_id_to_persons',1),
(543,'2021_10_18_150306_tenant_purchase_settlements_table',1),
(544,'2021_10_18_150324_tenant_purchase_settlement_items_table',1),
(545,'2021_10_18_153949_tenant_add_data_purchase_settlements_to_module_levels',1),
(546,'2021_10_18_174146_tenant_add_subtotal_to_purchase_settlements',1),
(547,'2021_10_19_150956_tenant_add_pending_amount_detraction_to_documents',1),
(548,'2021_10_20_160503_tenant_add_retention_to_documents',1),
(549,'2021_10_20_161035_tenant_add_data_retention_to_cat_charge_discount_types',1),
(550,'2021_10_20_174401_tenant_rename_pending_amount_detraction_to_documents',1),
(551,'2021_10_21_093921_tenant_add_igv_retention_percentage_to_configurations',1),
(552,'2021_10_22_130040_create_app_suscription',1),
(553,'2021_10_25_112316_tenant_add_subtotal_to_quotations',1),
(554,'2021_10_25_142908_create_suscription_plans_table',1),
(555,'2021_10_25_154009_tenant_add_option_13_to_cat_note_credit_types',1),
(556,'2021_10_27_105710_tenant_add_subtotal_to_sale_notes',1),
(557,'2021_10_27_133333_add_parent_id_field_to_persons',1),
(558,'2021_10_28_110438_alter_sale_notes_and_documents',1),
(559,'2021_10_28_173041_tenant_add_name_product_xml_to_document_items',1),
(560,'2021_10_29_110421_tenant_add_name_product_pdf_to_xml_to_configurations',1),
(561,'2021_10_29_114826_change_value_alternate_server_to_configurations',1),
(562,'2021_11_09_113608_tenant_add_default_document_type_80_to_configurations',1),
(563,'2021_11_09_143629_tenant_add_search_item_by_barcode_to_configurations',1),
(564,'2021_11_09_173326_add_grade_and_section_touser_rel_suscription_plan',1),
(565,'2021_11_11_113443_tenant_general_payment_conditions_table',1),
(566,'2021_11_11_114229_tenant_add_payment_condition_id_to_purchases',1),
(567,'2021_11_11_152521_tenant_purchase_fee_table',1),
(568,'2021_11_11_180653_tenant_add_recreate_documents_to_users',1),
(569,'2021_11_12_102347_add_grade_and_section_tables',1),
(570,'2021_11_15_152956_additem_description_default_pdf_name_configuration',1),
(571,'2021_11_16_150657_add_user_id_to_inventories_transfer',1),
(572,'2021_11_25_105300_create_accounting_ledger_table',1),
(573,'2021_11_25_154025_add_auto_print_to_configurations',1),
(574,'2021_12_01_113756_add_show_services_on_pos',1),
(575,'2021_12_02_141408_tenant_bank_loans_table',1),
(576,'2021_12_03_130138_add_column_generic_to_items_table',1),
(577,'2021_12_05_124642_add_column_location_to_items_table',1),
(578,'2021_12_08_211200_add_pos_history_and_cost_to_configuration',1),
(579,'2021_12_09_180033_change_column_localtion_to_items_table',1),
(580,'2021_12_09_180332_create_table_locations_table',1),
(581,'2021_12_09_182924_add_flag_to_production_for_item',1),
(582,'2021_12_10_122529_add_zone_id_to_person',1),
(583,'2021_12_10_130040_create_app_production',1),
(584,'2021_12_10_172959_add_name_to_mill',1),
(585,'2021_12_11_101624_add_data_to_inventory_transactions',1),
(586,'2021_12_11_114856_add_item_to_mill_item',1),
(587,'2021_12_11_170251_create_item_supplies',1),
(588,'2021_12_15_112106_create_columns_to_show_by_user',1),
(589,'2021_12_16_144057_add_show_totals_on_c_p_e_list',1),
(590,'2021_12_21_134408_add_simplify_to_documentary',1),
(591,'2021_12_22_150753_add_guide_to_documentary_archive',1),
(592,'2021_12_25_163345_add_colors_to_documentary',1),
(593,'2021_12_31_105910_change_documentary_process_characters',1),
(594,'2022_01_05_170742_create_machine_for_production',1),
(595,'2022_01_07_124919_add_complete_to_documentary_files',1),
(596,'2022_01_11_140319_tenant_add_columns_send_pse_to_documents',1),
(597,'2022_01_11_174033_tenant_add_columns_send_pse_to_companies',1),
(598,'2022_01_12_180810_tenant_add_detraction_amount_rounded_int_to_configurations',1),
(599,'2022_01_13_141051_tenant_add_sale_notes_relateds_to_documents',1),
(600,'2022_01_15_130321_add_old_quantity_to_item_lot_group',1),
(601,'2022_01_18_094821_tenant_add_data_to_inventory_transactions',1),
(602,'2022_01_18_120000_add_show_term_condition_pos_to_configurations',1),
(603,'2022_01_18_213317_tenant_create_cash_documents_credit',1),
(604,'2022_01_20_202655_tenant_add_unique_filename_to_documents',1),
(605,'2022_01_22_001715_add_date_end_to_documentary_files',1),
(606,'2022_01_25_150315_add_apply_restaurant_to_items',1),
(607,'2022_01_25_152940_create_app_restaurant',1),
(608,'2022_01_26_175429_create_mi_tienda_pe',1),
(609,'2022_01_28_110155_tenant_add_related_to_dispatches',1),
(610,'2022_01_29_141957_add_purchase_order_and_observation_to_purchase',1),
(611,'2022_01_29_191503_create_packaging_table',1),
(612,'2022_01_30_120653_create_configuration_to_mi_tienda_pe',1),
(613,'2022_02_02_203403_add_autogenerate_c_p_e_to_mi_tienda_pe',1),
(614,'2022_02_07_110836_add_ticket_template_pdf_to_establishments_table',1),
(615,'2022_02_07_121152_add_is_custom_ticket_to_format_templates',1),
(616,'2022_02_07_142617_add_format_tickets_to_configurations',1),
(617,'2022_02_07_161128_tenant_add_data_to_promotions_table',1),
(618,'2022_02_08_213251_tenant_add_restaurant_to_orders',1),
(619,'2022_02_11_162919_tenant_add_last_sale_price_to_configurations',1),
(620,'2022_02_14_222010_tenant_add_flasg_to_inventory_configurations',1),
(621,'2022_02_14_224820_tenant_add_barcode_to_item_unit_types',1),
(622,'2022_02_16_150615_tenant_add_show_logo_establishment_to_configuration',1),
(623,'2022_02_17_195824_add_colaborator_to_production_as_text',1),
(624,'2022_02_22_111659_tenant_add_columns_send_pse_to_voided',1),
(625,'2022_02_24_134926_tenant_add_columns_purchase_isc_to_items',1),
(626,'2022_02_24_201345_tenant_download_tray_table',1),
(627,'2022_02_25_172811_add_print_next_line_to_pdf_on_observation',1),
(628,'2022_02_27_120405_tenant_add_comments_to_inventories',1),
(629,'2022_03_03_110115_tenant_add_global_discount_type_id_to_configurations',1),
(630,'2022_03_04_003932_tenant_add_quotation_to_cash_documents',1),
(631,'2022_03_08_112351_tenant_add_columns_send_pse_to_dispatches',1),
(632,'2022_03_09_111107_tenant_add_restaurant_to_cash',1),
(633,'2022_03_10_003439_add_column_url_and_name_printer_to_establishments_table',1),
(634,'2022_03_10_094902_tenant_add_shipping_time_days_to_configurations',1),
(635,'2022_03_11_120508_add_trace_to_api_peru_service',1),
(636,'2022_03_14_221802_tenant_add_type_to_download_tray',1),
(637,'2022_03_18_140238_tenant_add_total_igv_free_to_sale_notes',1),
(638,'2022_03_21_110605_create_restaurant_configuration',1),
(639,'2022_03_21_161851_add_configuration_new_valdiator_pagination',1),
(640,'2022_03_25_134555_tenant_add_customer_filter_by_seller_to_configurations',1),
(641,'2022_03_25_143916_tenant_add_index_seller_id_to_persons',1),
(642,'2022_03_25_170158_tenant_add_validate_purchase_sale_unit_price_to_configurations',1),
(643,'2022_03_28_174245_add_barcode_column_to_persons_table',1),
(644,'2022_03_29_101534_add_quantity_to_restaurant_configuration',1),
(645,'2022_03_30_145732_tenant_add_nationality_to_persons',1),
(646,'2022_03_31_132849_create_app_pos_garage',1),
(647,'2022_04_04_151234_add_commands_to_restaurant_configurations',1),
(648,'2022_04_06_111531_create_restaurant_roles_table',1),
(649,'2022_04_06_112454_add_restaurant_role_to_users',1),
(650,'2022_04_06_170626_tenant_add_unique_filename_to_sale_notes',1),
(651,'2022_04_08_001444_create_pharmacy_configurations_table',1),
(652,'2022_04_11_143145_tenant_add_name_product_pdf_to_contract_items',1),
(653,'2022_04_11_152502_tenant_add_name_product_pdf_to_dispatch_items',1),
(654,'2022_04_12_111023_tenant_add_columns_igv_unit_price_purchases_to_configurations',1),
(655,'2022_04_12_121903_addindex_to_item_movement_rel_extra',1),
(656,'2022_04_12_162742_tenant_report_configurations_table',1),
(657,'2022_04_18_153331_tenant_add_payment_permissions_to_users',1),
(658,'2022_04_19_114422_tenant_add_set_global_purchase_currency_items_to_configurations',1),
(659,'2022_04_20_115118_tenant_add_subject_to_detraction_to_items',1),
(660,'2022_04_20_205612_add_column_cash_and_transfers_to_cash_table',1),
(661,'2022_04_22_101547_tenant_change_type_observation_to_sale_notes',1),
(662,'2022_04_22_133909_tenant_add_set_unit_price_dispatch_related_record_to_configurations',1),
(663,'2022_04_25_151827_tenant_add_index_barcode_to_item_unit_types',1),
(664,'2022_04_26_175613_tenant_add_columns_restrict_voided_to_configurations',1),
(665,'2022_04_28_175537_tenant_add_order_form_external_to_dispatches',1),
(666,'2022_04_29_140515_tenant_add_enabled_tips_pos_to_configurations',1),
(667,'2022_04_29_144947_tenant_tips_table',1),
(668,'2022_05_02_135252_tenant_add_fields_to_module_levels',1),
(669,'2022_05_02_152925_tenant_add_top_menu_to_configurations',1),
(670,'2022_05_02_170654_tenant_add_data_district_250307_to_districts',1),
(671,'2022_05_03_143911_tenant_create_skins_table',1),
(672,'2022_05_03_171845_tenant_add_purchase_settlement_id_to_kardex',1),
(673,'2022_05_04_143113_tenant_add_payment_method_type_id_to_purchase_settlements',1),
(674,'2022_05_04_150922_tenant_change_type_column_quantity_to_item_supplies',1),
(675,'2022_05_04_155103_tenant_workers_table',1),
(676,'2022_05_04_174017_tenant_add_unique_filename_to_summaries',1),
(677,'2022_05_05_110908_tenant_add_soap_type_id_to_production',1),
(678,'2022_05_05_115054_tenant_add_soap_type_id_to_mill',1),
(679,'2022_05_05_134703_tenant_add_soap_type_id_to_packaging',1),
(680,'2022_05_06_162034_add_fields_to_person',1),
(681,'2022_05_08_122934_tenant_add_route_path_to_module_levels',1),
(682,'2022_05_08_130040_create_app_full_suscription',1),
(683,'2022_05_08_130054_tenant_update_data_to_skins',1),
(684,'2022_05_09_105130_tenant_payment_configurations_table',1),
(685,'2022_05_09_122150_tenant_add_defaults_to_configurations',1),
(686,'2022_05_09_141114_tenant_payment_link_types_table',1),
(687,'2022_05_09_143633_tenant_payment_links_table',1),
(688,'2022_05_09_212753_tenant_register_app_generate_link_to_modules',1),
(689,'2022_05_10_113515_tenant_transaction_states_table',1),
(690,'2022_05_10_113608_tenant_transactions_table',1),
(691,'2022_05_10_113734_tenant_transaction_queries_table',1),
(692,'2022_05_10_113800_tenant_client_error_types_table',1),
(693,'2022_05_10_113813_tenant_client_errors_table',1),
(694,'2022_05_10_163722_tenant_config_default_to_configurations',1),
(695,'2022_05_11_104030_tenant_add_soap_type_id_to_transactions',1),
(696,'2022_05_11_115321_tenant_add_query_transaction_to_payment_links',1),
(697,'2022_05_11_161435_tenant_change_nullable_payment_to_payment_links',1),
(698,'2022_05_11_224556_create_enter_permissions_table',1),
(699,'2022_05_11_224631_create_enter_permissions_users_table',1),
(700,'2022_05_12_180154_tenant_add_legend_forest_to_xml_to_configurations',1),
(701,'2022_05_13_162912_tenant_add_index_regularize_shipping_to_documents',1),
(702,'2022_05_13_163802_tenant_purchase_settlement_payments_table',1),
(703,'2022_05_13_172504_tenant_add_change_currency_item_to_configurations',1),
(704,'2022_05_17_164646_tenant_add_enabled_advanced_records_search_to_configurations',1),
(705,'2022_05_23_133515_tenant_add_decimal_quantity_unit_price_pdf_to_configurations',1),
(706,'2022_06_01_114042_tenant_add_separate_cash_transactions_to_configurations',1),
(707,'2022_06_01_161857_add_column_hotel_rate_id_to_hotel_rents_table',1),
(708,'2022_06_01_164204_tenant_add_order_cash_income_to_configurations',1),
(709,'2022_06_02_160925_tenant_add_data_district_080915_to_districts',1),
(710,'2022_06_03_135513_tenant_add_generate_order_note_from_quotation_to_configurations',1),
(711,'2022_06_06_144610_tenant_add_list_items_by_warehouse_to_configurations',1),
(712,'2022_06_16_143605_tenant_app_configurations_table',1),
(713,'2022_06_17_143817_tenant_add_payment_received_to_document_payments',1),
(714,'2022_06_21_101957_tenant_add_columns_login_pse_to_companies',1),
(715,'2022_06_21_165810_tenant_add_user_pse_to_companies',1),
(716,'2022_06_23_141216_tenant_add_print_format_pdf_to_app_configurations',1),
(717,'2022_06_28_164504_tenant_add_date_of_issue_to_inventories',1),
(718,'2022_06_30_110007_tenant_add_columns_send_pse_to_summaries',1),
(719,'2022_06_30_172004_tenant_add_index_external_id_to_income',1),
(720,'2022_06_30_172247_tenant_add_filename_to_income',1),
(721,'2022_07_01_103451_tenant_add_filename_to_expenses',1),
(722,'2022_07_01_172113_tenant_add_hide_pdf_view_documents_to_configurations',1),
(723,'2022_07_04_152229_tenant_add_ticket_single_shipment_to_configurations',1),
(724,'2022_07_04_153343_tenant_add_ticket_single_shipment_to_documents',1),
(725,'2022_07_05_103856_tenant_add_purchase_permissions_to_users',1),
(726,'2022_07_06_113107_tenant_add_columns_theme_configuration_to_app_configurations',1),
(727,'2022_07_06_233507_tenant_add_columns_header_configuration_to_app_configurations',1),
(728,'2022_07_07_100534_tenant_add_module_app_2_generator_to_modules',1),
(729,'2022_07_07_131216_tenant_app_modules_table',1),
(730,'2022_07_07_143039_tenant_app_module_user_table',1),
(731,'2022_07_08_101718_tenant_add_data_configuration_to_app_modules',1),
(732,'2022_07_08_165430_tenant_add_indexes_columns_to_cash',1),
(733,'2022_07_11_180145_tenant_add_data_quotation_to_app_modules',1),
(734,'2022_07_14_095450_tenant_add_app_logo_to_companies',1),
(735,'2022_07_14_120321_tenant_add_affect_all_documents_to_configuration',1),
(736,'2022_07_14_143450_tenant_add_terms_condition_column_to_sale_notes_table',1),
(737,'2022_07_14_162144_tenant_add_terms_condition_column_to_dispatches_table',1),
(738,'2022_07_15_110508_tenant_add_text_filter_to_items',1),
(739,'2022_07_18_172843_tenant_add_app_mode_to_app_configurations',1),
(740,'2022_07_19_033009_tenant_add_dashboard_options_to_configurations',1),
(741,'2022_07_25_115003_tenant_add_quantity_sales_notes_to_configurations',1),
(742,'2022_07_30_133127_tenant_add_direct_print_to_app_configurations',1),
(743,'2022_08_05_110445_tenant_add_columns_whatsapp_to_companies',1),
(744,'2022_08_05_174505_tenant_add_favorite_to_items',1),
(745,'2022_08_07_122150_tenant_add_folio_to_documents',1),
(746,'2022_08_11_151009_tenant_add_data_district_080916_to_districts',1),
(747,'2022_08_11_151307_tenant_add_data_district_080917_to_districts',1),
(748,'2022_08_11_151330_tenant_add_data_district_080918_to_districts',1),
(749,'2022_08_11_151345_tenant_add_data_district_080919_to_districts',1),
(750,'2022_08_14_190940_tenant_add_additional_data_to_documents',1),
(751,'2022_08_15_101024_tenant_add_data_default_various_clients_to_persons',1),
(752,'2022_08_23_140943_tenant_add_personal_information_to_users',1),
(753,'2022_08_23_174028_tenant_user_default_document_types_table',1),
(754,'2022_08_24_155445_tenant_add_data_district_080914_to_districts',1),
(755,'2022_08_24_160940_tenant_add_additional_data_to_document_items',1),
(756,'2022_08_24_165942_tenant_add_restrict_series_selection_seller_to_configurations',1),
(757,'2022_08_25_113149_tenant_system_activity_logs_table',1),
(758,'2022_08_25_154533_create_dispatch_sale_notes_table',1),
(759,'2022_08_29_015753_tenant_add_igv_31556_to_establishments',1),
(760,'2022_08_30_104544_tenant_add_location_to_system_activity_logs',1),
(761,'2022_08_30_140345_tenant_rename_column_auth_transaction_type_to_system_activity_logs',1),
(762,'2022_08_30_175558_tenant_add_regex_password_user_to_configurations',1),
(763,'2022_08_31_105919_tenant_add_route_to_system_activity_logs',1),
(764,'2022_08_31_112916_tenant_system_activity_log_types_table',1),
(765,'2022_08_31_131222_tenant_add_foreign_transaction_type_to_system_activity_logs',1),
(766,'2022_08_31_142530_tenant_add_columns_remember_change_password_to_configurations',1),
(767,'2022_08_31_150743_tenant_add_last_password_update_to_users',1),
(768,'2022_09_01_173835_tenant_add_columns_point_system_to_configurations',1),
(769,'2022_09_02_100607_tenant_add_accumulated_points_to_persons',1),
(770,'2022_09_02_130726_tenant_add_point_system_to_documents',1),
(771,'2022_09_02_152858_tenant_add_columns_point_system_to_items',1),
(772,'2022_09_02_172003_tenant_add_show_complete_name_pos_to_configurations',1),
(773,'2022_09_03_190940_tenant_add_additional_data_to_documents_error',1),
(774,'2022_09_06_165424_tenant_add_round_points_of_sale_to_configurations',1),
(775,'2022_09_07_101240_tenant_add_columns_point_system_to_sale_notes',1),
(776,'2022_09_08_102133_tenant_add_enable_categories_products_view_to_configurations',1),
(777,'2022_09_08_113936_tenant_add_columns_restrict_seller_discount_to_configurations',1),
(778,'2022_09_08_151132_tenant_authorized_discount_users_table',1),
(779,'2022_09_09_110646_tenant_enabled_sales_agents_to_configurations',1),
(780,'2022_09_09_113545_tenant_agents_table',1),
(781,'2022_09_09_144216_tenant_add_agent_id_to_documents_sale_notes',1),
(782,'2022_09_10_114510_tenant_add_inventory_review_to_inventory_configurations',1),
(783,'2022_09_14_170825_tenant_add_change_affectation_exonerated_igv_to_configurations',1),
(784,'2022_09_18_162711_add_pos_discount_permission_to_enter_permissions_table',1),
(785,'2022_09_20_101814_tenant_add_data_login_lockout_to_system_activity_log_types',1),
(786,'2022_09_20_155523_tenant_add_request_email_to_system_activity_logs',1),
(787,'2022_09_27_104853_tenant_add_factory_code_to_items',1),
(788,'2022_09_27_115234_tenant_add_search_factory_code_items_to_configurations',1),
(789,'2022_09_28_101354_tenant_add_show_load_voucher_to_configurations',1),
(790,'2022_09_29_114005_tenant_add_force_send_by_summary_to_documents',1),
(791,'2022_09_29_115507_tenant_add_permission_force_send_by_summary_to_users',1),
(792,'2022_10_04_141907_tenant_change_description_value_to_module_levels',1),
(793,'2022_10_05_152438_tenant_add_environment_to_restaurant_configurations',1),
(794,'2022_10_05_162751_tenant_add_index_changed_to_sale_notes',1),
(795,'2022_10_12_141349_tenant_add_real_system_stock_to_inventories',1),
(796,'2022_10_14_172645_tenant_add_register_series_invoice_xml_to_configurations',1),
(797,'2022_10_16_101354_tenant_add_enable_discount_by_customer_to_configurations',1),
(798,'2022_10_16_110607_tenant_add_discount_to_persons',1),
(799,'2022_10_20_123539_tenant_add_image_default_to_items',1),
(800,'2022_10_21_190940_tenant_add_additional_data_to_dispatches',1),
(801,'2022_10_21_210941_tenant_add_additional_data_to_dispatch_items',1),
(802,'2022_10_21_213010_tenant_add_config_to_restaurant_configurations',1),
(803,'2022_10_22_113308_tenant_create_waiters_table',1),
(804,'2022_10_22_174921_tenant_add_quantity_mesas_and_and_env4_to_environment_restaurant',1),
(805,'2022_11_04_142103_tenant_add_enabled_dispatch_ticket_pdf_to_configurations',1),
(806,'2022_11_04_173318_tenant_add_dispatch_ticket_pdf_to_document_sale_notes',1),
(807,'2022_11_10_132533_tenant_add_item_lot_group_id_to_purchase_items',1),
(808,'2022_11_14_162628_tenant_add_validate_stock_add_item_to_inventory_configurations',1),
(809,'2022_11_16_000856_create_restaurant_table_envs_table',1),
(810,'2022_11_16_000857_add_data_restaurant_table_envs',1),
(811,'2022_11_16_235623_create_restaurant_tables_table',1),
(812,'2022_11_17_154241_tenant_add_direct_send_documents_whatsapp_to_app_configurations',1),
(813,'2022_11_27_235623_create_restaurant_notes_table',1),
(814,'2022_11_28_007706_tenant_guides_table',1),
(815,'2022_11_28_017707_tenant_guide_items_table',1),
(816,'2022_11_28_101718_tenant_add_guide_id_to_inventories',1),
(817,'2022_11_28_111428_tenant_add_series_and_number_to_inventories_transfer',1),
(818,'2022_11_29_113028_tenant_create_number_series_to_guides',1),
(819,'2022_11_30_103028_tenant_add_api_sunat_to_companies',1),
(820,'2022_12_01_013028_tenant_add_ticket_to_dispatches',1),
(821,'2022_12_01_112321_tenant_update_data_to_dispatches',1),
(822,'2022_12_02_023125_tenant_add_number_mtc_to_dispatchers',1),
(823,'2022_12_04_113118_tenant_add_sunat_to_companies',1),
(824,'2022_12_06_105443_tenant_add_name_product_pdf_to_purchase_items',1),
(825,'2022_12_07_112335_add_show_price_in_barcode_ticket_to_configurations',1),
(826,'2022_12_12_225021_tenant_update_roles_restaurant_mozo',1),
(827,'2022_12_13_131847_tenant_change_column_inventory_transaction_id_to_guides',1),
(828,'2022_12_13_153125_tenant_add_unit_type_to_cat_unit_types',1),
(829,'2022_12_16_153346_tenant_add_price_selected_add_product_to_configurations',1),
(830,'2022_12_20_160732_tenant_add_additional_data_to_order_notes',1),
(831,'2022_12_21_113016_tenant_edit_unit_type_to_cat_unit_types',1),
(832,'2022_12_22_101455_tenant_pdf_footer_images_to_configurations',1),
(833,'2022_12_23_132614_tenant_add_locked_create_establishments_to_configurations',1),
(834,'2022_12_23_173228_tenant_add_restrict_sales_limit_to_configurations',1),
(835,'2022_12_26_112720_add_data_district050511_to_districts',1),
(836,'2022_12_27_012101_tenant_transports_table',1),
(837,'2022_12_27_152518_tenant_add_restrict_sale_items_cpe_to_configurations',1),
(838,'2022_12_27_154226_tenant_add_restrict_sale_cpe_to_items',1),
(839,'2022_12_28_174959_tenant_add_show_convert_cpe_pos_to_configurations',1),
(840,'2022_12_28_270513_tenant_update_to_dispatches',1),
(841,'2022_12_29_120310_tenant_update_to_drivers',1),
(842,'2022_12_29_132101_tenant_origin_addresses_table',1),
(843,'2022_12_30_120731_tenant_add_index_is_credit_to_payment_method_types',1),
(844,'2022_12_31_100513_tenant_add_transport_data_to_dispatches',1),
(845,'2023_01_14_013028_tenant_change_length_ticket_to_dispatches',1),
(846,'2023_01_15_122101_tenant_dispatch_addresses_table',1),
(847,'2023_01_16_110612_tenant_add_receiver_to_dispatches',1),
(848,'2023_01_16_150612_tenant_change_customer_id_to_dispatches',1),
(849,'2023_02_09_144759_create_inventory_transfer_items',1),
(850,'2023_02_24_163815_tenant_add_order_note_advanced_to_configurations',1),
(851,'2023_03_08_113249_tenant_hotel_rent_item_payments_table',1),
(852,'2023_03_09_132241_tenant_add_subtotal_to_order_notes',1),
(853,'2023_03_15_151737_tenant_change_nullable_email_to_establishments',1),
(854,'2023_03_15_154740_tenant_remove_validation_email_establishments_to_configurations',1),
(855,'2023_07_18_214757_tenant_add_second_name_to_items',1),
(856,'2023_09_07_151856_tenant_add_sire_to_companies',1),
(857,'2023_11_10_204115_create_cie10_table',1),
(858,'2023_11_10_204153_create_prescription_doctors_table',1),
(859,'2023_11_10_204221_create_prescription_prescriptions_table',1),
(860,'2023_11_10_204419_add_requires_prescription_to_items_table',1),
(861,'2024_01_27_045748_guia_tenant_to_modules',1),
(862,'2024_02_19_220058_response_signature_nubefact_to_documents',1),
(863,'2024_02_19_220808_api_nubefact_to_companies',1),
(864,'2024_02_21_042258_send_to_nubefact_to_companies',1),
(865,'2024_02_21_085754_send_anulate_nubefact',1),
(866,'2024_02_22_184908_api_token_to_establishments',1),
(867,'2024_02_29_093306_total_plastic_bag_taxes_to_purchases',1),
(868,'2024_08_08_172459_add_formula_column_to_configurations_table',1),
(869,'2025_02_13_000001_add_is_visible_payment_method_types_table',1),
(884,'2024_09_13_105728_tenant_add_column_certificate_qz_tray_to_companies',2),
(885,'2024_11_22_192222_change_decimal_to_purchase_items',2),
(886,'2025_03_02_005639_add_column_hospital_type_to_establishments_table',2),
(887,'2025_03_25_100110_tenant_add_total_to_sale_notes',2),
(888,'2025_03_25_181211_tenant_sale_note_fee_table',2),
(889,'2025_03_25_195114_tenant_add_columns_to_sale_note_payments',2),
(890,'2025_04_22_114404_tenant_add_devolution_to_inventario',2),
(891,'2025_04_22_114404_tenant_add_pse_qpos_to_companies',2),
(892,'2025_08_12_114404_tenant_add_cash_box_to_configuracion',2),
(893,'2025_08_27_120000_tenant_add_fast_payment_config_to_configurations',2),
(894,'2025_08_27_120000_tenant_add_image_ads_config_to_configurations',2),
(895,'2025_09_01_120000_tenant_add_annular_sale_to_users',2),
(896,'2025_09_01_120000_tenant_add_prescriptions_salenote_invoice',2),
(897,'2025_09_01_120000_tenant_prescriptions_table_make_fields_nullable',2),
(898,'2025_10_10_025653_tenant_remove_qr_to_documents',2),
(899,'2025_12_02_103028_tenant_add_number_ticket_to_companies',2),
(900,'2026_02_28_170000_add_active_pos_to_payment_method_types_table',2),
(901,'2026_03_01_000001_tenant_add_blister_unit_type',2),
(902,'2026_03_01_000002_tenant_add_price_list_to_persons',2),
(903,'2026_03_01_120000_add_pos_bank_account_id_to_payment_method_types_table',2),
(904,'2026_03_01_180000_tenant_normalize_payment_method_types_for_pos',2),
(905,'2026_03_02_000001_add_performance_indexes',2),
(906,'2026_03_02_000002_add_item_warehouse_unique_index',2),
(907,'2026_03_08_000003_add_digemid_sublevels_to_tenant_module_levels',2),
(908,'2026_03_08_000004_rename_digemid_labels_to_farmacos',2),
(909,'2026_03_09_000000_tenant_prescriptions_add_text_fields',2),
(910,'2026_03_09_000010_create_pos_parked_sales_table',2),
(911,'2026_03_10_000001_create_coupons_table',2),
(912,'2026_03_10_000002_add_coupon_to_documents_and_sale_notes',2),
(913,'2026_03_10_000003_add_coupons_module_level_to_tenant',2),
(914,'2026_03_10_180100_tenant_create_purchase_xml_imports_table',2),
(915,'2026_03_10_180200_tenant_create_supplier_item_aliases_table',2),
(916,'2026_03_10_180300_tenant_add_xml_import_controls_to_purchases',2),
(917,'2026_03_12_000001_add_is_pharmacist_to_users',2),
(918,'2026_03_12_000002_add_pharmacist_restriction_to_configurations',2),
(919,'2026_03_14_000001_create_charge_discounts_table',2),
(920,'2026_03_16_000001_drop_clinic_module_tables',2),
(921,'2026_03_30_120000_merge_legacy_a30_dias_payment_method_into_factura_a30_dias',2),
(922,'2026_04_06_120000_add_use_profit_margin_formula_to_configurations',3),
(923,'2026_04_06_180000_create_inventory_reconciliation_reviews_table',4),
(924,'2026_04_14_000000_tenant_deactivate_non_pharmacy_units',5),
(925,'2026_04_15_000000_tenant_add_closing_denominations_to_cash',6),
(926,'2026_04_15_000001_tenant_add_purchase_fee_id_to_purchase_payments',7),
(927,'2026_04_15_100000_tenant_unique_barcode_item_unit_types',8),
(928,'2026_04_15_100100_tenant_item_unit_type_changes_table',8),
(929,'2026_04_15_100200_tenant_add_soft_delete_to_item_unit_types',8),
(930,'2026_04_15_110000_tenant_add_presentation_unit_type_to_inventory_kardex',8),
(931,'2026_04_15_110100_tenant_add_presentation_unit_type_to_prescriptions',8),
(932,'2026_04_15_120000_tenant_add_presentation_unit_type_to_inventory_transfer',8),
(933,'2026_04_15_130000_tenant_add_presentation_unit_type_to_discounts_promotions',8),
(934,'2026_04_15_150000_create_item_lot_movements_table',8),
(935,'2026_04_16_140000_tenant_add_quantity_to_inventory_transfer_items',8),
(936,'2026_04_16_180000_tenant_create_item_lots_group_warehouse_table',8),
(937,'2026_04_17_100000_tenant_create_item_unit_type_warehouse_price_table',8),
(938,'2026_04_17_100100_tenant_add_warehouse_id_to_item_unit_type_changes',8),
(939,'2026_04_17_100200_tenant_add_active_warehouse_prices_per_presentation',8),
(940,'2026_04_18_100000_tenant_drop_stock_thresholds_from_item_warehouse',8),
(941,'2026_04_18_110000_tenant_bridge_legacy_item_warehouse_prices',8),
(942,'2026_04_18_120000_tenant_drop_item_warehouse_prices_legacy',8),
(943,'2026_04_18_130000_tenant_add_master_warehouse_to_configurations',8),
(944,'2026_04_18_130100_tenant_create_item_warehouse_pricing_states_table',8),
(945,'2026_04_18_130200_tenant_backfill_item_warehouse_pricing_states',8),
(946,'2026_04_26_120000_tenant_add_owner_warehouse_to_items',8),
(947,'2026_04_26_120100_tenant_backfill_items_owner_warehouse',8),
(948,'2026_04_27_235000_tenant_backfill_item_points_to_exchange_fields',8),
(949,'2026_04_29_100000_tenant_add_foreign_keys_to_promotion_presentation_scope',8),
(950,'2026_05_06_000005_remove_pos_garage_module_level',9),
(951,'2026_05_06_120000_tenant_create_user_mobile_establishments_table',10),
(952,'2026_05_06_120100_tenant_create_mobile_idempotency_keys_table',10),
(953,'2026_05_06_120200_tenant_create_mobile_push_devices_table',10),
(954,'2026_05_11_120000_tenant_add_default_prefix_to_sale_notes',11),
(955,'2026_05_20_000001_create_mobile_physical_counts_table',12),
(956,'2026_05_20_000002_create_mobile_physical_count_lines_table',12),
(957,'2026_05_20_000003_create_mobile_physical_count_events_table',12),
(958,'2026_05_21_000001_add_inventory_id_to_mobile_physical_count_lines',13),
(959,'2026_05_21_000002_add_operational_index_to_mobile_physical_counts',13),
(960,'2026_05_22_000001_add_user_id_to_inventories_table',14),
(961,'2026_06_17_120000_tenant_add_seller_incentive_to_configurations',15),
(962,'2026_06_17_120100_tenant_add_shift_type_to_cash',15),
(963,'2026_06_17_120200_tenant_create_seller_point_ledger_table',15),
(964,'2026_06_18_000000_add_gre_fields_to_dispatches_table',15),
(965,'2026_06_18_000100_add_license_plate_m1l_to_dispatches_table',15),
(966,'2026_06_19_000000_add_condition_storage_to_items_table',15),
(967,'2026_06_19_120000_tenant_create_seller_reward_table',15),
(968,'2026_06_19_120100_tenant_create_seller_reward_redemption_table',15),
(969,'2026_06_20_120000_fix_items_nullable_and_defaults',16),
(970,'2026_06_22_000001_remove_orphan_clinic_module_rows',17),
(971,'2026_06_22_000002_remove_orphan_advanced_dispatches_level',18),
(972,'2026_06_22_130000_add_is_veterinary_to_configurations',19),
(973,'2026_06_22_130001_add_modules_veterinary',19),
(974,'2026_06_22_140000_create_vet_pets_table',19),
(975,'2026_06_22_150000_create_vet_vaccination_records_table',19),
(976,'2026_06_23_120000_add_is_vaccine_to_items_table',19),
(977,'2026_06_23_160000_create_vet_consultations_table',19),
(978,'2026_06_23_170000_create_vet_boardings_table',19),
(979,'2026_06_23_180000_create_vet_appointments_table',19),
(980,'2026_06_23_190000_add_type_to_vet_vaccination_records',19),
(981,'2026_06_23_200000_create_vet_memberships_table',19),
(982,'2026_06_23_210000_create_vet_catalogs_tables',19),
(983,'2026_06_23_220000_add_vet_appointment_duration_to_configurations',19),
(984,'2026_06_23_230000_add_vet_kennel_count_to_configurations',19),
(985,'2026_06_24_120000_add_is_vet_service_to_items_table',19),
(986,'2026_06_24_130000_add_vet_boarding_service_item_to_configurations',19),
(987,'2026_06_24_140000_create_vet_prescriptions_table',19),
(988,'2026_06_24_140001_create_vet_prescription_items_table',19),
(989,'2026_06_24_140002_make_applied_date_nullable_on_vet_vaccination_records',19),
(990,'2026_06_24_140003_create_vet_vaccine_protocols_table',19),
(991,'2026_06_24_150000_create_vet_notification_log_table',19),
(992,'2026_06_24_150001_add_vet_notify_fields_to_configurations',19),
(993,'2026_06_24_160000_add_clinical_fields_to_vet_consultations',19),
(994,'2026_06_24_160001_add_sterilized_to_vet_pets',19),
(995,'2026_06_24_170000_add_working_hours_to_vet_veterinarians',19),
(996,'2026_06_24_180000_add_species_fk_and_clinical_to_vet_pets',19),
(997,'2026_06_24_180000_add_vet_consultation_service_item_to_configurations',19),
(998,'2026_06_24_190000_add_type_to_vet_consultations',19),
(999,'2026_06_24_190001_create_vet_consultation_attachments_table',19),
(1000,'2026_06_24_200000_create_vet_quotes_table',19),
(1001,'2026_06_24_200001_create_vet_quote_items_table',19),
(1002,'2026_06_25_120000_add_vet_clinic_hours_to_configurations',19),
(1003,'2026_06_25_130001_add_veterinary_sublevels_to_tenant_module_levels',19),
(1004,'2026_06_25_130002_add_user_id_to_vet_veterinarians',19),
(1005,'2026_06_25_140000_backfill_veterinary_levels_by_module',19),
(1006,'2026_06_25_150000_create_vet_consultation_procedures',19),
(1007,'2026_06_28_160000_add_parent_id_to_categories',20),
(1008,'2026_06_28_170000_add_is_clinic_to_configurations',21),
(1009,'2026_06_28_170001_add_modules_clinica',21),
(1010,'2026_06_28_180000_create_clinica_tables',21),
(1011,'2026_06_28_190000_add_clinic_role_id_to_users',21),
(1012,'2026_06_28_200000_add_birthdate_gender_to_persons',21),
(1013,'2026_06_29_120000_add_clinic_appointment_item_to_configurations',21),
(1014,'2026_06_29_120100_add_is_clinic_service_to_items',21),
(1015,'2026_06_30_120000_create_clinic_appointment_items',21),
(1016,'2026_06_30_140000_add_charge_columns_to_clinic_appointments',21);
COMMIT;

--
-- Table structure for table `mill`
--

CREATE TABLE `mill` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_start` date DEFAULT NULL,
  `time_start` time DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `time_end` time DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT 0,
  `soap_type_id` char(2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `comment` longtext DEFAULT NULL,
  `mill_name` varchar(255) DEFAULT NULL,
  `lot_code` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mill_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `mill_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 `mill`
--

COMMIT;

--
-- Table structure for table `mill_items`
--

CREATE TABLE `mill_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0,
  `mill_id` int(10) unsigned DEFAULT 0,
  `height_to_mill` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso de entrada',
  `total_height` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso dle insumo ',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `quantity` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso dle insumo ',
  `item_extra_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mill_items`
--

COMMIT;

--
-- Table structure for table `mobile_idempotency_keys`
--

CREATE TABLE `mobile_idempotency_keys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `idempotency_key` varchar(100) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'processing',
  `model` varchar(20) DEFAULT NULL,
  `record_id` int(10) unsigned DEFAULT NULL,
  `response_payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_payload`)),
  `error_message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mik_user_est_key_unique` (`user_id`,`establishment_id`,`idempotency_key`),
  KEY `mobile_idempotency_keys_status_index` (`status`),
  KEY `mobile_idempotency_keys_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `mobile_idempotency_keys_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `mobile_idempotency_keys_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 `mobile_idempotency_keys`
--

COMMIT;

--
-- Table structure for table `mobile_physical_count_events`
--

CREATE TABLE `mobile_physical_count_events` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `physical_count_id` int(10) unsigned NOT NULL,
  `line_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned DEFAULT NULL,
  `lot_group_id` int(10) unsigned DEFAULT NULL,
  `barcode` varchar(100) DEFAULT NULL,
  `factor` decimal(12,4) NOT NULL DEFAULT 1.0000,
  `quantity` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `quantity_base` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `source` varchar(30) NOT NULL DEFAULT 'scan',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mobile_physical_count_events_physical_count_id_item_id_index` (`physical_count_id`,`item_id`),
  KEY `mobile_physical_count_events_line_id_foreign` (`line_id`),
  KEY `mobile_physical_count_events_user_id_foreign` (`user_id`),
  KEY `mobile_physical_count_events_item_id_foreign` (`item_id`),
  KEY `mobile_physical_count_events_item_unit_type_id_foreign` (`item_unit_type_id`),
  KEY `mobile_physical_count_events_lot_group_id_foreign` (`lot_group_id`),
  CONSTRAINT `mobile_physical_count_events_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `mobile_physical_count_events_item_unit_type_id_foreign` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`),
  CONSTRAINT `mobile_physical_count_events_line_id_foreign` FOREIGN KEY (`line_id`) REFERENCES `mobile_physical_count_lines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `mobile_physical_count_events_lot_group_id_foreign` FOREIGN KEY (`lot_group_id`) REFERENCES `item_lots_group` (`id`),
  CONSTRAINT `mobile_physical_count_events_physical_count_id_foreign` FOREIGN KEY (`physical_count_id`) REFERENCES `mobile_physical_counts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `mobile_physical_count_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_count_events`
--

COMMIT;

--
-- Table structure for table `mobile_physical_count_lines`
--

CREATE TABLE `mobile_physical_count_lines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `physical_count_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned DEFAULT NULL,
  `lot_group_id` int(10) unsigned DEFAULT NULL,
  `lot_code` varchar(100) DEFAULT NULL,
  `line_key` varchar(160) NOT NULL,
  `counted_qty_base` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `system_qty_snapshot` decimal(12,4) DEFAULT NULL,
  `difference_qty` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `inventory_id` int(10) unsigned DEFAULT NULL,
  `scanned_times` int(10) unsigned NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `last_counted_by` int(10) unsigned DEFAULT NULL,
  `last_counted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mobile_physical_count_lines_unique` (`physical_count_id`,`line_key`),
  KEY `mobile_physical_count_lines_item_id_lot_group_id_index` (`item_id`,`lot_group_id`),
  KEY `mobile_physical_count_lines_item_unit_type_id_foreign` (`item_unit_type_id`),
  KEY `mobile_physical_count_lines_lot_group_id_foreign` (`lot_group_id`),
  KEY `mobile_physical_count_lines_last_counted_by_foreign` (`last_counted_by`),
  KEY `mobile_physical_count_lines_inventory_id_foreign` (`inventory_id`),
  CONSTRAINT `mobile_physical_count_lines_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `inventories` (`id`),
  CONSTRAINT `mobile_physical_count_lines_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `mobile_physical_count_lines_item_unit_type_id_foreign` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`),
  CONSTRAINT `mobile_physical_count_lines_last_counted_by_foreign` FOREIGN KEY (`last_counted_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_count_lines_lot_group_id_foreign` FOREIGN KEY (`lot_group_id`) REFERENCES `item_lots_group` (`id`),
  CONSTRAINT `mobile_physical_count_lines_physical_count_id_foreign` FOREIGN KEY (`physical_count_id`) REFERENCES `mobile_physical_counts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_count_lines`
--

COMMIT;

--
-- Table structure for table `mobile_physical_counts`
--

CREATE TABLE `mobile_physical_counts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `submitted_by` int(10) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_by` int(10) unsigned DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejected_by` int(10) unsigned DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mobile_physical_counts_warehouse_id_status_index` (`warehouse_id`,`status`),
  KEY `mobile_physical_counts_user_id_status_index` (`user_id`,`status`),
  KEY `mobile_physical_counts_submitted_by_foreign` (`submitted_by`),
  KEY `mobile_physical_counts_approved_by_foreign` (`approved_by`),
  KEY `mobile_physical_counts_rejected_by_foreign` (`rejected_by`),
  KEY `mobile_physical_counts_cancelled_by_foreign` (`cancelled_by`),
  KEY `mobile_physical_counts_est_status_created_idx` (`establishment_id`,`status`,`created_at`),
  CONSTRAINT `mobile_physical_counts_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_cancelled_by_foreign` FOREIGN KEY (`cancelled_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `mobile_physical_counts_rejected_by_foreign` FOREIGN KEY (`rejected_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_submitted_by_foreign` FOREIGN KEY (`submitted_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_counts`
--

COMMIT;

--
-- Dumping data for table `mobile_push_devices`
--

COMMIT;

--
-- Table structure for table `module_level_user`
--

CREATE TABLE `module_level_user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `module_level_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `module_level_user`
--

INSERT INTO `module_level_user` VALUES
(1,76,0),
(2,77,0),
(3,78,0),
(4,1,1),
(5,2,1),
(6,3,1),
(7,4,1),
(8,5,1),
(9,6,1),
(10,7,1),
(11,8,1),
(12,12,1),
(13,14,1),
(14,15,1),
(15,16,1),
(16,23,1),
(17,24,1),
(18,25,1),
(19,26,1),
(20,29,1),
(21,45,1),
(22,46,1),
(23,51,1),
(24,52,1),
(25,53,1),
(26,76,1),
(27,77,1),
(28,78,1),
(29,1,2),
(30,2,2),
(31,3,2),
(32,4,2),
(33,5,2),
(34,6,2),
(35,7,2),
(36,8,2),
(37,12,2),
(38,14,2),
(39,15,2),
(40,16,2),
(41,23,2),
(42,24,2),
(43,25,2),
(44,26,2),
(45,51,2),
(46,52,2),
(47,53,2),
(48,76,2),
(49,77,2),
(50,78,2),
(51,90,1),
(52,90,2),
(53,1,2),
(54,2,2),
(55,3,2),
(56,4,2),
(57,5,2),
(58,6,2),
(59,7,2),
(60,8,2),
(61,12,2),
(62,14,2),
(63,15,2),
(64,16,2),
(65,23,2),
(66,24,2),
(67,25,2),
(68,26,2),
(69,90,2),
(70,51,2),
(71,52,2),
(72,53,2),
(73,76,2),
(74,77,2),
(75,78,2);
COMMIT;

--
-- Table structure for table `module_levels`
--

CREATE TABLE `module_levels` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `value` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `module_id` int(10) unsigned NOT NULL,
  `route_name` varchar(255) DEFAULT NULL,
  `route_path` varchar(255) DEFAULT NULL,
  `label_menu` varchar(3) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `module_levels_module_id_foreign` (`module_id`),
  CONSTRAINT `module_levels_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `module_levels`
--

INSERT INTO `module_levels` VALUES
(1,'new_document','Nuevo comprobante',1,'tenant.documents.create','/documents/create','NC',NULL,NULL),
(2,'list_document','L. Comprobantes',1,NULL,NULL,NULL,NULL,NULL),
(3,'document_not_sent','Doc. No enviados',1,NULL,NULL,NULL,NULL,NULL),
(4,'document_contingengy','Doc. Contingencia',1,NULL,NULL,NULL,NULL,NULL),
(5,'catalogs','Catálogos',1,NULL,NULL,NULL,NULL,NULL),
(6,'summary_voided','Resúmenes y Anulaciones',1,NULL,NULL,NULL,NULL,NULL),
(7,'quotations','Cotizaciones',1,NULL,NULL,NULL,NULL,NULL),
(8,'sale_notes','Notas de Venta',1,'tenant.sale_notes.index','/sale-notes','NV',NULL,NULL),
(9,'incentives','Comisiones',1,NULL,NULL,NULL,NULL,NULL),
(10,'sale-opportunity','Oportunidad de venta',1,NULL,NULL,NULL,NULL,NULL),
(11,'contracts','Contratos',1,NULL,NULL,NULL,NULL,NULL),
(12,'order-note','Pedidos',1,'tenant.order_notes.index','/order-notes','PED',NULL,NULL),
(13,'technical-service','Servicios de soporte técnico',1,NULL,NULL,NULL,NULL,NULL),
(14,'regularize_shipping','CPE pendientes de rectificación',1,NULL,NULL,NULL,NULL,NULL),
(15,'pos','Punto de venta',6,'tenant.pos.index','/pos','POS',NULL,NULL),
(16,'cash','Caja chica POS',6,NULL,NULL,NULL,NULL,NULL),
(17,'ecommerce','Ir a la tienda',10,NULL,NULL,NULL,NULL,NULL),
(18,'ecommerce_orders','Pedidos',10,NULL,NULL,NULL,NULL,NULL),
(19,'ecommerce_items','Productos tienda virtual',10,NULL,NULL,NULL,NULL,NULL),
(20,'ecommerce_tags','Etiquetas',10,NULL,NULL,NULL,NULL,NULL),
(21,'ecommerce_promotions','Promociones - Banners',10,NULL,NULL,NULL,NULL,NULL),
(22,'ecommerce_settings','Configuración',10,NULL,NULL,NULL,NULL,NULL),
(23,'items','Productos',17,'tenant.items.index','/items','PRO',NULL,NULL),
(24,'items_packs','Packs',17,NULL,NULL,NULL,NULL,NULL),
(25,'items_services','Servicios',17,NULL,NULL,NULL,NULL,NULL),
(26,'items_categories','Categorías',17,NULL,NULL,NULL,NULL,NULL),
(27,'items_brands','Marcas',17,NULL,NULL,NULL,NULL,NULL),
(28,'items_lots','Series',17,NULL,NULL,NULL,NULL,NULL),
(29,'clients','Clientes',18,NULL,NULL,NULL,NULL,NULL),
(30,'clients_types','Tipos de clientes',18,NULL,NULL,NULL,NULL,NULL),
(31,'purchases_create','Nueva Compra',2,'tenant.purchases.create','/purchases/create','NC',NULL,NULL),
(32,'purchases_list','Listado',2,NULL,NULL,NULL,NULL,NULL),
(33,'purchases_orders','Ordenes de compra',2,NULL,NULL,NULL,NULL,NULL),
(34,'purchases_expenses','Gastos diversos',2,NULL,NULL,NULL,NULL,NULL),
(35,'purchases_suppliers','Proveedores',2,NULL,NULL,NULL,NULL,NULL),
(36,'purchases_quotations','Solicitar cotización',2,NULL,NULL,NULL,NULL,NULL),
(37,'purchases_fixed_assets_items','Activos fijos - Ítems',2,NULL,NULL,NULL,NULL,NULL),
(38,'purchases_fixed_assets_purchases','Activos fijos - Compras',2,NULL,NULL,NULL,NULL,NULL),
(39,'inventory','Movimientos',8,'inventory.index','/inventory','INV',NULL,NULL),
(40,'inventory_transfers','Traslados',8,NULL,NULL,NULL,NULL,NULL),
(41,'inventory_devolutions','Devoluciones',8,NULL,NULL,NULL,NULL,NULL),
(42,'inventory_report_kardex','Reporte kardex',8,NULL,NULL,NULL,NULL,NULL),
(43,'inventory_report','Reporte inventario',8,NULL,NULL,NULL,NULL,NULL),
(44,'inventory_report_valued_kardex','Kardex valorizado',8,NULL,NULL,NULL,NULL,'2025-12-27 11:25:41'),
(45,'users','Usuarios',14,'tenant.users.index','/users','USR',NULL,NULL),
(46,'users_establishments','Establecimientos',14,'tenant.establishments.index','/establishments','ES',NULL,NULL),
(47,'advanced_retentions','Retenciones',3,NULL,NULL,NULL,NULL,NULL),
(49,'advanced_perceptions','Percepciones',3,NULL,NULL,NULL,NULL,NULL),
(50,'advanced_order_forms','Ordenes de pedido',3,NULL,NULL,NULL,NULL,NULL),
(51,'account_report','Exportar reporte',9,NULL,NULL,NULL,NULL,NULL),
(52,'account_formats','Exportar formatos',9,NULL,NULL,NULL,NULL,NULL),
(53,'account_summary','Reporte resumido - Ventas',9,NULL,NULL,NULL,NULL,NULL),
(54,'finances_movements','Movimientos',12,NULL,NULL,NULL,NULL,NULL),
(55,'finances_incomes','Ingresos',12,NULL,NULL,NULL,NULL,NULL),
(56,'finances_unpaid','Cuentas por cobrar',12,NULL,NULL,NULL,NULL,NULL),
(57,'finances_to_pay','Cuentas por pagar',12,NULL,NULL,NULL,NULL,NULL),
(58,'finances_payments','Pagos',12,NULL,NULL,NULL,NULL,NULL),
(59,'finances_balance','Balance',12,NULL,NULL,NULL,NULL,NULL),
(60,'finances_payment_method_types','Ingresos y Egresos - M. Pago',12,NULL,NULL,NULL,NULL,NULL),
(61,'account_users_settings','Configuración',11,NULL,NULL,NULL,NULL,NULL),
(62,'account_users_list','Lista de pagos',11,NULL,NULL,NULL,NULL,NULL),
(63,'hotels_reception','Recepción',15,NULL,NULL,NULL,NULL,NULL),
(64,'hotels_rates','Tarifas',15,NULL,NULL,NULL,NULL,NULL),
(65,'hotels_floors','Pisos',15,NULL,NULL,NULL,NULL,NULL),
(66,'hotels_cats','Categorías',15,NULL,NULL,NULL,NULL,NULL),
(67,'hotels_rooms','Habitaciones',15,NULL,NULL,NULL,NULL,NULL),
(68,'documentary_offices','Oficinas',16,NULL,NULL,NULL,NULL,NULL),
(69,'documentary_process','Procesos',16,NULL,NULL,NULL,NULL,NULL),
(70,'documentary_documents','Tipos de documento',16,NULL,NULL,NULL,NULL,NULL),
(71,'documentary_actions','Acciones',16,NULL,NULL,NULL,NULL,NULL),
(72,'documentary_files','Expedientes',16,NULL,NULL,NULL,NULL,NULL),
(73,'digemid','Productos (legado)',19,NULL,NULL,NULL,'2025-12-27 11:25:35','2025-12-27 11:25:35'),
(74,'documentary_requirements','Requerimientos',16,NULL,NULL,NULL,'2025-12-27 11:25:35','2025-12-27 11:25:35'),
(75,'inventory_item_extra_data','Datos extra de items',8,NULL,NULL,NULL,NULL,NULL),
(76,'configuration_company','Empresa',5,'tenant.companies.create','/companies/create','ME',NULL,NULL),
(77,'configuration_advance','Avanzado',5,NULL,NULL,NULL,NULL,NULL),
(78,'configuration_visual','Visual',5,NULL,NULL,NULL,NULL,NULL),
(79,'advanced_purchase_settlements','Liquidaciones de compra',3,NULL,NULL,NULL,NULL,NULL),
(80,'suscription_app_client','Cliente',21,NULL,NULL,NULL,NULL,NULL),
(81,'suscription_app_service','Servicio',21,NULL,NULL,NULL,NULL,NULL),
(82,'suscription_app_payments','Pagos',21,NULL,NULL,NULL,NULL,NULL),
(83,'suscription_app_plans','Planes',21,NULL,NULL,NULL,NULL,NULL),
(85,'digemid_health_report','Reporte DIGEMID',19,'reports.health.index','/prescriptions/digemid','RDI','2026-04-01 09:07:57','2026-04-01 09:07:57'),
(86,'digemid_doctors','Medicos',19,'tenant.prescriptions.doctors.index','/prescriptions/doctors','MED','2026-04-01 09:07:57','2026-04-01 09:07:57'),
(87,'digemid_cie10','CIE 10',19,'tenant.prescriptions.cie10.index','/prescriptions/cie10','C10','2026-04-01 09:07:57','2026-04-01 09:07:57'),
(88,'digemid_psychotropics_report','Reporte de Psicotropicos',19,'tenant.prescriptions.reports.index','/prescriptions/reports','RPS','2026-04-01 09:07:57','2026-04-01 09:07:57'),
(89,'digemid_purchase_reception','Recepcion de productos farmaceuticos',19,'tenant.reports.purchases.format_09.index','/reports/purchases/format_09','RPF','2026-04-01 09:07:57','2026-04-01 09:07:57'),
(90,'items_coupons','Cupones',17,NULL,NULL,NULL,'2026-04-01 09:07:57','2026-04-01 09:07:57'),
(91,'veterinary','Veterinaria',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(92,'vet_panel','Panel',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(93,'vet_pets','Mascotas',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(94,'vet_appointments','Citas / Agenda',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(95,'vet_boardings','Hospedaje',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(96,'vet_reminders','Recordatorios',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(97,'vet_memberships','Membresías',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(98,'vet_reports','Reportes',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(99,'vet_settings','Configuración',33,NULL,NULL,NULL,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(100,'clinica','Clínica',34,NULL,NULL,NULL,'2026-06-30 14:47:39','2026-06-30 14:47:39');
COMMIT;

--
-- Table structure for table `module_user`
--

CREATE TABLE `module_user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `module_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `module_user`
--

INSERT INTO `module_user` VALUES
(1,7,1),
(2,1,1),
(3,6,1),
(4,17,1),
(5,18,1),
(6,14,1),
(7,4,1),
(8,9,1),
(9,5,1),
(10,7,2),
(11,1,2),
(12,6,2),
(13,17,2),
(14,2,2),
(15,8,2),
(16,4,2),
(17,9,2),
(18,12,2),
(19,5,2),
(20,7,2),
(21,1,2),
(22,6,2),
(23,17,2),
(24,2,2),
(25,8,2),
(26,4,2),
(27,9,2),
(28,12,2),
(29,5,2);
COMMIT;

--
-- Table structure for table `modules`
--

CREATE TABLE `modules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `value` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `order_menu` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `modules`
--

INSERT INTO `modules` VALUES
(1,'documents','Ventas',2,NULL,NULL),
(2,'purchases','Compras',7,NULL,NULL),
(3,'advanced','Documentos Avanzados',8,NULL,NULL),
(4,'reports','Reportes',9,NULL,NULL),
(5,'configuration','Configuration',12,NULL,NULL),
(6,'pos','Punto de venta (POS)',3,NULL,NULL),
(7,'dashboard','Dashboard',1,NULL,NULL),
(8,'inventory','Inventario',7,NULL,NULL),
(9,'accounting','Contabilidad',10,NULL,NULL),
(10,'ecommerce','Ecommerce',4,NULL,NULL),
(11,'cuenta','Cuenta',13,NULL,NULL),
(12,'finance','Finanzas',11,NULL,NULL),
(14,'establishments','Usuarios/Locales & Series',7,NULL,NULL),
(15,'hotels','Hoteles',14,NULL,NULL),
(16,'documentary-procedure','Trámite documentario',15,NULL,NULL),
(17,'items','Productos/Servicios',5,NULL,NULL),
(18,'persons','Clientes',6,NULL,NULL),
(19,'digemid','Farmacos',15,'2025-12-27 11:25:35','2025-12-27 11:25:35'),
(20,'apps','Apps',13,NULL,NULL),
(21,'suscription_app','Suscriptiones',16,NULL,NULL),
(22,'production_app','Producción',17,NULL,NULL),
(23,'restaurant_app','Restaurante',18,NULL,NULL),
(24,'full_suscription_app','Suscripción Servicios SAAS',17,NULL,NULL),
(25,'generate_link_app','Generador de link de pago',19,NULL,NULL),
(26,'app_2_generator','Generador APP 2.0',20,NULL,NULL),
(27,'guia','Guia de remisión',3,NULL,NULL),
(33,'veterinary','Veterinaria',20,'2026-06-28 02:00:59','2026-06-28 02:00:59'),
(34,'clinica','Clínica',20,'2026-06-30 14:47:39','2026-06-30 14:47:39');
COMMIT;

--
-- Table structure for table `notes`
--

CREATE TABLE `notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `note_type` enum('credit','debit') NOT NULL,
  `note_credit_type_id` varchar(255) DEFAULT NULL,
  `note_debit_type_id` varchar(255) DEFAULT NULL,
  `note_description` varchar(255) NOT NULL,
  `affected_document_id` int(10) unsigned DEFAULT NULL,
  `data_affected_document` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notes_document_id_foreign` (`document_id`),
  KEY `notes_note_credit_type_id_foreign` (`note_credit_type_id`),
  KEY `notes_note_debit_type_id_foreign` (`note_debit_type_id`),
  KEY `notes_affected_document_id_foreign` (`affected_document_id`),
  CONSTRAINT `notes_affected_document_id_foreign` FOREIGN KEY (`affected_document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `notes_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `notes_note_credit_type_id_foreign` FOREIGN KEY (`note_credit_type_id`) REFERENCES `cat_note_credit_types` (`id`),
  CONSTRAINT `notes_note_debit_type_id_foreign` FOREIGN KEY (`note_debit_type_id`) REFERENCES `cat_note_debit_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notes`
--

COMMIT;

--
-- Table structure for table `offline_configurations`
--

CREATE TABLE `offline_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `is_client` tinyint(1) NOT NULL DEFAULT 0,
  `token_server` varchar(255) DEFAULT NULL,
  `url_server` varchar(255) 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 `offline_configurations`
--

INSERT INTO `offline_configurations` VALUES
(1,0,NULL,NULL,NULL,NULL);
COMMIT;

--
-- Table structure for table `order_form_items`
--

CREATE TABLE `order_form_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_form_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `order_form_items_order_form_id_foreign` (`order_form_id`),
  KEY `order_form_items_item_id_foreign` (`item_id`),
  CONSTRAINT `order_form_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `order_form_items_order_form_id_foreign` FOREIGN KEY (`order_form_id`) REFERENCES `order_forms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_form_items`
--

COMMIT;

--
-- Table structure for table `order_forms`
--

CREATE TABLE `order_forms` (
  `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,
  `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,
  `observations` text NOT NULL,
  `transport_mode_type_id` varchar(255) NOT NULL,
  `transfer_reason_type_id` varchar(255) NOT NULL,
  `transfer_reason_description` varchar(255) NOT NULL,
  `date_of_shipping` date NOT NULL,
  `transshipment_indicator` tinyint(1) NOT NULL,
  `port_code` varchar(255) DEFAULT NULL,
  `unit_type_id` varchar(255) NOT NULL,
  `total_weight` decimal(10,2) NOT NULL,
  `packages_number` int(11) NOT NULL,
  `container_number` int(11) DEFAULT NULL,
  `origin` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `delivery` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `dispatcher_id` int(10) unsigned NOT NULL,
  `driver_id` int(10) unsigned NOT NULL,
  `license_plates` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `optional` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `qr` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_forms_dispatcher_id_foreign` (`dispatcher_id`),
  KEY `order_forms_driver_id_foreign` (`driver_id`),
  KEY `order_forms_user_id_foreign` (`user_id`),
  KEY `order_forms_establishment_id_foreign` (`establishment_id`),
  KEY `order_forms_soap_type_id_foreign` (`soap_type_id`),
  KEY `order_forms_state_type_id_foreign` (`state_type_id`),
  KEY `order_forms_customer_id_foreign` (`customer_id`),
  KEY `order_forms_unit_type_id_foreign` (`unit_type_id`),
  KEY `order_forms_transport_mode_type_id_foreign` (`transport_mode_type_id`),
  KEY `order_forms_transfer_reason_type_id_foreign` (`transfer_reason_type_id`),
  KEY `order_forms_date_of_issue_index` (`date_of_issue`),
  CONSTRAINT `order_forms_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `order_forms_dispatcher_id_foreign` FOREIGN KEY (`dispatcher_id`) REFERENCES `dispatchers` (`id`),
  CONSTRAINT `order_forms_driver_id_foreign` FOREIGN KEY (`driver_id`) REFERENCES `drivers` (`id`),
  CONSTRAINT `order_forms_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `order_forms_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `order_forms_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `order_forms_transfer_reason_type_id_foreign` FOREIGN KEY (`transfer_reason_type_id`) REFERENCES `cat_transfer_reason_types` (`id`),
  CONSTRAINT `order_forms_transport_mode_type_id_foreign` FOREIGN KEY (`transport_mode_type_id`) REFERENCES `cat_transport_mode_types` (`id`),
  CONSTRAINT `order_forms_unit_type_id_foreign` FOREIGN KEY (`unit_type_id`) REFERENCES `cat_unit_types` (`id`),
  CONSTRAINT `order_forms_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_forms`
--

COMMIT;

--
-- Table structure for table `order_note_items`
--

CREATE TABLE `order_note_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_note_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `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,
  `system_isc_type_id` varchar(255) DEFAULT NULL,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) DEFAULT 0.00 COMMENT 'Impuesto bolsa plastica',
  `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,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `additional_information` longtext DEFAULT NULL COMMENT 'Informacion adcional',
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `name_product_pdf` longtext DEFAULT NULL COMMENT 'Nombre del producto para el pdf',
  PRIMARY KEY (`id`),
  KEY `order_note_items_order_note_id_foreign` (`order_note_id`),
  KEY `order_note_items_item_id_foreign` (`item_id`),
  KEY `order_note_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `order_note_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `order_note_items_price_type_id_foreign` (`price_type_id`),
  KEY `order_note_items_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `order_note_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `order_note_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `order_note_items_order_note_id_foreign` FOREIGN KEY (`order_note_id`) REFERENCES `order_notes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_note_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `order_note_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`),
  CONSTRAINT `order_note_items_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_note_items`
--

COMMIT;

--
-- Table structure for table `order_notes`
--

CREATE TABLE `order_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,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` char(3) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `date_of_due` date DEFAULT NULL,
  `delivery_date` date DEFAULT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `shipping_address` text DEFAULT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `payment_method_type_id` char(2) DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `additional_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `quotation_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con cotizaciones',
  PRIMARY KEY (`id`),
  KEY `order_notes_user_id_foreign` (`user_id`),
  KEY `order_notes_establishment_id_foreign` (`establishment_id`),
  KEY `order_notes_customer_id_foreign` (`customer_id`),
  KEY `order_notes_soap_type_id_foreign` (`soap_type_id`),
  KEY `order_notes_state_type_id_foreign` (`state_type_id`),
  KEY `order_notes_currency_type_id_foreign` (`currency_type_id`),
  KEY `order_notes_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `order_notes_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `order_notes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `order_notes_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `order_notes_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `order_notes_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `order_notes_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `order_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_notes`
--

COMMIT;

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `external_id` char(36) NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `shipping_address` varchar(255) DEFAULT NULL,
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `reference_payment` varchar(255) NOT NULL,
  `document_external_id` char(36) DEFAULT NULL,
  `number_document` varchar(255) DEFAULT NULL,
  `status_order_id` tinyint(3) unsigned DEFAULT NULL,
  `purchase` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `apply_restaurant` tinyint(1) DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `orders_status_order_id_foreign` (`status_order_id`),
  CONSTRAINT `orders_status_order_id_foreign` FOREIGN KEY (`status_order_id`) REFERENCES `status_orders` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orders`
--

COMMIT;

--
-- Table structure for table `origin_addresses`
--

CREATE TABLE `origin_addresses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `address` varchar(255) NOT NULL,
  `location_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin 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 `origin_addresses`
--

COMMIT;

--
-- Table structure for table `packaging`
--

CREATE TABLE `packaging` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `soap_type_id` char(2) DEFAULT NULL,
  `item_extra_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `quantity` decimal(8,2) DEFAULT 0.00,
  `number_packages` decimal(8,2) DEFAULT 0.00,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `observation` longtext DEFAULT NULL,
  `lot_code` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `date_start` date DEFAULT NULL,
  `time_start` time DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `time_end` time DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `packaging_collaborator` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `packaging_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `packaging_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 `packaging`
--

COMMIT;

--
-- Table structure for table `padrones`
--

CREATE TABLE `padrones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ruc` varchar(255) NOT NULL,
  `nombre_razon_social` varchar(155) NOT NULL,
  `estado_contribuyente` varchar(100) NOT NULL,
  `condicion_domicilio` varchar(100) NOT NULL,
  `ubigeo` varchar(50) NOT NULL,
  `tipo_via` varchar(20) NOT NULL,
  `nombre_via` varchar(50) NOT NULL,
  `codigo_zona` varchar(155) NOT NULL,
  `tipo_zona` varchar(20) NOT NULL,
  `numero` varchar(155) NOT NULL,
  `interior` varchar(50) NOT NULL,
  `lote` varchar(20) NOT NULL,
  `departamento` varchar(100) NOT NULL,
  `manzana` varchar(20) NOT NULL,
  `kilometro` varchar(20) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `padrones_ruc_index` (`ruc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `padrones`
--

COMMIT;

--
-- Dumping data for table `password_resets`
--

COMMIT;

--
-- Table structure for table `payment_conditions`
--

CREATE TABLE `payment_conditions` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `days` int(11) NOT NULL DEFAULT 0,
  `is_locked` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  KEY `payment_conditions_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_conditions`
--

INSERT INTO `payment_conditions` VALUES
('01','Contado',0,1,1),
('02','Crédito',0,1,1);
COMMIT;

--
-- Dumping data for table `payment_configurations`
--

COMMIT;

--
-- Table structure for table `payment_files`
--

CREATE TABLE `payment_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(255) NOT NULL,
  `payment_id` int(11) NOT NULL,
  `payment_type` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_index` (`payment_id`,`payment_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_files`
--

COMMIT;

--
-- Table structure for table `payment_link_types`
--

CREATE TABLE `payment_link_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 `payment_link_types`
--

INSERT INTO `payment_link_types` VALUES
('01','Yape'),
('02','Mercado Pago');
COMMIT;

--
-- Table structure for table `payment_links`
--

CREATE TABLE `payment_links` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `soap_type_id` char(2) NOT NULL,
  `uuid` char(36) NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `payment_link_type_id` char(2) NOT NULL,
  `payment_id` int(11) DEFAULT NULL,
  `payment_type` varchar(255) DEFAULT NULL,
  `total` decimal(12,2) NOT NULL,
  `uploaded_filename` varchar(255) DEFAULT NULL,
  `query_transaction` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payment_links_uuid_unique` (`uuid`),
  KEY `payment_index` (`payment_id`,`payment_type`),
  KEY `payment_links_user_id_foreign` (`user_id`),
  KEY `payment_links_soap_type_id_foreign` (`soap_type_id`),
  KEY `payment_links_payment_link_type_id_foreign` (`payment_link_type_id`),
  CONSTRAINT `payment_links_payment_link_type_id_foreign` FOREIGN KEY (`payment_link_type_id`) REFERENCES `payment_link_types` (`id`),
  CONSTRAINT `payment_links_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `payment_links_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_links`
--

COMMIT;

--
-- Table structure for table `payment_method_types`
--

CREATE TABLE `payment_method_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `charge` decimal(12,2) DEFAULT NULL,
  `number_days` int(11) DEFAULT NULL,
  `is_credit` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Define si es tipo credito',
  `is_cash` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Define si es es efectivo',
  `active_pos` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Visible en POS para contado',
  `pos_bank_account_id` int(10) unsigned DEFAULT NULL COMMENT 'Cuenta bancaria por defecto en POS contado. Null => caja',
  `is_visible` tinyint(1) NOT NULL DEFAULT 1,
  KEY `payment_method_types_id_index` (`id`),
  KEY `payment_method_types_is_credit_index` (`is_credit`),
  KEY `payment_method_types_active_pos_index` (`active_pos`),
  KEY `payment_method_types_pos_bank_account_id_index` (`pos_bank_account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_method_types`
--

INSERT INTO `payment_method_types` VALUES
('01','Efectivo',0,NULL,NULL,0,1,1,NULL,1),
('02','Yape',0,NULL,NULL,0,0,1,NULL,1),
('03','Plin',0,NULL,NULL,0,0,1,NULL,0),
('04','Transferencia',0,NULL,NULL,0,0,1,NULL,0),
('05','Factura a 30 dias',0,NULL,30,1,0,0,NULL,0),
('09','Credito',0,NULL,NULL,1,0,0,NULL,0);
COMMIT;

--
-- Table structure for table `perception_documents`
--

CREATE TABLE `perception_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `perception_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_perception` date NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `total_document` decimal(10,2) NOT NULL,
  `total_perception` decimal(10,2) NOT NULL,
  `payments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `series` varchar(255) NOT NULL,
  `exchange_rate` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `total_to_pay` decimal(10,2) NOT NULL,
  `total_payment` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `perception_details_perception_id_foreign` (`perception_id`),
  KEY `perception_documents_document_type_id_foreign` (`document_type_id`),
  KEY `perception_documents_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `perception_details_perception_id_foreign` FOREIGN KEY (`perception_id`) REFERENCES `perceptions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `perception_documents_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `perception_documents_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `perception_documents`
--

COMMIT;

--
-- Dumping data for table `perceptions`
--

COMMIT;

--
-- Table structure for table `person_address`
--

CREATE TABLE `person_address` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `department_id` char(2) DEFAULT NULL,
  `province_id` char(4) DEFAULT NULL,
  `district_id` char(6) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_address_person_id_foreign` (`person_id`),
  KEY `person_address_department_id_foreign` (`department_id`),
  KEY `person_address_province_id_foreign` (`province_id`),
  KEY `person_address_district_id_foreign` (`district_id`),
  CONSTRAINT `person_address_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
  CONSTRAINT `person_address_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
  CONSTRAINT `person_address_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_address_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `provinces` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_address`
--

COMMIT;

--
-- Table structure for table `person_addresses`
--

CREATE TABLE `person_addresses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `country_id` char(2) NOT NULL,
  `department_id` char(2) DEFAULT NULL,
  `province_id` char(4) DEFAULT NULL,
  `district_id` char(6) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `main` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `person_addresses_person_id_foreign` (`person_id`),
  KEY `person_addresses_country_id_foreign` (`country_id`),
  KEY `person_addresses_department_id_foreign` (`department_id`),
  KEY `person_addresses_province_id_foreign` (`province_id`),
  KEY `person_addresses_district_id_foreign` (`district_id`),
  CONSTRAINT `person_addresses_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `person_addresses_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
  CONSTRAINT `person_addresses_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
  CONSTRAINT `person_addresses_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_addresses_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `provinces` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_addresses`
--

COMMIT;

--
-- Table structure for table `person_types`
--

CREATE TABLE `person_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` text NOT NULL,
  `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 `person_types`
--

INSERT INTO `person_types` VALUES
(1,'Interno','2025-12-27 11:25:27','2025-12-27 11:25:27'),
(2,'Distribuidor','2025-12-27 11:25:27','2025-12-27 11:25:27');
COMMIT;

--
-- Table structure for table `persons`
--

CREATE TABLE `persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('customers','suppliers') NOT NULL,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `birthdate` date DEFAULT NULL,
  `gender` char(1) DEFAULT NULL,
  `trade_name` varchar(255) DEFAULT NULL,
  `internal_code` varchar(100) DEFAULT NULL,
  `barcode` varchar(150) DEFAULT NULL,
  `country_id` char(2) NOT NULL,
  `nationality_id` char(2) DEFAULT NULL,
  `department_id` char(2) DEFAULT NULL,
  `province_id` char(4) DEFAULT NULL,
  `district_id` char(6) DEFAULT NULL,
  `address_type_id` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `condition` varchar(255) DEFAULT NULL,
  `state` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  `accumulated_points` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'sistema por puntos',
  `perception_agent` tinyint(1) NOT NULL DEFAULT 0,
  `person_type_id` int(10) unsigned DEFAULT NULL,
  `contact` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `percentage_perception` decimal(12,2) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `website` text DEFAULT NULL COMMENT 'Sitio Web',
  `zone` longtext DEFAULT NULL COMMENT 'Zona',
  `observation` longtext DEFAULT NULL COMMENT 'Observaciones',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `credit_days` int(10) unsigned DEFAULT 0 COMMENT 'establece los dias de credito',
  `optional_email` longtext DEFAULT NULL COMMENT 'Conjunto de correos de envio',
  `parent_id` int(10) unsigned DEFAULT 0 COMMENT 'Se relaciona con si mismo, numero mayor a 0 es el id del padre.',
  `zone_id` int(10) unsigned DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT NULL,
  `has_discount` tinyint(1) NOT NULL DEFAULT 0,
  `discount_type` char(2) NOT NULL DEFAULT '01',
  `discount_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `price_list` tinyint(3) unsigned NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  KEY `persons_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `persons_country_id_foreign` (`country_id`),
  KEY `persons_department_id_foreign` (`department_id`),
  KEY `persons_province_id_foreign` (`province_id`),
  KEY `persons_district_id_foreign` (`district_id`),
  KEY `persons_name_index` (`name`),
  KEY `persons_number_index` (`number`),
  KEY `persons_type_index` (`type`),
  KEY `persons_person_type_id_foreign` (`person_type_id`),
  KEY `persons_enabled_index` (`enabled`),
  KEY `persons_address_type_id_foreign` (`address_type_id`),
  KEY `persons_seller_id_index` (`seller_id`),
  KEY `persons_nationality_id_foreign` (`nationality_id`),
  CONSTRAINT `persons_address_type_id_foreign` FOREIGN KEY (`address_type_id`) REFERENCES `cat_address_types` (`id`),
  CONSTRAINT `persons_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `persons_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
  CONSTRAINT `persons_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
  CONSTRAINT `persons_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`),
  CONSTRAINT `persons_nationality_id_foreign` FOREIGN KEY (`nationality_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `persons_person_type_id_foreign` FOREIGN KEY (`person_type_id`) REFERENCES `person_types` (`id`),
  CONSTRAINT `persons_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `provinces` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=182 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons`
--

INSERT INTO `persons` VALUES
(1,'customers','0','99999999','Clientes - Varios',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,'2025-12-27 11:25:40','2025-12-27 11:25:40',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(2,'customers','1','46262076','FERREÑAN DIAZ, ELIZABETH CRISTINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-27 13:08:47','2025-12-27 13:08:47',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(3,'customers','1','47596452','CONTRERAS HUANCAS, SARITA ANDREA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-27 15:30:25','2025-12-27 15:30:25',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(4,'customers','1','72671828','QUIROZ AMPUERO, RODNEY DANIEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-28 19:55:03','2025-12-28 19:55:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(5,'customers','1','33573534','ARICOCHE PAREDES, HECTOR LUIS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-29 09:27:37','2025-12-29 09:27:37',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(6,'customers','1','42689396','TORRES RAMIREZ, PERCY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-29 11:42:55','2025-12-29 11:42:55',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(7,'customers','1','76795403','ALBITES HERNANDEZ, ROSA ELENA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-29 21:36:09','2025-12-29 21:36:09',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(8,'customers','6','20512807411','PROGR NAC PARA LA PREVEN Y ERRADICAC DE LA VIOLENC CONTRA LAS MUJERES E INTEG DEL GRUP FAM-WARMI-ÑAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'15','1501','150101',NULL,'AV. NICOLAS DE PIEROLA NRO. 346  CERCADO DE LIMA','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2025-12-30 18:08:05','2026-03-26 15:57:37',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(9,'customers','1','33564094','RAMIREZ VERA, EMELINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-06 08:57:03','2026-01-06 08:57:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(10,'customers','1','76795392','TICLIAHUANCA SANTOS, DORIS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-06 17:31:10','2026-01-06 17:31:10',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(11,'customers','1','42326243','ALVAREZ CHAPOÑAN, PIERRE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-07 21:41:16','2026-01-07 21:41:16',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(12,'customers','1','44472226','LEONARDO CRUZ, LUIS BERNABE',NULL,NULL,NULL,NULL,NULL,'PE','PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-08 20:20:18','2026-01-08 20:20:18',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(13,'customers','1','27424087','CARRANZA AGUILAR, VICENTE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-11 20:07:24','2026-01-11 20:07:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(14,'customers','1','77464281','SANCHEZ FLORES, JHEFERSON DUSTIN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-12 15:35:35','2026-01-12 15:35:35',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(15,'customers','1','33591194','JIMENEZ PAICO, FANY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-14 12:12:53','2026-01-14 12:12:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(16,'customers','1','41308994','CULLAMPE VILCA, JUAN EBERTH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-14 20:51:02','2026-01-14 20:51:02',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(17,'customers','6','20614912805','WAJ OIL & GAS S.A.C.',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'15','1501','150133',NULL,'CAL. COLON NRO. 183 DPTO. 703','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-15 11:52:38','2026-01-15 11:52:38',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(18,'customers','1','60791168','BAYONA CARMEN, MARIELA DAYANA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-15 20:13:09','2026-01-15 20:13:09',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(19,'customers','1','41768470','HERNANDEZ JULCA, AURORA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-16 10:54:43','2026-01-16 10:54:43',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(20,'customers','1','44112886','GARCIA ROJAS, MARIA ESTELA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-18 17:42:06','2026-01-18 17:42:06',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(21,'customers','1','75775611','DAVILA ESPINAL, SELENIA LISBETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-19 11:21:36','2026-01-19 11:21:36',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(22,'customers','1','27699612','VILLANUEVA ROJAS, SANTOS CARLOS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-20 11:23:21','2026-01-20 11:23:21',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(23,'customers','6','20609707942','CENTRO ESTUDIANTIL FE Y AMOR 318',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'01','0102','010201',NULL,'AV. CIRCUNVALACION NRO. 1850 SEC. VISTA HERMOSA','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-20 20:33:15','2026-01-20 20:33:15',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(24,'customers','1','33593768','HUAMAN COLLANTES, RICARDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-21 08:33:42','2026-01-21 08:33:42',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(25,'customers','1','41454362','VENTURA CALDERON, MARIA ANITA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-21 11:18:20','2026-01-21 11:18:20',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(26,'customers','1','48082173','BAZAN COLLANTES, LUZ ARMANDINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-21 21:29:19','2026-01-21 21:29:19',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(27,'customers','1','33589836','CARRASCO ORDOÑEZ, CONFESORA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-25 16:48:03','2026-01-25 16:48:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(28,'customers','1','33733444','RODRIGUEZ DE VALDIVIA, ROSA DALILA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-26 10:52:48','2026-01-26 10:52:48',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(29,'customers','1','77230886','DIAZ SANCHEZ, OSCAR JHOMIR',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-26 16:32:53','2026-01-26 16:32:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(30,'customers','1','44875319','DIAZ DELGADO, ELIZABETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-28 14:31:49','2026-01-28 14:31:49',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(31,'customers','1','70599220','DIAZ CRUZADO, CRISTIAN DAVID',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-28 20:37:40','2026-01-28 20:37:40',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(32,'customers','1','33573084','CARRASCO CABREJO, ELSA MAYDER',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-29 16:07:32','2026-01-29 16:07:32',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(33,'customers','6','10722786233','FLORES GOMEZ LEIDY YULIANA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-29 16:50:01','2026-01-29 16:50:01',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(34,'customers','1','47323161','PARRA VALLADARES, LESLY MILAGRITOS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-30 10:57:24','2026-01-30 10:57:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(35,'customers','1','76345796','ADRIANO LIZANA, ELIZETH JEANELA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-30 14:09:00','2026-01-30 14:09:00',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(36,'customers','1','47732987','PETSA WISUM, ADRIAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-31 11:40:15','2026-01-31 11:40:15',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(37,'customers','1','46591596','BARBOZA MORENO, VICTOR RAUL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-31 14:51:38','2026-01-31 14:51:38',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(38,'customers','1','76040889','CONDOR JARA, DALINDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-01-31 16:35:09','2026-01-31 16:35:09',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(39,'customers','1','46956080','QUISPE BARTUREN, ELSA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-01 19:54:29','2026-02-01 19:54:29',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(40,'customers','1','40986152','SANCHEZ PERALES, ESTANIN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-02 14:45:03','2026-02-02 14:45:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(41,'customers','1','47732886','GOMEZ SANTILLAN, ZONIA MILAGROS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-02 20:39:28','2026-02-02 20:39:28',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(42,'customers','1','76240467','ALCANTARA SENA, CARLOS AGUSTIN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-03 10:57:31','2026-02-03 10:57:31',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(43,'customers','1','48819917','LOPEZ GASTULO, JHERALDINE LILIBETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-04 12:15:41','2026-02-04 12:15:41',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(44,'customers','6','20438297775','COOPERATIVA AGRARIA CAFETALERA CENFROCAFE PERU',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'06','0608','060801',NULL,'CAL. RIO CHUNCHUCA NRO. 207  SECTOR EL HUITO','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-05 08:50:26','2026-02-05 08:50:26',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(45,'customers','1','33589216','PARICAHUA MARCA, SAMUEL FELIX',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-06 18:45:28','2026-02-06 18:45:28',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(46,'customers','1','92838540','LIA CATALEYA ALARCON MURRUGARRA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-08 14:34:25','2026-02-08 14:34:25',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(47,'customers','1','76686914','COLLANTES ALCANTARA, MEDALI',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-09 18:21:04','2026-02-09 18:21:04',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(48,'customers','1','33578613','PINTADO ESTELA, OSCAR AVILES',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-12 15:00:11','2026-02-12 15:00:11',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(49,'customers','1','76636505','PERALTA FERNANDEZ, JHEISER LEMUEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-13 22:00:10','2026-02-13 22:00:10',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(50,'customers','6','20543529568','GTE CONSULTORES S.A.C.',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'15','1501','150120',NULL,'AV. DE LA ROCA DE VERGALLO NRO. 493 INT. 1815 URB. SAN FELIPE','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-15 13:41:18','2026-02-15 13:41:18',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(51,'customers','1','48185886','VASQUEZ CANELO, HAYDEE ZOILA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-15 18:09:31','2026-02-15 18:09:31',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(52,'customers','1','43243719','PEREZ ALEGRIA, ROCIO DEL PILAR',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-16 11:32:43','2026-02-16 11:32:43',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(53,'customers','1','76561407','RAMOS RUFASTO, JOSE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-17 09:39:50','2026-02-17 09:39:50',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(54,'customers','1','45069804','FLORES VEGA, RUSBEN JONATHAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-18 15:01:39','2026-02-18 15:01:39',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(55,'customers','1','43346578','SANCHEZ GUERRERO, SEGUNDO JOSE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-19 10:43:26','2026-02-19 10:43:26',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(56,'customers','1','77436510','TARRILLO MESTANZA, FRANK MICHAEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-20 13:33:41','2026-02-20 13:33:41',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(57,'customers','1','62423259','JADY TANTALEAN PEREZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-21 10:08:51','2026-02-21 10:08:51',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(58,'customers','1','62423440','PEÑA YAJAHUANCA, JUAN ELIAS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-21 11:22:00','2026-02-21 11:22:00',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(59,'customers','1','00114115','LOPEZ PAIMA, RODRIGO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-21 18:12:37','2026-02-21 18:12:37',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(60,'customers','1','40110442','LIMO SECLEN, OSCAR FERNANDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-21 21:29:49','2026-02-21 21:29:49',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(61,'customers','1','71606850','CHAVEZ BRIONES, SEGUNDO GRABIEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-02-28 17:32:24','2026-02-28 17:32:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(62,'customers','1','42281750','DELGADO MONTENEGRO, EDWIN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-01 20:01:25','2026-03-01 20:01:25',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(63,'customers','1','46072977','TORRES CHAQUILA, JIMENA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-02 13:04:10','2026-03-02 13:04:10',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(64,'customers','6','10714083185','ASCURRA TUESTA RAISA STEFANNY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-02 18:56:46','2026-03-02 18:56:46',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(65,'customers','1','41454364','PAUCAR FLORES, EDITH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-04 11:52:59','2026-03-04 11:52:59',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(66,'customers','1','77067487','ALVARADO LEONARDO, AMPARO LISBETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-06 10:28:03','2026-03-06 10:28:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(67,'customers','1','33592914','SANCHEZ SALAZAR, TEODOLO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-07 10:23:06','2026-03-07 10:23:06',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(68,'customers','1','72723228','FONSECA LINARES, INGRID YACKELINE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-07 11:01:59','2026-03-07 11:01:59',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(69,'customers','1','33647245','DELGADO BAUTISTA, VIDALINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-08 20:57:40','2026-03-08 20:57:40',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(70,'customers','1','05413290','FLORES COMITIVOS, JESSY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-10 12:58:19','2026-03-10 12:58:19',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(71,'customers','1','46795406','CUBAS BENAVIDES, MIRELIS ROSALIT',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-10 13:48:28','2026-03-10 13:48:28',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(72,'customers','1','10552660','OBLITAS FERNANDEZ, NELBA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-11 09:56:44','2026-03-11 09:56:44',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(73,'customers','1','17555246','QUIROZ SOTERO, LIDA LUZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-11 17:23:08','2026-03-11 17:23:08',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(74,'customers','1','48155826','OLIVERA ALARCON, SILVIA YANET',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-11 18:56:37','2026-03-11 18:56:37',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(75,'customers','1','73425552','VISLAO SEGURA, NATALIA ESMERITA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-11 19:36:32','2026-03-11 19:36:32',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(76,'customers','6','20480005504','INSTITUCION EDUCATIVA PRIMARIA DE MENORES N°16193',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'01','0102','010201',NULL,'JR. COMERCIO NRO. 364','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-14 20:16:03','2026-03-14 20:16:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(77,'customers','1','47914647','CARRANZA ZULUETA, ELITA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-15 12:31:25','2026-03-15 12:31:25',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(78,'customers','1','70068493','GUTIERREZ SANCHEZ, YEYSON ANDY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-16 10:16:45','2026-03-16 10:16:45',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(79,'customers','1','48269690','SUAREZ VASQUEZ, BLANCA MICHEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-18 08:44:42','2026-03-18 08:44:42',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(80,'customers','1','41454363','LOPEZ CELIS, NORSHELYNE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-19 16:14:01','2026-03-19 16:14:01',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(81,'customers','1','47362987','DURAND INOSTROZA, EDINSON',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-19 18:02:37','2026-03-19 18:02:37',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(82,'customers','1','41353114','BARRERA TORRES, JORGE LUIS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-19 22:07:38','2026-03-19 22:07:38',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(83,'customers','1','80244241','BUSTAMANTE SANCHEZ, SAMUEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-20 13:09:26','2026-03-20 13:09:26',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(84,'customers','1','33562075','SANTAMARIA ARANA, ROSA UMBELINDA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-22 19:46:34','2026-03-22 19:46:34',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(85,'customers','1','41230063','SILVA VALQUI, ANITA PASCUALA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-25 10:58:13','2026-03-25 10:58:13',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(86,'customers','1','16737152','ROMERO LOZADA, EMPERATRIZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-25 21:42:34','2026-03-25 21:42:34',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(87,'customers','1','77921098','ROJAS DAULE, JOVITA MORELIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-30 14:47:50','2026-03-30 14:47:50',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(88,'customers','1','48354293','PAIMA TARICUARIMA, CELINDA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-31 11:01:51','2026-03-31 11:01:51',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(89,'customers','1','77539713','PEREZ DIAZ, LIDIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-03-31 11:25:07','2026-03-31 11:25:07',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(90,'customers','1','46222470','ZULUETA QUIROZ, ANGEL MOISES',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-02 13:46:29','2026-04-02 13:46:29',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(91,'customers','1','33560037','OCAS PISCO, SEGUNDO NATIBIDAD',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-04 11:14:44','2026-04-04 11:14:44',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(92,'customers','1','75208071','GUEVARA SALDAÑA, TATIANA HATZUMI',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-04 12:47:55','2026-04-04 12:47:55',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(93,'customers','1','40560615','MERA ESPARRAGA, MILTON HUGO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-09 11:27:19','2026-04-09 11:27:19',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(94,'customers','1','44444063','MEDINA HUAMAN, MARIA LUZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-09 21:38:40','2026-04-09 21:38:40',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(95,'customers','1','75090353','CARMEN SERNAQUE, KARINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-09 21:42:34','2026-04-09 21:42:34',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(96,'customers','1','71749464','ROQUE PUICON, ALEJANDRO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-10 09:17:54','2026-04-10 09:17:54',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(97,'customers','1','42352316','MARAVI SANTA CRUZ, BERTHA ROSARIO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-12 09:31:15','2026-04-12 09:31:15',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(98,'customers','1','72461396','RODRIGUEZ VASQUEZ, SHARON NICOLS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-13 14:40:10','2026-04-13 14:40:10',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(99,'customers','1','63107287','KEMBERLEY SHAIRA JARUMY VILLALVA GARRIDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-13 20:07:51','2026-04-13 20:07:51',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(100,'customers','1','47391632','TANTARICO CRUZ, VERENIZA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-15 12:54:35','2026-04-15 12:54:35',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(101,'customers','1','80293743','VALDIVIA MUÑOZ, HUGO ANTENOR',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-15 16:14:15','2026-04-15 16:14:15',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(102,'customers','1','33570976','SANCHEZ CASTAÑEDA, HUMBERTO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-16 16:42:04','2026-04-16 16:42:04',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(103,'customers','1','76164085','SAAVEDRA NUÑEZ, ISABELA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-16 17:43:21','2026-04-16 17:43:21',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(104,'customers','1','70278353','HUAURA RAMOS, VALERIA ANDREA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-17 19:37:45','2026-04-17 19:37:45',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(105,'customers','6','20611963662','SPORTBET-TIGER APUESTAS DEPORTIVAS TIGRE. LA ELEGANCIA DE APOSTAR S.A.C.',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'01','0102','010201',NULL,'NRO. 470  JR. AMAZONAS','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-19 19:22:31','2026-04-19 19:22:31',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(106,'customers','1','74513554','CASTILLO ARANDA, IVANA FERNANDA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-22 10:38:17','2026-04-22 10:38:17',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(107,'customers','1','00986892','PEREZ RUIZ, YSABEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-23 13:43:13','2026-04-23 13:43:13',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(108,'customers','1','76532720','QUISPE TERRONES, JOSUÉ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-24 15:29:05','2026-04-24 15:29:05',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(109,'customers','1','16438770','PARIAHUACHE CORDOVA, CLELIA ELICENA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-25 09:52:49','2026-04-25 09:52:49',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(110,'customers','1','40290832','RAMIREZ RAMIREZ, KATERINE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-27 10:52:27','2026-04-27 10:52:27',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(111,'customers','1','60156702','TUESTA AMPUSH, VICTOR',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-27 11:47:33','2026-04-27 11:47:33',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(112,'customers','1','47734115','PEREZ IMAN, IRWING ELVIS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-27 20:03:05','2026-04-27 20:03:05',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(113,'customers','1','41474474','CAVERO BACA, GLORIA ELIZABETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-27 21:05:30','2026-04-27 21:05:30',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(114,'customers','1','47578852','REQUEJO RAMIREZ, ROSE MERY STEFANI',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-29 17:20:54','2026-04-29 17:20:54',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(115,'customers','1','75314844','DIAZ VILLEGAS, LUZ AMALIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-04-30 18:24:25','2026-04-30 18:24:25',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(116,'customers','1','42536898','ZAPATA CARRASCO, KATHYA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-02 09:38:26','2026-05-02 09:38:26',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(117,'customers','1','27667030','VARGAS TASILLA, MARIA LIDIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-02 09:51:08','2026-05-02 09:51:08',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(118,'customers','1','76762833','SALAZAR SUCCE, KELY LISBETT',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-03 10:12:36','2026-05-03 10:12:36',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(119,'customers','6','10335733504','TAPIA VEGA JOSE RODOLFO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-05 19:52:21','2026-05-05 19:52:21',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(120,'customers','1','40837884','CIEZA OLANO, YUDIT',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-07 12:40:40','2026-05-07 12:40:40',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(121,'customers','1','47249983','HUIÑAPI CHANCHARI, ROSAURA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-07 19:48:00','2026-05-07 19:48:00',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(122,'customers','1','41286385','IZQUIERDO CABRERA, MERY MABEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-08 12:05:53','2026-05-08 12:05:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(123,'customers','1','75834151','MEDINA DIAZ, AUNER ISMAEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-09 11:37:23','2026-05-09 11:37:23',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(124,'customers','6','10448753196','DIAZ DELGADO ELIZABETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-09 16:13:24','2026-05-09 16:13:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(125,'customers','1','41442180','CUBAS IZQUIERDO, ROBERT',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-11 18:43:08','2026-05-11 18:43:08',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(126,'customers','1','61082240','COPIA VASQUEZ, JENRRY CRISTIAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-12 08:54:42','2026-05-12 08:54:42',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(127,'customers','1','72838109','VÁSQUEZ JULCA, LEYDILY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-12 13:09:48','2026-05-12 13:09:48',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(128,'customers','1','33579057','TORRES SANCHEZ, LUZ ELENA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-12 21:26:34','2026-05-12 21:26:34',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(129,'customers','6','10438970415','GONZALES GAMONAL ELVIS MARINO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-14 14:40:47','2026-05-14 14:40:47',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(130,'customers','1','33591307','RUIZ PEREZ, MARCELA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-14 20:37:46','2026-05-14 20:37:46',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(131,'customers','1','33570923','YNFANTE BARDALES, PLACIDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-15 09:10:53','2026-05-15 09:10:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(132,'customers','1','76429945','RACHO OCAS, STEFANY SOLEDAD',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-15 18:18:36','2026-05-15 18:18:36',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(133,'customers','1','43055079','ESCOBAR OCHOA, NEMIAS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-17 17:29:51','2026-05-17 17:29:51',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(134,'customers','1','48084734','ESPINOZA GARCIA, CLEMENTINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-17 18:37:12','2026-05-17 18:37:12',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(135,'customers','1','33566471','GONZAGA GUERRERO, MOYRA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-22 10:11:21','2026-05-22 10:11:21',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(136,'customers','1','44427082','DIOSES CASTRO, JACQUELINE DEL ROSARIO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-22 10:51:22','2026-05-22 10:51:22',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(137,'customers','1','73646633','GUEVARA MANOSALVA, GIANNINA IVON',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-22 14:44:02','2026-05-22 14:44:02',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(138,'customers','6','10428652911','SALAZAR MERA EVER',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-22 19:12:14','2026-05-22 19:12:14',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(139,'customers','1','43357846','DIAZ SANCHEZ, ELSA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-23 15:27:00','2026-05-23 15:27:00',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(140,'customers','1','72121040','ZEVALLOS VASQUEZ, ABEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-26 09:36:56','2026-05-26 09:36:56',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(141,'customers','1','74502574','MANAYAY HUAMAN, ERIKA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-26 10:27:14','2026-05-26 10:27:14',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(142,'customers','1','33590656','MELENDEZ BARRANTES, JENRRY ESGARDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-26 13:39:31','2026-05-26 13:39:31',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(143,'customers','1','42602005','SANCHEZ ALTAMIRANO, VICTORINO FRANZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-26 16:59:53','2026-05-26 16:59:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(144,'customers','1','78197783','VASQUEZ CERCADO, GIULIANA LOREDINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-27 17:15:13','2026-05-27 17:15:13',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(145,'customers','1','33595180','SANCHEZ ALVAREZ, JUAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-28 09:34:47','2026-05-28 09:34:47',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(146,'customers','1','41442183','GUEVARA PERALTA, WALTER',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-28 18:20:21','2026-05-28 18:20:21',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(147,'customers','1','40997126','FERNANDEZ JULON, JUDITH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-29 22:32:12','2026-05-29 22:32:12',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(148,'customers','1','33596195','BUSTAMANTE TARRILLO, JORGE',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-05-31 15:30:05','2026-05-31 15:30:05',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(149,'customers','1','44048756','ESPINOZA ALVA, SEGUNDO LIZARDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-01 20:43:57','2026-06-01 20:43:57',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(150,'customers','1','42469523','DAVILA SANTA CRUZ, YANETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-01 21:51:12','2026-06-01 21:51:12',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(151,'customers','1','47418956','CARRASCO RUIZ, SARA SUSY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-02 13:41:07','2026-06-02 13:41:07',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(152,'customers','1','27661938','MENDOZA CALDERON, MARIA DORILA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-02 17:57:12','2026-06-02 17:57:12',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(153,'customers','1','92368264','DYLAN ADRIAN CORDOVA TINEO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-03 19:05:14','2026-06-03 19:05:14',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(154,'customers','1','17417022','TANTARICO LUCERO, ALEJANDRINA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-04 17:30:24','2026-06-04 17:30:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(155,'customers','1','33561463','BERRIOS OLANO, ESMERALDA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-06 17:18:53','2026-06-06 17:18:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(156,'customers','1','70937220','URIOL CABANILLAS, KEVIN ALEXIS',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-06 21:46:33','2026-06-06 21:46:33',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(157,'customers','1','41924949','VARGAS QUISPE, MARIA YANELLY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-07 13:04:55','2026-06-07 13:04:55',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(158,'customers','1','77022678','SUAREZ LIZANA, YADHIRA LISETH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-07 14:49:11','2026-06-07 14:49:11',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(159,'customers','1','41613011','MENDOZA GASPAR, ALEX BLADIMIR',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-08 10:11:34','2026-06-08 10:11:34',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(160,'customers','1','75949278','HUAMAN PEREZ, EVA NAYELI',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-12 11:48:30','2026-06-12 11:48:30',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(161,'customers','1','16786926','GUEVARA REYES, WILMER AUGUSTO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-12 18:03:32','2026-06-12 18:03:32',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(162,'customers','1','40821224','TORRES CALDERON, RENAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-14 13:56:14','2026-06-14 13:56:14',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(163,'customers','1','76381234','TASILLA CRUZ, LUIS MIGUEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-14 18:27:42','2026-06-14 18:27:42',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(164,'customers','6','20546798152','PROGRAMA NACIONAL DE BECAS Y CREDITO EDUCATIVO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'15','1501','150131',NULL,'AV. PASEO DE LA REPÚBLICA NRO. 3755','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-15 16:03:04','2026-06-15 16:03:04',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(165,'customers','1','76965167','HUAMAN BECERRA, ANALY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-17 08:49:44','2026-06-17 08:49:44',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(166,'customers','1','33591915','SANCHEZ TAPIA, EDITH',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-18 18:53:12','2026-06-18 18:53:12',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(167,'customers','6','10335695831','DOMINGUEZ LOZANO WILBERT EDGARDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,'HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-19 12:21:07','2026-06-19 12:21:07',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(168,'customers','1','09584553','HERRERA CHUQUIZUTA, ERMIGUNDER JHOVANY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-19 20:33:57','2026-06-19 20:33:57',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(169,'customers','1','33568312','HIDALGO GUEVARA, HUMBERTO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-20 16:05:59','2026-06-20 16:05:59',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(170,'customers','1','43090604','LOPEZ SHAWIT, DANNY',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-21 11:02:03','2026-06-21 11:02:03',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(171,'customers','1','42616555','VEGA MELENDEZ, ANA MARIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-21 20:55:43','2026-06-21 20:55:43',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(172,'customers','1','33591191','PAREDES ZAPATA ADRIAN RAFAEL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-22 09:22:28','2026-06-22 09:22:28',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(173,'customers','1','71736496','SALAZAR SANGAMA, ESTALIN JOB',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-23 13:31:32','2026-06-23 13:31:32',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(174,'customers','1','62973445','MANAYAY ROQUE, RAUL',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-23 16:05:42','2026-06-23 16:05:42',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(175,'customers','1','61531721','BUSTAMANTE ORTIZ, WILSON JONATHAN',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-25 08:19:15','2026-06-25 08:19:15',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(176,'customers','1','33587083','GOMEZ CUBAS, ALEJANDRO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-25 14:29:53','2026-06-25 14:29:53',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(177,'customers','1','33561406','ALVAREZ PANTA, SILVIA',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-25 16:47:24','2026-06-25 16:47:24',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(178,'customers','6','20479463361','COLEGIO MANUEL ANTONIO MESONES MURO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,'01','0102','010201',NULL,'JR. MARIANO MELGAR NRO. 305','HABIDO','ACTIVO',NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-26 12:51:36','2026-06-26 12:51:36',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(179,'customers','1','72958151','ZEVALLOS CASTRO, JOSE FERNANDO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-27 08:20:04','2026-06-27 08:20:04',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(180,'customers','1','33594509','FARRO ZELADA, JOSE DE CALASANZ',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-28 19:40:11','2026-06-28 19:40:11',1,0,NULL,0,NULL,NULL,0,'01',0.00,1),
(181,'customers','1','44133199','PUSE CRUZ, YANINA CONSUELO',NULL,NULL,NULL,NULL,NULL,'PE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,0,NULL,'{\"full_name\":null,\"phone\":null}',NULL,0.00,1,NULL,NULL,NULL,'2026-06-29 17:40:29','2026-06-29 17:40:29',1,0,NULL,0,NULL,NULL,0,'01',0.00,1);
COMMIT;

--
-- Table structure for table `pharmacy_configurations`
--

CREATE TABLE `pharmacy_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `profit_field` tinyint(1) NOT NULL DEFAULT 0,
  `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 `pharmacy_configurations`
--

INSERT INTO `pharmacy_configurations` VALUES
(1,1,0,'2025-12-27 13:03:20','2025-12-27 13:03:20');
COMMIT;

--
-- Table structure for table `points`
--

CREATE TABLE `points` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `folio` varchar(255) NOT NULL,
  `points` double(8,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `banned` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `points_person_id_foreign` (`person_id`),
  CONSTRAINT `points_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `points`
--

COMMIT;

--
-- Table structure for table `pos_parked_sales`
--

CREATE TABLE `pos_parked_sales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `cash_id` int(10) unsigned NOT NULL,
  `created_by_user_id` int(10) unsigned NOT NULL,
  `customer_id` int(10) unsigned DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `payload` longtext NOT NULL,
  `locked_by_user_id` int(10) unsigned DEFAULT NULL,
  `lock_expires_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pos_parked_sales_uuid_unique` (`uuid`),
  KEY `idx_pos_parked_sales_cash_id` (`cash_id`),
  KEY `idx_pos_parked_sales_created_by` (`created_by_user_id`),
  KEY `idx_pos_parked_sales_lock_expires` (`lock_expires_at`),
  KEY `idx_pos_parked_sales_created_at` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pos_parked_sales`
--

INSERT INTO `pos_parked_sales` VALUES
(1,'f661beb7-c6e1-4538-9ae7-36b1b667c8d8',1,1,2,1,'Cliente Clientes - Varios - 20:02','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-05-07\",\"time_of_issue\":\"19:43:13\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.47,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":74.5,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":74.5,\"total\":74.5,\"total_init\":74.5,\"subtotal\":74.5,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-05-07\",\"items\":[{\"item_id\":1898,\"item\":{\"id\":1898,\"item_id\":1898,\"full_description\":\"GAMALATE B6 JBE 80ML\",\"description\":\"GAMALATE B6 JBE 80ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":72,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"72.00\",\"edit_sale_unit_price\":\"72.00\",\"image_url\":\"https:\\/\\/miangelito.softlte.org.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1898,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":72,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757398183787\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"presentation\":{\"id\":null,\"item_id\":1898,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":72,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757398183787\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":72},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":72,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":72,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":72,\"total_value\":72,\"total_discount\":0,\"total_charge\":0,\"total\":72,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":72,\"total_base_igv_without_rounding\":72,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":72,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1898,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":72,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757398183787\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1821,\"item\":{\"id\":1821,\"item_id\":1821,\"full_description\":\"VALUPASS (CAPSULA)\",\"description\":\"VALUPASS (CAPSULA)\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.50\",\"edit_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/miangelito.softlte.org.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"presentation\":{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2.5,\"total_value\":2.5,\"total_discount\":0,\"total_charge\":0,\"total\":2.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2.5,\"total_base_igv_without_rounding\":2.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-05-07\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":74.5}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-05-07 20:07:51','2026-05-07 20:07:51'),
(2,'ff06f9b8-fce2-46c9-8778-8a1c38bacee3',1,1,2,1,'Cliente Clientes - Varios - 19:25','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-05-20\",\"time_of_issue\":\"21:22:52\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.431,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":74,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":74,\"total\":74,\"total_init\":74,\"subtotal\":74,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-05-20\",\"items\":[{\"item_id\":73,\"item\":{\"id\":73,\"item_id\":73,\"full_description\":\"ALEXCEF 250MG\\/5ML SUSP.X 60ML (CEFALEXINA)\",\"description\":\"ALEXCEF 250MG\\/5ML SUSP.X 60ML (CEFALEXINA)\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":28,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"28.00\",\"edit_sale_unit_price\":\"28.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":73,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":28,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754981000353\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":73,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":28,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754981000353\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":28},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":28,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":28,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":28,\"total_value\":28,\"total_discount\":0,\"total_charge\":0,\"total\":28,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":28,\"total_base_igv_without_rounding\":28,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":28,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":73,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":28,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754981000353\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2582,\"item\":{\"id\":2582,\"item_id\":2582,\"full_description\":\"MUCOVIT HRS JARABE X 110 ML\",\"description\":\"MUCOVIT HRS JARABE X 110 ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":38,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"38.00\",\"edit_sale_unit_price\":\"38.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2582,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":38,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757310415903\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2582,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":38,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757310415903\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":38},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":38,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":38,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":38,\"total_value\":38,\"total_discount\":0,\"total_charge\":0,\"total\":38,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":38,\"total_base_igv_without_rounding\":38,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":38,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2582,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":38,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7757310415903\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1265,\"item\":{\"id\":1265,\"item_id\":1265,\"full_description\":\"PAMOATO PIRANTEL X 15ML\",\"description\":\"PAMOATO PIRANTEL X 15ML\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"8.00\",\"edit_sale_unit_price\":\"8.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1265,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7705959881559\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1265,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7705959881559\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":8},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":8,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":8,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":8,\"total_value\":8,\"total_discount\":0,\"total_charge\":0,\"total\":8,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":8,\"total_base_igv_without_rounding\":8,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":8,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1265,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7705959881559\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-05-20\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":74}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-05-21 19:30:52','2026-05-21 19:30:52'),
(3,'7185785c-6a99-4b83-b235-5dedb1e0e3af',1,1,2,1,'Cliente Clientes - Varios - 10:41','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-05-23\",\"time_of_issue\":\"07:19:38\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.421,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":197.25,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":197.25,\"total\":197.25,\"total_init\":197.25,\"subtotal\":197.25,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-05-23\",\"items\":[{\"item_id\":373,\"item\":{\"id\":373,\"item_id\":373,\"full_description\":\"CLONAZEPAM 2MG(IQFARMA)\",\"description\":\"CLONAZEPAM 2MG(IQFARMA)\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"0.50\",\"edit_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":0.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":0.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":0.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":0.5,\"total_value\":0.5,\"total_discount\":0,\"total_charge\":0,\"total\":0.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":0.5,\"total_base_igv_without_rounding\":0.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":0.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":802,\"item\":{\"id\":802,\"item_id\":802,\"full_description\":\"BI802 - GESTAVIT DHA .\",\"description\":\"GESTAVIT DHA .\",\"currency_type_id\":\"PEN\",\"internal_id\":\"BI802\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"3.00\",\"edit_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":802,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153022693\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":802,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153022693\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":3},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":3,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":3,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":3,\"total_value\":3,\"total_discount\":0,\"total_charge\":0,\"total\":3,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":3,\"total_base_igv_without_rounding\":3,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":3,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":802,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153022693\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2046,\"item\":{\"id\":2046,\"item_id\":2046,\"full_description\":\"MINOCICLINA 100MG\",\"description\":\"MINOCICLINA 100MG\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"3.50\",\"edit_sale_unit_price\":\"3.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2046,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702605153329\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2046,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702605153329\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":3.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":3.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":3.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":3.5,\"total_value\":3.5,\"total_discount\":0,\"total_charge\":0,\"total\":3.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":3.5,\"total_base_igv_without_rounding\":3.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":3.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2046,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702605153329\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1927,\"item\":{\"id\":1927,\"item_id\":1927,\"full_description\":\"SIMETICONA 80MG\",\"description\":\"SIMETICONA 80MG\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"0.50\",\"edit_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1927,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942009373\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1927,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942009373\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":0.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":0.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":0.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":0.5,\"total_value\":0.5,\"total_discount\":0,\"total_charge\":0,\"total\":0.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":0.5,\"total_base_igv_without_rounding\":0.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":0.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1927,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942009373\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1798,\"item\":{\"id\":1798,\"item_id\":1798,\"full_description\":\"GESTAGRAMIN 10mg \\/10mg\",\"description\":\"GESTAGRAMIN 10mg \\/10mg\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"3.00\",\"edit_sale_unit_price\":\"3.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1798,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702870684207\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1798,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702870684207\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":3},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":3,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":3,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":3,\"total_value\":3,\"total_discount\":0,\"total_charge\":0,\"total\":3,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":3,\"total_base_igv_without_rounding\":3,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":3,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1798,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7702870684207\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1894,\"item\":{\"id\":1894,\"item_id\":1894,\"full_description\":\"REPRIMAN GOTAS\",\"description\":\"REPRIMAN GOTAS\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"12.00\",\"edit_sale_unit_price\":\"12.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1894,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751257023474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1894,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751257023474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":12},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":12,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":12,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":12,\"total_value\":12,\"total_discount\":0,\"total_charge\":0,\"total\":12,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":12,\"total_base_igv_without_rounding\":12,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":12,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1894,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751257023474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1510,\"item\":{\"id\":1510,\"item_id\":1510,\"full_description\":\"TRETOCHECK 20MG\",\"description\":\"TRETOCHECK 20MG\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.50\",\"edit_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1510,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8904324900171\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1510,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8904324900171\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2.5,\"total_value\":2.5,\"total_discount\":0,\"total_charge\":0,\"total\":2.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2.5,\"total_base_igv_without_rounding\":2.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1510,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8904324900171\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1434,\"item\":{\"id\":1434,\"item_id\":1434,\"full_description\":\"SULFAMETOXA+TRIM 800\\/160MG .\",\"description\":\"SULFAMETOXA+TRIM 800\\/160MG .\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":0.25,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"0.25\",\"edit_sale_unit_price\":\"0.25\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"-1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1434,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750215962473\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1434,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750215962473\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":0.25},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":0.25,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":0.25,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":0.25,\"total_value\":0.25,\"total_discount\":0,\"total_charge\":0,\"total\":0.25,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":0.25,\"total_base_igv_without_rounding\":0.25,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":0.25,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1434,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750215962473\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2000,\"item\":{\"id\":2000,\"item_id\":2000,\"full_description\":\"CEFROM JARABE\",\"description\":\"CEFROM JARABE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":65,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"65.00\",\"edit_sale_unit_price\":\"65.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"-1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2000,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":65,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002863\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2000,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":65,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002863\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":65},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":65,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":65,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":65,\"total_value\":65,\"total_discount\":0,\"total_charge\":0,\"total\":65,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":65,\"total_base_igv_without_rounding\":65,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":65,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2000,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":65,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002863\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2008,\"item\":{\"id\":2008,\"item_id\":2008,\"full_description\":\"MAXEFIN JARABE\",\"description\":\"MAXEFIN JARABE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":55,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"55.00\",\"edit_sale_unit_price\":\"55.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2008,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770101008856\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2008,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770101008856\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":55},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":55,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":55,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":55,\"total_value\":55,\"total_discount\":0,\"total_charge\":0,\"total\":55,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":55,\"total_base_igv_without_rounding\":55,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":55,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2008,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770101008856\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2635,\"item\":{\"id\":2635,\"item_id\":2635,\"full_description\":\"NEURO VIMIN  200ML\",\"description\":\"NEURO VIMIN  200ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":52,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"52.00\",\"edit_sale_unit_price\":\"52.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2635,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":52,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770109041534\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2635,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":52,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770109041534\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":52},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":52,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":52,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":52,\"total_value\":52,\"total_discount\":0,\"total_charge\":0,\"total\":52,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":52,\"total_base_igv_without_rounding\":52,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":52,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2635,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":52,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7770109041534\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-05-23\",\"payment_method_type_id\":\"03\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":197.25}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-05-23 10:46:54','2026-05-23 10:46:54'),
(4,'91b36819-fd30-4bf3-8bc4-ef6958cbb5dc',1,1,2,1,'Cliente Clientes - Varios - 08:41','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-03\",\"time_of_issue\":\"07:50:36\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.414,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":163,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":163,\"total\":163,\"total_init\":163,\"subtotal\":163,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-03\",\"items\":[{\"item_id\":2883,\"item\":{\"stock\":-25,\"id\":2883,\"item_id\":2883,\"full_description\":\"PEDIASURE  LIQUIDO\",\"name\":null,\"second_name\":null,\"description\":\"PEDIASURE  LIQUIDO\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":11,\"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\":\"11.00\",\"aux_sale_unit_price\":\"11.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"-25.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":251,\"description\":\"Unidad\",\"item_id\":2883,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":11,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"251NIU1\",\"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,\"commission_amount\":null,\"commission_type\":null,\"index\":6,\"presentation\":{\"id\":251,\"description\":\"Unidad\",\"item_id\":2883,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":11,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"251NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"unit_price\":11},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":11,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":11,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":11,\"total_value\":11,\"total_discount\":0,\"total_charge\":0,\"total\":11,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":11,\"total_base_igv_without_rounding\":11,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":11,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":251,\"description\":\"Unidad\",\"item_id\":2883,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":11,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"251NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"prescription\":[]},{\"item_id\":1923,\"item\":{\"id\":1923,\"item_id\":1923,\"full_description\":\"GABAPENTINA 300MG(LABOT)\",\"description\":\"GABAPENTINA 300MG(LABOT)\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"0.50\",\"edit_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1923,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751128001952\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1923,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751128001952\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":0.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":0.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":0.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":0.5,\"total_value\":0.5,\"total_discount\":0,\"total_charge\":0,\"total\":0.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":0.5,\"total_base_igv_without_rounding\":0.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":0.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1923,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751128001952\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1994,\"item\":{\"id\":1994,\"item_id\":1994,\"full_description\":\"TUKOL MIEL JARABE\",\"description\":\"TUKOL MIEL JARABE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":25,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"25.00\",\"edit_sale_unit_price\":\"25.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1994,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7756459000612\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1994,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7756459000612\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":25},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":25,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":25,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":25,\"total_value\":25,\"total_discount\":0,\"total_charge\":0,\"total\":25,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":25,\"total_base_igv_without_rounding\":25,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":25,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1994,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7756459000612\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1520,\"item\":{\"id\":1520,\"item_id\":1520,\"full_description\":\"TUKOL D JARABE X120 ML\",\"description\":\"TUKOL D JARABE X120 ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":25,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"25.00\",\"edit_sale_unit_price\":\"25.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1520,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"650240031823\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1520,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"650240031823\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":25},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":25,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":25,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":25,\"total_value\":25,\"total_discount\":0,\"total_charge\":0,\"total\":25,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":25,\"total_base_igv_without_rounding\":25,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":25,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1520,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"650240031823\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":373,\"item\":{\"id\":373,\"item_id\":373,\"full_description\":\"CLONAZEPAM 2MG(IQFARMA)\",\"description\":\"CLONAZEPAM 2MG(IQFARMA)\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"0.50\",\"edit_sale_unit_price\":\"0.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":0.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":0.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":0.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":0.5,\"total_value\":0.5,\"total_discount\":0,\"total_charge\":0,\"total\":0.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":0.5,\"total_base_igv_without_rounding\":0.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":0.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":373,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942000172\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2549,\"item\":{\"id\":2549,\"item_id\":2549,\"full_description\":\"NISTAFEM OVULO\",\"description\":\"NISTAFEM OVULO\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"5.00\",\"edit_sale_unit_price\":\"5.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2549,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281001830\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2549,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281001830\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":5,\"total_value\":5,\"total_discount\":0,\"total_charge\":0,\"total\":5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":5,\"total_base_igv_without_rounding\":5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2549,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281001830\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1681,\"item\":{\"id\":1681,\"item_id\":1681,\"full_description\":\"VICLORAX\",\"description\":\"VICLORAX\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"1.50\",\"edit_sale_unit_price\":\"1.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"-7.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1681,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281000499\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1681,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281000499\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":1.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":1.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":1.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":1.5,\"total_value\":1.5,\"total_discount\":0,\"total_charge\":0,\"total\":1.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":1.5,\"total_base_igv_without_rounding\":1.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":1.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1681,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750281000499\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":665,\"item\":{\"id\":665,\"item_id\":665,\"full_description\":\"ETORICOXIB 90MG(daxolab)\",\"description\":\"ETORICOXIB 90MG(daxolab)\",\"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\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.00\",\"edit_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":665,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"781100159187\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":665,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"781100159187\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2,\"total_value\":2,\"total_discount\":0,\"total_charge\":0,\"total\":2,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2,\"total_base_igv_without_rounding\":2,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":665,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"781100159187\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1827,\"item\":{\"id\":1827,\"item_id\":1827,\"full_description\":\"FARCOX 120 (ETORICOXIB)\",\"description\":\"FARCOX 120 (ETORICOXIB)\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.50\",\"edit_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1827,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906117651833\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1827,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906117651833\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2.5,\"total_value\":2.5,\"total_discount\":0,\"total_charge\":0,\"total\":2.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2.5,\"total_base_igv_without_rounding\":2.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1827,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906117651833\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2237,\"item\":{\"id\":2237,\"item_id\":2237,\"full_description\":\"OMEGA 369 FRASCO X 60 CAPSULAS BLANDAS\",\"description\":\"OMEGA 369 FRASCO X 60 CAPSULAS BLANDAS\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":55,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"55.00\",\"edit_sale_unit_price\":\"55.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2237,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"811726003790\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2237,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"811726003790\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":55},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":55,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":55,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":55,\"total_value\":55,\"total_discount\":0,\"total_charge\":0,\"total\":55,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":55,\"total_base_igv_without_rounding\":55,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":55,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2237,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"811726003790\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2648,\"item\":{\"id\":2648,\"item_id\":2648,\"full_description\":\"FULL VAT SOLUCION ORAL 20ML\",\"description\":\"FULL VAT SOLUCION ORAL 20ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":20,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"20.00\",\"edit_sale_unit_price\":\"20.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2648,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":20,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754102001542\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2648,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":20,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754102001542\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":20},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":20,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":20,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":20,\"total_value\":20,\"total_discount\":0,\"total_charge\":0,\"total\":20,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":20,\"total_base_igv_without_rounding\":20,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":20,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2648,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":20,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7754102001542\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":2058,\"item\":{\"id\":2058,\"item_id\":2058,\"full_description\":\"HIERROMIN 100MG\\/5ML AMPOLLA\",\"description\":\"HIERROMIN 100MG\\/5ML AMPOLLA\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"15.00\",\"edit_sale_unit_price\":\"15.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":2058,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765000031\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":2058,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765000031\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":15},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":15,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":15,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":15,\"total_value\":15,\"total_discount\":0,\"total_charge\":0,\"total\":15,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":15,\"total_base_igv_without_rounding\":15,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":15,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2058,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765000031\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-03\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":163}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-03 08:46:45','2026-06-03 08:46:45'),
(5,'d5ca34fe-302c-4f0b-bd13-260cbd0d989e',1,1,2,1,'Cliente Clientes - Varios - 16:43','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-15\",\"time_of_issue\":\"16:21:36\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.389,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":7,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":7,\"total\":7,\"total_init\":7,\"subtotal\":7,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-15\",\"items\":[{\"item_id\":511,\"item\":{\"id\":511,\"item_id\":511,\"full_description\":\"DICLOFENACO GEL 1% X 50G(FARMIND.)\",\"description\":\"DICLOFENACO GEL 1% X 50G(FARMIND.)\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":7,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"7.00\",\"edit_sale_unit_price\":\"7.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":511,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750304001168\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":511,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750304001168\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":7},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":7,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":7,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":7,\"total_value\":7,\"total_discount\":0,\"total_charge\":0,\"total\":7,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":7,\"total_base_igv_without_rounding\":7,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":7,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":511,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750304001168\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-15\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":7}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-15 16:48:47','2026-06-15 16:48:47'),
(6,'884ff134-f195-4c1b-aa00-47ff9fd8dcae',1,1,2,1,'Cliente Clientes - Varios - 18:52','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-17\",\"time_of_issue\":\"14:25:49\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.382,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":55.5,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":55.5,\"total\":55.5,\"total_init\":55.5,\"subtotal\":55.5,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-17\",\"items\":[{\"item_id\":1999,\"item\":{\"id\":1999,\"item_id\":1999,\"full_description\":\"CODINAL PLUS\",\"description\":\"CODINAL PLUS\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":45,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"45.00\",\"edit_sale_unit_price\":\"45.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1999,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":45,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1999,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":45,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":45},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":45,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":45,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":45,\"total_value\":45,\"total_discount\":0,\"total_charge\":0,\"total\":45,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":45,\"total_base_igv_without_rounding\":45,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":45,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1999,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":45,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7751207002474\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1774,\"item\":{\"id\":1774,\"item_id\":1774,\"full_description\":\"GASTRORAL MASTICABLE\",\"description\":\"GASTRORAL MASTICABLE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"1.50\",\"edit_sale_unit_price\":\"1.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1774,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942002374\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1774,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942002374\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":1.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":1.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":1.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":1.5,\"total_value\":1.5,\"total_discount\":0,\"total_charge\":0,\"total\":1.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":1.5,\"total_base_igv_without_rounding\":1.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":1.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1774,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750942002374\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1821,\"item\":{\"id\":1821,\"item_id\":1821,\"full_description\":\"VALUPASS (CAPSULA)\",\"description\":\"VALUPASS (CAPSULA)\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.50\",\"edit_sale_unit_price\":\"2.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"5.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2.5,\"total_value\":2.5,\"total_discount\":0,\"total_charge\":0,\"total\":2.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2.5,\"total_base_igv_without_rounding\":2.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1821,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504000391\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1793,\"item\":{\"id\":1793,\"item_id\":1793,\"full_description\":\"EUTIROX 100 microgramos\",\"description\":\"EUTIROX 100 microgramos\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"2.00\",\"edit_sale_unit_price\":\"2.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"2.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1793,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4065269168225\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1793,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4065269168225\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":2},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":2,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":2,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":2,\"total_value\":2,\"total_discount\":0,\"total_charge\":0,\"total\":2,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":2,\"total_base_igv_without_rounding\":2,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":2,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1793,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4065269168225\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]},{\"item_id\":1795,\"item\":{\"id\":1795,\"item_id\":1795,\"full_description\":\"BLADURIL 200mg\",\"description\":\"BLADURIL 200mg\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"4.50\",\"edit_sale_unit_price\":\"4.50\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1795,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7800070000046\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1795,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7800070000046\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":4.5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":4.5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":4.5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":4.5,\"total_value\":4.5,\"total_discount\":0,\"total_charge\":0,\"total\":4.5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":4.5,\"total_base_igv_without_rounding\":4.5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":4.5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1795,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7800070000046\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-17\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":55.5}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-17 18:58:32','2026-06-17 18:58:32'),
(7,'6995222c-0871-4fc9-9f86-a11d13941c03',1,1,2,1,'Cliente Clientes - Varios - 13:24','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-21\",\"time_of_issue\":\"10:56:44\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.386,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":55,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":55,\"total\":55,\"total_init\":55,\"subtotal\":55,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-21\",\"items\":[{\"item_id\":192,\"item\":{\"stock\":0,\"id\":192,\"item_id\":192,\"full_description\":\"BETADUO 2ML INYECTABLE\",\"name\":null,\"second_name\":null,\"description\":\"BETADUO 2ML INYECTABLE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":55,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":1,\"edit_sale_unit_price\":\"55.00\",\"aux_sale_unit_price\":\"55.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":null,\"item_id\":192,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153020545\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"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\":\"5\",\"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,\"commission_amount\":null,\"commission_type\":null,\"index\":1,\"presentation\":{\"id\":null,\"item_id\":192,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153020545\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":55},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":55,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":55,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":55,\"total_value\":55,\"total_discount\":0,\"total_charge\":0,\"total\":55,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":55,\"total_base_igv_without_rounding\":55,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":55,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":192,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7703153020545\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[]}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-21\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":55}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-21 13:29:51','2026-06-21 13:29:51'),
(8,'769ec5e0-d055-45d0-9c66-f866555f1e87',1,1,2,1,'Cliente Clientes - Varios - 13:21','{\"establishment_id\":1,\"document_type_id\":\"80\",\"series_id\":10,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-22\",\"time_of_issue\":\"10:08:39\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.386,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":65,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":65,\"total\":65,\"total_init\":65,\"subtotal\":65,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-22\",\"items\":[{\"item_id\":1993,\"item\":{\"id\":1993,\"item_id\":1993,\"full_description\":\"PALTOMIEL INFANTIL JARABE\",\"description\":\"PALTOMIEL INFANTIL JARABE\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":22,\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"22.00\",\"edit_sale_unit_price\":\"22.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"0.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1993,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":22,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504001176\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1993,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":22,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504001176\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":22},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":22,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":22,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":22,\"total_value\":22,\"total_discount\":0,\"total_charge\":0,\"total\":22,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":22,\"total_base_igv_without_rounding\":22,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":22,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1993,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":22,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7803504001176\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false},{\"item_id\":1988,\"item\":{\"id\":1988,\"item_id\":1988,\"full_description\":\"ATOS JARABE\",\"description\":\"ATOS JARABE\",\"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,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"15.00\",\"edit_sale_unit_price\":\"15.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"3.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":1988,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750929001819\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"original_affectation_igv_type_id\":\"20\",\"restrict_sale_cpe\":false,\"requires_prescription\":false,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":1988,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750929001819\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":15},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":15,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":15,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":15,\"total_value\":15,\"total_discount\":0,\"total_charge\":0,\"total\":15,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":15,\"total_base_igv_without_rounding\":15,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":15,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":1988,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":15,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7750929001819\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false},{\"item_id\":2097,\"item\":{\"stock\":3,\"id\":2097,\"item_id\":2097,\"full_description\":\"DOLO-KET 60MG\\/2ML AMP.\",\"name\":null,\"second_name\":null,\"description\":\"DOLO-KET 60MG\\/2ML AMP.\",\"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:\\/\\/miangelito.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\":null,\"item_id\":2097,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906014106160\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"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,\"commission_amount\":null,\"commission_type\":null,\"index\":2,\"presentation\":{\"id\":null,\"item_id\":2097,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906014106160\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":5},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":5,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":5,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":5,\"total_value\":5,\"total_discount\":0,\"total_charge\":0,\"total\":5,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":5,\"total_base_igv_without_rounding\":5,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":5,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2097,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"8906014106160\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false},{\"item_id\":2067,\"item\":{\"stock\":1,\"id\":2067,\"item_id\":2067,\"full_description\":\"KETOPROPHARM-IV\",\"name\":null,\"second_name\":null,\"description\":\"KETOPROPHARM-IV\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":7,\"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\":\"7.00\",\"aux_sale_unit_price\":\"7.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":null,\"item_id\":2067,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765003070\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"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,\"commission_amount\":null,\"commission_type\":null,\"index\":8,\"presentation\":{\"id\":null,\"item_id\":2067,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765003070\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":7},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":7,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":7,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":7,\"total_value\":7,\"total_discount\":0,\"total_charge\":0,\"total\":7,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":7,\"total_base_igv_without_rounding\":7,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":7,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":2067,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7759765003070\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false},{\"item_id\":856,\"item\":{\"stock\":1,\"id\":856,\"item_id\":856,\"full_description\":\"HIDROCORTISONA 250MG. (DANY)\",\"name\":null,\"second_name\":null,\"description\":\"HIDROCORTISONA 250MG. (DANY)\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":16,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"has_igv\":true,\"is_set\":false,\"active\":1,\"edit_unit_price\":false,\"aux_quantity\":3,\"edit_sale_unit_price\":\"16.00\",\"aux_sale_unit_price\":\"16.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"1.0000\",\"is_current_warehouse\":true}],\"category_id\":0,\"sets\":[],\"unit_type\":[{\"id\":null,\"item_id\":856,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":16,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7753803000885\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"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\":\"5\",\"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,\"commission_amount\":null,\"commission_type\":null,\"index\":0,\"presentation\":{\"id\":null,\"item_id\":856,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":16,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7753803000885\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":16},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":16,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":16,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":16,\"total_value\":16,\"total_discount\":0,\"total_charge\":0,\"total\":16,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":16,\"total_base_igv_without_rounding\":16,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":16,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"_editing_price\":false}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-22\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":65}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-22 13:27:17','2026-06-22 13:27:17'),
(9,'d1dc700e-4cfb-4f95-a9c9-4b6e9dd04680',1,1,2,1,'Cliente Clientes - Varios - 14:51','{\"establishment_id\":1,\"document_type_id\":\"03\",\"series_id\":16,\"prefix\":null,\"number\":\"#\",\"date_of_issue\":\"2026-06-30\",\"time_of_issue\":\"12:05:19\",\"customer_id\":1,\"currency_type_id\":\"PEN\",\"purchase_order\":null,\"exchange_rate_sale\":3.415,\"total_prepayment\":0,\"total_charge\":0,\"total_discount\":0,\"coupon_id\":null,\"coupon_code\":null,\"total_exportation\":0,\"total_free\":0,\"total_taxed\":0,\"total_unaffected\":0,\"total_exonerated\":26,\"total_igv\":0,\"total_base_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"total_value\":26,\"total\":26,\"total_init\":26,\"subtotal\":26,\"total_igv_free\":0,\"operation_type_id\":\"0101\",\"date_of_due\":\"2026-06-30\",\"items\":[{\"item_id\":826,\"item\":{\"id\":826,\"item_id\":826,\"full_description\":\"GRIFANTIL JBE X 60ML\",\"description\":\"GRIFANTIL JBE X 60ML\",\"currency_type_id\":\"PEN\",\"internal_id\":null,\"currency_type_symbol\":\"S\\/\",\"sale_unit_price\":26,\"purchase_unit_price\":0,\"unit_type_id\":\"NIU\",\"aux_unit_type_id\":\"NIU\",\"sale_affectation_igv_type_id\":\"20\",\"purchase_affectation_igv_type_id\":\"20\",\"calculate_quantity\":false,\"is_set\":false,\"edit_unit_price\":false,\"has_igv\":true,\"aux_quantity\":1,\"aux_sale_unit_price\":\"26.00\",\"edit_sale_unit_price\":\"26.00\",\"image_url\":\"https:\\/\\/miangelito.sysfarma.pe\\/logo\\/imagen-no-disponible.jpg\",\"sets\":[],\"warehouses\":[{\"warehouse_id\":1,\"warehouse_description\":\"Almac\\u00e9n Oficina Principal\",\"stock\":\"-1.0000\",\"is_current_warehouse\":true}],\"unit_type\":[{\"id\":null,\"item_id\":826,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":26,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7840653009431\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}}],\"category\":null,\"brand\":null,\"has_plastic_bag_taxes\":false,\"amount_plastic_bag_taxes\":\"0.10\",\"has_isc\":false,\"system_isc_type_id\":null,\"percentage_isc\":\"0.00\",\"search_item_by_barcode_presentation\":false,\"exchange_points\":false,\"quantity_of_points\":0,\"payWithPoints\":false,\"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,\"prices\":null,\"lots_group\":[],\"lot_status\":\"none\",\"presentation\":{\"id\":null,\"item_id\":826,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":26,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7840653009431\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"unit_price\":26},\"currency_type_id\":\"PEN\",\"quantity\":1,\"unit_value\":26,\"affectation_igv_type_id\":\"20\",\"affectation_igv_type\":{\"id\":\"20\",\"active\":1,\"exportation\":0,\"free\":0,\"description\":\"Exonerado - Operaci\\u00f3n Onerosa\"},\"total_base_igv\":26,\"percentage_igv\":18,\"total_igv\":0,\"system_isc_type_id\":null,\"total_base_isc\":0,\"percentage_isc\":0,\"total_isc\":0,\"total_base_other_taxes\":0,\"percentage_other_taxes\":0,\"total_other_taxes\":0,\"total_plastic_bag_taxes\":0,\"total_taxes\":0,\"price_type_id\":\"01\",\"unit_price\":26,\"total_value\":26,\"total_discount\":0,\"total_charge\":0,\"total\":26,\"attributes\":[],\"charges\":[],\"discounts\":[],\"record_id\":null,\"total_value_without_rounding\":26,\"total_base_igv_without_rounding\":26,\"total_igv_without_rounding\":0,\"total_taxes_without_rounding\":0,\"total_without_rounding\":26,\"purchase_unit_price\":0,\"purchase_has_igv\":true,\"data_item_lot_group\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":null,\"item_id\":826,\"description\":\"Unidades\",\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":26,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"7840653009431\",\"pricing_source\":\"base_unit_fallback\",\"pricing_status\":\"fallback\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"}},\"prescription\":[],\"_editing_price\":false}],\"charges\":[],\"discounts\":[],\"attributes\":[],\"guides\":[],\"payments\":[{\"id\":null,\"document_id\":null,\"sale_note_id\":null,\"date_of_payment\":\"2026-06-30\",\"payment_method_type_id\":\"01\",\"payment_destination_id\":\"cash\",\"reference\":null,\"payment\":26}],\"hotel\":[],\"additional_information\":null,\"actions\":{\"format_pdf\":\"a4\"},\"reference_data\":null,\"is_print\":true,\"worker_full_name_tips\":null,\"total_tips\":0,\"created_from_pos\":true,\"token_validated_for_discount\":false,\"agent_id\":null,\"dispatch_ticket_pdf\":false,\"payment_condition_id\":\"01\",\"fee\":[],\"parked_sale_id\":null,\"parked_requires_stock_adjustment\":false,\"parked_stock_errors\":[]}',NULL,NULL,'2026-06-30 14:57:21','2026-06-30 14:57:21');
COMMIT;

--
