-- Table structure for table `doctor_schedules`
--

CREATE TABLE `doctor_schedules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doctor_id` int(10) unsigned NOT NULL,
  `morning_start` time DEFAULT NULL,
  `morning_end` time DEFAULT NULL,
  `afternoon_start` time DEFAULT NULL,
  `afternoon_end` time DEFAULT NULL,
  `appointment_duration` int(11) DEFAULT NULL,
  `day_of_week` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `doctor_schedules_doctor_id` (`doctor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `doctor_schedules`
--

SET autocommit=0;
COMMIT;

-- Dumped table `doctor_schedules` with 0 row(s)
--

--
-- Table structure for table `documentary_actions`
--

CREATE TABLE `documentary_actions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `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 `documentary_actions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_actions` with 0 row(s)
--

--
-- Table structure for table `documentary_documents`
--

CREATE TABLE `documentary_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `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 `documentary_documents`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_documents` with 0 row(s)
--

--
-- Table structure for table `documentary_files`
--

CREATE TABLE `documentary_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `documentary_document_id` int(10) unsigned DEFAULT 0,
  `documentary_process_id` int(10) unsigned NOT NULL,
  `number` mediumtext DEFAULT NULL,
  `year` int(10) unsigned NOT NULL,
  `invoice` longtext NOT NULL,
  `date_register` varchar(10) NOT NULL,
  `time_register` varchar(8) NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `sender` longtext DEFAULT NULL,
  `subject` longtext DEFAULT NULL,
  `attached_file` longtext DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `status` enum('RECIBIDO','DERIVADO','FINALIZADO','ARCHIVADO') NOT NULL DEFAULT 'RECIBIDO',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Define el ultimo proceso',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `requirements` longtext DEFAULT NULL,
  `is_archive` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'define si el tramite es simplificado',
  `is_simplify` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'define si el tramite es simplificado',
  `documentary_guides_number_status_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Cuando es simplificado, se usará este status',
  `is_completed` tinyint(1) NOT NULL DEFAULT 0,
  `establishment_id` int(10) unsigned NOT NULL DEFAULT 0,
  `date_end` datetime DEFAULT NULL COMMENT 'Fecha de finalización',
  PRIMARY KEY (`id`),
  KEY `documentary_files_documentary_document_id_foreign` (`documentary_document_id`),
  KEY `documentary_files_documentary_process_id_foreign` (`documentary_process_id`),
  KEY `documentary_files_person_id_foreign` (`person_id`),
  KEY `documentary_files_user_id_foreign` (`user_id`),
  CONSTRAINT `documentary_files_documentary_process_id_foreign` FOREIGN KEY (`documentary_process_id`) REFERENCES `documentary_processes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `documentary_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `documentary_files_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 `documentary_files`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_files` with 0 row(s)
--

--
-- Table structure for table `documentary_files_archives`
--

CREATE TABLE `documentary_files_archives` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'usuario asociado',
  `documentary_file_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Solicitud asociada',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'etapa asociada',
  `observation` longtext DEFAULT NULL COMMENT 'observacion',
  `attached_file` longtext DEFAULT NULL COMMENT 'etapa asociada',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `documentary_guides_number_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_files_archives`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_files_archives` with 0 row(s)
--

--
-- Table structure for table `documentary_files_requirements`
--

CREATE TABLE `documentary_files_requirements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` longtext DEFAULT NULL COMMENT 'Nombre a mostrar',
  `file` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Define si tiene archivo',
  `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 `documentary_files_requirements`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_files_requirements` with 0 row(s)
--

--
-- Table structure for table `documentary_file_offices`
--

CREATE TABLE `documentary_file_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `documentary_file_id` int(10) unsigned NOT NULL,
  `documentary_office_id` int(10) unsigned NOT NULL,
  `documentary_action_id` int(10) unsigned NOT NULL DEFAULT 0,
  `status` enum('POR DERIVAR','POR RECIBIR','EN PROCESO','FINALIZADO','ARCHIVADO') NOT NULL DEFAULT 'POR DERIVAR',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `office_name` longtext DEFAULT NULL COMMENT 'Nombre de la etapa',
  `process_name` longtext DEFAULT NULL COMMENT 'Nombre del tramite',
  `documentary_process_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Tramite relacionado',
  `complete` int(11) NOT NULL DEFAULT 0 COMMENT 'Define si la etapa esta completa',
  `start_date` datetime DEFAULT NULL COMMENT 'Fecha de inicio',
  `end_date` datetime DEFAULT NULL COMMENT 'Fecha de finalizacion',
  `days` int(10) unsigned DEFAULT 0 COMMENT 'dias para el tramite',
  `observation` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `documentary_file_offices_documentary_file_id_foreign` (`documentary_file_id`),
  KEY `documentary_file_offices_documentary_office_id_foreign` (`documentary_office_id`),
  KEY `documentary_file_offices_documentary_action_id_foreign` (`documentary_action_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_file_offices`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_file_offices` with 0 row(s)
--

--
-- Table structure for table `documentary_guides_number`
--

CREATE TABLE `documentary_guides_number` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `doc_office_id` int(10) unsigned DEFAULT 0 COMMENT 'Etapa observada',
  `guide` longtext DEFAULT NULL COMMENT 'Especifica la guia',
  `origin` longtext DEFAULT NULL COMMENT 'Especifica la instucion',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `date_of_due` datetime DEFAULT NULL,
  `observation` longtext DEFAULT NULL,
  `description` longtext DEFAULT NULL,
  `date_take` datetime DEFAULT NULL COMMENT 'Fecha estimada de finalización',
  `date_end` datetime DEFAULT NULL COMMENT 'Fecha de finalización',
  `documentary_guides_number_status_id` int(10) unsigned DEFAULT 0 COMMENT 'relacionado con documentary_guides_number_status',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Responsable',
  `total_day` int(10) unsigned DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_guides_number`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_guides_number` with 0 row(s)
--

--
-- Table structure for table `documentary_guides_number_status`
--

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

--
-- Dumping data for table `documentary_guides_number_status`
--

SET autocommit=0;
INSERT INTO `documentary_guides_number_status` VALUES (1,'En Calificación',NULL),(2,'Concluidos',NULL),(3,'Observados',NULL),(4,'Archivados',NULL);
COMMIT;

-- Dumped table `documentary_guides_number_status` with 4 row(s)
--

--
-- Table structure for table `documentary_observation`
--

CREATE TABLE `documentary_observation` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `observation` longtext DEFAULT NULL COMMENT 'Conjunto de etapas.',
  `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 `documentary_observation`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_observation` with 0 row(s)
--

--
-- Table structure for table `documentary_offices`
--

CREATE TABLE `documentary_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `days` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `default` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `color` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_offices`
--

SET autocommit=0;
INSERT INTO `documentary_offices` VALUES (1,'Caja','',1,'2026-07-20 19:21:46','2026-07-20 19:21:46',0,0,NULL),(2,'Procesos','',1,'2026-07-20 19:21:46','2026-07-20 19:21:46',0,0,NULL),(3,'Seguimiento','',1,'2026-07-20 19:21:46','2026-07-20 19:21:46',0,0,NULL),(4,'Validacion','',1,'2026-07-20 19:21:46','2026-07-20 19:21:46',0,0,NULL);
COMMIT;

-- Dumped table `documentary_offices` with 4 row(s)
--

--
-- Table structure for table `documentary_processes`
--

CREATE TABLE `documentary_processes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  `description` text NOT NULL,
  `price` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `documentary_offices` longtext DEFAULT NULL COMMENT 'etapas que contiene',
  `documentary_offices_order` longtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_processes`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_processes` with 0 row(s)
--

--
-- Table structure for table `documentary_processes_rel_file`
--

CREATE TABLE `documentary_processes_rel_file` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `doc_office_id` int(10) unsigned DEFAULT 0 COMMENT 'Etapa actual',
  `stages` longtext DEFAULT NULL COMMENT 'Conjunto de etapas.',
  `complete` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Define si se ha completado',
  `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 `documentary_processes_rel_file`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_processes_rel_file` with 0 row(s)
--

--
-- Table structure for table `documentary_processes_rel_off`
--

CREATE TABLE `documentary_processes_rel_off` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_offices_id` int(10) unsigned DEFAULT 0 COMMENT 'Proceso relacionado',
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Status de la relacion',
  `order` int(10) unsigned DEFAULT 1 COMMENT 'Establece el orden del proceso',
  `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 `documentary_processes_rel_off`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_processes_rel_off` with 0 row(s)
--

--
-- Table structure for table `documentary_processes_rel_req`
--

CREATE TABLE `documentary_processes_rel_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_files_requirements_id` int(10) unsigned DEFAULT 0 COMMENT 'Proceso relacionado',
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Status de la relacion',
  `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 `documentary_processes_rel_req`
--

SET autocommit=0;
COMMIT;

-- Dumped table `documentary_processes_rel_req` with 0 row(s)
--

--
-- Table structure for table `documents`
--

CREATE TABLE `documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `ticket_single_shipment` tinyint(1) NOT NULL DEFAULT 0,
  `force_send_by_summary` tinyint(1) NOT NULL DEFAULT 0,
  `group_id` char(2) NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series` char(4) NOT NULL,
  `number` int(11) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` varchar(255) NOT NULL,
  `payment_condition_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` char(2) DEFAULT NULL,
  `purchase_order` varchar(255) DEFAULT NULL,
  `plate_number` varchar(255) DEFAULT NULL,
  `quotation_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `user_rel_suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con suscripciones',
  `technical_service_id` int(10) unsigned DEFAULT NULL,
  `order_note_id` int(10) unsigned DEFAULT NULL,
  `dispatch_id` int(10) unsigned DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `point_system` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indica si el documento se uso en sistema por puntos',
  `point_system_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'datos de sistema por puntos' CHECK (json_valid(`point_system_data`)),
  `automatic_date_of_issue` date DEFAULT NULL,
  `type_period` varchar(255) DEFAULT NULL,
  `quantity_period` int(11) DEFAULT NULL,
  `enabled_concurrency` tinyint(3) unsigned DEFAULT 0,
  `apply_concurrency` tinyint(3) unsigned DEFAULT 0,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `coupon_id` int(10) unsigned DEFAULT NULL,
  `coupon_code` varchar(50) DEFAULT NULL,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `dispatch_ticket_pdf` tinyint(1) NOT NULL DEFAULT 0,
  `has_prepayment` tinyint(1) NOT NULL DEFAULT 0,
  `affectation_type_prepayment` varchar(255) DEFAULT NULL,
  `was_deducted_prepayment` tinyint(1) NOT NULL DEFAULT 0,
  `pending_amount_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_pending_payment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `retention` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`retention`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `additional_information` text DEFAULT NULL,
  `additional_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`additional_data`)),
  `filename` varchar(255) DEFAULT NULL,
  `unique_filename` varchar(255) DEFAULT NULL,
  `hash` varchar(255) DEFAULT NULL,
  `reference_data` varchar(500) DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `has_xml` tinyint(1) NOT NULL DEFAULT 0,
  `has_pdf` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `data_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data_json`)),
  `send_server` tinyint(1) NOT NULL DEFAULT 1,
  `success_shipping_status` tinyint(1) NOT NULL DEFAULT 0,
  `shipping_status` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`shipping_status`)),
  `success_sunat_shipping_status` tinyint(1) NOT NULL DEFAULT 0,
  `sunat_shipping_status` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`sunat_shipping_status`)),
  `query_status` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`query_status`)),
  `success_query_status` tinyint(1) NOT NULL DEFAULT 0,
  `total_canceled` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`soap_shipping_response`)),
  `regularize_shipping` tinyint(1) NOT NULL DEFAULT 0,
  `response_regularize_shipping` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_regularize_shipping`)),
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_signature_pse`)),
  `send_to_nubefact` tinyint(1) DEFAULT 0,
  `response_signature_nubefact` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_signature_nubefact`)),
  `send_anulate_nubefact` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`send_anulate_nubefact`)),
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_send_cdr_pse`)),
  `sale_notes_relateds` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'registros asociados cuando se genera cpe desde multiples notas de venta' CHECK (json_valid(`sale_notes_relateds`)),
  `terms_condition` text DEFAULT NULL,
  `prescription_doctor_id` int(10) unsigned DEFAULT NULL,
  `folio` varchar(50) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `total_points` double NOT NULL DEFAULT 0,
  `is_editable` tinyint(1) NOT NULL DEFAULT 0,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  PRIMARY KEY (`id`),
  UNIQUE KEY `documents_unique_filename_unique` (`unique_filename`),
  KEY `documents_user_id_foreign` (`user_id`),
  KEY `documents_establishment_id_foreign` (`establishment_id`),
  KEY `documents_customer_id_foreign` (`customer_id`),
  KEY `documents_soap_type_id_foreign` (`soap_type_id`),
  KEY `documents_state_type_id_foreign` (`state_type_id`),
  KEY `documents_group_id_foreign` (`group_id`),
  KEY `documents_document_type_id_foreign` (`document_type_id`),
  KEY `documents_currency_type_id_foreign` (`currency_type_id`),
  KEY `documents_quotation_id_foreign` (`quotation_id`),
  KEY `documents_external_id_index` (`external_id`),
  KEY `documents_sale_note_id_foreign` (`sale_note_id`),
  KEY `documents_series_index` (`series`),
  KEY `documents_number_index` (`number`),
  KEY `documents_date_of_issue_index` (`date_of_issue`),
  KEY `documents_order_note_id_foreign` (`order_note_id`),
  KEY `documents_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `documents_seller_id_foreign` (`seller_id`),
  KEY `documents_payment_condition_id_foreign` (`payment_condition_id`),
  KEY `documents_dispatch_id_foreign` (`dispatch_id`),
  KEY `documents_technical_service_id_foreign` (`technical_service_id`),
  KEY `documents_type_period_index` (`type_period`),
  KEY `documents_regularize_shipping_index` (`regularize_shipping`),
  KEY `documents_ticket_single_shipment_index` (`ticket_single_shipment`),
  KEY `documents_agent_id_foreign` (`agent_id`),
  KEY `documents_force_send_by_summary_index` (`force_send_by_summary`),
  CONSTRAINT `documents_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `agents` (`id`),
  CONSTRAINT `documents_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `documents_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `documents_dispatch_id_foreign` FOREIGN KEY (`dispatch_id`) REFERENCES `dispatches` (`id`),
  CONSTRAINT `documents_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `documents_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `documents_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`),
  CONSTRAINT `documents_order_note_id_foreign` FOREIGN KEY (`order_note_id`) REFERENCES `order_notes` (`id`),
  CONSTRAINT `documents_payment_condition_id_foreign` FOREIGN KEY (`payment_condition_id`) REFERENCES `payment_conditions` (`id`),
  CONSTRAINT `documents_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `documents_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`),
  CONSTRAINT `documents_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`),
  CONSTRAINT `documents_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`),
  CONSTRAINT `documents_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `documents_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `documents_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`),
  CONSTRAINT `documents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documents`
--

SET autocommit=0;
INSERT INTO `documents` VALUES (1,3,'1a8e1efc-984e-4e79-afe4-a540d11c042a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',1,'2026-07-23','18:54:39',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,4.24,0.00,0.00,0.76,0.00,0.00,0.00,0.00,0.00,0.00,0.76,4.24,5.00,5.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cinco  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-1','20613997203-03-BX01-1',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-1, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 18:56:39','2026-07-23 18:56:42',0,1,NULL,NULL),(2,3,'f687e7e4-0e88-4564-8afc-a3ff175ffaf8',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',2,'2026-07-23','18:57:35',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,5.08,0.00,0.00,0.92,0.00,0.00,0.00,0.00,0.00,0.00,0.92,5.08,6.00,6.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Seis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-2','20613997203-03-BX01-2',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-2, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 18:58:07','2026-07-23 18:58:16',0,1,NULL,NULL),(3,3,'ad8a4e02-7631-4025-8911-28e9a4484619',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',3,'2026-07-23','19:06:15',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,1.27,0.00,0.00,0.23,0.00,0.00,0.00,0.00,0.00,0.00,0.23,1.27,1.50,1.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Un con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-3','20613997203-03-BX01-3',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-3, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 19:06:44','2026-07-23 19:06:45',0,1,NULL,NULL),(4,3,'00723ec1-a5bb-4bef-b4d7-e9f77831a9f4',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',4,'2026-07-23','19:22:22',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,6.36,0.00,0.00,1.14,0.00,0.00,0.00,0.00,0.00,0.00,1.14,6.36,7.50,7.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Siete  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-4','20613997203-03-BX01-4',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-4, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 19:22:42','2026-07-23 19:22:44',0,1,NULL,NULL),(5,3,'507a31df-4620-4d2d-8f1e-4fd400cb4a54',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',5,'2026-07-23','19:58:09',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,13.56,0.00,0.00,2.44,0.00,0.00,0.00,0.00,0.00,0.00,2.44,13.56,16.00,16.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dieciseis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-5','20613997203-03-BX01-5',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-5, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 19:58:27','2026-07-23 19:58:28',0,1,NULL,NULL),(6,3,'196a3226-8cf9-4bad-bb90-361f856a2ed5',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',6,'2026-07-23','20:40:09',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,94.92,0.00,0.00,17.08,0.00,0.00,0.00,0.00,0.00,0.00,17.08,94.92,112.00,112.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Ciento doce  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-6','20613997203-03-BX01-6',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-6, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 20:51:13','2026-07-23 20:51:15',0,1,NULL,NULL),(7,3,'242a438c-cafe-43a9-a4f7-1796ac44281b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',7,'2026-07-23','21:19:12',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,1.69,0.00,0.00,0.31,0.00,0.00,0.00,0.00,0.00,0.00,0.31,1.69,2.00,2.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-7','20613997203-03-BX01-7',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-7, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 21:20:08','2026-07-23 21:20:09',0,1,NULL,NULL),(8,3,'b70329cb-b0b6-49f3-a319-5453bba200e9',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',8,'2026-07-23','21:20:10',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-8','20613997203-03-BX01-8',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-8, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-23 21:23:26','2026-07-23 21:23:27',0,1,NULL,NULL),(9,3,'495cde58-8f7d-4359-a9d3-328193ba61ac',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',9,'2026-07-24','12:31:37',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,6.36,0.00,0.00,1.14,0.00,0.00,0.00,0.00,0.00,0.00,1.14,6.36,7.50,7.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Siete  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-9','20613997203-03-BX01-9',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-9, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 12:32:34','2026-07-24 12:32:41',0,1,NULL,NULL),(10,3,'1f2877b7-69f6-44b1-8201-9d9467ccc403',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',10,'2026-07-24','14:37:49',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,1.50,NULL,NULL,0.00,0.00,5.09,0.00,0.00,0.91,0.00,0.00,0.00,0.00,0.00,0.00,0.91,5.09,5.09,6.00,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"02\",\"description\":\"Descuentos globales que afectan la base imponible del IGV\\/IVAP\",\"factor\":0.2,\"amount\":1.27,\"base\":6.36,\"is_amount\":true}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Seis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-10','20613997203-03-BX01-10',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-10, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 15:53:06','2026-07-24 15:53:07',0,1,NULL,NULL),(11,3,'1d32f497-abe5-41cf-a966-eeaa75e1f347',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',11,'2026-07-24','17:16:26',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,15.25,0.00,0.00,2.75,0.00,0.00,0.00,0.00,0.00,0.00,2.75,15.25,18.00,18.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dieciocho  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-11','20613997203-03-BX01-11',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-11, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 17:16:53','2026-07-24 17:16:54',0,1,NULL,NULL),(12,3,'21b6633e-69d6-4b97-a1f1-33a34ec97958',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',12,'2026-07-24','18:34:59',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,14.83,0.00,0.00,2.67,0.00,0.00,0.00,0.00,0.00,0.00,2.67,14.83,17.50,17.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Diecisiete  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-12','20613997203-03-BX01-12',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-12, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 18:37:55','2026-07-24 18:38:04',0,1,NULL,NULL),(13,3,'b8b04a89-da29-4f3b-baec-db177128b39b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',13,'2026-07-24','19:18:07',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,8.05,0.00,0.00,1.45,0.00,0.00,0.00,0.00,0.00,0.00,1.45,8.05,9.50,9.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Nueve  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-13','20613997203-03-BX01-13',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-13, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 19:24:00','2026-07-24 19:24:10',0,1,NULL,NULL),(14,3,'dd35c7f5-377e-48a0-8db4-351cb33318c0',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',14,'2026-07-24','19:24:11',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,6.50,NULL,NULL,0.00,0.00,47.04,0.00,0.00,8.46,0.00,0.00,0.00,0.00,0.00,0.00,8.46,47.04,47.04,55.50,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"02\",\"description\":\"Descuentos globales que afectan la base imponible del IGV\\/IVAP\",\"factor\":0.10484,\"amount\":5.51,\"base\":52.55,\"is_amount\":true}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cincuenta y cinco  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-14','20613997203-03-BX01-14',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-14, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 19:31:53','2026-07-24 19:31:57',0,1,NULL,NULL),(15,3,'7b8058df-75e6-4946-a283-0c0c0cfc2a06',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',15,'2026-07-24','19:31:58',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,6.78,0.00,0.00,1.22,0.00,0.00,0.00,0.00,0.00,0.00,1.22,6.78,8.00,8.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Ocho  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-15','20613997203-03-BX01-15',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-15, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 19:42:39','2026-07-24 19:42:47',0,1,NULL,NULL),(16,3,'b6c85ba0-09fc-4805-b929-a8e168c06678',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',16,'2026-07-24','19:42:48',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.85,0.00,0.00,0.15,0.00,0.00,0.00,0.00,0.00,0.00,0.15,0.85,1.00,1.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Un con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-16','20613997203-03-BX01-16',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-16, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 19:47:18','2026-07-24 19:47:20',0,1,NULL,NULL),(17,3,'5f9ece2f-52e1-4257-9701-94b81169d25f',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',17,'2026-07-24','21:33:44',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.404,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,5.08,0.00,0.00,0.92,0.00,0.00,0.00,0.00,0.00,0.00,0.92,5.08,6.00,6.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Seis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-17','20613997203-03-BX01-17',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-17, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-24 21:34:06','2026-07-24 21:34:08',0,1,NULL,NULL),(18,3,'a34da31d-a75f-41be-a5bd-28c003ba4272',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',18,'2026-07-25','19:05:52',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.85,0.00,0.00,0.15,0.00,0.00,0.00,0.00,0.00,0.00,0.15,0.85,1.00,1.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Un con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-18','20613997203-03-BX01-18',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-18, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-25 19:20:06','2026-07-25 19:20:07',0,1,NULL,NULL),(19,5,'51cee760-4c71-4c8a-ba68-fb864bdd413a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','11','2.1',1,0,'02','03','BX01',19,'2026-07-26','11:43:31',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,8.90,0.00,0.00,1.60,0.00,0.00,0.00,0.00,0.00,0.00,1.60,8.90,10.50,10.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Diez  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-19','20613997203-03-BX01-19',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-19, ha sido aceptada\",\"notes\":[]}',1,'{\"code\":\"HTTP\",\"description\":\"Error Fetching http headers\"}',0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 11:44:28','2026-07-27 13:32:24',0,1,NULL,NULL),(20,5,'8d675448-45ae-4d56-82ec-59225ed1c7f0',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','11','2.1',1,0,'02','03','BX01',20,'2026-07-26','11:45:29',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,8.90,0.00,0.00,1.60,0.00,0.00,0.00,0.00,0.00,0.00,1.60,8.90,10.50,10.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Diez  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-20','20613997203-03-BX01-20',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-20, ha sido aceptada\",\"notes\":[]}',1,'{\"code\":\"HTTP\",\"description\":\"Error Fetching http headers\"}',0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 11:46:29','2026-07-27 13:32:27',0,1,NULL,NULL),(21,5,'946af426-315d-4818-a3f2-ed03e15e5972',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',21,'2026-07-26','11:48:12',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,8.90,0.00,0.00,1.60,0.00,0.00,0.00,0.00,0.00,0.00,1.60,8.90,10.50,10.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Diez  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-21','20613997203-03-BX01-21',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-21, ha sido aceptada\",\"notes\":[]}',1,'{\"code\":\"HTTP\",\"description\":\"Bad Gateway\"}',0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 11:49:05','2026-07-26 15:52:57',0,1,NULL,NULL),(22,5,'a13989c1-6616-4767-b830-e283f48dd703',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',22,'2026-07-26','11:49:06',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,3.64,0.00,0.00,0.66,0.00,0.00,0.00,0.00,0.00,0.00,0.66,3.64,4.30,4.30,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuatro  con 30\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-22','20613997203-03-BX01-22',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-22, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 12:40:55','2026-07-26 12:40:56',0,1,NULL,NULL),(23,5,'b47b101a-168b-4da1-9390-2fd0f873f68f',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',23,'2026-07-26','12:40:57',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-23','20613997203-03-BX01-23',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-23, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 12:49:47','2026-07-26 12:49:49',0,1,NULL,NULL),(24,5,'ef7ec4b9-08e9-4dee-80f6-6b1fb4a7ba96',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',24,'2026-07-26','16:36:59',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-24','20613997203-03-BX01-24',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-24, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 16:39:47','2026-07-26 16:39:48',0,1,NULL,NULL),(25,5,'b8bdec7f-6f1d-4eba-9c1f-fca6ff35286e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',25,'2026-07-26','17:01:56',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.40,NULL,NULL,0.00,0.00,5.08,0.00,0.00,0.92,0.00,0.00,0.00,0.00,0.00,0.00,0.92,5.08,5.08,6.00,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"02\",\"description\":\"Descuentos globales que afectan la base imponible del IGV\\/IVAP\",\"factor\":0.0625,\"amount\":0.34,\"base\":5.42,\"is_amount\":true}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Seis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-25','20613997203-03-BX01-25',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-25, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 17:48:42','2026-07-26 17:48:44',0,1,NULL,NULL),(26,5,'f8f16dc5-8b6c-4181-9090-b36f9e6ce600',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',26,'2026-07-26','19:40:08',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,3.56,0.00,0.00,0.64,0.00,0.00,0.00,0.00,0.00,0.00,0.64,3.56,4.20,4.20,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuatro  con 20\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-26','20613997203-03-BX01-26',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-26, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 20:42:33','2026-07-26 20:42:34',0,1,NULL,NULL),(27,5,'44b24ec0-1402-4b0c-a4e3-3cc324378d82',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',27,'2026-07-26','20:42:35',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,11.44,0.00,0.00,2.06,0.00,0.00,0.00,0.00,0.00,0.00,2.06,11.44,13.50,13.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Trece  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-27','20613997203-03-BX01-27',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-27, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-26 20:56:27','2026-07-26 20:56:28',0,1,NULL,NULL),(28,5,'85aa738a-a790-460a-9810-3e05011ccedb',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',28,'2026-07-27','14:26:52',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,0.85,0.00,0.00,0.15,0.00,0.00,0.00,0.00,0.00,0.00,0.15,0.85,1.00,1.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Un con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-28','20613997203-03-BX01-28',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-28, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-27 15:28:22','2026-07-27 15:28:23',0,1,NULL,NULL),(29,5,'55e8f6b8-b89d-4b5f-9f34-ce1d3fe8ed6a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',29,'2026-07-27','15:28:24',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,5.93,0.00,0.00,1.07,0.00,0.00,0.00,0.00,0.00,0.00,1.07,5.93,7.00,7.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Siete  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-29','20613997203-03-BX01-29',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-29, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-27 16:15:15','2026-07-27 16:15:16',0,1,NULL,NULL),(30,5,'6681285c-6658-4579-b68e-7aa4048ee64e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',30,'2026-07-27','18:25:30',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,18.47,0.00,0.00,3.33,0.00,0.00,0.00,0.00,0.00,0.00,3.33,18.47,21.80,21.80,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Veintiun  con 80\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-30','20613997203-03-BX01-30',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-30, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-27 18:38:08','2026-07-27 18:38:10',0,1,NULL,NULL),(31,5,'ce69d2a4-7c28-4853-9995-dce3a22fe283',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',31,'2026-07-27','21:22:06',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,3.81,0.00,0.00,0.69,0.00,0.00,0.00,0.00,0.00,0.00,0.69,3.81,4.50,4.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuatro  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-31','20613997203-03-BX01-31',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-31, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-27 21:53:18','2026-07-27 21:53:19',0,1,NULL,NULL),(32,5,'04f7d5f6-9b9f-475f-a566-36690132303b',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',32,'2026-07-27','21:53:20',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,5,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,15.25,0.00,0.00,2.75,0.00,0.00,0.00,0.00,0.00,0.00,2.75,15.25,18.00,18.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dieciocho  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-32','20613997203-03-BX01-32',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-32, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-27 22:03:37','2026-07-27 22:03:38',0,1,NULL,NULL),(33,3,'2560d1d9-d8c1-472c-81e1-1d88f7fb5a49',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',33,'2026-07-28','16:09:20',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,6.10,0.00,0.00,1.10,0.00,0.00,0.00,0.00,0.00,0.00,1.10,6.10,7.20,7.20,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Siete  con 20\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-33','20613997203-03-BX01-33',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-33, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-28 16:13:13','2026-07-28 16:13:17',0,1,NULL,NULL),(34,3,'9982ce40-adcb-4c1c-9317-97b233eb7e9e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',34,'2026-07-29','11:33:01',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,1.02,0.00,0.00,0.18,0.00,0.00,0.00,0.00,0.00,0.00,0.18,1.02,1.20,1.20,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Un con 20\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-34','20613997203-03-BX01-34',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-34, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-29 11:35:11','2026-07-29 11:35:12',0,1,NULL,NULL),(35,3,'cb304b41-8934-4874-9f9a-2272e14f0a50',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',35,'2026-07-29','11:50:14',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.20,0.00,0.00,0.40,0.00,0.00,0.00,0.00,0.00,0.00,0.40,2.20,2.60,2.60,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 60\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-35','20613997203-03-BX01-35',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-35, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-29 11:51:26','2026-07-29 11:51:28',0,1,NULL,NULL),(36,3,'361f22bb-c7ca-409c-8d8b-1738a3f37d00',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',36,'2026-07-29','12:26:53',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-36','20613997203-03-BX01-36',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-36, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-29 12:32:26','2026-07-29 12:32:33',0,1,NULL,NULL),(37,3,'df0032bf-0e08-47b5-8414-82904bc86db5',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',37,'2026-07-29','12:49:23',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,6.36,0.00,0.00,1.14,0.00,0.00,0.00,0.00,0.00,0.00,1.14,6.36,7.50,7.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Siete  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-37','20613997203-03-BX01-37',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-37, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-29 12:49:55','2026-07-29 12:50:02',0,1,NULL,NULL),(38,3,'b74d95e8-ec7e-4261-87ec-1dcc5d90dd80',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',38,'2026-07-29','21:32:57',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-38','20613997203-03-BX01-38',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-38, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-29 21:34:05','2026-07-29 21:34:07',0,1,NULL,NULL),(39,3,'d02f8baa-2732-4485-bb7a-d5c883c6820f',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',39,'2026-07-30','12:07:46',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,3.39,0.00,0.00,0.61,0.00,0.00,0.00,0.00,0.00,0.00,0.61,3.39,4.00,4.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuatro  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-39','20613997203-03-BX01-39',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-39, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-30 12:10:26','2026-07-30 12:10:28',0,1,NULL,NULL),(40,3,'982da171-77d4-4879-bd8d-c5752a4d5b99',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',40,'2026-07-30','13:02:20',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,5.08,0.00,0.00,0.92,0.00,0.00,0.00,0.00,0.00,0.00,0.92,5.08,6.00,6.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Seis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-40','20613997203-03-BX01-40',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-40, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-30 13:05:03','2026-07-30 13:05:10',0,1,NULL,NULL),(41,3,'bc307ba8-c4d8-4c1c-b8ea-7c41f82192ad',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',41,'2026-07-30','13:05:12',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.411,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,4.24,0.00,0.00,0.76,0.00,0.00,0.00,0.00,0.00,0.00,0.76,4.24,5.00,5.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cinco  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-41','20613997203-03-BX01-41',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-41, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-30 13:08:48','2026-07-30 13:08:49',0,1,NULL,NULL),(49,3,'61da5ee3-73c1-481d-841b-be68010a186a',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',42,'2026-07-31','16:23:11',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,132.12,0.00,0.00,23.78,0.00,0.00,0.00,0.00,0.00,0.00,23.78,132.12,155.90,155.90,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Ciento cincuenta y cinco  con 90\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-42','20613997203-03-BX01-42',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-42, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 16:23:21','2026-07-31 16:23:28',0,1,NULL,NULL),(50,3,'79dd2b96-e413-4f58-9ef8-75786e554179',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',43,'2026-07-31','17:19:00',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,3.22,0.00,0.00,0.58,0.00,0.00,0.00,0.00,0.00,0.00,0.58,3.22,3.80,3.80,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Tres  con 80\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-43','20613997203-03-BX01-43',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-43, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 17:31:22','2026-07-31 17:31:34',0,1,NULL,NULL),(51,3,'a26c92b9-698d-4e40-ae11-9b8811e519cc',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',44,'2026-07-31','20:42:07',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,10.59,0.00,0.00,1.91,0.00,0.00,0.00,0.00,0.00,0.00,1.91,10.59,12.50,12.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Doce  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-44','20613997203-03-BX01-44',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-44, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 21:10:30','2026-07-31 21:10:40',0,1,NULL,NULL),(52,3,'6fd5042e-b9b7-45f1-aee5-c87905dd7234',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',45,'2026-07-31','21:22:23',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,11.27,0.00,0.00,2.03,0.00,0.00,0.00,0.00,0.00,0.00,2.03,11.27,13.30,13.30,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Trece  con 30\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-45','20613997203-03-BX01-45',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-45, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 21:24:59','2026-07-31 21:25:02',0,1,NULL,NULL),(53,3,'4b3a7ee3-586e-498f-841f-df3907580d86',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',46,'2026-07-31','21:46:24',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,13.56,0.00,0.00,2.44,0.00,0.00,0.00,0.00,0.00,0.00,2.44,13.56,16.00,16.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dieciseis  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-46','20613997203-03-BX01-46',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-46, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 21:48:40','2026-07-31 21:48:43',0,1,NULL,NULL),(54,3,'1e34e58e-23f0-40f6-a359-0416e0168e38',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',47,'2026-07-31','21:50:26',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,2.12,0.00,0.00,0.38,0.00,0.00,0.00,0.00,0.00,0.00,0.38,2.12,2.50,2.50,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Dos  con 50\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-47','20613997203-03-BX01-47',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-47, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 21:51:43','2026-07-31 21:51:46',0,1,NULL,NULL),(55,3,'c88a6f06-1a26-497e-8aed-0bd5cf5c875e',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"15\",\"department\":{\"id\":\"15\",\"description\":\"LIMA\"},\"province_id\":\"1501\",\"province\":{\"id\":\"1501\",\"description\":\"Lima\"},\"district_id\":\"150133\",\"district\":{\"id\":\"150133\",\"description\":\"San Juan de Miraflores\"},\"urbanization\":null,\"address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"email\":\"biosalud@gmail.com\",\"telephone\":\"+51 965 740 352\",\"code\":\"0000\",\"trade_address\":\"AV. CESAR CANEVARO PROLONG NRO. 348\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',1,0,'02','03','BX01',48,'2026-07-31','21:51:46',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.399,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,NULL,NULL,0.00,0.00,25.42,0.00,0.00,4.58,0.00,0.00,0.00,0.00,0.00,0.00,4.58,25.42,30.00,30.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Treinta  con 00\\/100 \"}]',NULL,NULL,'20613997203-03-BX01-48','20613997203-03-BX01-48',NULL,NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Boleta numero BX01-48, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'',NULL,NULL,'2026-07-31 22:06:58','2026-07-31 22:07:03',0,1,NULL,NULL);
COMMIT;

-- Dumped table `documents` with 48 row(s)
--

--
-- Table structure for table `document_fee`
--

CREATE TABLE `document_fee` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `date` date NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method_type_id` char(2) DEFAULT NULL COMMENT 'Relacion con el metodo de pago, Nulo es pago a cuotas',
  PRIMARY KEY (`id`),
  KEY `document_fee_document_id_foreign` (`document_id`),
  KEY `document_fee_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `document_fee_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `document_fee_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_fee`
