-- Table structure for table `person_address`
--

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

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

SET autocommit=0;
COMMIT;

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

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

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

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

SET autocommit=0;
COMMIT;

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

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

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

--
-- Dumping data for table `person_types`
--

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

-- Dumped table `person_types` with 2 row(s)
--

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

CREATE TABLE `pharmacy_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `profit_field` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pharmacy_configurations`
--

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

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

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

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

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

SET autocommit=0;
COMMIT;

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

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

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

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

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

-- Dumped table `pos_parked_sales` with 14 row(s)
--

--
-- Table structure for table `preprinted_format_templates`
--

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

--
-- Dumping data for table `preprinted_format_templates`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `prescription_cie10`
--

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

--
-- Dumping data for table `prescription_cie10`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `prescription_doctors`
--

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

--
-- Dumping data for table `prescription_doctors`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `prescription_prescriptions`
--

CREATE TABLE `prescription_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `presentation_unit_type_id` int(10) unsigned DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `prescription_number` varchar(255) DEFAULT NULL,
  `prescription_date` date DEFAULT NULL,
  `prescription_doctor_id` int(10) unsigned DEFAULT NULL,
  `doctor_name` varchar(255) DEFAULT NULL,
  `prescription_cie10_id` int(10) unsigned DEFAULT NULL,
  `diagnosis_text` varchar(255) DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prescription_prescriptions_customer_id_foreign` (`customer_id`),
  KEY `prescription_prescriptions_item_id_foreign` (`item_id`),
  KEY `prescription_prescriptions_prescription_doctor_id_foreign` (`prescription_doctor_id`),
  KEY `prescription_prescriptions_prescription_cie10_id_foreign` (`prescription_cie10_id`),
  KEY `prescription_prescriptions_user_id_foreign` (`user_id`),
  KEY `prescription_prescriptions_warehouse_id_foreign` (`warehouse_id`),
  KEY `prescription_presentation_idx` (`presentation_unit_type_id`),
  CONSTRAINT `prescription_prescriptions_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `prescription_prescriptions_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `prescription_prescriptions_prescription_cie10_id_foreign` FOREIGN KEY (`prescription_cie10_id`) REFERENCES `prescription_cie10` (`id`),
  CONSTRAINT `prescription_prescriptions_prescription_doctor_id_foreign` FOREIGN KEY (`prescription_doctor_id`) REFERENCES `prescription_doctors` (`id`),
  CONSTRAINT `prescription_prescriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `prescription_prescriptions_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prescription_prescriptions`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `procedures`
--

CREATE TABLE `procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `is_available` tinyint(1) NOT NULL DEFAULT 0,
  `status` tinyint(1) 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 `procedures`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `production`
--

CREATE TABLE `production` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 0,
  `soap_type_id` char(2) DEFAULT NULL,
  `item_id` int(10) unsigned DEFAULT 0,
  `inventory_id_reference` int(10) unsigned DEFAULT NULL,
  `quantity` decimal(12,4) DEFAULT 0.0000 COMMENT 'Peso dle insumo ',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `machine_id` int(10) unsigned NOT NULL DEFAULT 0,
  `production_order` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `comment` longtext DEFAULT NULL,
  `date_start` date DEFAULT NULL,
  `time_start` time DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `time_end` time DEFAULT NULL,
  `lot_code` varchar(255) DEFAULT NULL,
  `item_extra_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `mix_date_start` date DEFAULT NULL,
  `mix_time_start` time DEFAULT NULL,
  `mix_date_end` date DEFAULT NULL,
  `mix_time_end` time DEFAULT NULL,
  `informative` tinyint(3) unsigned DEFAULT 0,
  `agreed` decimal(8,2) DEFAULT 0.00,
  `imperfect` decimal(8,2) DEFAULT 0.00,
  `proccess_type` longtext DEFAULT NULL,
  `production_collaborator` text DEFAULT NULL,
  `mix_collaborator` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `production_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `promotions`
--

CREATE TABLE `promotions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `type` varchar(255) DEFAULT NULL,
  `image` varchar(255) NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `apply_restaurant` tinyint(1) DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `promotions_item_id_foreign` (`item_id`),
  KEY `promotion_iut_idx` (`item_unit_type_id`),
  CONSTRAINT `promotions_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `promotions_item_unit_type_id_fk` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `promotions`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `provinces`