--

SET autocommit=0;
COMMIT;

-- Dumped table `document_fee` with 0 row(s)
--

--
-- Table structure for table `document_hotels`
--

CREATE TABLE `document_hotels` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `identity_document_type_id` varchar(255) NOT NULL,
  `sex` enum('M','F') NOT NULL,
  `age` int(11) NOT NULL,
  `civil_status` enum('S','C','V','D') NOT NULL,
  `nacionality` varchar(255) NOT NULL,
  `origin` varchar(255) NOT NULL,
  `room_number` int(11) NOT NULL,
  `date_entry` date NOT NULL,
  `time_entry` time NOT NULL,
  `date_exit` date NOT NULL,
  `time_exit` time NOT NULL,
  `ocupation` varchar(255) DEFAULT NULL,
  `room_type` varchar(255) DEFAULT NULL,
  `guests` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guests`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `document_hotels_document_id_foreign` (`document_id`),
  KEY `document_hotels_identity_document_type_id_foreign` (`identity_document_type_id`),
  CONSTRAINT `document_hotels_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `document_hotels_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_hotels`
--

SET autocommit=0;
COMMIT;

-- Dumped table `document_hotels` with 0 row(s)
--

--
-- Table structure for table `document_items`
--

CREATE TABLE `document_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `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) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` text DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `name_product_pdf` longtext DEFAULT NULL,
  `additional_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`additional_data`)),
  `name_product_xml` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `document_items_document_id_foreign` (`document_id`),
  KEY `document_items_item_id_foreign` (`item_id`),
  KEY `document_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `document_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `document_items_price_type_id_foreign` (`price_type_id`),
  KEY `document_items_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `document_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `document_items_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `document_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `document_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `document_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`),
  CONSTRAINT `document_items_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_items`
--

SET autocommit=0;
INSERT INTO `document_items` VALUES (1,1,2924,'{\"description\":\"CELECOXIB 400mg x   50 CAPSULAS - DAXOLAB\",\"item_type_id\":\"01\",\"internal_id\":\"00110656\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4671,\"description\":\"Unidad\",\"item_id\":2924,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4671NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3112,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":0.864406,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,2.118644,'10',4.24,18.00,0.76,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.76,'01',2.500000,4.24,0.00,0.00,5.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(2,2,3778,'{\"description\":\"ETORICOXIB 120mg x 60 TABLETAS - QM PHARMA QUALITY\",\"item_type_id\":\"01\",\"internal_id\":\"00048208\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6084,\"description\":\"Unidad\",\"item_id\":3778,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6084NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4040,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2,\"purchase_unit_price\":0.564972,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,1.694915,'10',5.08,18.00,0.92,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.92,'01',2.000000,5.08,0.00,0.00,6.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(3,3,3295,'{\"description\":\"OMEPRAZOL 20mg x 500 CAP. LIB. RETARD. - JPS INVERSIONES\",\"item_type_id\":\"01\",\"internal_id\":\"00111144\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5267,\"description\":\"Unidad\",\"item_id\":3295,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5267NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3503,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.15,\"purchase_unit_price\":0.066,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',10.0000,0.127119,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',0.150000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(4,4,3073,'{\"description\":\"DIVINA 28  0.15mg+0.03mg TABLETA x28 - GEMEFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00046815\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4917,\"description\":\"Unidad\",\"item_id\":3073,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4917NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3266,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":7.5,\"purchase_unit_price\":2.3814,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,6.355932,'10',6.36,18.00,1.14,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.14,'01',7.500000,6.36,0.00,0.00,7.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(5,5,2662,'{\"description\":\"CAMAPION 20 -20MG x 4 TAB. RECUBIERTAS - ACCORD\",\"item_type_id\":\"01\",\"internal_id\":\"00110682\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4248,\"description\":\"Unidad\",\"item_id\":2662,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4248NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2841,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":8,\"purchase_unit_price\":2,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,6.779661,'10',13.56,18.00,2.44,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.44,'01',8.000000,13.56,0.00,0.00,16.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(6,6,2697,'{\"description\":\"ACEITE DE RICINO x 30 ML - ALKOFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00106652\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4309,\"description\":\"Unidad\",\"item_id\":2697,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4309NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2879,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2,\"purchase_unit_price\":1.2945,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.694915,'10',1.69,18.00,0.31,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.31,'01',2.000000,1.69,0.00,0.00,2.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(7,6,3059,'{\"description\":\"CILOSVITAE  100mg TABLETA x28 - GALENICUM\",\"item_type_id\":\"01\",\"internal_id\":\"00038534\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4892,\"description\":\"Unidad\",\"item_id\":3059,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":55,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4892NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4249,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":55,\"purchase_unit_price\":1.5,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,46.610169,'10',93.22,18.00,16.78,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,16.78,'01',55.000000,93.22,0.00,0.00,110.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(8,7,3332,'{\"description\":\"LEVOCETIRIZINA 5mg TABLETA x100 - LABOGEN\",\"item_type_id\":\"01\",\"internal_id\":\"00039321\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5331,\"description\":\"Unidad\",\"item_id\":3332,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5331NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3544,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1,\"purchase_unit_price\":0.27,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.847458,'10',1.69,18.00,0.31,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.31,'01',1.000000,1.69,0.00,0.00,2.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(9,8,2719,'{\"description\":\"VINAGRE BULLY x 120mL - ALKOFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00106650\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4331,\"description\":\"Unidad\",\"item_id\":2719,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4331NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2904,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":1.0247,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(10,9,3010,'{\"description\":\"AMBROXOL 15mg\\/5mL JARABE x 120mL - FARMINDUSTRIA\",\"item_type_id\":\"01\",\"internal_id\":\"00039598\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4810,\"description\":\"Unidad\",\"item_id\":3010,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":7.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4810NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3198,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":7.5,\"purchase_unit_price\":2.6186,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,6.355932,'10',6.36,18.00,1.14,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.14,'01',7.500000,6.36,0.00,0.00,7.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(11,10,2793,'{\"description\":\"ETORICOXIB  60mg x 30 TABLETAS - BONAPHARM\",\"item_type_id\":\"01\",\"internal_id\":\"00110906\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4458,\"description\":\"Unidad\",\"item_id\":2793,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4458NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2982,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":0.59322,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(12,10,3575,'{\"description\":\"SILDEX 100 - 100mg x 1 TABLETA REC. - PHARMED CORPORACION\",\"item_type_id\":\"01\",\"internal_id\":\"00038620\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5718,\"description\":\"Unidad\",\"item_id\":3575,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5718NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3806,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":5,\"purchase_unit_price\":1.3,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,4.237288,'10',4.24,18.00,0.76,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.76,'01',5.000000,4.24,0.00,0.00,5.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(13,11,2758,'{\"description\":\"ELUDDE 1.5MG X 1 TAB RECUBIERTA - AVANX\",\"item_type_id\":\"01\",\"internal_id\":\"00111551\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4398,\"description\":\"Unidad\",\"item_id\":2758,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":18,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4398NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2943,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":18,\"purchase_unit_price\":1.1017,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,15.254237,'10',15.25,18.00,2.75,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.75,'01',18.000000,15.25,0.00,0.00,18.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(14,12,3810,'{\"description\":\"NISTAFEM OVULO X 10 UNIDS - ROXFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00111706\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6129,\"description\":\"Unidad\",\"item_id\":3810,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6129NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4074,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":2.02458,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',5.0000,2.966102,'10',14.83,18.00,2.67,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.67,'01',3.500000,14.83,0.00,0.00,17.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(15,13,3383,'{\"description\":\"DOLOKETAL 10MG X 100 COMP. REC. - MARKOS\",\"item_type_id\":\"01\",\"internal_id\":\"00110376\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5413,\"description\":\"Unidad\",\"item_id\":3383,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5413NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3594,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.237288,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',4.0000,1.271186,'10',5.08,18.00,0.92,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.92,'01',1.500000,5.08,0.00,0.00,6.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(16,13,3032,'{\"description\":\"PREDNISONA 50mg x 100 TABLETAS - FARMINDUSTRIA\",\"item_type_id\":\"01\",\"internal_id\":\"00009161\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4854,\"description\":\"Unidad\",\"item_id\":3032,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4854NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3224,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.7,\"purchase_unit_price\":0.20339,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',5.0000,0.593220,'10',2.97,18.00,0.53,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.53,'01',0.700000,2.97,0.00,0.00,3.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(17,14,3893,'{\"description\":\"PALTOMIEL ADULTO JARABE x 200mL - TEVA\",\"item_type_id\":\"01\",\"internal_id\":\"00109286\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6248,\"description\":\"Unidad\",\"item_id\":3893,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":25,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6248NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4154,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":25,\"purchase_unit_price\":16.6102,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,21.186441,'10',21.19,18.00,3.81,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,3.81,'01',25.000000,21.19,0.00,0.00,25.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(18,14,3380,'{\"description\":\"RHINO DAZOL PLUS 1MG\\/ML GOTAS NASALES x 15ml - LUSA\",\"item_type_id\":\"01\",\"internal_id\":\"00027519\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5407,\"description\":\"Unidad\",\"item_id\":3380,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":27.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5407NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3591,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":27.5,\"purchase_unit_price\":20.5,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,23.305085,'10',23.31,18.00,4.19,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,4.19,'01',27.500000,23.31,0.00,0.00,27.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(19,14,2731,'{\"description\":\"JERINGA 10ML  CJA X 100 UNID - ALKHOFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00110504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4353,\"description\":\"Unidad\",\"item_id\":2731,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4353NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2917,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.101695,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,0.423729,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',0.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(20,14,3096,'{\"description\":\"TRAMADOL 100MG\\/2ML x 10 AMPOLLAS - GENFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00112287\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4962,\"description\":\"Unidad\",\"item_id\":3096,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4962NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3291,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":4,\"purchase_unit_price\":2.28814,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,3.389831,'10',6.78,18.00,1.22,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.22,'01',4.000000,6.78,0.00,0.00,8.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(21,15,3645,'{\"description\":\"DEXAMETASONA 4mg x 100 TABLETAS - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00110832\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5844,\"description\":\"Unidad\",\"item_id\":3645,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5844NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3890,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.06,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.423729,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.500000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(22,15,3846,'{\"description\":\"COXSCIENS 400MG X 10 CAP - SCIENTIA\",\"item_type_id\":\"01\",\"internal_id\":\"00111653\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6171,\"description\":\"Unidad\",\"item_id\":3846,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6171NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4103,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,2.966102,'10',5.93,18.00,1.07,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.07,'01',3.500000,5.93,0.00,0.00,7.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(23,16,3818,'{\"description\":\"FRASCO PARA ANALISIS C\\/ TAPA VERDE - SAMPLIX\",\"item_type_id\":\"01\",\"internal_id\":\"00110105\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6138,\"description\":\"Unidad\",\"item_id\":3818,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6138NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4083,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1,\"purchase_unit_price\":0.2966,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.847458,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',1.000000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(24,17,3468,'{\"description\":\"NAPROXENO SODICO 550mg x 100 TABLETAS - MEDROCK\",\"item_type_id\":\"01\",\"internal_id\":\"00026171\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5549,\"description\":\"Unidad\",\"item_id\":3468,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5549NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3684,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.3,\"purchase_unit_price\":0.114407,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',10.0000,0.254237,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',0.300000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(25,17,2797,'{\"description\":\"GRIPACHECK x 325mg+10mg+5mg CAPSULAx100 - BONAPHARM\",\"item_type_id\":\"01\",\"internal_id\":\"00047374\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4470,\"description\":\"Unidad\",\"item_id\":2797,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4470NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2986,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.542373,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.271186,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',1.500000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(26,18,3200,'{\"description\":\"PIRALGINA 500MG X 100 TAB - IQ FARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00111246\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5142,\"description\":\"Unidad\",\"item_id\":3200,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5142NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3407,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.137542,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.423729,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.500000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(27,19,3846,'{\"description\":\"COXSCIENS 400MG X 10 CAP - SCIENTIA\",\"item_type_id\":\"01\",\"internal_id\":\"00111653\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6171,\"description\":\"Unidad\",\"item_id\":3846,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6171NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4103,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,2.966102,'10',8.90,18.00,1.60,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.60,'01',3.500000,8.90,0.00,0.00,10.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(28,20,3846,'{\"description\":\"COXSCIENS 400MG X 10 CAP - SCIENTIA\",\"item_type_id\":\"01\",\"internal_id\":\"00111653\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6171,\"description\":\"Unidad\",\"item_id\":3846,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6171NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4103,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,2.966102,'10',8.90,18.00,1.60,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.60,'01',3.500000,8.90,0.00,0.00,10.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(29,21,3846,'{\"description\":\"COXSCIENS 400MG X 10 CAP - SCIENTIA\",\"item_type_id\":\"01\",\"internal_id\":\"00111653\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6171,\"description\":\"Unidad\",\"item_id\":3846,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6171NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4103,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,2.966102,'10',8.90,18.00,1.60,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.60,'01',3.500000,8.90,0.00,0.00,10.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(30,22,3509,'{\"description\":\"GERMYNA K 2 BILLONES x 10 AMP BEBIBLES - NORDIC PHARMACEUTICAL CO.\",\"item_type_id\":\"01\",\"internal_id\":\"00112405\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5613,\"description\":\"Unidad\",\"item_id\":3509,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5613NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3732,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3,\"purchase_unit_price\":0.59322,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.542373,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',3.000000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(31,22,3019,'{\"description\":\"DIBROLAX  5mg x 100 TABLETAS - FARMINDUSTRIA\",\"item_type_id\":\"01\",\"internal_id\":\"00003603\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4824,\"description\":\"Unidad\",\"item_id\":3019,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4824NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3208,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.3,\"purchase_unit_price\":0.930508,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.101695,'10',1.10,18.00,0.20,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.20,'01',1.300000,1.10,0.00,0.00,1.30,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(32,23,3652,'{\"description\":\"DOLOBRAN FORTE X 100 TAB. REC. - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00110384\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5860,\"description\":\"Unidad\",\"item_id\":3652,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5860NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3898,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.3,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(33,23,3532,'{\"description\":\"DOLFEVER MIGRA\\u00d0A 500mg + 65mg x 36 TABLETAS - OQ CORPOP S.A.C.\",\"item_type_id\":\"01\",\"internal_id\":\"00110835\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5652,\"description\":\"Unidad\",\"item_id\":3532,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5652NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3755,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1,\"purchase_unit_price\":0.094161,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.847458,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',1.000000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(34,24,2947,'{\"description\":\"MASCARILLA QUIRURGICA 3 PLIEGUES NEGRA X 50UNID - DISPOFAST\",\"item_type_id\":\"01\",\"internal_id\":\"00111504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4714,\"description\":\"Unidad\",\"item_id\":2947,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4714NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3132,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.067796,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(35,24,3997,'{\"description\":\"KITADOL MIGRA\\u00d1A X 40 SOBRE X 2 TAB\",\"item_type_id\":\"01\",\"internal_id\":null,\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6399,\"description\":\"Unidad\",\"item_id\":3997,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":0,\"barcode\":\"6399NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4246,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2,\"purchase_unit_price\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.694915,'10',1.69,18.00,0.31,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.31,'01',2.000000,1.69,0.00,0.00,2.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(36,25,3060,'{\"description\":\"CIRUELAX FORTE x 125mg COMP. REC. CJA x 100 - GARDEN HOUSE FARMACEUTICA\",\"item_type_id\":\"01\",\"internal_id\":\"00108379\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4894,\"description\":\"Unidad\",\"item_id\":3060,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4894NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3251,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.2,\"purchase_unit_price\":0.77,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.016949,'10',2.03,18.00,0.37,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.37,'01',1.200000,2.03,0.00,0.00,2.40,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(37,25,3009,'{\"description\":\"ALPRAZOLAM 0.5mg x 200 TABLETAS - FARMINDUSTRIA\",\"item_type_id\":\"01\",\"internal_id\":\"00000511\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4807,\"description\":\"Unidad\",\"item_id\":3009,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":283.197,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4807NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3197,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.2,\"purchase_unit_price\":18,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',20.0000,0.169492,'10',3.39,18.00,0.61,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.61,'01',0.200000,3.39,0.00,0.00,4.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(38,26,3024,'{\"description\":\"FRUTENZIMA FORTE X 120 COMP. REC. - FARMINDUSTRIA\",\"item_type_id\":\"01\",\"internal_id\":\"00110394\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4838,\"description\":\"Unidad\",\"item_id\":3024,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.7,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4838NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3215,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.7,\"purchase_unit_price\":0.914654,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.440678,'10',1.44,18.00,0.26,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.26,'01',1.700000,1.44,0.00,0.00,1.70,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(39,26,3467,'{\"description\":\"MIGRALIVIA  250mg+250mg+65mg x 100  TABLETAS - MEDROCK\",\"item_type_id\":\"01\",\"internal_id\":\"00048542\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5547,\"description\":\"Unidad\",\"item_id\":3467,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5547NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3683,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.322034,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(40,26,3640,'{\"description\":\"CLORFENAMINA  4mg x 200 TABLETAS - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00112463\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5834,\"description\":\"Unidad\",\"item_id\":3640,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5834NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3883,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.1,\"purchase_unit_price\":0.025,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',10.0000,0.084746,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.100000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(41,27,3859,'{\"description\":\"FLOGOFLEX RELAX  TABLETA x100 - SHERFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00038729\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6190,\"description\":\"Unidad\",\"item_id\":3859,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6190NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4118,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.415254,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(42,27,3771,'{\"description\":\"VICK VITAPYRENA FORTE 5g x 50 SOBRES - PROCTER & GAMBLE\",\"item_type_id\":\"01\",\"internal_id\":\"00046974\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6070,\"description\":\"Unidad\",\"item_id\":3771,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6070NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4033,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":1.906272,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,2.118644,'10',4.24,18.00,0.76,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.76,'01',2.500000,4.24,0.00,0.00,5.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(43,27,3669,'{\"description\":\"GLUCOFERVET MSM x 30 SOBRES - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00108726\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5901,\"description\":\"Unidad\",\"item_id\":3669,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5901NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3923,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.333333,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,2.966102,'10',5.93,18.00,1.07,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.07,'01',3.500000,5.93,0.00,0.00,7.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(44,28,3468,'{\"description\":\"NAPROXENO SODICO 550mg x 100 TABLETAS - MEDROCK\",\"item_type_id\":\"01\",\"internal_id\":\"00026171\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5549,\"description\":\"Unidad\",\"item_id\":3468,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5549NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3684,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.114407,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.423729,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.500000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(45,29,3859,'{\"description\":\"FLOGOFLEX RELAX  TABLETA x100 - SHERFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00038729\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6190,\"description\":\"Unidad\",\"item_id\":3859,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6190NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4118,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.415254,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.271186,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',1.500000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(46,29,3574,'{\"description\":\"SILDEX   50 -  50mg x 1 TABLETA REC - PHARMED CORPORACION\",\"item_type_id\":\"01\",\"internal_id\":\"00040673\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5717,\"description\":\"Unidad\",\"item_id\":3574,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5717NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3805,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":4,\"purchase_unit_price\":0.7627,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,3.389831,'10',3.39,18.00,0.61,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.61,'01',4.000000,3.39,0.00,0.00,4.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(47,30,3395,'{\"description\":\"AGUJA 21G x 1 1\\/2  x 100 UNIDADES - MEDICAL B&T\",\"item_type_id\":\"01\",\"internal_id\":\"00111033\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5435,\"description\":\"Unidad\",\"item_id\":3395,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5435NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3607,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.3,\"purchase_unit_price\":0.036441,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.254237,'10',0.25,18.00,0.05,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,'01',0.300000,0.25,0.00,0.00,0.30,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(48,30,2731,'{\"description\":\"JERINGA 10ML  CJA X 100 UNID - ALKHOFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00110504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4353,\"description\":\"Unidad\",\"item_id\":2731,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4353NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2917,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.101695,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(49,30,3531,'{\"description\":\"DEXAMETASONA 4mg\\/2mL x   10 INYECTABLES - OQ CORPOP S.A.C.\",\"item_type_id\":\"01\",\"internal_id\":\"00034943\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5650,\"description\":\"Unidad\",\"item_id\":3531,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5650NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3754,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.29661,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(50,30,2943,'{\"description\":\"DICLOFENACO  75mg\\/3mL x 100 INYECTABLES - DIPHASAC\",\"item_type_id\":\"01\",\"internal_id\":\"00038515\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4707,\"description\":\"Unidad\",\"item_id\":2943,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4707NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3128,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.254237,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(51,30,3685,'{\"description\":\"LEVOFLOXACINO  500mg x 100 TAB REC - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00111579\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5933,\"description\":\"Unidad\",\"item_id\":3685,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5933NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3943,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.8,\"purchase_unit_price\":0.220339,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',10.0000,1.525424,'10',15.25,18.00,2.75,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.75,'01',1.800000,15.25,0.00,0.00,18.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(52,31,3920,'{\"description\":\"TUINIES TETINA SILICONA - SUPER TETINA  PREMIUM - TUINIES\",\"item_type_id\":\"01\",\"internal_id\":\"00109527\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6283,\"description\":\"Unidad\",\"item_id\":3920,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":4.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6283NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":null,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":4.5,\"purchase_unit_price\":2.6102,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,3.813559,'10',3.81,18.00,0.69,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.69,'01',4.500000,3.81,0.00,0.00,4.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(53,32,3511,'{\"description\":\"MARYLIN 1.5  1.5mg TABLETA x20 - NORDIC PHARMACEUTICAL CO.\",\"item_type_id\":\"01\",\"internal_id\":\"00041108\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5616,\"description\":\"Unidad\",\"item_id\":3511,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":18,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5616NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3735,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":18,\"purchase_unit_price\":3.5,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,15.254237,'10',15.25,18.00,2.75,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.75,'01',18.000000,15.25,0.00,0.00,18.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(54,33,2925,'{\"description\":\"PREGABALINA  150MG X 30 CAPSULAS - DAXOLAB\",\"item_type_id\":\"01\",\"internal_id\":\"00110540\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4673,\"description\":\"Unidad\",\"item_id\":2925,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4673NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3113,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.2,\"purchase_unit_price\":0.564973,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',6.0000,1.016949,'10',6.10,18.00,1.10,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.10,'01',1.200000,6.10,0.00,0.00,7.20,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(55,34,3984,'{\"description\":\"LOVE-LUB SACHETS x 50 UNID - WELLNES\",\"item_type_id\":\"01\",\"internal_id\":\"00109167\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6365,\"description\":\"Unidad\",\"item_id\":3984,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.2,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6365NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4225,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.2,\"purchase_unit_price\":0.79661,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.016949,'10',1.02,18.00,0.18,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.18,'01',1.200000,1.02,0.00,0.00,1.20,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(56,35,3830,'{\"description\":\"BUSCAPINA COMPOSITUM N x  100 COMP. REC. - SANOFI\",\"item_type_id\":\"01\",\"internal_id\":\"00043906\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6153,\"description\":\"Unidad\",\"item_id\":3830,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6153NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4097,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.3,\"purchase_unit_price\":0.872881,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.101695,'10',2.20,18.00,0.40,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.40,'01',1.300000,2.20,0.00,0.00,2.60,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(57,36,3271,'{\"description\":\"GLICERINA SOLUCION x 30ML - JENFARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00111419\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5235,\"description\":\"Unidad\",\"item_id\":3271,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5235NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3480,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":0.8121,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(58,37,3145,'{\"description\":\"GASLESS MAX SAB CANELA 80MG x 10 TABS - INDUQUIMICA\",\"item_type_id\":\"01\",\"internal_id\":\"00112359\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5034,\"description\":\"Unidad\",\"item_id\":3145,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5034NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3342,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.42373,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',5.0000,1.271186,'10',6.36,18.00,1.14,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.14,'01',1.500000,6.36,0.00,0.00,7.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(59,38,4007,'{\"description\":\"SILDENAFILO 50 MG X 1 - MARFAN\",\"item_type_id\":\"01\",\"internal_id\":null,\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"BX\",\"presentation\":{\"id\":6434,\"description\":\"Caja\",\"item_id\":4007,\"unit_type_id\":\"BX\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6434BX1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"BX\",\"active\":1,\"symbol\":null,\"description\":\"Caja\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":null,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(60,39,3659,'{\"description\":\"FENAZOPIRIDINA 100mg x 100 TAB. REC. - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00110613\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5877,\"description\":\"Unidad\",\"item_id\":3659,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5877NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3909,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.076441,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',3.0000,0.423729,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',0.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(61,39,3896,'{\"description\":\"SIFACOX 200  200mg CAPSULA x100 - THEFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00049040\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6253,\"description\":\"Unidad\",\"item_id\":3896,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6253NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4157,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":0.3,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(62,40,3383,'{\"description\":\"DOLOKETAL 10MG X 100 COMP. REC. - MARKOS\",\"item_type_id\":\"01\",\"internal_id\":\"00110376\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5413,\"description\":\"Unidad\",\"item_id\":3383,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5413NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3594,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.237288,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',4.0000,1.271186,'10',5.08,18.00,0.92,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.92,'01',1.500000,5.08,0.00,0.00,6.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(63,41,3641,'{\"description\":\"CLOTRIMAZOL 1%  CREMA Tubo x 20g - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00002885\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5837,\"description\":\"Unidad\",\"item_id\":3641,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5837NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4255,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":1.1017,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,2.118644,'10',4.24,18.00,0.76,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.76,'01',2.500000,4.24,0.00,0.00,5.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(85,49,3826,'{\"description\":\"NOSOTRAS TLLA\\/HIG INVISIBLE RAPIGEL X 10 - SANCELA\",\"item_type_id\":\"01\",\"internal_id\":\"00108831\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6147,\"description\":\"Unidad\",\"item_id\":3826,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":5.9,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6147NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4093,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":5.9,\"purchase_unit_price\":3.2585,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,5.000000,'10',5.00,18.00,0.90,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.90,'01',5.900000,5.00,0.00,0.00,5.90,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(86,49,3995,'{\"description\":\"LENOMIDE 0.5 MG X 30 CAPSULAS\",\"item_type_id\":\"01\",\"internal_id\":null,\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6392,\"description\":\"Unidad\",\"item_id\":3995,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":85,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6392NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4244,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":85,\"purchase_unit_price\":0,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,72.033898,'10',72.03,18.00,12.97,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,12.97,'01',85.000000,72.03,0.00,0.00,85.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(87,49,3994,'{\"description\":\"FOSADOX FORTE X 30 CAP - THEFAR\",\"item_type_id\":\"01\",\"internal_id\":null,\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"BX\",\"presentation\":{\"id\":6385,\"description\":\"Caja\",\"item_id\":3994,\"unit_type_id\":\"BX\",\"quantity_unit\":30,\"price1\":65,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6385BX30\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"BX\",\"active\":1,\"symbol\":null,\"description\":\"Caja\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4243,\"model\":null,\"sanitary\":\"DE 3649\",\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":65,\"purchase_unit_price\":40,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,55.084746,'10',55.08,18.00,9.92,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,9.92,'01',65.000000,55.08,0.00,0.00,65.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(88,50,3769,'{\"description\":\"VICK VAPORUB UNGUENTO Caja Lata x12g x12 - PROCTER & GAMBLE\",\"item_type_id\":\"01\",\"internal_id\":\"00046975\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6067,\"description\":\"Unidad\",\"item_id\":3769,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.8,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6067NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4031,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.8,\"purchase_unit_price\":2.891242,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,3.220339,'10',3.22,18.00,0.58,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.58,'01',3.800000,3.22,0.00,0.00,3.80,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(89,51,3531,'{\"description\":\"DEXAMETASONA 4mg\\/2mL x   10 INYECTABLES - OQ CORPOP S.A.C.\",\"item_type_id\":\"01\",\"internal_id\":\"00034943\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5650,\"description\":\"Unidad\",\"item_id\":3531,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5650NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3754,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.29661,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(90,51,3092,'{\"description\":\"IBUPROFENO 800mg x 50 TABLETAS GENFAR - GENFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00045339\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4954,\"description\":\"Unidad\",\"item_id\":3092,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4954NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3286,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.15,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.423729,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.500000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(91,51,3958,'{\"description\":\"CIPRAFEX 500MG x 100 TABLETAS - VARIOS\",\"item_type_id\":\"01\",\"internal_id\":\"00112539\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6326,\"description\":\"Unidad\",\"item_id\":3958,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6326NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4209,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.165254,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.271186,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',1.500000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(92,51,3645,'{\"description\":\"DEXAMETASONA 4mg x 100 TABLETAS - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00110832\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5844,\"description\":\"Unidad\",\"item_id\":3645,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5844NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3890,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.06,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(93,51,3652,'{\"description\":\"DOLOBRAN FORTE X 100 TAB. REC. - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00110384\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5860,\"description\":\"Unidad\",\"item_id\":3652,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5860NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3898,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.3,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,1.271186,'10',2.54,18.00,0.46,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.46,'01',1.500000,2.54,0.00,0.00,3.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(94,51,3173,'{\"description\":\"AMOXICILINA 250mg x 100 TABLETAS IQFARMA - IQ FARMA\",\"item_type_id\":\"01\",\"internal_id\":\"00032749\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5086,\"description\":\"Unidad\",\"item_id\":3173,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5086NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3376,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.152542,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',2.0000,0.423729,'10',0.85,18.00,0.15,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.15,'01',0.500000,0.85,0.00,0.00,1.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(95,51,3896,'{\"description\":\"SIFACOX 200  200mg CAPSULA x100 - THEFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00049040\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6253,\"description\":\"Unidad\",\"item_id\":3896,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6253NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4157,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":0.3,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(96,52,3395,'{\"description\":\"AGUJA 21G x 1 1\\/2  x 100 UNIDADES - MEDICAL B&T\",\"item_type_id\":\"01\",\"internal_id\":\"00111033\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5435,\"description\":\"Unidad\",\"item_id\":3395,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.3,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5435NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3607,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.3,\"purchase_unit_price\":0.036441,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.254237,'10',0.25,18.00,0.05,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,'01',0.300000,0.25,0.00,0.00,0.30,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(97,52,2731,'{\"description\":\"JERINGA 10ML  CJA X 100 UNID - ALKHOFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00110504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4353,\"description\":\"Unidad\",\"item_id\":2731,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4353NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2917,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.101695,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(98,52,3461,'{\"description\":\"ANTIBACCIX 1GR INY - MEDITEC\",\"item_type_id\":\"01\",\"internal_id\":\"00112503\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5533,\"description\":\"Unidad\",\"item_id\":3461,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":12.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5533NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3676,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":12.5,\"purchase_unit_price\":1.2712,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,10.593220,'10',10.59,18.00,1.91,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.91,'01',12.500000,10.59,0.00,0.00,12.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(99,53,3650,'{\"description\":\"DICLOXACILINA  500mg x 100 CAPSULAS - PORTUGAL\",\"item_type_id\":\"01\",\"internal_id\":\"00048310\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5854,\"description\":\"Unidad\",\"item_id\":3650,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5854NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3895,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.237288,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',4.0000,0.423729,'10',1.69,18.00,0.31,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.31,'01',0.500000,1.69,0.00,0.00,2.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(100,53,3846,'{\"description\":\"COXSCIENS 400MG X 10 CAP - SCIENTIA\",\"item_type_id\":\"01\",\"internal_id\":\"00111653\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6171,\"description\":\"Unidad\",\"item_id\":3846,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":3.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6171NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4103,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":3.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',4.0000,2.966102,'10',11.86,18.00,2.14,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.14,'01',3.500000,11.86,0.00,0.00,14.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(101,54,4007,'{\"description\":\"SILDENAFILO 50 MG X 1 - MARFAN\",\"item_type_id\":\"01\",\"internal_id\":null,\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"BX\",\"presentation\":{\"id\":6434,\"description\":\"Caja\",\"item_id\":4007,\"unit_type_id\":\"BX\",\"quantity_unit\":1,\"price1\":2.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6434BX1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"BX\",\"active\":1,\"symbol\":null,\"description\":\"Caja\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":null,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":2.5,\"purchase_unit_price\":1.1,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,2.118644,'10',2.12,18.00,0.38,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.38,'01',2.500000,2.12,0.00,0.00,2.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(102,55,3421,'{\"description\":\"JERINGA  5ML DESC. 21G 1 1\\/2 X 100UNID - MEDICAL B&T\",\"item_type_id\":\"01\",\"internal_id\":\"00111324\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5474,\"description\":\"Unidad\",\"item_id\":3421,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5474NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3636,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.091102,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(103,55,3531,'{\"description\":\"DEXAMETASONA 4mg\\/2mL x   10 INYECTABLES - OQ CORPOP S.A.C.\",\"item_type_id\":\"01\",\"internal_id\":\"00034943\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":5650,\"description\":\"Unidad\",\"item_id\":3531,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":1.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"5650NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3754,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":1.5,\"purchase_unit_price\":0.29661,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,1.271186,'10',1.27,18.00,0.23,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.23,'01',1.500000,1.27,0.00,0.00,1.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(104,55,2731,'{\"description\":\"JERINGA 10ML  CJA X 100 UNID - ALKHOFAR\",\"item_type_id\":\"01\",\"internal_id\":\"00110504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4353,\"description\":\"Unidad\",\"item_id\":2731,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":0.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4353NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":2917,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":0.5,\"purchase_unit_price\":0.101695,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,0.423729,'10',0.42,18.00,0.08,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.08,'01',0.500000,0.42,0.00,0.00,0.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(105,55,2921,'{\"description\":\"ORFLEXDAN 60MG\\/2ML SOL INY X 2ML X 25AMP - DANY\",\"item_type_id\":\"01\",\"internal_id\":\"00111065\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":4665,\"description\":\"Unidad\",\"item_id\":2921,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":9.5,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"4665NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":3109,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":9.5,\"purchase_unit_price\":1.5,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,8.050847,'10',8.05,18.00,1.45,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.45,'01',9.500000,8.05,0.00,0.00,9.50,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL),(106,55,3878,'{\"description\":\"B-NERBION X 5 INYEC - SOUTHERN PHARMACEUTICALS\",\"item_type_id\":\"01\",\"internal_id\":\"00112504\",\"item_code\":\"\",\"item_code_gs1\":null,\"unit_type_id\":\"NIU\",\"presentation\":{\"id\":6222,\"description\":\"Unidad\",\"item_id\":3878,\"unit_type_id\":\"NIU\",\"quantity_unit\":1,\"price1\":18,\"price2\":0,\"price3\":0,\"price_default\":1,\"barcode\":\"6222NIU1\",\"deleted_at\":null,\"pricing_source\":\"master_template\",\"pricing_status\":\"master\",\"unit_type\":{\"id\":\"NIU\",\"active\":1,\"symbol\":null,\"description\":\"Unidades\"},\"warehouse_prices\":[]},\"amount_plastic_bag_taxes\":\"0.10\",\"is_set\":0,\"lots\":[],\"IdLoteSelected\":4137,\"model\":null,\"sanitary\":null,\"cod_digemid\":null,\"date_of_due\":null,\"has_igv\":true,\"unit_price\":18,\"purchase_unit_price\":7,\"exchanged_for_points\":false,\"used_points_for_exchange\":null,\"quantity_of_points\":0,\"requires_prescription\":false}',1.0000,15.254237,'10',15.25,18.00,2.75,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,2.75,'01',18.000000,15.25,0.00,0.00,18.00,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL);
COMMIT;

-- Dumped table `document_items` with 85 row(s)
--

--
-- Table structure for table `document_payments`
--

CREATE TABLE `document_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `payment_received` tinyint(1) DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `document_payments_document_id_foreign` (`document_id`),
  KEY `document_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `document_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `document_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `document_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `document_payments_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `document_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_payments`
--

SET autocommit=0;
INSERT INTO `document_payments` VALUES (1,1,'2026-07-23','01',0,NULL,NULL,NULL,NULL,5.00),(2,2,'2026-07-23','01',0,NULL,NULL,NULL,NULL,6.00),(3,3,'2026-07-23','01',0,NULL,NULL,NULL,NULL,1.50),(4,4,'2026-07-23','01',0,NULL,NULL,NULL,NULL,7.50),(5,5,'2026-07-23','01',0,NULL,NULL,NULL,NULL,16.00),(6,6,'2026-07-23','01',0,NULL,NULL,NULL,NULL,112.00),(7,7,'2026-07-23','01',0,NULL,NULL,NULL,NULL,2.00),(8,8,'2026-07-23','02',0,NULL,NULL,NULL,NULL,2.50),(9,9,'2026-07-24','01',0,NULL,NULL,NULL,NULL,7.50),(10,10,'2026-07-24','02',0,NULL,NULL,NULL,NULL,6.00),(11,11,'2026-07-24','01',0,NULL,NULL,NULL,NULL,18.00),(12,12,'2026-07-24','06',0,NULL,NULL,NULL,NULL,17.50),(13,13,'2026-07-24','01',0,NULL,NULL,NULL,NULL,9.50),(14,14,'2026-07-24','02',0,NULL,NULL,NULL,NULL,55.50),(15,15,'2026-07-24','02',0,NULL,NULL,NULL,NULL,8.00),(16,16,'2026-07-24','01',0,NULL,NULL,NULL,NULL,1.00),(17,17,'2026-07-24','02',0,NULL,NULL,NULL,NULL,6.00),(18,18,'2026-07-25','01',0,NULL,NULL,NULL,NULL,1.00),(19,19,'2026-07-26','01',0,NULL,NULL,NULL,NULL,10.50),(20,20,'2026-07-26','01',0,NULL,NULL,NULL,NULL,10.50),(21,21,'2026-07-26','02',0,NULL,NULL,NULL,NULL,10.50),(22,22,'2026-07-26','01',0,NULL,NULL,NULL,NULL,4.30),(23,23,'2026-07-26','01',0,NULL,NULL,NULL,NULL,2.50),(24,24,'2026-07-26','01',0,NULL,NULL,NULL,NULL,2.50),(25,25,'2026-07-26','01',0,NULL,NULL,NULL,NULL,6.00),(26,26,'2026-07-26','01',0,NULL,NULL,NULL,NULL,4.20),(27,27,'2026-07-26','01',0,NULL,NULL,NULL,NULL,13.50),(28,28,'2026-07-27','01',0,NULL,NULL,NULL,NULL,1.00),(29,29,'2026-07-27','01',0,NULL,NULL,NULL,NULL,7.00),(30,30,'2026-07-27','01',0,NULL,NULL,NULL,NULL,21.80),(31,31,'2026-07-27','01',0,NULL,NULL,NULL,NULL,4.50),(32,32,'2026-07-27','01',0,NULL,NULL,NULL,NULL,18.00),(33,33,'2026-07-28','02',0,NULL,NULL,NULL,NULL,7.20),(34,34,'2026-07-29','01',0,NULL,NULL,NULL,NULL,1.20),(35,35,'2026-07-29','01',0,NULL,NULL,NULL,NULL,2.60),(36,36,'2026-07-29','02',0,NULL,NULL,NULL,NULL,2.50),(37,37,'2026-07-29','01',0,NULL,NULL,NULL,NULL,7.50),(38,38,'2026-07-29','02',0,NULL,NULL,NULL,NULL,2.50),(39,39,'2026-07-30','01',0,NULL,NULL,NULL,NULL,4.00),(40,40,'2026-07-30','01',0,NULL,NULL,NULL,NULL,6.00),(41,41,'2026-07-30','02',0,NULL,NULL,NULL,NULL,5.00),(49,49,'2026-07-31','02',0,NULL,NULL,NULL,NULL,155.90),(50,50,'2026-07-31','02',0,NULL,NULL,NULL,NULL,3.80),(51,51,'2026-07-31','02',0,NULL,NULL,NULL,NULL,12.50),(52,51,'2026-07-31','01',0,NULL,NULL,NULL,0.50,0.00),(53,52,'2026-07-31','01',0,NULL,NULL,NULL,NULL,13.30),(54,53,'2026-07-31','02',0,NULL,NULL,NULL,NULL,16.00),(55,54,'2026-07-31','02',0,NULL,NULL,NULL,NULL,2.50),(56,55,'2026-07-31','02',0,NULL,NULL,NULL,NULL,30.00);
COMMIT;

-- Dumped table `document_payments` with 49 row(s)
--

--
-- Table structure for table `document_transports`
--

CREATE TABLE `document_transports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `seat_number` varchar(255) NOT NULL,
  `passenger_manifest` varchar(255) NOT NULL,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number_identity_document` varchar(255) NOT NULL,
  `passenger_fullname` varchar(255) NOT NULL,
  `origin_district_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`origin_district_id`)),
  `origin_address` varchar(255) DEFAULT NULL,
  `destinatation_district_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`destinatation_district_id`)),
  `destinatation_address` varchar(255) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `start_time` time DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `document_transports_document_id_foreign` (`document_id`),
  KEY `document_transports_identity_document_type_id_foreign` (`identity_document_type_id`),
  CONSTRAINT `document_transports_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `document_transports_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_transports`
--

SET autocommit=0;
COMMIT;

-- Dumped table `document_transports` with 0 row(s)
--

--
-- Table structure for table `download_tray`
--

CREATE TABLE `download_tray` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `module` varchar(255) NOT NULL,
  `format` varchar(255) NOT NULL,
  `path` varchar(255) DEFAULT NULL,
  `file_name` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'IN_PROCESS',
  `date_init` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `payload_request` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `download_tray_user_id_foreign` (`user_id`),
  CONSTRAINT `download_tray_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `download_tray`
--

SET autocommit=0;
COMMIT;

-- Dumped table `download_tray` with 0 row(s)
--

--
-- Table structure for table `drivers`
--

CREATE TABLE `drivers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `license` varchar(255) NOT NULL,
  `telephone` varchar(255) DEFAULT 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`),
  KEY `drivers_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `drivers_number_index` (`number`),
  KEY `drivers_name_index` (`name`),
  CONSTRAINT `drivers_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `drivers`
--

SET autocommit=0;
COMMIT;

-- Dumped table `drivers` with 0 row(s)
--

--
-- Table structure for table `email_send_log`
--

CREATE TABLE `email_send_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `relation_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de modelo',
  `type` int(10) unsigned DEFAULT 0 COMMENT 'Tipo de relacion',
  `relation_model` longtext DEFAULT NULL COMMENT 'Modelo a relacion',
  `file_line` longtext DEFAULT NULL COMMENT 'Archivo qu elo llama',
  `sendit` tinyint(3) unsigned DEFAULT 1 COMMENT 'Booleano para envio de correo',
  `email` text DEFAULT NULL COMMENT 'Correo de destino',
  `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 `email_send_log`