--

CREATE TABLE `provinces` (
  `id` char(4) NOT NULL,
  `department_id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  KEY `provinces_department_id_foreign` (`department_id`),
  KEY `provinces_id_index` (`id`),
  CONSTRAINT `provinces_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `provinces`
--

SET autocommit=0;
INSERT INTO `provinces` VALUES ('0101','01','Chachapoyas',1),('0102','01','Bagua',1),('0103','01','Bongará',1),('0104','01','Condorcanqui',1),('0105','01','Luya',1),('0106','01','Rodríguez de Mendoza',1),('0107','01','Utcubamba',1),('0201','02','Huaraz',1),('0202','02','Aija',1),('0203','02','Antonio Raymondi',1),('0204','02','Asunción',1),('0205','02','Bolognesi',1),('0206','02','Carhuaz',1),('0207','02','Carlos Fermín Fitzcarrald',1),('0208','02','Casma',1),('0209','02','Corongo',1),('0210','02','Huari',1),('0211','02','Huarmey',1),('0212','02','Huaylas',1),('0213','02','Mariscal Luzuriaga',1),('0214','02','Ocros',1),('0215','02','Pallasca',1),('0216','02','Pomabamba',1),('0217','02','Recuay',1),('0218','02','Santa',1),('0219','02','Sihuas',1),('0220','02','Yungay',1),('0301','03','Abancay',1),('0302','03','Andahuaylas',1),('0303','03','Antabamba',1),('0304','03','Aymaraes',1),('0305','03','Cotabambas',1),('0306','03','Chincheros',1),('0307','03','Grau',1),('0401','04','Arequipa',1),('0402','04','Camaná',1),('0403','04','Caravelí',1),('0404','04','Castilla',1),('0405','04','Caylloma',1),('0406','04','Condesuyos',1),('0407','04','Islay',1),('0408','04','La Uniòn',1),('0501','05','Huamanga',1),('0502','05','Cangallo',1),('0503','05','Huanca Sancos',1),('0504','05','Huanta',1),('0505','05','La Mar',1),('0506','05','Lucanas',1),('0507','05','Parinacochas',1),('0508','05','Pàucar del Sara Sara',1),('0509','05','Sucre',1),('0510','05','Víctor Fajardo',1),('0511','05','Vilcas Huamán',1),('0601','06','Cajamarca',1),('0602','06','Cajabamba',1),('0603','06','Celendín',1),('0604','06','Chota',1),('0605','06','Contumazá',1),('0606','06','Cutervo',1),('0607','06','Hualgayoc',1),('0608','06','Jaén',1),('0609','06','San Ignacio',1),('0610','06','San Marcos',1),('0611','06','San Miguel',1),('0612','06','San Pablo',1),('0613','06','Santa Cruz',1),('0701','07','Prov. Const. del Callao',1),('0801','08','Cusco',1),('0802','08','Acomayo',1),('0803','08','Anta',1),('0804','08','Calca',1),('0805','08','Canas',1),('0806','08','Canchis',1),('0807','08','Chumbivilcas',1),('0808','08','Espinar',1),('0809','08','La Convención',1),('0810','08','Paruro',1),('0811','08','Paucartambo',1),('0812','08','Quispicanchi',1),('0813','08','Urubamba',1),('0901','09','Huancavelica',1),('0902','09','Acobamba',1),('0903','09','Angaraes',1),('0904','09','Castrovirreyna',1),('0905','09','Churcampa',1),('0906','09','Huaytará',1),('0907','09','Tayacaja',1),('1001','10','Huánuco',1),('1002','10','Ambo',1),('1003','10','Dos de Mayo',1),('1004','10','Huacaybamba',1),('1005','10','Huamalíes',1),('1006','10','Leoncio Prado',1),('1007','10','Marañón',1),('1008','10','Pachitea',1),('1009','10','Puerto Inca',1),('1010','10','Lauricocha',1),('1011','10','Yarowilca',1),('1101','11','Ica',1),('1102','11','Chincha',1),('1103','11','Nasca',1),('1104','11','Palpa',1),('1105','11','Pisco',1),('1201','12','Huancayo',1),('1202','12','Concepción',1),('1203','12','Chanchamayo',1),('1204','12','Jauja',1),('1205','12','Junín',1),('1206','12','Satipo',1),('1207','12','Tarma',1),('1208','12','Yauli',1),('1209','12','Chupaca',1),('1301','13','Trujillo',1),('1302','13','Ascope',1),('1303','13','Bolívar',1),('1304','13','Chepén',1),('1305','13','Julcán',1),('1306','13','Otuzco',1),('1307','13','Pacasmayo',1),('1308','13','Pataz',1),('1309','13','Sánchez Carrión',1),('1310','13','Santiago de Chuco',1),('1311','13','Gran Chimú',1),('1312','13','Virú',1),('1401','14','Chiclayo',1),('1402','14','Ferreñafe',1),('1403','14','Lambayeque',1),('1501','15','Lima',1),('1502','15','Barranca',1),('1503','15','Cajatambo',1),('1504','15','Canta',1),('1505','15','Cañete',1),('1506','15','Huaral',1),('1507','15','Huarochirí',1),('1508','15','Huaura',1),('1509','15','Oyón',1),('1510','15','Yauyos',1),('1601','16','Maynas',1),('1602','16','Alto Amazonas',1),('1603','16','Loreto',1),('1604','16','Mariscal Ramón Castilla',1),('1605','16','Requena',1),('1606','16','Ucayali',1),('1607','16','Datem del Marañón',1),('1608','16','Putumayo',1),('1701','17','Tambopata',1),('1702','17','Manu',1),('1703','17','Tahuamanu',1),('1801','18','Mariscal Nieto',1),('1802','18','General Sánchez Cerro',1),('1803','18','Ilo',1),('1901','19','Pasco',1),('1902','19','Daniel Alcides Carrión',1),('1903','19','Oxapampa',1),('2001','20','Piura',1),('2002','20','Ayabaca',1),('2003','20','Huancabamba',1),('2004','20','Morropón',1),('2005','20','Paita',1),('2006','20','Sullana',1),('2007','20','Talara',1),('2008','20','Sechura',1),('2101','21','Puno',1),('2102','21','Azángaro',1),('2103','21','Carabaya',1),('2104','21','Chucuito',1),('2105','21','El Collao',1),('2106','21','Huancané',1),('2107','21','Lampa',1),('2108','21','Melgar',1),('2109','21','Moho',1),('2110','21','San Antonio de Putina',1),('2111','21','San Román',1),('2112','21','Sandia',1),('2113','21','Yunguyo',1),('2201','22','Moyobamba',1),('2202','22','Bellavista',1),('2203','22','El Dorado',1),('2204','22','Huallaga',1),('2205','22','Lamas',1),('2206','22','Mariscal Cáceres',1),('2207','22','Picota',1),('2208','22','Rioja',1),('2209','22','San Martín',1),('2210','22','Tocache',1),('2301','23','Tacna',1),('2302','23','Candarave',1),('2303','23','Jorge Basadre',1),('2304','23','Tarata',1),('2401','24','Tumbes',1),('2402','24','Contralmirante Villar',1),('2403','24','Zarumilla',1),('2501','25','Coronel Portillo',1),('2502','25','Atalaya',1),('2503','25','Padre Abad',1),('2504','25','Purús',1);
COMMIT;

-- Dumped table `provinces` with 196 row(s)
--

--
-- Table structure for table `purchases`
--

CREATE TABLE `purchases` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `xml_fingerprint_sha256` char(64) DEFAULT 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,
  `purchase_order_id` int(10) unsigned DEFAULT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `payment_condition_id` varchar(255) DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_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,
  `total` decimal(12,2) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `total_canceled` tinyint(1) NOT NULL DEFAULT 0,
  `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,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchases_xml_fingerprint_unique` (`xml_fingerprint_sha256`),
  KEY `purchases_user_id_foreign` (`user_id`),
  KEY `purchases_establishment_id_foreign` (`establishment_id`),
  KEY `purchases_supplier_id_foreign` (`supplier_id`),
  KEY `purchases_soap_type_id_foreign` (`soap_type_id`),
  KEY `purchases_state_type_id_foreign` (`state_type_id`),
  KEY `purchases_group_id_foreign` (`group_id`),
  KEY `purchases_document_type_id_foreign` (`document_type_id`),
  KEY `purchases_currency_type_id_foreign` (`currency_type_id`),
  KEY `purchases_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchases_customer_id_foreign` (`customer_id`),
  KEY `purchases_payment_condition_id_foreign` (`payment_condition_id`),
  KEY `purchases_supplier_document_series_number_idx` (`supplier_id`,`document_type_id`,`series`,`number`),
  CONSTRAINT `purchases_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `purchases_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `purchases_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `purchases_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `purchases_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`),
  CONSTRAINT `purchases_payment_condition_id_foreign` FOREIGN KEY (`payment_condition_id`) REFERENCES `general_payment_conditions` (`id`),
  CONSTRAINT `purchases_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`),
  CONSTRAINT `purchases_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `purchases_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `purchases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `purchases_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchases`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `purchase_fee`
--

CREATE TABLE `purchase_fee` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_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,
  PRIMARY KEY (`id`),
  KEY `purchase_fee_purchase_id_foreign` (`purchase_id`),
  KEY `purchase_fee_currency_type_id_foreign` (`currency_type_id`),
  KEY `purchase_fee_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `purchase_fee_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `purchase_fee_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `purchase_fee_purchase_id_foreign` FOREIGN KEY (`purchase_id`) REFERENCES `purchases` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_fee`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `purchase_items`
--

CREATE TABLE `purchase_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `item_lot_group_id` int(10) unsigned DEFAULT NULL,
  `lot_code` varchar(255) DEFAULT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `date_of_due` date DEFAULT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `percentage_igv` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_igv` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `system_isc_type_id` varchar(255) DEFAULT NULL,
  `total_base_isc` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `percentage_isc` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_isc` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_base_other_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `percentage_other_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_other_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_charge` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_discount` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `name_product_pdf` longtext DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_items_purchase_id_foreign` (`purchase_id`),
  KEY `purchase_items_item_id_foreign` (`item_id`),
  KEY `purchase_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `purchase_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `purchase_items_price_type_id_foreign` (`price_type_id`),
  KEY `purchase_items_warehouse_id_foreign` (`warehouse_id`),
  KEY `purchase_items_item_lot_group_id_index` (`item_lot_group_id`),
  CONSTRAINT `purchase_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `purchase_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `purchase_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `purchase_items_purchase_id_foreign` FOREIGN KEY (`purchase_id`) REFERENCES `purchases` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`),
  CONSTRAINT `purchase_items_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_items`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `purchase_orders`