--

SET autocommit=0;
COMMIT;

-- Dumped table `email_send_log` with 0 row(s)
--

--
-- Table structure for table `enter_permissions`
--

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

--
-- Dumping data for table `enter_permissions`
--

SET autocommit=0;
INSERT INTO `enter_permissions` VALUES (1,'POS.CajaChica.Reportes','2026-07-20 19:21:51','2026-07-20 19:21:51'),(2,'POS.PuntoVenta.StockMinimo','2026-07-20 19:21:51','2026-07-20 19:21:51'),(3,'POS.PuntoVenta.Ubicacion','2026-07-20 19:21:51','2026-07-20 19:21:51'),(4,'POS.PuntoVenta.AplicarDescuento','2026-07-20 19:21:53','2026-07-20 19:21:53'),(5,'POS.PuntoVenta.PrincipioActivo','2026-07-21 13:00:37','2026-07-21 13:00:37'),(6,'POS.PuntoVenta.FormaFarmaceutica','2026-07-21 13:01:03','2026-07-21 13:01:03');
COMMIT;

-- Dumped table `enter_permissions` with 6 row(s)
--

--
-- Table structure for table `enter_permissions_users`
--

CREATE TABLE `enter_permissions_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `permission_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `enter_permissions_users`
--

SET autocommit=0;
INSERT INTO `enter_permissions_users` VALUES (1,1,1,'2026-07-20 19:22:01','2026-07-20 19:22:01'),(2,1,2,'2026-07-20 19:22:01','2026-07-20 19:22:01'),(3,1,3,'2026-07-20 19:22:01','2026-07-20 19:22:01'),(4,1,4,'2026-07-20 19:22:01','2026-07-20 19:22:01'),(9,5,4,NULL,NULL),(10,5,1,NULL,NULL);
COMMIT;

-- Dumped table `enter_permissions_users` with 6 row(s)
--

--
-- Table structure for table `establishments`
--

CREATE TABLE `establishments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) NOT NULL,
  `country_id` char(2) NOT NULL,
  `department_id` char(2) NOT NULL,
  `province_id` char(4) NOT NULL,
  `district_id` char(6) NOT NULL,
  `address` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `aditional_information` varchar(255) DEFAULT NULL,
  `web_address` varchar(255) DEFAULT NULL,
  `trade_address` varchar(255) DEFAULT NULL,
  `customer_id` int(10) unsigned DEFAULT NULL,
  `logo` varchar(150) DEFAULT NULL,
  `template_pdf` varchar(255) NOT NULL DEFAULT 'default',
  `has_igv_31556` tinyint(1) NOT NULL DEFAULT 0,
  `template_ticket_pdf` varchar(255) NOT NULL DEFAULT 'default',
  `url_autoprint` varchar(255) DEFAULT NULL,
  `name_autoprint` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `api_nubefact` varchar(255) DEFAULT NULL,
  `api_token_nubefact` varchar(255) DEFAULT NULL,
  `hospital_type` tinyint(1) NOT NULL DEFAULT 0,
  `print_format` varchar(255) NOT NULL DEFAULT 'ticket',
  PRIMARY KEY (`id`),
  KEY `establishments_country_id_foreign` (`country_id`),
  KEY `establishments_department_id_foreign` (`department_id`),
  KEY `establishments_province_id_foreign` (`province_id`),
  KEY `establishments_district_id_foreign` (`district_id`),
  CONSTRAINT `establishments_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `establishments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
  CONSTRAINT `establishments_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
  CONSTRAINT `establishments_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `provinces` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `establishments`
--

SET autocommit=0;
INSERT INTO `establishments` VALUES (1,'Oficina Principal','PE','15','1501','150133','AV. CESAR CANEVARO PROLONG NRO. 348','biosalud@gmail.com','+51 965 740 352','0000',NULL,NULL,'AV. CESAR CANEVARO PROLONG NRO. 348',1,NULL,'default',0,'default',NULL,NULL,NULL,'2026-07-20 21:07:03',NULL,NULL,0,'ticket');
COMMIT;

-- Dumped table `establishments` with 1 row(s)
--

--
-- Table structure for table `exchange_rates`
--

CREATE TABLE `exchange_rates` (
  `date` date NOT NULL,
  `sale_original` decimal(13,3) NOT NULL,
  `purchase_original` decimal(13,3) NOT NULL,
  `purchase` decimal(13,3) NOT NULL,
  `sale` decimal(13,3) NOT NULL,
  `date_original` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `exchange_rates`
--

SET autocommit=0;
INSERT INTO `exchange_rates` VALUES ('2026-07-21',3.408,3.398,3.398,3.408,'2026-07-20','2026-07-21 12:51:21','2026-07-21 12:51:21'),('2026-07-22',3.403,3.393,3.393,3.403,'2026-07-21','2026-07-22 10:24:39','2026-07-22 10:24:39'),('2026-07-23',3.404,3.398,3.398,3.404,'2026-07-22','2026-07-23 10:29:09','2026-07-23 10:29:09'),('2026-07-24',3.404,3.398,3.398,3.404,'2026-07-22','2026-07-24 09:42:01','2026-07-24 09:42:01'),('2026-07-25',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-25 10:23:33','2026-07-25 10:23:33'),('2026-07-26',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-26 09:14:16','2026-07-26 09:14:16'),('2026-07-27',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-27 13:39:05','2026-07-27 13:39:05'),('2026-07-28',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-28 11:46:38','2026-07-28 11:46:38'),('2026-07-29',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-29 10:25:07','2026-07-29 10:25:07'),('2026-07-30',3.411,3.399,3.399,3.411,'2026-07-24','2026-07-30 10:45:04','2026-07-30 10:45:04'),('2026-07-31',3.399,3.384,3.384,3.399,'2026-07-30','2026-07-31 11:02:10','2026-07-31 11:02:10');
COMMIT;

-- Dumped table `exchange_rates` with 11 row(s)
--

--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) DEFAULT NULL,
  `expense_type_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `supplier_id` int(10) unsigned NOT NULL,
  `expense_reason_id` int(10) unsigned NOT NULL DEFAULT 1,
  `currency_type_id` varchar(255) NOT NULL,
  `external_id` char(36) NOT NULL,
  `state_type_id` char(255) DEFAULT NULL,
  `number` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `supplier` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`supplier`)),
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `expenses_filename_unique` (`filename`),
  KEY `expenses_user_id_foreign` (`user_id`),
  KEY `expenses_establishment_id_foreign` (`establishment_id`),
  KEY `expenses_supplier_id_foreign` (`supplier_id`),
  KEY `expenses_expense_type_id_foreign` (`expense_type_id`),
  KEY `expenses_currency_type_id_foreign` (`currency_type_id`),
  KEY `expenses_expense_reason_id_foreign` (`expense_reason_id`),
  KEY `expenses_soap_type_id_foreign` (`soap_type_id`),
  KEY `expenses_state_type_id_foreign` (`state_type_id`),
  CONSTRAINT `expenses_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `expenses_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `expenses_expense_reason_id_foreign` FOREIGN KEY (`expense_reason_id`) REFERENCES `expense_reasons` (`id`),
  CONSTRAINT `expenses_expense_type_id_foreign` FOREIGN KEY (`expense_type_id`) REFERENCES `expense_types` (`id`),
  CONSTRAINT `expenses_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `expenses_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `expenses_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `expenses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--