--

CREATE TABLE `purchase_orders` (
  `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,
  `prefix` varchar(255) NOT NULL DEFAULT 'OC',
  `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,
  `currency_type_id` varchar(255) NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_charge` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_discount` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_exportation` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_unaffected` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_exonerated` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_igv` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_base_isc` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_isc` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_base_other_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_other_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_taxes` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total_value` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `total` decimal(12,4) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `upload_filename` varchar(255) DEFAULT NULL,
  `purchase_quotation_id` int(10) unsigned DEFAULT NULL,
  `sale_opportunity_id` int(10) unsigned DEFAULT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_orders_purchase_quotation_id_foreign` (`purchase_quotation_id`),
  KEY `purchase_orders_user_id_foreign` (`user_id`),
  KEY `purchase_orders_establishment_id_foreign` (`establishment_id`),
  KEY `purchase_orders_supplier_id_foreign` (`supplier_id`),
  KEY `purchase_orders_soap_type_id_foreign` (`soap_type_id`),
  KEY `purchase_orders_state_type_id_foreign` (`state_type_id`),
  KEY `purchase_orders_currency_type_id_foreign` (`currency_type_id`),
  KEY `purchase_orders_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `purchase_orders_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `purchase_orders_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `purchase_orders_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `purchase_orders_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `purchase_orders_purchase_quotation_id_foreign` FOREIGN KEY (`purchase_quotation_id`) REFERENCES `purchase_quotations` (`id`),
  CONSTRAINT `purchase_orders_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`),
  CONSTRAINT `purchase_orders_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `purchase_orders_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `purchase_orders_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `purchase_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_orders`
--

SET autocommit=0;
COMMIT;

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

--
-- Table structure for table `purchase_order_items`
--

CREATE TABLE `purchase_order_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `quantity` int(11) 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_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_items_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_order_items_item_id_foreign` (`item_id`),
  KEY `purchase_order_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `purchase_order_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `purchase_order_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `purchase_order_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `purchase_order_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `purchase_order_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `purchase_order_items_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