SET autocommit=0;
COMMIT;

-- Dumped table `expenses` with 0 row(s)
--

--
-- Table structure for table `expense_items`
--

CREATE TABLE `expense_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `expense_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `expense_items_expense_id_foreign` (`expense_id`),
  CONSTRAINT `expense_items_expense_id_foreign` FOREIGN KEY (`expense_id`) REFERENCES `expenses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `expense_items` with 0 row(s)
--

--
-- Table structure for table `expense_method_types`
--

CREATE TABLE `expense_method_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_method_types`
--

SET autocommit=0;
INSERT INTO `expense_method_types` VALUES (1,'CAJA GENERAL',0),(2,'Tarjeta de crédito',1),(3,'Tarjeta de débito',1);
COMMIT;

-- Dumped table `expense_method_types` with 3 row(s)
--

--
-- Table structure for table `expense_payments`
--

CREATE TABLE `expense_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `expense_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `expense_method_type_id` int(10) unsigned NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `expense_payments_expense_id_foreign` (`expense_id`),
  KEY `expense_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `expense_payments_expense_method_type_id_foreign` (`expense_method_type_id`),
  KEY `expense_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `expense_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `expense_payments_expense_id_foreign` FOREIGN KEY (`expense_id`) REFERENCES `expenses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `expense_payments_expense_method_type_id_foreign` FOREIGN KEY (`expense_method_type_id`) REFERENCES `expense_method_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `expense_payments` with 0 row(s)
--

--
-- Table structure for table `expense_reasons`
--

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

--
-- Dumping data for table `expense_reasons`
--

SET autocommit=0;
INSERT INTO `expense_reasons` VALUES (1,'Varios'),(2,'Representación de la organización'),(3,'Trabajo de campo');
COMMIT;

-- Dumped table `expense_reasons` with 3 row(s)
--

--
-- Table structure for table `expense_types`
--

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

--
-- Dumping data for table `expense_types`
--

SET autocommit=0;
INSERT INTO `expense_types` VALUES (1,'PLANILLA','2026-07-20 19:21:36','2026-07-20 19:21:36'),(2,'RECIBO POR HONORARIO','2026-07-20 19:21:36','2026-07-20 19:21:36'),(3,'SERVICIO PÚBLICO','2026-07-20 19:21:36','2026-07-20 19:21:36'),(4,'OTROS','2026-07-20 19:21:36','2026-07-20 19:21:36');
COMMIT;

-- Dumped table `expense_types` with 4 row(s)
--

--
-- Table structure for table `expiration_date_settings`
--

CREATE TABLE `expiration_date_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) NOT NULL,
  `days` smallint(6) NOT NULL,
  `color` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expiration_date_settings`
--

SET autocommit=0;
INSERT INTO `expiration_date_settings` VALUES (1,'EMPTY',5,'#ED000C',NULL,NULL),(2,'ALMOST EMPTY',10,'#FFC000',NULL,NULL),(3,'ENOUGH',15,'#05752F',NULL,NULL);
COMMIT;

-- Dumped table `expiration_date_settings` with 3 row(s)
--

--
-- Table structure for table `fixed_asset_items`
--

CREATE TABLE `fixed_asset_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `item_type_id` char(2) NOT NULL,
  `internal_id` varchar(255) DEFAULT NULL,
  `unit_type_id` varchar(255) NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `purchase_unit_price` decimal(16,6) NOT NULL,
  `purchase_affectation_igv_type_id` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fixed_asset_items_item_type_id_foreign` (`item_type_id`),
  KEY `fixed_asset_items_unit_type_id_foreign` (`unit_type_id`),
  KEY `fixed_asset_items_currency_type_id_foreign` (`currency_type_id`),
  KEY `fixed_asset_items_purchase_affectation_igv_type_id_foreign` (`purchase_affectation_igv_type_id`),
  CONSTRAINT `fixed_asset_items_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `fixed_asset_items_item_type_id_foreign` FOREIGN KEY (`item_type_id`) REFERENCES `item_types` (`id`),
  CONSTRAINT `fixed_asset_items_purchase_affectation_igv_type_id_foreign` FOREIGN KEY (`purchase_affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `fixed_asset_items_unit_type_id_foreign` FOREIGN KEY (`unit_type_id`) REFERENCES `cat_unit_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_asset_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `fixed_asset_items` with 0 row(s)
--

--
-- Table structure for table `fixed_asset_purchases`
--

CREATE TABLE `fixed_asset_purchases` (
  `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,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `group_id` char(2) NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series` char(4) NOT NULL,
  `number` int(11) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_due` date DEFAULT NULL,
  `time_of_issue` time NOT NULL,
  `supplier_id` int(10) unsigned NOT NULL,
  `supplier` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`supplier`)),
  `currency_type_id` varchar(255) NOT 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_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,
  `total` decimal(12,2) NOT NULL,
  `customer_id` int(10) unsigned DEFAULT NULL,
  `perception_date` date DEFAULT NULL,
  `perception_number` int(11) DEFAULT NULL,
  `total_perception` decimal(12,2) DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fixed_asset_purchases_user_id_foreign` (`user_id`),
  KEY `fixed_asset_purchases_establishment_id_foreign` (`establishment_id`),
  KEY `fixed_asset_purchases_supplier_id_foreign` (`supplier_id`),
  KEY `fixed_asset_purchases_customer_id_foreign` (`customer_id`),
  KEY `fixed_asset_purchases_soap_type_id_foreign` (`soap_type_id`),
  KEY `fixed_asset_purchases_state_type_id_foreign` (`state_type_id`),
  KEY `fixed_asset_purchases_group_id_foreign` (`group_id`),
  KEY `fixed_asset_purchases_document_type_id_foreign` (`document_type_id`),
  KEY `fixed_asset_purchases_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `fixed_asset_purchases_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fixed_asset_purchases_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `fixed_asset_purchases_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`),
  CONSTRAINT `fixed_asset_purchases_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fixed_asset_purchases_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
