-- Table structure for table `person_activities`
--

CREATE TABLE `person_activities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_activities_person_id_foreign` (`person_id`),
  KEY `person_activities_activity_id_foreign` (`activity_id`),
  CONSTRAINT `person_activities_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_activities_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=656 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_activities`
--

INSERT INTO `person_activities` VALUES (155,7941,40734,321,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(156,7941,40734,325,0,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(157,7941,40734,381,0,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(158,7941,40734,543,0,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(159,7941,40734,789,0,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(160,7941,40734,410,0,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(161,7941,40735,410,1,'2023-04-08 11:08:56','2023-04-08 11:08:56',NULL),(163,7941,40736,400,1,'2023-04-08 11:27:32','2023-04-08 11:27:32',NULL),(389,7941,40770,401,1,'2023-05-09 15:50:49','2023-05-09 15:50:49',NULL),(390,7941,40771,614,1,'2023-08-14 14:08:45','2023-08-14 14:08:45',NULL),(392,7941,40773,497,1,'2023-09-27 16:47:49','2023-09-27 16:47:49',NULL),(553,7941,40869,609,1,'2023-10-30 10:28:00','2023-10-30 10:28:00',NULL),(554,7941,40869,626,0,'2023-10-30 10:28:00','2023-10-30 10:28:00',NULL),(555,7941,40870,400,1,'2024-01-18 09:38:33','2024-01-18 09:38:33',NULL),(556,7941,40871,609,1,'2024-01-18 09:42:07','2024-01-18 09:42:07',NULL),(557,7941,40872,584,1,'2024-05-06 11:27:09','2024-05-06 11:27:09',NULL),(558,7941,40873,497,1,'2024-06-24 09:56:31','2024-06-24 09:56:31',NULL),(559,7941,40874,834,1,'2024-06-24 14:14:59','2024-06-24 14:14:59',NULL),(561,7941,40876,804,1,'2024-07-03 12:30:00','2024-07-03 12:30:00',NULL),(562,7941,40875,800,1,'2024-07-29 11:13:37','2024-07-29 11:13:37',NULL),(564,7941,40877,324,1,'2024-08-13 11:19:30','2024-08-13 11:19:30',NULL),(565,7941,40878,400,1,'2024-08-28 16:46:41','2024-08-28 16:46:41',NULL),(566,7941,40772,609,1,'2024-09-03 09:46:53','2024-09-03 09:46:53',NULL),(567,7941,40879,834,1,'2024-09-03 09:49:57','2024-09-03 09:49:57',NULL),(570,7941,40881,400,1,'2024-10-28 10:30:52','2024-10-28 10:30:52',NULL),(571,7941,40881,789,0,'2024-10-28 10:30:52','2024-10-28 10:30:52',NULL),(572,7941,40882,789,1,'2024-11-06 16:36:40','2024-11-06 16:36:40',NULL),(574,7941,40883,711,1,'2024-11-26 07:54:54','2024-11-26 07:54:54',NULL),(629,7941,40911,834,1,'2024-12-05 12:57:51','2024-12-05 12:57:51',NULL),(630,7941,40912,374,1,'2025-01-22 13:45:29','2025-01-22 13:45:29',NULL),(631,7941,40913,834,1,'2025-02-24 11:22:14','2025-02-24 11:22:14',NULL),(632,7941,40914,400,1,'2025-02-28 16:12:14','2025-02-28 16:12:14',NULL),(633,7941,40914,789,0,'2025-02-28 16:12:14','2025-02-28 16:12:14',NULL),(647,7941,40915,796,1,'2025-03-31 15:29:28','2025-03-31 15:29:28',NULL),(649,7941,40719,2,1,'2025-04-01 14:39:37','2025-04-01 14:39:37',NULL),(650,11429,40880,233,1,'2025-07-07 14:30:45','2025-07-07 14:30:45',NULL),(651,11429,40941,843,1,'2025-08-19 17:22:26','2025-08-19 17:22:26',NULL),(652,11429,40945,628,1,'2025-09-02 09:07:54','2025-09-02 09:07:54',NULL),(653,11429,40946,510,1,'2025-10-02 13:11:57','2025-10-02 13:11:57',NULL),(654,11429,40944,175,1,'2025-10-08 18:21:19','2025-10-08 18:21:19',NULL),(655,11429,40930,483,1,'2025-10-30 11:32:59','2025-10-30 11:32:59',NULL);

--
-- Table structure for table `person_cobrador`
--

CREATE TABLE `person_cobrador` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_cobrador_person_id_foreign` (`person_id`),
  KEY `person_cobrador_cobrador_id_foreign` (`cobrador_id`),
  KEY `person_cobrador_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_cobrador_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador`
--


--
-- Table structure for table `person_cobrador_history`
--

CREATE TABLE `person_cobrador_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_cobrador_history_person_id_foreign` (`person_id`),
  KEY `person_cobrador_history_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_cobrador_history_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `person_cobrador_history_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador_history`
--


--
-- Table structure for table `person_configurations`
--

CREATE TABLE `person_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `settle_calc_by_coef` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active` int(10) unsigned DEFAULT NULL,
  `enviarMail` int(11) DEFAULT '1',
  `honorario` decimal(16,2) DEFAULT '0.00',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `month_close` int(10) unsigned DEFAULT NULL,
  `iva_condition_id` int(10) unsigned DEFAULT NULL,
  `obligation_sell` int(10) unsigned DEFAULT NULL,
  `obligation_buy` int(10) unsigned DEFAULT NULL,
  `obligation_iva` int(10) unsigned DEFAULT NULL,
  `obligation_electronic_receipt` int(10) unsigned DEFAULT NULL,
  `obligation_iibb` int(10) unsigned DEFAULT NULL,
  `obligation_other_taxes` int(10) unsigned DEFAULT NULL,
  `liquidation_start_period` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `obligation_salaries` int(10) unsigned DEFAULT NULL,
  `empleada_domestica` tinyint(1) NOT NULL DEFAULT '0',
  `prorratear_iva` tinyint(1) NOT NULL DEFAULT '0',
  `is_itc` tinyint(1) NOT NULL DEFAULT '0',
  `priority_order` int(10) unsigned DEFAULT NULL,
  `person_id_administrador` int(11) DEFAULT NULL,
  `person_id_titular` int(11) DEFAULT NULL,
  `logo_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificado_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `llave_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_electronic_receipt` int(10) unsigned DEFAULT '0',
  `ruta_logo_fa` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inicio_actividades` date DEFAULT NULL,
  `fecha_de_mono_to_ri` date DEFAULT NULL,
  `iibb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fe_leyenda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iva` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iva_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iibb` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iibb_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `usar_multimoneda` tinyint(1) NOT NULL DEFAULT '0',
  `is_ag_per_ret` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `barcode_columns` tinyint(3) unsigned NOT NULL DEFAULT '3' COMMENT 'Cantidad de columnas en la hoja de etiquetas',
  `barcode_rows` tinyint(3) unsigned NOT NULL DEFAULT '10' COMMENT 'Cantidad de filas en la hoja de etiquetas',
  `barcode_width_cm` decimal(4,2) NOT NULL DEFAULT '6.50' COMMENT 'Ancho de cada etiqueta en cm',
  `barcode_height_cm` decimal(4,2) NOT NULL DEFAULT '2.50' COMMENT 'Alto de cada etiqueta en cm',
  `barcode_page_size` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'A4' COMMENT 'Tamaño de página (A4, Letter, etc)',
  PRIMARY KEY (`id`),
  KEY `person_configurations_person_id_foreign` (`person_id`),
  KEY `person_configurations_period_id_foreign` (`period_id`),
  KEY `person_configurations_zone_id_foreign` (`zone_id`),
  KEY `person_configurations_iva_condition_id_foreign` (`iva_condition_id`),
  KEY `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `person_configurations_iva_condition_id_foreign` FOREIGN KEY (`iva_condition_id`) REFERENCES `iva_conditions` (`id`),
  CONSTRAINT `person_configurations_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `person_configurations_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_configurations_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=188 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_configurations`
--

INSERT INTO `person_configurations` VALUES (2,7941,40719,NULL,NULL,0,'2022-10-11 14:20:53','2025-04-01 14:39:37',2,1,0.00,NULL,12,1,0,0,0,1,1,NULL,'2022-1',0,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,'2025-04-01','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(17,7941,40734,NULL,NULL,0,'2022-10-27 13:50:34','2023-03-02 13:41:03',2,1,0.00,NULL,4,2,0,0,0,0,4,NULL,'2022-01',1,0,0,0,NULL,40734,40734,NULL,NULL,NULL,0,'img//30712343210/logo.png','2012-06-01',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(18,7941,40735,NULL,NULL,0,'2023-04-08 11:08:56','2023-04-08 11:08:56',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2022-01',1,0,0,0,NULL,40735,40735,NULL,NULL,NULL,0,NULL,'0000-00-00',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(19,7941,40736,NULL,NULL,0,'2023-04-08 11:27:00','2023-04-08 11:27:32',2,1,0.00,NULL,12,2,1,1,1,1,2,NULL,'2022-01',0,0,0,0,NULL,40736,40736,NULL,NULL,NULL,0,NULL,'2023-04-08',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(52,7941,40770,NULL,NULL,0,'2023-04-24 13:45:06','2023-05-09 15:50:49',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2023-01',1,0,0,0,NULL,40770,40770,NULL,NULL,NULL,0,'img//30715696807/logo.png','2023-05-09',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(53,7941,40771,NULL,NULL,0,'2023-08-14 14:08:45','2023-08-14 14:08:45',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-01',1,0,0,0,NULL,40771,40771,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(54,7941,40772,NULL,NULL,0,'2023-08-29 11:14:02','2024-09-03 09:46:53',1,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-01',1,0,0,0,NULL,40772,40772,NULL,NULL,NULL,0,NULL,'2024-09-03','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(55,7941,40773,NULL,NULL,0,'2023-09-27 16:47:49','2023-09-27 16:47:49',2,1,0.00,NULL,12,2,0,0,0,0,2,NULL,'2023-01',1,0,0,0,NULL,40773,40773,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(136,7941,40869,NULL,NULL,0,'2023-10-30 10:28:00','2023-10-30 10:28:00',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2023-01',0,0,0,0,1,40869,40869,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(137,7941,40870,NULL,NULL,0,'2024-01-18 09:38:33','2024-01-18 09:38:33',2,1,0.00,NULL,12,1,1,1,1,1,4,NULL,'2022-07',1,0,0,0,1,40870,40870,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(138,7941,40871,NULL,NULL,0,'2024-01-18 09:42:07','2024-01-18 09:42:07',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2023-11',1,0,0,0,1,40871,40871,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(139,7941,40872,NULL,NULL,0,'2024-05-06 11:27:09','2024-05-06 11:27:09',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2023-04',1,1,0,0,1,40872,40872,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(140,7941,40873,NULL,NULL,0,'2024-06-24 09:56:31','2024-06-24 09:56:31',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2023-01',1,1,0,0,NULL,40873,40873,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(141,7941,40874,NULL,NULL,0,'2024-06-24 14:14:59','2024-06-24 14:14:59',2,1,0.00,NULL,3,2,0,0,0,0,4,NULL,'2023-04',0,0,0,0,1,40874,40874,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(142,7941,40875,NULL,NULL,0,'2024-07-01 15:31:26','2024-07-29 11:13:37',2,1,0.00,NULL,11,2,0,0,0,0,4,NULL,'2023-12',1,0,0,0,NULL,40875,40875,NULL,NULL,NULL,0,NULL,'2024-07-29','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(143,7941,40876,NULL,NULL,0,'2024-07-03 12:30:00','2024-07-03 12:30:00',2,1,0.00,NULL,3,2,0,0,0,0,4,NULL,'2023-04',0,0,0,0,NULL,40876,40876,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');
INSERT INTO `person_configurations` VALUES (144,7941,40877,NULL,NULL,0,'2024-08-07 14:43:25','2024-08-13 11:19:30',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2024-1',1,0,0,0,2,40877,40877,NULL,NULL,NULL,0,NULL,'2024-08-13','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(145,7941,40878,NULL,NULL,0,'2024-08-28 16:46:41','2024-08-28 16:46:41',2,1,0.00,NULL,4,2,0,0,0,0,4,NULL,'2023-05',0,0,0,0,2,40878,40878,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(146,7941,40879,NULL,NULL,0,'2024-09-03 09:49:57','2024-09-03 09:49:57',2,1,0.00,NULL,5,2,0,0,0,0,4,NULL,'2023-06',0,0,0,0,1,40879,40879,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(147,11429,40880,NULL,NULL,0,'2024-10-09 11:09:42','2025-07-07 14:30:45',2,1,0.00,NULL,3,2,0,0,0,0,4,NULL,'2024-04',1,0,0,0,1,40880,40880,NULL,NULL,NULL,0,NULL,'2024-10-10','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(148,7941,40881,NULL,NULL,0,'2024-10-28 10:30:52','2024-10-28 10:30:52',2,1,0.00,NULL,7,2,0,0,0,0,2,NULL,'2023-08',0,0,0,0,NULL,40881,40881,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(149,7941,40882,NULL,NULL,0,'2024-11-06 16:36:40','2024-11-06 16:36:40',2,1,0.00,NULL,9,2,0,0,0,0,2,NULL,'2023-10',0,0,0,0,NULL,40882,40882,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(150,7941,40883,NULL,NULL,0,'2024-11-19 11:03:25','2024-11-26 07:54:54',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2024-01',1,0,0,0,NULL,40883,40883,NULL,NULL,NULL,0,NULL,'2024-11-26','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(178,7941,40911,NULL,NULL,0,'2024-12-05 12:57:51','2024-12-05 12:57:51',2,1,0.00,NULL,10,2,0,0,0,0,3,NULL,'2023-11',0,0,0,0,NULL,40911,40911,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(179,7941,40912,NULL,NULL,0,'2025-01-22 13:45:29','2025-01-22 13:45:29',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2024-01',1,1,0,0,2,40912,40912,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(180,7941,40913,NULL,NULL,0,'2025-02-24 11:22:14','2025-02-24 11:22:14',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2024-01',1,0,0,0,2,40913,40913,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(181,7941,40914,NULL,NULL,0,'2025-02-28 16:12:14','2025-02-28 16:12:14',2,1,0.00,NULL,12,2,1,1,1,1,2,NULL,'2024-1',1,1,0,0,2,40914,40914,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(182,7941,40915,NULL,NULL,0,'2025-03-31 15:21:35','2025-03-31 15:29:28',2,1,0.00,NULL,12,1,0,0,0,0,1,NULL,'2025-02',0,0,0,0,NULL,40915,40915,NULL,NULL,NULL,0,NULL,'2025-03-31','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(183,11429,40941,NULL,NULL,0,'2025-08-19 17:22:26','2025-08-19 17:22:26',2,1,0.00,NULL,4,2,1,1,1,1,4,NULL,'2024-05',1,1,0,0,2,40941,40941,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(184,11429,40945,NULL,NULL,0,'2025-09-02 09:07:54','2025-09-02 09:07:54',2,1,0.00,NULL,5,2,1,1,1,1,4,NULL,'2024-06',0,0,0,0,NULL,40945,40945,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(185,11429,40946,NULL,NULL,0,'2025-10-02 13:11:57','2025-10-02 13:11:57',2,1,0.00,NULL,7,2,0,0,0,0,4,NULL,'2024-07',0,0,0,0,2,40946,40946,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(186,11429,40944,NULL,NULL,0,'2025-10-08 18:21:19','2025-10-08 18:21:19',2,1,0.00,NULL,6,2,0,0,0,0,4,NULL,'2024-07',0,0,0,0,1,40944,40944,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');
INSERT INTO `person_configurations` VALUES (187,11429,40930,NULL,NULL,0,'2025-10-30 11:32:59','2025-10-30 11:32:59',2,1,0.00,NULL,7,2,1,1,1,1,4,NULL,'2024-08',1,0,0,0,NULL,40930,40930,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');

--
-- Table structure for table `person_liquidators`
--

CREATE TABLE `person_liquidators` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `liquidator_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_liquidators_person_id_foreign` (`person_id`),
  KEY `person_liquidators_liquidator_id_foreign` (`liquidator_id`),
  CONSTRAINT `person_liquidators_liquidator_id_foreign` FOREIGN KEY (`liquidator_id`) REFERENCES `liquidators` (`id`),
  CONSTRAINT `person_liquidators_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_liquidators`
--


--
-- Table structure for table `person_pagos_lugares`
--

CREATE TABLE `person_pagos_lugares` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contacto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `direccion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `telefono` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_llamada` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_pago` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cobradores_metodo_id` bigint(20) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pagos_lugares_person_id_foreign` (`person_id`),
  KEY `person_pagos_lugares_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_pagos_lugares_localidad_id_foreign` (`localidad_id`),
  KEY `person_pagos_lugares_cobradores_metodo_id_foreign` (`cobradores_metodo_id`),
  CONSTRAINT `person_pagos_lugares_cobradores_metodo_id_foreign` FOREIGN KEY (`cobradores_metodo_id`) REFERENCES `cobradores_metodos` (`id`),
  CONSTRAINT `person_pagos_lugares_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_lugares`
--


--
-- Table structure for table `person_pagos_promesas`
--

CREATE TABLE `person_pagos_promesas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `person_pago_lugar_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pagos_promesas_person_id_foreign` (`person_id`),
  KEY `person_pagos_promesas_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_pagos_promesas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_promesas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_promesas`
--


--
-- Table structure for table `person_pay_methods`
--

CREATE TABLE `person_pay_methods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `pay_method_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pay_methods_person_id_foreign` (`person_id`),
  KEY `person_pay_methods_pay_method_id_foreign` (`pay_method_id`),
  CONSTRAINT `person_pay_methods_pay_method_id_foreign` FOREIGN KEY (`pay_method_id`) REFERENCES `pay_methods` (`id`),
  CONSTRAINT `person_pay_methods_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pay_methods`
--


--
-- Table structure for table `person_relationeds`
--

CREATE TABLE `person_relationeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `cliente_relationed_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_relationeds_person_id_foreign` (`person_id`),
  KEY `person_relationeds_client_id_foreign` (`client_id`),
  KEY `person_relationeds_cliente_relationed_id_foreign` (`cliente_relationed_id`),
  CONSTRAINT `person_relationeds_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_cliente_relationed_id_foreign` FOREIGN KEY (`cliente_relationed_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_relationeds`
--


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

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

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

INSERT INTO `person_types` VALUES (1,NULL,'Persona Humana',NULL,NULL,NULL),(2,NULL,'Persona Juridica',NULL,NULL,NULL);

--
-- Table structure for table `person_zone_actividad`
--

CREATE TABLE `person_zone_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `actividad_id` int(10) unsigned NOT NULL,
  `calculo_iibb` int(11) NOT NULL,
  `coef` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `alicuota` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `cm_articulo_regimen_id` int(10) unsigned NOT NULL DEFAULT '1',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zone_actividad_person_id_foreign` (`person_id`),
  KEY `person_zone_actividad_zone_id_foreign` (`zone_id`),
  KEY `person_zone_actividad_actividad_id_foreign` (`actividad_id`),
  KEY `person_zone_actividad_cm_articulo_regimen_id_foreign` (`cm_articulo_regimen_id`),
  CONSTRAINT `person_zone_actividad_actividad_id_foreign` FOREIGN KEY (`actividad_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_zone_actividad_cm_articulo_regimen_id_foreign` FOREIGN KEY (`cm_articulo_regimen_id`) REFERENCES `cm_articulos_regimenes` (`id`),
  CONSTRAINT `person_zone_actividad_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zone_actividad_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zone_actividad`
--

INSERT INTO `person_zone_actividad` VALUES (688,7941,40734,23,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(689,7941,40734,23,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(690,7941,40734,23,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(691,7941,40734,23,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(692,7941,40734,23,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(693,7941,40734,23,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(694,7941,40734,22,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(695,7941,40734,22,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(696,7941,40734,22,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(697,7941,40734,22,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(698,7941,40734,22,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(699,7941,40734,22,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(700,7941,40734,1,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(701,7941,40734,1,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(702,7941,40734,1,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(703,7941,40734,1,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(704,7941,40734,1,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(705,7941,40734,1,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(706,7941,40734,7,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(707,7941,40734,7,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(708,7941,40734,7,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(709,7941,40734,7,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(710,7941,40734,7,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(711,7941,40734,7,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(712,7941,40734,15,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(713,7941,40734,15,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(714,7941,40734,15,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(715,7941,40734,15,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(716,7941,40734,15,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(717,7941,40734,15,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(718,7941,40734,16,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(719,7941,40734,16,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(720,7941,40734,16,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(721,7941,40734,16,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(722,7941,40734,16,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(723,7941,40734,16,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(724,7941,40734,18,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(725,7941,40734,18,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(726,7941,40734,18,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(727,7941,40734,18,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(728,7941,40734,18,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(729,7941,40734,18,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL);
INSERT INTO `person_zone_actividad` VALUES (730,7941,40734,21,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(731,7941,40734,21,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(732,7941,40734,21,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(733,7941,40734,21,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(734,7941,40734,21,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(735,7941,40734,21,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(736,7941,40734,3,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(737,7941,40734,3,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(738,7941,40734,3,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(739,7941,40734,3,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(740,7941,40734,3,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(741,7941,40734,3,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(742,7941,40734,4,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(743,7941,40734,4,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(744,7941,40734,4,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(745,7941,40734,4,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(746,7941,40734,4,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(747,7941,40734,4,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(748,7941,40734,12,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(749,7941,40734,12,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(750,7941,40734,12,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(751,7941,40734,12,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(752,7941,40734,12,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(753,7941,40734,12,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(754,7941,40734,8,321,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(755,7941,40734,8,325,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(756,7941,40734,8,381,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(757,7941,40734,8,543,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(758,7941,40734,8,789,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(759,7941,40734,8,410,1,0.00000,0.00000,1,1,'2023-03-02 13:41:03','2023-03-02 13:41:03',NULL),(760,7941,40735,23,410,1,0.00000,0.00000,1,1,'2023-04-08 11:08:56','2023-04-08 11:08:56',NULL),(763,7941,40736,22,400,1,0.00000,0.00000,1,1,'2023-04-08 11:27:32','2023-04-08 11:27:32',NULL),(764,7941,40736,23,400,1,0.00000,0.00000,1,1,'2023-04-08 11:27:32','2023-04-08 11:27:32',NULL),(884,7941,40770,22,401,1,0.00000,0.00000,1,1,'2023-05-09 15:50:49','2023-05-09 15:50:49',NULL),(885,7941,40770,23,401,1,0.00000,0.00000,1,1,'2023-05-09 15:50:49','2023-05-09 15:50:49',NULL),(886,7941,40770,17,401,1,0.00000,0.00000,1,1,'2023-05-09 15:50:49','2023-05-09 15:50:49',NULL),(887,7941,40771,23,614,1,0.00000,0.00000,1,1,'2023-08-14 14:08:45','2023-08-14 14:08:45',NULL),(889,7941,40773,22,497,1,0.00000,0.00000,1,1,'2023-09-27 16:47:49','2023-09-27 16:47:49',NULL),(970,7941,40869,23,609,1,0.00000,0.00000,10,1,'2023-10-30 10:28:00','2023-10-30 10:28:00',NULL),(971,7941,40869,23,626,1,0.00000,0.00000,10,1,'2023-10-30 10:28:00','2023-10-30 10:28:00',NULL),(972,7941,40870,23,400,1,0.00000,0.00000,1,1,'2024-01-18 09:38:33','2024-01-18 09:38:33',NULL),(973,7941,40871,23,609,1,0.00000,0.00000,1,1,'2024-01-18 09:42:07','2024-01-18 09:42:07',NULL);
INSERT INTO `person_zone_actividad` VALUES (974,7941,40872,22,584,1,0.00000,0.00000,1,1,'2024-05-06 11:27:09','2024-05-06 11:27:09',NULL),(975,7941,40873,22,497,1,0.00000,0.00000,1,1,'2024-06-24 09:56:31','2024-06-24 09:56:31',NULL),(976,7941,40874,22,834,1,0.00000,0.00000,1,1,'2024-06-24 14:14:59','2024-06-24 14:14:59',NULL),(978,7941,40876,23,804,1,0.00000,0.00000,1,1,'2024-07-03 12:30:00','2024-07-03 12:30:00',NULL),(979,7941,40875,22,800,1,0.00000,0.00000,1,1,'2024-07-29 11:13:37','2024-07-29 11:13:37',NULL),(981,7941,40877,23,324,1,0.00000,0.00000,1,1,'2024-08-13 11:19:30','2024-08-13 11:19:30',NULL),(982,7941,40878,22,400,1,0.00000,0.00000,1,1,'2024-08-28 16:46:41','2024-08-28 16:46:41',NULL),(983,7941,40772,23,609,1,0.00000,0.00000,1,1,'2024-09-03 09:46:53','2024-09-03 09:46:53',NULL),(984,7941,40879,22,834,1,0.00000,0.00000,1,1,'2024-09-03 09:49:57','2024-09-03 09:49:57',NULL),(989,7941,40881,22,400,1,0.00000,0.00000,1,1,'2024-10-28 10:30:52','2024-10-28 10:30:52',NULL),(990,7941,40881,22,789,1,0.00000,0.00000,1,1,'2024-10-28 10:30:52','2024-10-28 10:30:52',NULL),(991,7941,40882,22,789,1,0.00000,0.00000,1,1,'2024-11-06 16:36:40','2024-11-06 16:36:40',NULL),(993,7941,40883,23,711,1,0.00000,0.00000,1,1,'2024-11-26 07:54:54','2024-11-26 07:54:54',NULL),(1135,7941,40911,22,834,1,0.00000,0.00000,1,1,'2024-12-05 12:57:51','2024-12-05 12:57:51',NULL),(1136,7941,40911,23,834,1,0.00000,0.00000,1,1,'2024-12-05 12:57:51','2024-12-05 12:57:51',NULL),(1137,7941,40912,22,374,1,0.00000,0.00000,1,1,'2025-01-22 13:45:29','2025-01-22 13:45:29',NULL),(1138,7941,40913,22,834,1,0.00000,0.00000,1,1,'2025-02-24 11:22:14','2025-02-24 11:22:14',NULL),(1139,7941,40914,22,400,1,0.00000,0.00000,1,1,'2025-02-28 16:12:14','2025-02-28 16:12:14',NULL),(1140,7941,40914,22,789,1,0.00000,0.00000,1,1,'2025-02-28 16:12:14','2025-02-28 16:12:14',NULL),(1161,7941,40915,23,796,1,0.00000,0.00000,1,1,'2025-03-31 15:29:28','2025-03-31 15:29:28',NULL),(1162,7941,40915,22,796,1,0.00000,0.00000,1,1,'2025-03-31 15:29:28','2025-03-31 15:29:28',NULL),(1163,7941,40719,22,2,1,0.00000,0.00000,1,1,'2025-04-01 14:39:37','2025-04-01 14:39:37',NULL),(1164,11429,40880,23,233,1,0.00000,0.00000,1,1,'2025-07-07 14:30:45','2025-07-07 14:30:45',NULL),(1165,11429,40880,22,233,1,0.00000,0.00000,1,1,'2025-07-07 14:30:45','2025-07-07 14:30:45',NULL),(1166,11429,40941,22,843,1,0.00000,0.00000,1,1,'2025-08-19 17:22:26','2025-08-19 17:22:26',NULL),(1167,11429,40945,22,628,1,0.00000,0.00000,1,1,'2025-09-02 09:07:54','2025-09-02 09:07:54',NULL),(1168,11429,40945,23,628,1,0.00000,0.00000,1,1,'2025-09-02 09:07:54','2025-09-02 09:07:54',NULL),(1169,11429,40946,23,510,1,0.00000,0.00000,1,1,'2025-10-02 13:11:57','2025-10-02 13:11:57',NULL),(1170,11429,40944,22,175,1,0.00000,0.00000,1,1,'2025-10-08 18:21:19','2025-10-08 18:21:19',NULL),(1171,11429,40944,23,175,1,0.00000,0.00000,1,1,'2025-10-08 18:21:19','2025-10-08 18:21:19',NULL),(1172,11429,40944,23,175,1,0.00000,0.00000,1,1,'2025-10-08 18:21:19','2025-10-08 18:21:19',NULL),(1173,11429,40930,22,483,1,0.00000,0.00000,1,1,'2025-10-30 11:32:59','2025-10-30 11:32:59',NULL);

--
-- Table structure for table `person_zones`
--

CREATE TABLE `person_zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `sifere_coef` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `iibb_aliquot` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `zone_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `iibb_perception_id` int(10) unsigned DEFAULT NULL,
  `retention_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zones_zone_id_foreign` (`zone_id`),
  KEY `person_zones_person_id_foreign` (`person_id`),
  CONSTRAINT `person_zones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zones_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=728 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zones`
--

INSERT INTO `person_zones` VALUES (327,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(328,7941,0.0000,0.0000,22,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(329,7941,0.0000,0.0000,1,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(330,7941,0.0000,0.0000,7,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(331,7941,0.0000,0.0000,15,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(332,7941,0.0000,0.0000,16,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(333,7941,0.0000,0.0000,18,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(334,7941,0.0000,0.0000,21,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(335,7941,0.0000,0.0000,3,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(336,7941,0.0000,0.0000,4,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(337,7941,0.0000,0.0000,12,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(338,7941,0.0000,0.0000,8,0,NULL,NULL,NULL,'2023-03-02 13:41:03','2023-03-02 13:41:03',40734,NULL),(339,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2023-04-08 11:08:56','2023-04-08 11:08:56',40735,NULL),(342,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2023-04-08 11:27:32','2023-04-08 11:27:32',40736,NULL),(343,7941,0.0000,0.0000,23,0,NULL,NULL,NULL,'2023-04-08 11:27:32','2023-04-08 11:27:32',40736,NULL),(441,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2023-05-09 15:50:49','2023-05-09 15:50:49',40770,NULL),(442,7941,0.0000,0.0000,23,0,NULL,NULL,NULL,'2023-05-09 15:50:49','2023-05-09 15:50:49',40770,NULL),(443,7941,0.0000,0.0000,17,0,NULL,NULL,NULL,'2023-05-09 15:50:49','2023-05-09 15:50:49',40770,NULL),(444,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2023-08-14 14:08:45','2023-08-14 14:08:45',40771,NULL),(446,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2023-09-27 16:47:49','2023-09-27 16:47:49',40773,NULL),(527,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2023-10-30 10:28:00','2023-10-30 10:28:00',40869,NULL),(528,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-01-18 09:38:33','2024-01-18 09:38:33',40870,NULL),(529,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-01-18 09:42:07','2024-01-18 09:42:07',40871,NULL),(530,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-05-06 11:27:09','2024-05-06 11:27:09',40872,NULL),(531,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-06-24 09:56:31','2024-06-24 09:56:31',40873,NULL),(532,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-06-24 14:14:59','2024-06-24 14:14:59',40874,NULL),(534,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-07-03 12:30:00','2024-07-03 12:30:00',40876,NULL),(535,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-07-29 11:13:37','2024-07-29 11:13:37',40875,NULL),(537,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-08-13 11:19:30','2024-08-13 11:19:30',40877,NULL),(538,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-08-28 16:46:41','2024-08-28 16:46:41',40878,NULL),(539,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-09-03 09:46:53','2024-09-03 09:46:53',40772,NULL),(540,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-09-03 09:49:57','2024-09-03 09:49:57',40879,NULL),(545,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-10-28 10:30:52','2024-10-28 10:30:52',40881,NULL),(546,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-11-06 16:36:40','2024-11-06 16:36:40',40882,NULL),(548,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2024-11-26 07:54:54','2024-11-26 07:54:54',40883,NULL),(690,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2024-12-05 12:57:51','2024-12-05 12:57:51',40911,NULL),(691,7941,0.0000,0.0000,23,0,NULL,NULL,NULL,'2024-12-05 12:57:51','2024-12-05 12:57:51',40911,NULL),(692,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-01-22 13:45:29','2025-01-22 13:45:29',40912,NULL),(693,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-02-24 11:22:14','2025-02-24 11:22:14',40913,NULL),(694,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-02-28 16:12:14','2025-02-28 16:12:14',40914,NULL);
INSERT INTO `person_zones` VALUES (715,7941,0.0000,0.0000,23,1,NULL,NULL,NULL,'2025-03-31 15:29:28','2025-03-31 15:29:28',40915,NULL),(716,7941,0.0000,0.0000,22,0,NULL,NULL,NULL,'2025-03-31 15:29:28','2025-03-31 15:29:28',40915,NULL),(718,7941,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-04-01 14:39:37','2025-04-01 14:39:37',40719,NULL),(719,11429,0.0000,0.0000,23,1,NULL,NULL,NULL,'2025-07-07 14:30:45','2025-07-07 14:30:45',40880,NULL),(720,11429,0.0000,0.0000,22,0,NULL,NULL,NULL,'2025-07-07 14:30:45','2025-07-07 14:30:45',40880,NULL),(721,11429,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-08-19 17:22:26','2025-08-19 17:22:26',40941,NULL),(722,11429,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-09-02 09:07:54','2025-09-02 09:07:54',40945,NULL),(723,11429,0.0000,0.0000,23,0,NULL,NULL,NULL,'2025-09-02 09:07:54','2025-09-02 09:07:54',40945,NULL),(724,11429,0.0000,0.0000,23,1,NULL,NULL,NULL,'2025-10-02 13:11:57','2025-10-02 13:11:57',40946,NULL),(725,11429,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-10-08 18:21:19','2025-10-08 18:21:19',40944,NULL),(726,11429,0.0000,0.0000,23,0,NULL,NULL,NULL,'2025-10-08 18:21:19','2025-10-08 18:21:19',40944,NULL),(727,11429,0.0000,0.0000,22,1,NULL,NULL,NULL,'2025-10-30 11:32:59','2025-10-30 11:32:59',40930,NULL);

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

CREATE TABLE `persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `field_name1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fantasy_name` text COLLATE utf8mb4_unicode_ci,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `field_name2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cond_frente_al_iva_id` int(10) unsigned DEFAULT NULL,
  `country_id` int(10) unsigned DEFAULT NULL,
  `state_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitud` decimal(10,7) DEFAULT NULL,
  `longitud` decimal(10,7) DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `person_type_id` int(10) unsigned DEFAULT NULL,
  `fa_iva_condition_id` int(10) unsigned DEFAULT NULL,
  `fa_codigo_postal` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `email` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iva_per_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `iva_ret_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `obligation_iibb` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `document_UNIQUE` (`document`),
  KEY `persons_zone_id_foreign` (`zone_id`),
  KEY `persons_person_type_id_foreign` (`person_type_id`),
  KEY `persons_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `persons_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `persons_cond_frente_al_iva_id_foreign` (`cond_frente_al_iva_id`),
  KEY `persons_localidad_id_foreign` (`localidad_id`),
  KEY `persons_iva_ret_regimen_id_foreign` (`iva_ret_regimen_id`),
  KEY `persons_iva_per_regimen_id_foreign` (`iva_per_regimen_id`),
  CONSTRAINT `persons_cond_frente_al_iva_id_foreign` FOREIGN KEY (`cond_frente_al_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `persons_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `persons_iva_per_regimen_id_foreign` FOREIGN KEY (`iva_per_regimen_id`) REFERENCES `iva_per_regimenes` (`id`),
  CONSTRAINT `persons_iva_ret_regimen_id_foreign` FOREIGN KEY (`iva_ret_regimen_id`) REFERENCES `iva_ret_regimenes` (`id`),
  CONSTRAINT `persons_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `persons_person_type_id_foreign` FOREIGN KEY (`person_type_id`) REFERENCES `person_types` (`id`),
  CONSTRAINT `persons_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `persons_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40962 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `persons` VALUES (3,NULL,'Larzabal Hernan',NULL,'3',NULL,'cuit','20-28468190-9',NULL,NULL,22,22,NULL,NULL,'2018-05-12 20:55:07','2018-05-14 01:54:15',1,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40717,NULL,'Taxes Software',NULL,'40717',NULL,'cuit','30-71625124-8',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40718,NULL,'Consumidor Final',NULL,'40718',NULL,'cuit','20-11111111-2',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40719,NULL,'Martire Marcelo',NULL,'40719',NULL,'cuit','20-30086821-6',6,NULL,NULL,NULL,NULL,NULL,'2022-10-11 20:20:17','2025-07-04 14:58:32',NULL,'Eduardo de Irigoyen 308 piso 5',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40734,NULL,'FACOEL ARGENTINA S.R.L.',NULL,'40734',NULL,'cuit','30-71234321-0',1,NULL,NULL,NULL,NULL,NULL,'2022-10-27 13:50:34','2025-07-04 14:58:32',NULL,'SAN ANTONIO 810 TURDERA (1833)',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40735,NULL,'BRICAD REDES S.A.',NULL,'40735',NULL,'cuit','30-71420573-7',1,NULL,NULL,NULL,NULL,NULL,'2023-04-08 11:08:55','2025-07-04 14:58:32',NULL,'Andrade 1357 Castelar',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40736,NULL,'SLSG S.A.',NULL,'40736',NULL,'cuit','30-71694581-9',1,NULL,NULL,NULL,NULL,NULL,'2023-04-08 11:27:00','2025-07-04 14:58:32',NULL,'HERNANDEZ JOSE 2318 Piso:1 Dpto:A CABA',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40770,NULL,'ASECON SRL',NULL,'40770',NULL,'cuit','30-71569680-7',1,NULL,NULL,NULL,NULL,NULL,'2023-04-24 13:45:06','2025-07-04 14:58:32',NULL,'Avenida Mariano Castex 3489 Piso: 4 Dpto:406',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40771,NULL,'MUSTAN SRL',NULL,'40771',NULL,'cuit','30-69909931-3',1,NULL,NULL,NULL,NULL,NULL,'2023-08-14 14:08:44','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40772,NULL,'VIVA JIMENA SOLEDAD',NULL,'40772',NULL,'cuit','27-30800991-8',1,NULL,NULL,NULL,NULL,NULL,'2023-08-29 11:14:01','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40773,NULL,'HARARI ARIEL ADRIAN',NULL,'40773',NULL,'cuit','20-38991540-9',1,NULL,NULL,NULL,NULL,NULL,'2023-09-27 16:47:49','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40869,NULL,'MACAR CLEAN SRL',NULL,'40869',NULL,'cuit','20-28494787-9',1,NULL,NULL,NULL,NULL,NULL,'2023-10-30 10:28:00','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40870,NULL,'FIDEICOMISO INMOBILIARIO EDIFICIO MIL ENNIA NORDELTA I',NULL,'40870',NULL,'cuit','30-71765199-1',6,NULL,NULL,NULL,NULL,NULL,'2024-01-18 09:38:33','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40871,NULL,'MODA JVLS S. R. L.',NULL,'40871',NULL,'cuit','30-71825993-9',1,NULL,NULL,NULL,NULL,NULL,'2024-01-18 09:42:07','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40872,7941,'ALADI SRL',NULL,NULL,NULL,'cuit','33-71802902-9',1,NULL,NULL,NULL,NULL,NULL,'2024-05-06 11:27:09','2025-07-28 18:17:43',NULL,'Nuñez 2422',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40873,NULL,'NINA C&A SA',NULL,NULL,NULL,'cuit','30-71841075-0',1,NULL,NULL,NULL,NULL,NULL,'2024-06-24 09:56:30','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40874,7941,'FADEFIL SA',NULL,NULL,NULL,'cuit','30-71295020-6',1,NULL,NULL,NULL,NULL,NULL,'2024-06-24 14:14:58','2025-08-28 15:16:50',NULL,'Camarones 1975',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40875,NULL,'POWERSYNC',NULL,NULL,NULL,'cuit','30-71839829-7',1,NULL,NULL,NULL,NULL,NULL,'2024-07-01 15:31:25','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40876,NULL,'DAIESA SA',NULL,NULL,NULL,'cuit','30-71619691-3',1,NULL,NULL,NULL,NULL,NULL,'2024-07-03 12:30:00','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40877,NULL,'INDUSTRIAS DERLUZ SRL',NULL,NULL,NULL,'cuit','30-71205790-0',1,NULL,NULL,NULL,NULL,NULL,'2024-08-07 14:43:25','2025-07-04 14:58:32',NULL,'Manuel Castro 4962',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40878,NULL,'OCHO SEIS TRES SRL',NULL,NULL,NULL,'cuit','33-71717848-9',1,NULL,NULL,NULL,NULL,NULL,'2024-08-28 16:46:41','2025-07-04 14:58:32',NULL,'Estomba 863',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40879,NULL,'GUPAZ SA',NULL,NULL,NULL,'cuit','30-69455014-9',1,NULL,NULL,NULL,NULL,NULL,'2024-09-03 09:49:56','2025-07-04 14:58:32',NULL,'Camarones 1981',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40880,11429,'YARM S.A.S',NULL,NULL,NULL,'cuit','30-71644632-4',1,NULL,NULL,NULL,NULL,NULL,'2024-10-09 11:09:41','2025-07-07 14:30:45',NULL,'Artigas Manuel De 6127 Piso: PB. 2',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40881,NULL,'ESTOMBA 537',NULL,NULL,NULL,'cuit','30-71694084-1',1,NULL,NULL,NULL,NULL,NULL,'2024-10-28 10:30:52','2025-07-04 14:58:32',NULL,'Estomba 537',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40882,NULL,'ESEZETAU',NULL,NULL,NULL,'cuit','30-71682758-1',1,NULL,NULL,NULL,NULL,NULL,'2024-11-06 16:36:39','2025-07-04 14:58:32',NULL,'CAMARONES 1975',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40883,NULL,'Safatle Lucas',NULL,NULL,NULL,'cuit','20-29462875-5',1,NULL,NULL,NULL,NULL,NULL,'2024-11-19 11:03:24','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40911,NULL,'Aquaimport SRL',NULL,NULL,NULL,'cuit','30-71805428-8',1,NULL,NULL,NULL,NULL,NULL,'2024-12-05 12:57:50','2025-07-04 14:58:32',NULL,'CALDAS 1445',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40912,NULL,'C G PLANOGRAF SRL',NULL,NULL,NULL,'cuit','30-69668506-8',1,NULL,NULL,NULL,NULL,NULL,'2025-01-22 13:45:29','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40913,NULL,'AGUAS CRISTALINAS SRL',NULL,NULL,NULL,'cuit','30-71152647-8',1,NULL,NULL,NULL,NULL,NULL,'2025-02-24 11:22:14','2025-07-04 14:58:32',NULL,'Camarones 1981',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40914,NULL,'QUINIENTOS VEINTISIETE SRL',NULL,NULL,NULL,'cuit','30-71710116-9',1,NULL,NULL,NULL,NULL,NULL,'2025-02-28 16:12:14','2025-07-04 14:58:32',NULL,'Estomba 527',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40915,NULL,'Maria Lourdes Jauregui',NULL,NULL,NULL,'cuit','27-33339314-5',6,NULL,NULL,NULL,NULL,NULL,'2025-03-31 15:21:35','2025-07-04 14:58:32',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40918,7941,'Martire Marcelo',NULL,NULL,NULL,'dni','30086821',NULL,NULL,NULL,23,NULL,NULL,'2025-03-31 16:23:06','2025-03-31 16:23:06',NULL,'Eduardo de Irigoyen 308 piso 5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40927,7941,'FERNANDEZ JULIETA',NULL,NULL,NULL,'cuit','27-24946500-9',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 09:32:05','2025-04-28 09:32:05',NULL,'Cranwell Pje. 735',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40928,7941,'TERRIZZI PABLO',NULL,NULL,NULL,'cuit','20-25086123-1',NULL,NULL,NULL,23,NULL,NULL,'2025-04-28 09:32:05','2025-04-28 09:32:05',NULL,'Hipolito Yrigoyen 11171',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40929,7941,'MUSITANI GUILLERMO',NULL,NULL,NULL,'cuit','20-24628717-2',NULL,NULL,NULL,23,NULL,NULL,'2025-04-28 09:32:05','2025-04-28 09:32:05',NULL,'Loria 642',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40930,11429,'CABSOMA SRL',NULL,NULL,NULL,'cuit','30-71870120-8',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 09:32:05','2025-10-30 11:32:59',NULL,'Av. Dorrego 1835 Piso 6 Depto 2- Barrio Palermo',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40937,7941,'SONNTAG EZEQUIEL',NULL,NULL,NULL,'cuit','20-29344617-3',NULL,NULL,NULL,23,NULL,NULL,'2025-04-28 10:35:40','2025-04-28 10:35:40',NULL,'Balcarce 600',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40938,7941,'SLAMA FLAVIO',NULL,NULL,NULL,'cuit','20-35348280-8',NULL,NULL,NULL,23,NULL,NULL,'2025-04-28 10:35:40','2025-04-28 10:35:40',NULL,'Pje. Solari 64',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40939,7941,'GALLI JORGE ',NULL,NULL,NULL,'cuit','24-20867075-8',NULL,NULL,NULL,23,NULL,NULL,'2025-04-28 12:05:32','2025-04-28 12:05:32',NULL,'TERRANOVA 275',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40940,7941,'SISELES GASTON',NULL,NULL,NULL,'cuit','20-25790559-5',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 12:05:32','2025-04-28 12:05:32',NULL,'Corrientes Av. 1302 Piso:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40941,7941,'BOLTER GROUP S.A.',NULL,NULL,NULL,'cuit','30-71852460-8',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 15:32:54','2025-08-28 15:16:50',NULL,'Saenz Peña R. Pte. Av.1119 Piso:9 Dpto:915 ',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40942,7941,'CRIVELLIN MAURO',NULL,NULL,NULL,'cuit','20-94406328-6',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 15:32:54','2025-04-28 15:32:54',NULL,'11 De Septiembre De 1888  2465',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40943,7941,'FASTEN S.A.',NULL,NULL,NULL,'cuit','30-62980229-7',NULL,NULL,NULL,22,NULL,NULL,'2025-04-28 15:32:54','2025-04-28 15:32:54',NULL,'Santa Magdalena 623',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40944,11429,'GRUPO VERNIER S.R.L.',NULL,NULL,NULL,'cuit','30-71868095-2',NULL,NULL,NULL,22,NULL,NULL,'2025-04-29 11:17:44','2025-10-08 18:21:18',NULL,'MALABIA 2360,CABA,PISO 11,OFICINA MANZANA.',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40945,11429,'WAF WAF SA',NULL,NULL,NULL,'cuit','33-71873159-9',NULL,NULL,NULL,22,NULL,NULL,'2025-04-29 11:17:44','2025-09-02 09:07:54',NULL,'UGARTECHE 3221 PISO 20- CABA',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40946,7941,'PRODIMED SRL',NULL,NULL,NULL,'cuit','30-71865637-7',NULL,NULL,NULL,22,NULL,NULL,'2025-04-29 11:17:44','2025-10-23 15:18:12',NULL,'Lavalleja 876 Piso:2 Dto: B',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40947,7941,'IMPULSO TECH SRL',NULL,NULL,NULL,'cuit','30-71890584-9',NULL,NULL,NULL,22,NULL,NULL,'2025-05-29 13:22:43','2025-05-29 13:22:43',NULL,'Nuñez 2422 Dpto: 1205',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40948,7941,'LIVIT SRL',NULL,NULL,NULL,'cuit','30-71830827-1',NULL,NULL,NULL,22,NULL,NULL,'2025-05-29 13:22:43','2025-05-29 13:22:43',NULL,'Republica Arabe Siria  3065 Piso:305',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40955,7941,'MC MARIA CARUSO S.R.L.',NULL,NULL,NULL,'cuit','30-58639252-9',NULL,NULL,NULL,22,NULL,NULL,'2025-05-30 14:48:17','2025-05-30 14:48:17',NULL,'Marcelo T. de Alvear 1261 piso:3 dto: 40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40956,7941,'F&C CONSULTORES Y ASOC.',NULL,NULL,NULL,'cuit','30-71514002-7',NULL,NULL,NULL,22,NULL,NULL,'2025-05-30 14:48:17','2025-05-30 14:48:17',NULL,'Marcelo T. de Alvear 1261 piso:3 dto: 40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40957,7941,'POCORFAM SRL',NULL,NULL,NULL,'cuit','30-71747608-1',NULL,NULL,NULL,22,NULL,NULL,'2025-06-27 13:31:55','2025-06-27 13:31:55',NULL,'Agüero 238 Piso:5 Dpto:B ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40958,7941,'INVERSIONES AGUAS S.R.L',NULL,NULL,NULL,'cuit','30-71896239-7',NULL,NULL,NULL,22,NULL,NULL,'2025-07-29 11:05:48','2025-07-29 11:05:48',NULL,'Camarones 1981',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40959,7941,'GELMINI FERNANDO CRISTIAN ',NULL,NULL,NULL,'cuit','23-27859865-9',NULL,NULL,NULL,23,NULL,NULL,'2025-08-28 13:21:26','2025-08-28 13:21:26',NULL,'Tagle 3361 ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40960,7941,'LOTO DELTA S.R.L.',NULL,NULL,NULL,'cuit','30-71897427-1',NULL,NULL,NULL,22,NULL,NULL,'2025-09-26 16:03:48','2025-09-26 16:03:48',NULL,'Mansilla General 2543 Piso:5 Dpto: B',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40961,7941,'608 DISTRIBUIDORA S.A.',NULL,NULL,NULL,'cuit','30-71900011-4',NULL,NULL,NULL,23,NULL,NULL,'2025-09-26 16:03:48','2025-09-26 16:03:48',NULL,'Valentin Gomez 151 Dpto: 18',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `persons_custom_form`
--

CREATE TABLE `persons_custom_form` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `p_c_servicio_id` bigint(20) unsigned NOT NULL,
  `configuracion` json NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_custom_form_person_id_foreign` (`person_id`),
  KEY `persons_custom_form_p_c_servicio_id_foreign` (`p_c_servicio_id`),
  CONSTRAINT `persons_custom_form_p_c_servicio_id_foreign` FOREIGN KEY (`p_c_servicio_id`) REFERENCES `persons_custom_servicios` (`id`),
  CONSTRAINT `persons_custom_form_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_form`
--


--
-- Table structure for table `persons_custom_servicios`
--

CREATE TABLE `persons_custom_servicios` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_servicios`
--

INSERT INTO `persons_custom_servicios` VALUES (1,NULL,'Ordenes de Trabajo',0,NULL,NULL,NULL),(2,NULL,'Formularios Ordenes',0,'2025-07-06 23:41:46','2025-07-06 23:41:46',NULL),(3,NULL,'Formulario Receipts',0,'2025-07-09 15:18:45','2025-07-09 15:18:45',NULL);

--
-- Table structure for table `persons_datos`
--

CREATE TABLE `persons_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dato_1` longtext COLLATE utf8mb4_unicode_ci,
  `dato_2` longtext COLLATE utf8mb4_unicode_ci,
  `dato_3` longtext COLLATE utf8mb4_unicode_ci,
  `dato_4` longtext COLLATE utf8mb4_unicode_ci,
  `dato_5` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_datos_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_datos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_datos`
--


--
-- Table structure for table `persons_files`
--

CREATE TABLE `persons_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_files_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_files`
--


--
-- Table structure for table `persons_sicore`
--

CREATE TABLE `persons_sicore` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_sicore_person_id_foreign` (`person_id`),
  KEY `persons_sicore_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  CONSTRAINT `persons_sicore_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `persons_sicore_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_sicore`
--


--
-- Table structure for table `plazo_de_pago`
--

CREATE TABLE `plazo_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plazo_de_pago`
--

INSERT INTO `plazo_de_pago` VALUES (1,NULL,'0 dias FF',1,NULL,NULL,NULL),(2,NULL,'7 dias FF',1,NULL,NULL,NULL),(3,NULL,'15 dias FF',1,NULL,NULL,NULL),(4,NULL,'30 dias FF',1,NULL,NULL,NULL),(5,NULL,'45 dias FF',1,NULL,NULL,NULL),(6,NULL,'60 dias FF',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_comunicaciones`
--

CREATE TABLE `ppc_comunicaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicaciones_type_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `is_propio` tinyint(1) NOT NULL DEFAULT '0',
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` (`ppc_comunicaciones_type_id`),
  KEY `ppc_comunicaciones_person_id_foreign` (`person_id`),
  KEY `ppc_comunicaciones_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_comunicaciones_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_comunicaciones_ppc_user_id_foreign` (`ppc_user_id`),
  CONSTRAINT `ppc_comunicaciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` FOREIGN KEY (`ppc_comunicaciones_type_id`) REFERENCES `ppc_comunicaciones_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones`
--


--
-- Table structure for table `ppc_comunicaciones_files`
--

CREATE TABLE `ppc_comunicaciones_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicacion_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` (`ppc_comunicacion_id`),
  CONSTRAINT `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` FOREIGN KEY (`ppc_comunicacion_id`) REFERENCES `ppc_comunicaciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones_files`
--


--
-- Table structure for table `ppc_comunicaciones_types`
--

CREATE TABLE `ppc_comunicaciones_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones_types`
--

INSERT INTO `ppc_comunicaciones_types` VALUES (1,NULL,'Legajos',1,NULL,NULL,NULL),(2,NULL,'Notificaciones',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts`
--

CREATE TABLE `ppc_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `was_leida` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `file` text COLLATE utf8mb4_unicode_ci,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `sucursal` int(11) DEFAULT NULL,
  `numero` int(11) DEFAULT NULL,
  `fecha_emision` date NOT NULL,
  `fecha_vto` date DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuestos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `forma_de_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `documento_asoc` text COLLATE utf8mb4_unicode_ci,
  `ppc_receipt_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `comentario_recepcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_receipts_type_id_foreign` (`type_id`),
  KEY `ppc_receipts_person_id_foreign` (`person_id`),
  KEY `ppc_receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_receipts_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_receipts_ppc_user_id_foreign` (`ppc_user_id`),
  KEY `ppc_receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `ppc_receipts_moneda_id_foreign` (`moneda_id`),
  KEY `ppc_receipts_forma_de_entrega_id_foreign` (`forma_de_entrega_id`),
  KEY `ppc_receipts_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `ppc_receipts_ppc_receipt_estado_id_foreign` (`ppc_receipt_estado_id`),
  CONSTRAINT `ppc_receipts_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `ppc_receipts_forma_de_entrega_id_foreign` FOREIGN KEY (`forma_de_entrega_id`) REFERENCES `forma_de_entrega` (`id`),
  CONSTRAINT `ppc_receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `ppc_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_ppc_receipt_estado_id_foreign` FOREIGN KEY (`ppc_receipt_estado_id`) REFERENCES `ppc_receipts_estados` (`id`),
  CONSTRAINT `ppc_receipts_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_receipts_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`),
  CONSTRAINT `ppc_receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `ppc_receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts`
--


--
-- Table structure for table `ppc_receipts_estados`
--

CREATE TABLE `ppc_receipts_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_estados`
--

INSERT INTO `ppc_receipts_estados` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Rechazado',1,NULL,NULL,NULL),(3,NULL,'Aprobado',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts_files`
--

CREATE TABLE `ppc_receipts_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_receipts_files_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  CONSTRAINT `ppc_receipts_files_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_files`
--


--
-- Table structure for table `ppc_types`
--

CREATE TABLE `ppc_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_types`
--

INSERT INTO `ppc_types` VALUES (1,NULL,'Proveedor',1,NULL,NULL,NULL),(2,NULL,'Cliente',1,NULL,NULL,NULL),(3,NULL,'Ambos',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_users`
--

CREATE TABLE `ppc_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `person_id_ppc_user` int(10) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `login_user` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '1',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_users_person_id_foreign` (`person_id`),
  KEY `ppc_users_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_users_person_id_ppc_user_foreign` (`person_id_ppc_user`),
  KEY `ppc_users_ppc_type_id_foreign` (`ppc_type_id`),
  CONSTRAINT `ppc_users_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_ppc_user_foreign` FOREIGN KEY (`person_id_ppc_user`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_users`
--


--
-- Table structure for table `pre_facturas`
--

CREATE TABLE `pre_facturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `fecha_facturado` date DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_person_id_foreign` (`person_id`),
  KEY `pre_facturas_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `pre_facturas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `pre_facturas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `pre_facturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `pre_facturas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas`
--


--
-- Table structure for table `pre_facturas_files`
--

CREATE TABLE `pre_facturas_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_files_pre_factura_id_foreign` (`pre_factura_id`),
  CONSTRAINT `pre_facturas_files_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_files`
--


--
-- Table structure for table `pre_facturas_ots`
--

CREATE TABLE `pre_facturas_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_id` bigint(20) unsigned NOT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_ots_pre_factura_id_foreign` (`pre_factura_id`),
  KEY `pre_facturas_ots_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `pre_facturas_ots_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `pre_facturas_ots_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_ots`
--


--
-- Table structure for table `presupuesto_config`
--

CREATE TABLE `presupuesto_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `presupuesto_config_person_id_foreign` (`person_id`),
  CONSTRAINT `presupuesto_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuesto_config`
--

INSERT INTO `presupuesto_config` VALUES (3,7941,40719,0,'2025-03-31 13:20:02','2025-03-31 13:20:02',NULL),(4,7941,40870,0,'2025-03-31 13:23:42','2025-03-31 13:23:42',NULL),(5,7941,40915,0,'2025-03-31 15:31:16','2025-03-31 15:31:16',NULL),(6,7941,40871,0,'2025-04-01 15:31:57','2025-04-01 15:31:57',NULL);

--
-- Table structure for table `presupuestos`
--

CREATE TABLE `presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-23',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '7',
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `texto` longtext COLLATE utf8mb4_unicode_ci,
  `iva_si_no` tinyint(1) NOT NULL DEFAULT '0',
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `presupuestos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `presupuestos_person_id_foreign` (`person_id`),
  KEY `presupuestos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `presupuestos_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `presupuestos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `presupuestos_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuestos`
--


--
-- Table structure for table `prod_variant_types`
--

CREATE TABLE `prod_variant_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variant_types_person_id_foreign` (`person_id`),
  CONSTRAINT `prod_variant_types_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_types`
--


--
-- Table structure for table `prod_variant_values`
--

CREATE TABLE `prod_variant_values` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `prod_variant_type_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variant_values_person_id_foreign` (`person_id`),
  KEY `prod_variant_values_prod_variant_type_id_foreign` (`prod_variant_type_id`),
  CONSTRAINT `prod_variant_values_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `prod_variant_values_prod_variant_type_id_foreign` FOREIGN KEY (`prod_variant_type_id`) REFERENCES `prod_variant_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_values`
--


--
-- Table structure for table `prod_variants`
--

CREATE TABLE `prod_variants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variants_person_id_foreign` (`person_id`),
  KEY `prod_variants_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `prod_variants_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `prod_variants_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants`
--


--
-- Table structure for table `prod_variants_detail`
--

CREATE TABLE `prod_variants_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `prod_variant_id` bigint(20) unsigned NOT NULL,
  `prod_variant_value_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variants_detail_prod_variant_id_foreign` (`prod_variant_id`),
  KEY `prod_variants_detail_prod_variant_value_id_foreign` (`prod_variant_value_id`),
  CONSTRAINT `prod_variants_detail_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`),
  CONSTRAINT `prod_variants_detail_prod_variant_value_id_foreign` FOREIGN KEY (`prod_variant_value_id`) REFERENCES `prod_variant_values` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants_detail`
--


--
-- Table structure for table `querys`
--

CREATE TABLE `querys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys`
--

INSERT INTO `querys` VALUES (1,NULL,'Factura Electronica Masiva Productos',1,'2022-10-11 14:20:44','2022-10-11 14:20:44',NULL);

--
-- Table structure for table `querys_details`
--

CREATE TABLE `querys_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `query_id` bigint(20) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `querys_details_query_id_foreign` (`query_id`),
  KEY `querys_details_person_id_foreign` (`person_id`),
  CONSTRAINT `querys_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `querys_details_query_id_foreign` FOREIGN KEY (`query_id`) REFERENCES `querys` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys_details`
--


--
-- Table structure for table `queue_proceso_resultado`
--

CREATE TABLE `queue_proceso_resultado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `queue_proceso_id` int(10) unsigned DEFAULT NULL,
  `resultado` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `queue_proceso_resultado_queue_proceso_id_foreign` (`queue_proceso_id`),
  CONSTRAINT `queue_proceso_resultado_queue_proceso_id_foreign` FOREIGN KEY (`queue_proceso_id`) REFERENCES `queue_procesos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_proceso_resultado`
--


--
-- Table structure for table `queue_procesos`
--

CREATE TABLE `queue_procesos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_procesos`
--

INSERT INTO `queue_procesos` VALUES (1,NULL,'Importar - Excel',NULL,NULL,NULL),(2,NULL,'Importar - Mis Comprobantes',NULL,NULL,NULL),(3,NULL,'Importar - Portal IVA','2022-10-11 14:20:45','2022-10-11 14:20:45',NULL),(4,NULL,'Importar - Archivos PEM F8011','2022-10-11 14:20:52','2022-10-11 14:20:52',NULL);

--
-- Table structure for table `receipt_dc_ordenes`
--

CREATE TABLE `receipt_dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_id_oc` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_dc_ordenes_receipt_id_foreign` (`receipt_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_oc_foreign` (`dc_orden_id_oc`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_oc_foreign` FOREIGN KEY (`dc_orden_id_oc`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_dc_ordenes`
--


--
-- Table structure for table `receipt_taxes`
--

CREATE TABLE `receipt_taxes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxable_iibb` int(11) NOT NULL DEFAULT '0',
  `iva_iibb` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_taxes_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `receipt_taxes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=272 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_taxes`
--

INSERT INTO `receipt_taxes` VALUES (1,7941,1,7,100.00,0.00,2,1,'2025-04-01 14:08:52','2025-04-01 14:08:52',NULL),(2,7941,2,7,100.00,0.00,1,1,'2025-04-01 14:20:11','2025-04-01 14:20:11',NULL),(3,7941,3,7,100.00,0.00,2,1,'2025-04-01 15:19:41','2025-04-01 15:19:41',NULL),(4,7941,4,7,100.00,0.00,2,1,'2025-04-01 15:22:35','2025-04-01 15:22:35',NULL),(5,7941,5,7,100.00,0.00,2,1,'2025-04-01 15:48:33','2025-04-01 15:48:33',NULL),(6,7941,6,7,60000.00,0.00,2,1,'2025-04-28 09:34:22','2025-04-28 09:34:22',NULL),(7,7941,7,7,900000.00,0.00,2,1,'2025-04-28 09:34:23','2025-04-28 09:34:23',NULL),(8,7941,8,7,820000.00,0.00,2,1,'2025-04-28 09:34:25','2025-04-28 09:34:25',NULL),(9,7941,9,7,90000.00,0.00,2,1,'2025-04-28 09:34:26','2025-04-28 09:34:26',NULL),(10,7941,10,7,155000.00,0.00,2,1,'2025-04-28 09:34:27','2025-04-28 09:34:27',NULL),(11,7941,11,7,310000.00,0.00,2,1,'2025-04-28 09:34:28','2025-04-28 09:34:28',NULL),(12,7941,12,7,100.00,0.00,1,1,'2025-04-28 09:53:34','2025-04-28 09:53:34',NULL),(13,7941,13,7,160000.00,0.00,2,1,'2025-04-28 10:39:11','2025-04-28 10:39:11',NULL),(14,7941,14,7,35000.00,0.00,2,1,'2025-04-28 10:39:13','2025-04-28 10:39:13',NULL),(15,7941,15,7,160000.00,0.00,2,1,'2025-04-28 10:41:12','2025-04-28 10:41:12',NULL),(16,7941,16,7,35000.00,0.00,2,1,'2025-04-28 10:41:14','2025-04-28 10:41:14',NULL),(17,7941,17,7,160000.00,0.00,2,1,'2025-04-28 10:42:30','2025-04-28 10:42:30',NULL),(18,7941,18,7,35000.00,0.00,2,1,'2025-04-28 10:42:31','2025-04-28 10:42:31',NULL),(19,7941,19,7,160000.00,0.00,2,1,'2025-04-28 10:44:27','2025-04-28 10:44:27',NULL),(20,7941,20,7,35000.00,0.00,2,1,'2025-04-28 10:44:28','2025-04-28 10:44:28',NULL),(21,7941,21,7,35000.00,0.00,2,1,'2025-04-28 11:02:52','2025-04-28 11:02:52',NULL),(22,7941,22,7,35000.00,0.00,2,1,'2025-04-28 11:04:25','2025-04-28 11:04:25',NULL),(23,7941,23,7,35000.00,0.00,2,1,'2025-04-28 11:06:36','2025-04-28 11:06:36',NULL),(24,7941,24,7,160000.00,0.00,2,1,'2025-04-28 11:08:23','2025-04-28 11:08:23',NULL),(25,7941,25,7,160000.00,0.00,2,1,'2025-04-28 11:09:12','2025-04-28 11:09:12',NULL),(26,7941,26,7,160000.00,0.00,2,1,'2025-04-28 11:10:03','2025-04-28 11:10:03',NULL),(27,7941,27,7,600.00,0.00,2,1,'2025-04-28 11:11:08','2025-04-28 11:11:08',NULL),(28,7941,28,7,165000.00,0.00,2,1,'2025-04-28 12:06:10','2025-04-28 12:06:10',NULL),(29,7941,29,7,460000.00,0.00,2,1,'2025-04-28 12:06:11','2025-04-28 12:06:11',NULL),(30,7941,30,7,190000.00,0.00,2,1,'2025-04-28 12:06:12','2025-04-28 12:06:12',NULL),(31,7941,31,7,260000.00,0.00,2,1,'2025-04-28 15:34:16','2025-04-28 15:34:16',NULL),(32,7941,32,7,175000.00,0.00,2,1,'2025-04-28 15:34:17','2025-04-28 15:34:17',NULL),(33,7941,33,7,175000.00,0.00,2,1,'2025-04-28 15:34:18','2025-04-28 15:34:18',NULL),(34,7941,34,7,100000.00,0.00,2,1,'2025-04-28 15:34:19','2025-04-28 15:34:19',NULL),(35,7941,35,7,200000.00,0.00,2,1,'2025-04-28 15:34:20','2025-04-28 15:34:20',NULL),(36,7941,36,7,510000.00,0.00,2,1,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(37,7941,37,7,120000.00,0.00,2,1,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(38,7941,38,7,550000.00,0.00,2,1,'2025-04-28 15:34:23','2025-04-28 15:34:23',NULL),(39,7941,39,7,150000.00,0.00,2,1,'2025-04-29 11:22:14','2025-04-29 11:22:14',NULL),(40,7941,40,7,250000.00,0.00,2,1,'2025-04-29 11:22:34','2025-04-29 11:22:34',NULL),(41,7941,41,7,155000.00,0.00,2,1,'2025-04-29 11:22:53','2025-04-29 11:22:53',NULL),(42,7941,42,7,770000.00,0.00,2,1,'2025-04-29 11:23:01','2025-04-29 11:23:01',NULL),(43,7941,43,7,620000.00,0.00,2,1,'2025-04-29 11:23:03','2025-04-29 11:23:03',NULL),(44,7941,44,7,70000.00,0.00,2,1,'2025-05-29 13:54:52','2025-05-29 13:54:52',NULL),(45,7941,45,7,900000.00,0.00,2,1,'2025-05-29 14:05:05','2025-05-29 14:05:05',NULL),(46,7941,46,7,820000.00,0.00,2,1,'2025-05-29 14:05:06','2025-05-29 14:05:06',NULL),(47,7941,47,7,90000.00,0.00,2,1,'2025-05-29 14:07:44','2025-05-29 14:07:44',NULL),(48,7941,48,7,170000.00,0.00,2,1,'2025-05-29 14:07:45','2025-05-29 14:07:45',NULL);
INSERT INTO `receipt_taxes` VALUES (49,7941,49,7,310000.00,0.00,2,1,'2025-05-29 14:07:46','2025-05-29 14:07:46',NULL),(50,7941,50,7,160000.00,0.00,2,1,'2025-05-29 14:07:47','2025-05-29 14:07:47',NULL),(51,7941,51,7,35000.00,0.00,2,1,'2025-05-29 14:07:48','2025-05-29 14:07:48',NULL),(52,7941,52,7,190000.00,0.00,2,1,'2025-05-29 14:07:49','2025-05-29 14:07:49',NULL),(53,7941,53,7,460000.00,0.00,2,1,'2025-05-29 14:07:50','2025-05-29 14:07:50',NULL),(54,7941,54,7,190000.00,0.00,2,1,'2025-05-29 14:07:51','2025-05-29 14:07:51',NULL),(55,7941,55,7,130000.00,0.00,2,1,'2025-05-29 14:07:52','2025-05-29 14:07:52',NULL),(56,7941,56,7,130000.00,0.00,2,1,'2025-05-29 14:07:53','2025-05-29 14:07:53',NULL),(57,NULL,57,7,260000.00,0.00,2,1,'2025-05-30 14:49:38','2025-05-30 14:49:38',NULL),(58,NULL,58,7,175000.00,0.00,2,1,'2025-05-30 14:49:39','2025-05-30 14:49:39',NULL),(59,NULL,59,7,175000.00,0.00,2,1,'2025-05-30 14:49:40','2025-05-30 14:49:40',NULL),(60,NULL,60,7,100000.00,0.00,2,1,'2025-05-30 14:49:41','2025-05-30 14:49:41',NULL),(61,NULL,61,7,220000.00,0.00,2,1,'2025-05-30 14:49:42','2025-05-30 14:49:42',NULL),(62,NULL,62,7,560000.00,0.00,2,1,'2025-05-30 14:49:43','2025-05-30 14:49:43',NULL),(63,NULL,63,7,200000.00,0.00,2,1,'2025-05-30 14:49:44','2025-05-30 14:49:44',NULL),(64,NULL,64,7,590000.00,0.00,2,1,'2025-05-30 14:49:45','2025-05-30 14:49:45',NULL),(65,NULL,65,7,250000.00,0.00,2,1,'2025-05-30 14:49:46','2025-05-30 14:49:46',NULL),(66,NULL,66,7,210000.00,0.00,2,1,'2025-05-30 14:49:47','2025-05-30 14:49:47',NULL),(67,NULL,67,7,770000.00,0.00,2,1,'2025-05-30 14:49:48','2025-05-30 14:49:48',NULL),(68,NULL,68,7,620000.00,0.00,2,1,'2025-05-30 14:49:49','2025-05-30 14:49:49',NULL),(69,NULL,69,7,470000.00,0.00,2,1,'2025-05-30 14:49:50','2025-05-30 14:49:50',NULL),(70,NULL,70,7,110000.00,0.00,2,1,'2025-05-30 14:49:51','2025-05-30 14:49:51',NULL),(71,7941,71,7,260000.00,0.00,2,1,'2025-05-30 14:50:19','2025-05-30 14:50:19',NULL),(72,7941,72,7,175000.00,0.00,2,1,'2025-05-30 14:50:20','2025-05-30 14:50:20',NULL),(73,7941,73,7,175000.00,0.00,2,1,'2025-05-30 14:50:21','2025-05-30 14:50:21',NULL),(74,7941,74,7,100000.00,0.00,2,1,'2025-05-30 14:50:22','2025-05-30 14:50:22',NULL),(75,7941,75,7,260000.00,0.00,2,1,'2025-05-30 15:50:41','2025-05-30 15:50:41',NULL),(76,7941,76,7,175000.00,0.00,2,1,'2025-05-30 15:52:06','2025-05-30 15:52:06',NULL),(77,7941,77,7,175000.00,0.00,2,1,'2025-05-30 15:53:22','2025-05-30 15:53:22',NULL),(78,7941,78,7,100000.00,0.00,2,1,'2025-05-30 15:55:07','2025-05-30 15:55:07',NULL),(79,7941,79,7,70000.00,0.00,2,1,'2025-06-27 13:39:21','2025-06-27 13:39:21',NULL),(80,NULL,80,7,980000.00,0.00,2,1,'2025-06-27 13:40:08','2025-06-27 13:40:08',NULL),(81,NULL,81,7,890000.00,0.00,2,1,'2025-06-27 13:40:09','2025-06-27 13:40:09',NULL),(82,NULL,82,7,100000.00,0.00,2,1,'2025-06-27 13:40:10','2025-06-27 13:40:10',NULL),(83,NULL,83,7,170000.00,0.00,2,1,'2025-06-27 13:40:11','2025-06-27 13:40:11',NULL),(84,NULL,84,7,310000.00,0.00,2,1,'2025-06-27 13:40:12','2025-06-27 13:40:12',NULL),(85,NULL,85,7,160000.00,0.00,2,1,'2025-06-27 13:40:13','2025-06-27 13:40:13',NULL),(86,NULL,86,7,40000.00,0.00,2,1,'2025-06-27 13:40:14','2025-06-27 13:40:14',NULL),(87,NULL,87,7,190000.00,0.00,2,1,'2025-06-27 13:40:16','2025-06-27 13:40:16',NULL),(88,NULL,88,7,460000.00,0.00,2,1,'2025-06-27 13:40:17','2025-06-27 13:40:17',NULL),(89,NULL,89,7,200000.00,0.00,2,1,'2025-06-27 13:40:18','2025-06-27 13:40:18',NULL),(90,NULL,90,7,150000.00,0.00,2,1,'2025-06-27 13:40:19','2025-06-27 13:40:19',NULL),(91,NULL,91,7,150000.00,0.00,2,1,'2025-06-27 13:40:20','2025-06-27 13:40:20',NULL),(92,NULL,92,7,400000.00,0.00,2,1,'2025-06-27 13:40:21','2025-06-27 13:40:21',NULL),(93,7941,93,7,150000.00,0.00,2,1,'2025-06-27 14:08:48','2025-06-27 14:08:48',NULL),(94,7941,94,7,280000.00,0.00,2,1,'2025-06-27 15:53:04','2025-06-27 15:53:04',NULL),(95,7941,95,7,190000.00,0.00,2,1,'2025-06-27 15:54:02','2025-06-27 15:54:02',NULL),(96,7941,96,7,190000.00,0.00,2,1,'2025-06-27 15:54:03','2025-06-27 15:54:03',NULL);
INSERT INTO `receipt_taxes` VALUES (97,7941,97,7,140000.00,0.00,2,1,'2025-06-27 15:54:04','2025-06-27 15:54:04',NULL),(98,7941,98,7,220000.00,0.00,2,1,'2025-06-27 15:54:05','2025-06-27 15:54:05',NULL),(99,7941,99,7,560000.00,0.00,2,1,'2025-06-27 15:54:07','2025-06-27 15:54:07',NULL),(100,7941,100,7,200000.00,0.00,2,1,'2025-06-27 15:54:48','2025-06-27 15:54:48',NULL),(101,7941,101,7,605000.00,0.00,2,1,'2025-06-27 15:54:49','2025-06-27 15:54:49',NULL),(102,7941,102,7,260000.00,0.00,2,1,'2025-06-27 15:54:50','2025-06-27 15:54:50',NULL),(103,7941,103,7,210000.00,0.00,2,1,'2025-06-27 15:54:51','2025-06-27 15:54:51',NULL),(104,7941,104,7,400000.00,0.00,2,1,'2025-06-27 15:54:52','2025-06-27 15:54:52',NULL),(105,7941,105,7,100000.00,0.00,2,1,'2025-06-27 15:54:53','2025-06-27 15:54:53',NULL),(106,7941,106,7,960000.00,0.00,2,1,'2025-06-30 12:28:21','2025-06-30 12:28:21',NULL),(107,7941,107,7,770000.00,0.00,2,1,'2025-06-30 12:28:22','2025-06-30 12:28:22',NULL),(108,7941,108,7,70000.00,0.00,2,1,'2025-07-28 18:18:49','2025-07-28 18:18:49',NULL),(109,NULL,109,7,980000.00,0.00,2,1,'2025-07-28 18:19:09','2025-07-28 18:19:09',NULL),(110,NULL,110,7,890000.00,0.00,2,1,'2025-07-28 18:19:10','2025-07-28 18:19:10',NULL),(111,NULL,111,7,100000.00,0.00,2,1,'2025-07-28 18:19:11','2025-07-28 18:19:11',NULL),(112,NULL,112,7,170000.00,0.00,2,1,'2025-07-28 18:19:12','2025-07-28 18:19:12',NULL),(113,NULL,113,7,330000.00,0.00,2,1,'2025-07-28 18:19:14','2025-07-28 18:19:14',NULL),(114,NULL,114,7,170000.00,0.00,2,1,'2025-07-28 18:19:15','2025-07-28 18:19:15',NULL),(115,NULL,115,7,40000.00,0.00,2,1,'2025-07-28 18:19:16','2025-07-28 18:19:16',NULL),(116,NULL,116,7,280000.00,0.00,2,1,'2025-07-28 18:19:17','2025-07-28 18:19:17',NULL),(117,NULL,117,7,190000.00,0.00,2,1,'2025-07-28 18:19:18','2025-07-28 18:19:18',NULL),(118,NULL,118,7,500000.00,0.00,2,1,'2025-07-28 18:19:19','2025-07-28 18:19:19',NULL),(119,NULL,119,7,200000.00,0.00,2,1,'2025-07-28 18:19:20','2025-07-28 18:19:20',NULL),(120,NULL,120,7,150000.00,0.00,2,1,'2025-07-28 18:19:21','2025-07-28 18:19:21',NULL),(121,7941,121,7,150000.00,0.00,2,1,'2025-07-29 10:42:10','2025-07-29 10:42:10',NULL),(122,NULL,122,7,960000.00,0.00,2,1,'2025-07-29 11:14:59','2025-07-29 11:14:59',NULL),(123,NULL,123,7,770000.00,0.00,2,1,'2025-07-29 11:15:01','2025-07-29 11:15:01',NULL),(124,NULL,124,7,280000.00,0.00,2,1,'2025-07-29 11:15:02','2025-07-29 11:15:02',NULL),(125,NULL,125,7,190000.00,0.00,2,1,'2025-07-29 11:15:03','2025-07-29 11:15:03',NULL),(126,NULL,126,7,190000.00,0.00,2,1,'2025-07-29 11:15:04','2025-07-29 11:15:04',NULL),(127,NULL,127,7,140000.00,0.00,2,1,'2025-07-29 11:15:05','2025-07-29 11:15:05',NULL),(128,NULL,128,7,100000.00,0.00,2,1,'2025-07-29 11:15:06','2025-07-29 11:15:06',NULL),(129,NULL,129,7,220000.00,0.00,2,1,'2025-07-29 11:15:07','2025-07-29 11:15:07',NULL),(130,NULL,130,7,210000.00,0.00,2,1,'2025-07-29 11:15:08','2025-07-29 11:15:08',NULL),(131,NULL,131,7,605000.00,0.00,2,1,'2025-07-29 11:15:09','2025-07-29 11:15:09',NULL),(132,NULL,132,7,260000.00,0.00,2,1,'2025-07-29 11:15:10','2025-07-29 11:15:10',NULL),(133,NULL,133,7,210000.00,0.00,2,1,'2025-07-29 11:15:12','2025-07-29 11:15:12',NULL),(134,NULL,134,7,350000.00,0.00,2,1,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(135,NULL,135,7,50000.00,0.00,2,1,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(136,7941,136,7,80000.00,0.00,2,1,'2025-08-28 13:32:20','2025-08-28 13:32:20',NULL),(137,7941,137,7,100000.00,0.00,2,1,'2025-08-28 13:32:21','2025-08-28 13:32:21',NULL),(138,7941,138,7,180000.00,0.00,2,1,'2025-08-28 13:32:22','2025-08-28 13:32:22',NULL),(139,7941,139,7,330000.00,0.00,2,1,'2025-08-28 13:32:24','2025-08-28 13:32:24',NULL),(140,7941,140,7,170000.00,0.00,2,1,'2025-08-28 13:32:25','2025-08-28 13:32:25',NULL),(141,7941,141,7,40000.00,0.00,2,1,'2025-08-28 13:34:41','2025-08-28 13:34:41',NULL),(142,7941,142,7,280000.00,0.00,2,1,'2025-08-28 13:34:43','2025-08-28 13:34:43',NULL),(143,7941,143,7,200000.00,0.00,2,1,'2025-08-28 13:34:44','2025-08-28 13:34:44',NULL);
INSERT INTO `receipt_taxes` VALUES (144,7941,144,7,500000.00,0.00,2,1,'2025-08-28 13:34:45','2025-08-28 13:34:45',NULL),(145,7941,145,7,210000.00,0.00,2,1,'2025-08-28 13:34:46','2025-08-28 13:34:46',NULL),(146,7941,146,7,160000.00,0.00,2,1,'2025-08-28 13:34:48','2025-08-28 13:34:48',NULL),(147,7941,147,7,160000.00,0.00,2,1,'2025-08-28 13:34:49','2025-08-28 13:34:49',NULL),(148,7941,148,7,70000.00,0.00,2,1,'2025-08-28 13:34:50','2025-08-28 13:34:50',NULL),(149,7941,149,7,890000.00,0.00,2,1,'2025-08-28 13:45:40','2025-08-28 13:45:40',NULL),(150,7941,150,7,960000.00,0.00,2,1,'2025-08-28 15:17:41','2025-08-28 15:17:41',NULL),(151,7941,151,7,770000.00,0.00,2,1,'2025-08-28 15:17:42','2025-08-28 15:17:42',NULL),(152,7941,152,7,200000.00,0.00,2,1,'2025-08-28 15:17:44','2025-08-28 15:17:44',NULL),(153,7941,153,7,280000.00,0.00,2,1,'2025-08-28 15:17:45','2025-08-28 15:17:45',NULL),(154,7941,154,7,190000.00,0.00,2,1,'2025-08-28 15:17:46','2025-08-28 15:17:46',NULL),(155,7941,155,7,190000.00,0.00,2,1,'2025-08-28 15:19:07','2025-08-28 15:19:07',NULL),(156,7941,156,7,140000.00,0.00,2,1,'2025-08-28 15:19:08','2025-08-28 15:19:08',NULL),(157,7941,157,7,100000.00,0.00,2,1,'2025-08-28 15:19:09','2025-08-28 15:19:09',NULL),(158,7941,158,7,240000.00,0.00,2,1,'2025-08-28 15:19:10','2025-08-28 15:19:10',NULL),(159,7941,159,7,210000.00,0.00,2,1,'2025-08-28 15:19:11','2025-08-28 15:19:11',NULL),(160,7941,160,7,605000.00,0.00,2,1,'2025-08-28 15:19:13','2025-08-28 15:19:13',NULL),(161,7941,161,7,280000.00,0.00,2,1,'2025-08-28 15:19:14','2025-08-28 15:19:14',NULL),(162,7941,162,7,250000.00,0.00,2,1,'2025-08-28 15:19:15','2025-08-28 15:19:15',NULL),(163,7941,163,7,350000.00,0.00,2,1,'2025-08-28 15:19:16','2025-08-28 15:19:16',NULL),(164,7941,164,7,50000.00,0.00,2,1,'2025-08-28 15:19:17','2025-08-28 15:19:17',NULL),(165,NULL,165,7,80000.00,0.00,2,1,'2025-08-29 12:54:43','2025-08-29 12:54:43',NULL),(166,NULL,166,7,100000.00,0.00,2,1,'2025-08-29 12:54:44','2025-08-29 12:54:44',NULL),(167,NULL,167,7,180000.00,0.00,2,1,'2025-08-29 12:54:45','2025-08-29 12:54:45',NULL),(168,NULL,168,7,330000.00,0.00,2,1,'2025-08-29 12:54:46','2025-08-29 12:54:46',NULL),(169,NULL,169,7,170000.00,0.00,2,1,'2025-08-29 12:54:47','2025-08-29 12:54:47',NULL),(170,NULL,170,7,40000.00,0.00,2,1,'2025-08-29 12:54:48','2025-08-29 12:54:48',NULL),(171,NULL,171,7,280000.00,0.00,2,1,'2025-08-29 12:54:49','2025-08-29 12:54:49',NULL),(172,NULL,172,7,200000.00,0.00,2,1,'2025-08-29 12:54:50','2025-08-29 12:54:50',NULL),(173,NULL,173,7,500000.00,0.00,2,1,'2025-08-29 12:54:51','2025-08-29 12:54:51',NULL),(174,NULL,174,7,210000.00,0.00,2,1,'2025-08-29 12:54:52','2025-08-29 12:54:52',NULL),(175,NULL,175,7,160000.00,0.00,2,1,'2025-08-29 12:54:54','2025-08-29 12:54:54',NULL),(176,NULL,176,7,160000.00,0.00,2,1,'2025-08-29 12:54:55','2025-08-29 12:54:55',NULL),(177,NULL,177,7,70000.00,0.00,2,1,'2025-08-29 12:54:56','2025-08-29 12:54:56',NULL),(178,NULL,178,7,80000.00,0.00,2,1,'2025-08-29 12:54:58','2025-08-29 12:54:58',NULL),(179,NULL,179,7,100000.00,0.00,2,1,'2025-08-29 12:55:00','2025-08-29 12:55:00',NULL),(180,NULL,180,7,180000.00,0.00,2,1,'2025-08-29 12:55:01','2025-08-29 12:55:01',NULL),(181,NULL,181,7,330000.00,0.00,2,1,'2025-08-29 12:55:02','2025-08-29 12:55:02',NULL),(182,NULL,182,7,170000.00,0.00,2,1,'2025-08-29 12:55:03','2025-08-29 12:55:03',NULL),(183,NULL,183,7,40000.00,0.00,2,1,'2025-08-29 12:55:04','2025-08-29 12:55:04',NULL),(184,NULL,184,7,280000.00,0.00,2,1,'2025-08-29 12:55:05','2025-08-29 12:55:05',NULL),(185,NULL,185,7,200000.00,0.00,2,1,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(186,NULL,186,7,500000.00,0.00,2,1,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(187,NULL,187,7,210000.00,0.00,2,1,'2025-08-29 12:55:08','2025-08-29 12:55:08',NULL),(188,NULL,188,7,160000.00,0.00,2,1,'2025-08-29 12:55:09','2025-08-29 12:55:09',NULL),(189,NULL,189,7,160000.00,0.00,2,1,'2025-08-29 12:55:11','2025-08-29 12:55:11',NULL),(190,NULL,190,7,70000.00,0.00,2,1,'2025-08-29 12:55:12','2025-08-29 12:55:12',NULL);
INSERT INTO `receipt_taxes` VALUES (191,7941,191,7,280000.00,0.00,2,1,'2025-09-04 11:54:41','2025-09-04 11:54:41',NULL),(192,7941,192,7,280000.00,0.00,2,1,'2025-09-04 11:56:42','2025-09-04 11:56:42',NULL),(193,7941,193,7,100000.00,0.00,2,1,'2025-09-04 12:07:59','2025-09-04 12:07:59',NULL),(194,7941,194,7,100000.00,0.00,2,1,'2025-09-04 12:09:01','2025-09-04 12:09:01',NULL),(195,7941,195,7,500000.00,0.00,2,1,'2025-09-04 12:11:32','2025-09-04 12:11:32',NULL),(196,7941,196,7,500000.00,0.00,2,1,'2025-09-04 12:12:39','2025-09-04 12:12:39',NULL),(197,7941,197,7,170000.00,0.00,2,1,'2025-09-04 12:15:57','2025-09-04 12:15:57',NULL),(198,7941,198,7,170000.00,0.00,2,1,'2025-09-04 12:21:28','2025-09-04 12:21:28',NULL),(199,7941,199,7,330000.00,0.00,2,1,'2025-09-04 12:31:12','2025-09-04 12:31:12',NULL),(200,7941,200,7,330000.00,0.00,2,1,'2025-09-04 12:42:44','2025-09-04 12:42:44',NULL),(201,7941,201,7,80000.00,0.00,2,1,'2025-09-04 12:54:23','2025-09-04 12:54:23',NULL),(202,7941,202,7,80000.00,0.00,2,1,'2025-09-04 12:55:41','2025-09-04 12:55:41',NULL),(203,7941,203,7,200000.00,0.00,2,1,'2025-09-04 13:08:19','2025-09-04 13:08:19',NULL),(204,7941,204,7,200000.00,0.00,2,1,'2025-09-04 13:11:09','2025-09-04 13:11:09',NULL),(205,7941,205,7,70000.00,0.00,2,1,'2025-09-04 13:13:14','2025-09-04 13:13:14',NULL),(206,7941,206,7,70000.00,0.00,2,1,'2025-09-04 13:15:47','2025-09-04 13:15:47',NULL),(207,7941,207,7,160000.00,0.00,2,1,'2025-09-04 13:25:15','2025-09-04 13:25:15',NULL),(208,7941,208,7,160000.00,0.00,2,1,'2025-09-04 13:27:44','2025-09-04 13:27:44',NULL),(209,7941,209,7,160000.00,0.00,2,1,'2025-09-04 14:09:51','2025-09-04 14:09:51',NULL),(210,7941,210,7,160000.00,0.00,2,1,'2025-09-04 14:11:46','2025-09-04 14:11:46',NULL),(211,7941,211,7,180000.00,0.00,2,1,'2025-09-04 14:17:02','2025-09-04 14:17:02',NULL),(212,7941,212,7,180000.00,0.00,2,1,'2025-09-04 14:18:45','2025-09-04 14:18:45',NULL),(213,7941,213,7,210000.00,0.00,2,1,'2025-09-04 14:23:12','2025-09-04 14:23:12',NULL),(214,7941,214,7,210000.00,0.00,2,1,'2025-09-04 14:24:39','2025-09-04 14:24:39',NULL),(215,7941,215,7,40000.00,0.00,2,1,'2025-09-04 14:28:56','2025-09-04 14:28:56',NULL),(216,7941,216,7,40000.00,0.00,2,1,'2025-09-04 14:30:19','2025-09-04 14:30:19',NULL),(217,7941,217,7,80000.00,0.00,2,1,'2025-09-26 14:32:13','2025-09-26 14:32:13',NULL),(218,7941,218,7,105000.00,0.00,2,1,'2025-09-26 14:32:14','2025-09-26 14:32:14',NULL),(219,7941,219,7,180000.00,0.00,2,1,'2025-09-26 14:46:48','2025-09-26 14:46:48',NULL),(220,7941,220,7,330000.00,0.00,2,1,'2025-09-26 14:46:49','2025-09-26 14:46:49',NULL),(221,7941,221,7,170000.00,0.00,2,1,'2025-09-26 14:51:53','2025-09-26 14:51:53',NULL),(222,7941,222,7,45000.00,0.00,2,1,'2025-09-26 14:51:54','2025-09-26 14:51:54',NULL),(223,7941,223,7,90000.00,0.00,2,1,'2025-09-26 14:51:55','2025-09-26 14:51:55',NULL),(224,7941,224,7,280000.00,0.00,2,1,'2025-09-26 14:54:50','2025-09-26 14:54:50',NULL),(225,7941,225,7,200000.00,0.00,2,1,'2025-09-26 14:54:51','2025-09-26 14:54:51',NULL),(226,7941,226,7,500000.00,0.00,2,1,'2025-09-26 14:54:52','2025-09-26 14:54:52',NULL),(227,7941,227,7,160000.00,0.00,2,1,'2025-09-26 14:54:54','2025-09-26 14:54:54',NULL),(228,7941,228,7,160000.00,0.00,2,1,'2025-09-26 14:54:55','2025-09-26 14:54:55',NULL),(229,7941,229,7,100000.00,0.00,2,1,'2025-09-26 15:51:35','2025-09-26 15:51:35',NULL),(230,7941,230,7,240000.00,0.00,2,1,'2025-09-26 15:51:36','2025-09-26 15:51:36',NULL),(231,7941,231,7,250000.00,0.00,2,1,'2025-09-26 15:51:37','2025-09-26 15:51:37',NULL),(232,7941,232,7,210000.00,0.00,2,1,'2025-09-26 15:53:43','2025-09-26 15:53:43',NULL),(233,7941,233,7,280000.00,0.00,2,1,'2025-09-26 15:53:44','2025-09-26 15:53:44',NULL),(234,7941,234,7,150000.00,0.00,2,1,'2025-09-26 16:04:33','2025-09-26 16:04:33',NULL),(235,7941,235,7,250000.00,0.00,2,1,'2025-09-26 16:04:34','2025-09-26 16:04:34',NULL),(236,7941,236,7,1040000.00,0.00,2,1,'2025-09-30 09:08:15','2025-09-30 09:08:15',NULL),(237,7941,237,7,650000.00,0.00,2,1,'2025-09-30 09:08:16','2025-09-30 09:08:16',NULL);
INSERT INTO `receipt_taxes` VALUES (238,7941,238,7,1010000.00,0.00,2,1,'2025-09-30 09:33:04','2025-09-30 09:33:04',NULL),(239,7941,239,7,800000.00,0.00,2,1,'2025-09-30 09:33:06','2025-09-30 09:33:06',NULL),(240,7941,240,7,290000.00,0.00,2,1,'2025-09-30 09:38:02','2025-09-30 09:38:02',NULL),(241,7941,241,7,200000.00,0.00,2,1,'2025-09-30 09:38:03','2025-09-30 09:38:03',NULL),(242,7941,242,7,200000.00,0.00,2,1,'2025-09-30 09:38:04','2025-09-30 09:38:04',NULL),(243,7941,243,7,150000.00,0.00,2,1,'2025-09-30 09:38:05','2025-09-30 09:38:05',NULL),(244,7941,244,7,150000.00,0.00,2,1,'2025-09-30 09:56:25','2025-09-30 09:56:25',NULL),(245,7941,245,7,80000.00,0.00,2,1,'2025-10-22 16:43:34','2025-10-22 16:43:34',NULL),(246,7941,246,7,1040000.00,0.00,2,1,'2025-10-22 16:43:35','2025-10-22 16:43:35',NULL),(247,7941,247,7,650000.00,0.00,2,1,'2025-10-22 16:43:36','2025-10-22 16:43:36',NULL),(248,7941,248,7,105000.00,0.00,2,1,'2025-10-23 11:39:12','2025-10-23 11:39:12',NULL),(249,7941,249,7,180000.00,0.00,2,1,'2025-10-23 11:39:14','2025-10-23 11:39:14',NULL),(250,7941,250,7,350000.00,0.00,2,1,'2025-10-23 11:39:15','2025-10-23 11:39:15',NULL),(251,7941,251,7,180000.00,0.00,2,1,'2025-10-23 11:39:16','2025-10-23 11:39:16',NULL),(252,7941,252,7,45000.00,0.00,2,1,'2025-10-23 11:39:17','2025-10-23 11:39:17',NULL),(253,7941,253,7,300000.00,0.00,2,1,'2025-10-23 11:39:18','2025-10-23 11:39:18',NULL),(254,7941,254,7,200000.00,0.00,2,1,'2025-10-23 11:43:28','2025-10-23 11:43:28',NULL),(255,7941,255,7,550000.00,0.00,2,1,'2025-10-23 11:43:29','2025-10-23 11:43:29',NULL),(256,7941,256,7,220000.00,0.00,2,1,'2025-10-23 11:43:30','2025-10-23 11:43:30',NULL),(257,7941,257,7,170000.00,0.00,2,1,'2025-10-23 11:43:31','2025-10-23 11:43:31',NULL),(258,7941,258,7,170000.00,0.00,2,1,'2025-10-23 11:43:32','2025-10-23 11:43:32',NULL),(259,7941,259,7,90000.00,0.00,2,1,'2025-10-23 11:43:33','2025-10-23 11:43:33',NULL),(260,7941,260,7,1010000.00,0.00,2,1,'2025-10-23 15:25:06','2025-10-23 15:25:06',NULL),(261,7941,261,7,800000.00,0.00,2,1,'2025-10-23 15:25:07','2025-10-23 15:25:07',NULL),(262,7941,262,7,290000.00,0.00,2,1,'2025-10-23 15:25:09','2025-10-23 15:25:09',NULL),(263,7941,263,7,200000.00,0.00,2,1,'2025-10-23 15:25:10','2025-10-23 15:25:10',NULL),(264,7941,264,7,200000.00,0.00,2,1,'2025-10-23 15:25:11','2025-10-23 15:25:11',NULL),(265,7941,265,7,150000.00,0.00,2,1,'2025-10-23 15:34:14','2025-10-23 15:34:14',NULL),(266,7941,266,7,100000.00,0.00,2,1,'2025-10-23 15:34:15','2025-10-23 15:34:15',NULL),(267,7941,267,7,240000.00,0.00,2,1,'2025-10-23 15:34:16','2025-10-23 15:34:16',NULL),(268,7941,268,7,220000.00,0.00,2,1,'2025-10-23 15:34:17','2025-10-23 15:34:17',NULL),(269,7941,269,7,290000.00,0.00,2,1,'2025-10-23 15:34:19','2025-10-23 15:34:19',NULL),(270,7941,270,7,250000.00,0.00,2,1,'2025-10-23 15:34:20','2025-10-23 15:34:20',NULL),(271,7941,271,7,500000.00,0.00,2,1,'2025-10-23 15:34:21','2025-10-23 15:34:21',NULL);

--
-- Table structure for table `receipt_types`
--

CREATE TABLE `receipt_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit` int(11) DEFAULT '0',
  `agroup_iva_module` int(10) unsigned DEFAULT NULL,
  `sell_no_taxabled` int(11) DEFAULT '0',
  `buy_no_taxabled` int(11) DEFAULT '0',
  `iva_condition_id` int(11) DEFAULT NULL,
  `is_fce_pyme` tinyint(1) NOT NULL DEFAULT '0',
  `afip_comprobante_id` int(11) DEFAULT NULL,
  `tipo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `letra` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facta_electronica` int(10) unsigned NOT NULL DEFAULT '0',
  `is_stock_lpg` tinyint(1) NOT NULL DEFAULT '0',
  `show_from_total` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_types`
--

INSERT INTO `receipt_types` VALUES (1,NULL,NULL,'2019-07-29 22:19:32','Factura A','1',0,1,0,0,2,0,1,'Factura','A',1,0,0,NULL),(2,NULL,NULL,'2019-07-29 22:19:32','Nota de débito A','2',0,1,0,0,2,0,2,'Nota de Débito','A',1,0,0,NULL),(3,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito A','3',1,NULL,0,0,2,0,3,'Nota de Crédito','A',1,0,0,NULL),(4,NULL,NULL,'2025-05-08 09:32:09','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2025-05-08 09:32:09','Nota de débito B','7',0,2,0,1,2,0,7,'Nota de Débito','B',1,0,1,NULL),(6,NULL,NULL,'2025-05-08 09:32:09','Nota de crédito B','8',1,NULL,0,1,2,0,8,'Nota de Crédito','B',1,0,1,NULL),(7,NULL,NULL,'2019-07-29 22:19:32','Factura C','11',0,0,1,1,1,0,11,'Factura','C',1,0,0,NULL),(8,NULL,NULL,'2019-07-29 22:19:32','Nota de débito C','12',0,0,1,1,1,0,12,'Nota de Débito','C',1,0,0,NULL),(9,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito C','13',1,NULL,1,1,1,0,13,'Nota de Crédito','C',1,0,0,NULL),(10,NULL,NULL,NULL,'RECIBO A','4',0,1,0,0,2,0,4,'RECIBO','A',0,0,0,NULL),(11,NULL,NULL,'2025-05-08 09:32:09','RECIBO B','9',0,2,0,1,2,0,9,'RECIBO','B',0,0,1,NULL),(12,NULL,NULL,NULL,'RECIBO C','15',0,0,1,1,1,0,15,'RECIBO','C',0,0,0,NULL),(13,NULL,NULL,'2020-02-27 02:46:40','Factura E','19',0,0,1,0,2,0,19,'Factura','E',0,0,0,NULL),(14,NULL,NULL,'2020-02-27 02:46:40','Nota de débito E','20',0,0,1,0,2,0,20,'Nota de Débito','E',0,0,0,NULL),(15,NULL,NULL,'2020-02-27 02:46:40','Nota de Crédito E','21',1,NULL,1,0,2,0,21,'Nota de Crédito','E',0,0,0,NULL),(16,NULL,NULL,'2022-10-11 14:20:42','Factura M','51',0,1,0,0,2,0,51,'Factura','M',1,0,0,NULL),(17,NULL,NULL,'2020-02-27 02:46:40','Despacho de Importacion','66',0,NULL,0,0,0,0,66,NULL,NULL,0,0,0,NULL),(18,NULL,NULL,'2022-10-11 14:20:42','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2022-10-11 14:20:42','Nota de Debito M','52',1,1,0,0,2,0,52,'Nota de Débito','M',1,0,0,NULL),(20,NULL,NULL,NULL,'Recibo M','54',0,1,0,0,2,0,54,'RECIBO','M',0,0,0,NULL),(21,NULL,NULL,NULL,'Recibo E',NULL,1,0,1,0,2,0,NULL,'RECIBO','E',0,0,0,NULL),(22,NULL,'2019-05-14 21:22:16','2022-10-11 14:20:32','Liquidacion Primaria de Granos','33',0,1,0,0,2,0,33,'Liquidacion Primaria de Granos','A',0,1,0,NULL),(23,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A','201',0,1,0,0,2,1,201,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(24,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A','202',0,1,0,0,2,1,202,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(25,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A','203',1,NULL,0,0,2,1,203,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(26,NULL,'2019-11-05 19:00:05','2025-05-08 09:32:09','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B','206',0,2,0,1,2,1,206,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(27,NULL,'2019-11-05 19:00:05','2025-05-08 09:32:09','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B','207',0,2,0,1,2,1,207,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(28,NULL,'2019-11-05 19:00:05','2025-05-08 09:32:09','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B','208',1,NULL,0,1,2,1,208,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(29,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','211',0,0,1,1,1,1,211,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(30,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C','212',0,0,1,1,1,1,212,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(31,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','213',1,NULL,1,1,1,1,213,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL);
INSERT INTO `receipt_types` VALUES (32,NULL,'2020-01-28 01:59:55','2022-10-11 14:20:32','Tique (Informe Diario Z)','83',0,2,0,0,2,0,83,'Cierre Diario Informe Z','Z',0,0,1,NULL),(33,NULL,'2020-02-19 04:48:11','2020-02-19 04:48:11','Comprobantes de Compra de Bienes No Registrables a Consumidores Finales','49',0,1,0,0,2,0,49,'Comprobantes de Compra de Bienes No Registrables','a Consumidores Finales',0,0,0,NULL),(34,NULL,'2022-10-11 14:20:28','2022-10-11 14:20:52','Cuenta de Venta y Líquido Producto A','60',0,1,0,0,2,1,60,'Cuentas de Venta y Liquido Producto A','A',1,0,0,NULL),(35,NULL,'2022-10-11 14:20:28','2025-05-08 09:32:09','Cuenta de Venta y Líquido Producto B','61',0,2,0,1,2,1,61,'Cuentas de Venta y Liquido Producto B','B',1,0,1,NULL),(36,NULL,'2022-10-11 14:20:28','2022-10-11 14:20:33','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2022-10-11 14:20:28','2025-05-08 09:32:09','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2022-10-11 14:20:32','2022-10-11 14:20:36','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2022-10-11 14:20:32','2025-05-08 09:32:09','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2022-10-11 14:20:32','2022-10-11 14:20:39','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF','99',0,1,1,1,1,1,99,'OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF ','OTROS',0,0,0,NULL),(41,NULL,'2022-10-11 14:20:33','2022-10-11 14:20:33','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2022-10-11 14:20:33','2025-05-08 09:32:09','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2022-10-11 14:20:34','2022-10-11 14:20:36','Liquidacion de Venta Directa A - Sector Pecuario','190',0,1,0,0,2,1,190,'Liquidacion de Venta Directa','A',0,0,0,NULL),(44,NULL,'2022-10-11 14:20:34','2025-05-08 09:32:09','Liquidacion de Venta Directa B - Sector Pecuario','191',0,2,0,1,2,1,191,'Liquidacion de Venta Directa','B',0,0,0,NULL),(45,NULL,'2022-10-11 14:20:36','2022-10-11 14:20:36','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2022-10-11 14:20:36','2022-10-11 14:20:36','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2022-10-11 14:20:36','2022-10-11 14:20:36','Liquidacion de Servicios Publicos Clase A','17',0,1,0,0,2,1,17,'Liquidacion de Servicios Publicos Clase A','LSPCA',0,0,0,NULL),(48,NULL,'2022-10-11 14:20:38','2022-10-11 14:20:38','Liquidacion de Servicios Publicos Clase B','18',0,2,0,1,2,1,18,'Liquidacion de Servicios Publicos Clase B','LSPCA',1,0,0,NULL),(49,NULL,NULL,NULL,'Factura Clase T','195',0,1,0,0,2,0,195,'Factura Clase T','T',0,0,0,NULL),(50,NULL,NULL,NULL,'Nota de Debito Clase T','196',0,1,0,0,2,0,196,'Factura Clase T','T',0,0,0,NULL),(51,NULL,NULL,NULL,'Nota de Credito Clase T','197',1,NULL,0,0,2,0,197,'Factura Clase T','T',0,0,0,NULL),(52,NULL,NULL,'2022-10-11 14:20:52','Cuenta de Venta y Líquido Producto A - Sector Pecuario','180',0,1,0,0,2,0,180,'Cuenta de Venta y Líquido Producto A','A',0,0,0,NULL),(53,NULL,NULL,'2025-05-08 09:32:09','Cuenta de Venta y Líquido Producto B - Sector Pecuario','182',0,2,0,1,2,0,182,'Cuenta de Venta y Líquido Producto B','B',0,0,0,NULL),(54,NULL,NULL,NULL,'Liquidación de Compra A','183',0,1,0,0,2,0,183,'Liquidación de Compra A ','A',0,0,0,NULL),(55,NULL,NULL,'2025-05-08 09:32:09','Liquidación de Compra B','185',0,2,0,1,2,0,185,'Liquidación de Compra B ','B',0,0,0,NULL),(56,NULL,NULL,NULL,'Liquidación de Compra Directa A','186',0,1,0,0,2,0,186,'Liquidación de Compra Directa A','A',0,0,0,NULL),(57,NULL,NULL,'2025-05-08 09:32:09','Liquidación de Compra Directa B','188',0,2,0,1,2,0,188,'Liquidación de Compra Directa B ','B',0,0,0,NULL);
INSERT INTO `receipt_types` VALUES (58,NULL,NULL,NULL,'Liquidación de Compra Directa C','189',0,0,1,1,1,0,189,'Liquidación de Compra Directa C ','C',0,0,0,NULL),(59,NULL,NULL,NULL,'Liquidación de Venta Directa A','190',0,1,0,0,2,0,190,'Liquidación de Venta Directa A','A',0,0,0,NULL),(60,NULL,NULL,'2025-05-08 09:32:09','Liquidación de Venta Directa B','191',0,2,0,1,2,0,191,'Liquidación de Venta Directa B ','B',0,0,0,NULL),(61,NULL,NULL,NULL,'Tique Factura C','109',0,0,0,1,1,0,109,NULL,'C',1,0,0,NULL),(62,NULL,NULL,NULL,'Tique Nota de Débito A','115',0,1,0,0,2,0,115,'Tique Nota de Débito A','A',1,0,0,NULL),(63,NULL,NULL,NULL,'Tique Nota de Crédito C','114',1,0,1,1,1,0,114,'Tique Nota de Crédito C','C',1,0,0,NULL),(64,NULL,NULL,NULL,'Otro Comprobante A que cumple con la RG 1415','39',0,1,0,0,2,0,39,'Otro Comprobante A que cumple con la RG 1415','A',0,0,0,NULL),(65,NULL,NULL,NULL,'Tique Nota de Crédito A','112',1,0,0,0,2,0,112,'Tique Nota de Crédito A','A',0,0,0,NULL),(66,NULL,NULL,'2025-05-08 09:32:09','Tique Nota de Crédito B','113',1,NULL,0,1,2,0,113,'Tique Nota de Crédito B','B',0,0,0,NULL),(67,NULL,NULL,'2025-05-08 09:32:09','Tique Nota de Debito B','116',0,2,0,1,2,0,116,'Tique Nota de Debito B','B',0,0,0,NULL),(68,NULL,NULL,NULL,'Tique Nota de Debito C','117',0,0,1,1,1,0,117,'Tique Nota de Debito C','C',0,0,0,NULL),(69,NULL,NULL,NULL,'Tique Factura M','118',0,1,0,0,2,0,118,'Tique Factura M','M',0,0,0,NULL),(70,NULL,NULL,NULL,'Tique Nota de Credito M','119',1,NULL,0,0,2,0,119,'Tique Nota de Credito M','M',0,0,0,NULL),(71,NULL,NULL,NULL,'Tique Nota de Debito M','120',0,1,0,0,2,0,120,'Tique Nota de Debito M','M',0,0,0,NULL),(72,NULL,NULL,NULL,'Nota Credito Despacho Importacion','6',1,NULL,0,0,2,0,66,NULL,NULL,0,0,0,NULL),(73,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO A','5',0,1,0,0,2,0,5,'NOTAS DE VENTA AL CONTADO A','A',0,0,0,NULL),(74,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO B','10',0,2,0,0,2,0,10,'NOTAS DE VENTA AL CONTADO B','B',0,0,0,NULL),(75,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO C','16',0,0,1,1,1,0,16,'NOTAS DE VENTA AL CONTADO C','C',0,0,0,NULL),(76,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO M','55',0,1,0,0,2,0,55,'NOTAS DE VENTA AL CONTADO M','M',0,0,0,NULL),(77,NULL,NULL,NULL,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','58',0,1,0,0,2,0,58,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','M',0,0,0,NULL);

--
-- Table structure for table `receipts`
--

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `conta_centro_costo_id` bigint(20) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned NOT NULL DEFAULT '1',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `person_id_owner` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `number` int(8) unsigned zerofill DEFAULT NULL,
  `hasta` int(8) unsigned zerofill DEFAULT NULL,
  `reference` int(11) DEFAULT NULL,
  `receipt_date` date DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `code_ticket` int(4) unsigned zerofill DEFAULT NULL,
  `status_id` int(10) unsigned DEFAULT NULL,
  `tax_account_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `pendiente` decimal(16,2) NOT NULL DEFAULT '0.00',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipts_type_id_foreign` (`type_id`),
  KEY `receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `receipts_tax_account_id_foreign` (`tax_account_id`),
  KEY `receipts_zone_id_foreign` (`zone_id`),
  KEY `receipts_activity_id_foreign` (`activity_id`),
  KEY `receipts_retention_type_id_foreign` (`retention_type_id`),
  KEY `receipts_status_id_foreign` (`status_id`),
  KEY `receipts_person_id_owner_foreign` (`person_id_owner`),
  KEY `receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `receipts_period_id_foreign` (`period_id`),
  KEY `receipts_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `receipts_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `receipts_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `receipts_conta_centro_costo_id_foreign` (`conta_centro_costo_id`),
  KEY `receipts_moneda_id_foreign` (`moneda_id`),
  KEY `receipts_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `receipts_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  KEY `receipts_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  CONSTRAINT `receipts_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `receipts_conta_centro_costo_id_foreign` FOREIGN KEY (`conta_centro_costo_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `receipts_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `receipts_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `receipts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `receipts_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `receipts_person_id_owner_foreign` FOREIGN KEY (`person_id_owner`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `receipts_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`),
  CONSTRAINT `receipts_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `receipts_status_id_foreign` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`),
  CONSTRAINT `receipts_tax_account_id_foreign` FOREIGN KEY (`tax_account_id`) REFERENCES `tax_accounts` (`id`),
  CONSTRAINT `receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `receipts_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=272 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipts`
--

INSERT INTO `receipts` VALUES (1,7941,0,1,7,NULL,NULL,1,NULL,272949,23,NULL,NULL,796,1,NULL,40915,40719,00000001,NULL,NULL,'2025-03-31','2025-04-01',0003,1,NULL,100.00,100.00,1,1044.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-01 14:08:52','2025-04-01 14:08:52',NULL),(2,7941,0,1,7,NULL,NULL,2,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000002,NULL,NULL,'2025-04-01','2025-04-05',0003,1,NULL,100.00,100.00,1,1044.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-01 14:20:11','2025-04-01 14:20:11',NULL),(3,7941,0,1,7,NULL,NULL,3,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000003,NULL,NULL,'2025-04-01','2025-04-01',0003,1,NULL,100.00,100.00,1,1044.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-01 15:19:41','2025-04-01 15:19:41',NULL),(4,7941,0,1,7,NULL,NULL,4,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000004,NULL,NULL,'2025-04-01','2025-04-01',0003,1,NULL,100.00,100.00,1,1044.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-01 15:22:35','2025-04-01 15:22:35',NULL),(5,7941,0,1,7,NULL,NULL,5,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000005,NULL,NULL,'2025-04-01','2025-04-01',0003,1,NULL,100.00,100.00,1,1044.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-01 15:48:33','2025-04-01 15:48:33',NULL),(6,7941,0,1,7,NULL,NULL,6,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40927,00000006,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,60000.00,60000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:22','2025-04-28 09:34:22',NULL),(7,7941,0,1,7,NULL,NULL,7,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40734,00000007,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,900000.00,900000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:23','2025-04-28 09:34:23',NULL),(8,7941,0,1,7,NULL,NULL,8,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40770,00000008,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,820000.00,820000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:25','2025-04-28 09:34:25',NULL),(9,7941,0,1,7,NULL,NULL,9,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40928,00000009,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,90000.00,90000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:26','2025-04-28 09:34:26',NULL),(10,7941,0,1,7,NULL,NULL,10,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40929,00000010,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,155000.00,155000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:27','2025-04-28 09:34:27',NULL),(11,7941,0,1,7,NULL,NULL,11,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40930,00000011,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,310000.00,310000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:34:28','2025-04-28 09:34:28',NULL),(12,7941,0,1,7,NULL,NULL,12,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000012,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,100.00,100.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 09:53:34','2025-04-28 09:53:34',NULL),(13,7941,0,1,7,NULL,NULL,13,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000013,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:39:11','2025-04-28 10:39:11',NULL),(14,7941,0,1,7,NULL,NULL,14,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000014,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:39:13','2025-04-28 10:39:13',NULL),(15,7941,0,1,7,NULL,NULL,15,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000015,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:41:12','2025-04-28 10:41:12',NULL),(16,7941,0,1,7,NULL,NULL,16,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000016,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:41:14','2025-04-28 10:41:14',NULL);
INSERT INTO `receipts` VALUES (17,7941,0,1,7,NULL,NULL,17,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000017,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:42:30','2025-04-28 10:42:30',NULL),(18,7941,0,1,7,NULL,NULL,18,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000018,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:42:31','2025-04-28 10:42:31',NULL),(19,7941,0,1,7,NULL,NULL,19,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000019,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:44:27','2025-04-28 10:44:27',NULL),(20,7941,0,1,7,NULL,NULL,20,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000020,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 10:44:28','2025-04-28 10:44:28',NULL),(21,7941,0,1,9,NULL,NULL,21,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000001,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:02:52','2025-04-28 11:02:52',NULL),(22,7941,0,1,9,NULL,NULL,22,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000002,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:04:25','2025-04-28 11:04:25',NULL),(23,7941,0,1,9,NULL,NULL,23,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40938,00000003,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,35000.00,35000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:06:36','2025-04-28 11:06:36',NULL),(24,7941,0,1,9,NULL,NULL,24,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000004,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:08:23','2025-04-28 11:08:23',NULL),(25,7941,0,1,9,NULL,NULL,25,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000005,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:09:12','2025-04-28 11:09:12',NULL),(26,7941,0,1,9,NULL,NULL,26,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40937,00000006,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,160000.00,160000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:10:03','2025-04-28 11:10:03',NULL),(27,7941,0,1,9,NULL,NULL,27,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40719,00000007,NULL,NULL,'2025-04-28','2025-04-28',0003,1,NULL,600.00,600.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 11:11:08','2025-04-28 11:11:08',NULL),(28,7941,0,1,7,NULL,NULL,28,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40939,00000021,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,165000.00,165000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 12:06:10','2025-04-28 12:06:10',NULL),(29,7941,0,1,7,NULL,NULL,29,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40880,00000022,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,460000.00,460000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 12:06:11','2025-04-28 12:06:11',NULL),(30,7941,0,1,7,NULL,NULL,30,NULL,272950,23,NULL,NULL,796,1,NULL,40915,40940,00000023,NULL,NULL,'2025-04-28','2025-05-06',0003,1,NULL,190000.00,190000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 12:06:12','2025-04-28 12:06:12',NULL),(31,7941,0,1,7,NULL,NULL,31,NULL,51,23,NULL,NULL,2,1,NULL,40719,40881,00000001,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,260000.00,260000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:16','2025-04-28 15:34:16',NULL),(32,7941,0,1,7,NULL,NULL,32,NULL,51,23,NULL,NULL,2,1,NULL,40719,40882,00000002,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,175000.00,175000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:17','2025-04-28 15:34:17',NULL);
INSERT INTO `receipts` VALUES (33,7941,0,1,7,NULL,NULL,33,NULL,51,23,NULL,NULL,2,1,NULL,40719,40878,00000003,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,175000.00,175000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:18','2025-04-28 15:34:18',NULL),(34,7941,0,1,7,NULL,NULL,34,NULL,51,23,NULL,NULL,2,1,NULL,40719,40914,00000004,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,100000.00,100000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:19','2025-04-28 15:34:19',NULL),(35,7941,0,1,7,NULL,NULL,35,NULL,51,23,NULL,NULL,2,1,NULL,40719,40941,00000005,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,200000.00,200000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:20','2025-04-28 15:34:20',NULL),(36,7941,0,1,7,NULL,NULL,36,NULL,51,23,NULL,NULL,2,1,NULL,40719,40877,00000006,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,510000.00,510000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(37,7941,0,1,7,NULL,NULL,37,NULL,51,23,NULL,NULL,2,1,NULL,40719,40942,00000007,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,120000.00,120000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(38,7941,0,1,7,NULL,NULL,38,NULL,51,23,NULL,NULL,2,1,NULL,40719,40943,00000008,NULL,NULL,'2025-04-28','2025-05-06',0005,1,NULL,550000.00,550000.00,1,1065.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-28 15:34:23','2025-04-28 15:34:23',NULL),(39,7941,0,1,7,NULL,NULL,39,NULL,51,23,NULL,NULL,2,1,NULL,40719,40944,00000009,NULL,NULL,'2025-04-29','2025-05-06',0005,1,NULL,150000.00,150000.00,1,1142.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-29 11:22:14','2025-04-29 11:22:14',NULL),(40,7941,0,1,7,NULL,NULL,40,NULL,51,23,NULL,NULL,2,1,NULL,40719,40945,00000010,NULL,NULL,'2025-04-29','2025-05-06',0005,1,NULL,250000.00,250000.00,1,1142.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-29 11:22:34','2025-04-29 11:22:34',NULL),(41,7941,0,1,7,NULL,NULL,41,NULL,51,23,NULL,NULL,2,1,NULL,40719,40946,00000011,NULL,NULL,'2025-04-29','2025-05-06',0005,1,NULL,155000.00,155000.00,1,1142.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-29 11:22:53','2025-04-29 11:22:53',NULL),(42,7941,0,1,7,NULL,NULL,42,NULL,51,23,NULL,NULL,2,1,NULL,40719,40879,00000012,NULL,NULL,'2025-04-29','2025-05-06',0005,1,NULL,770000.00,770000.00,1,1142.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-29 11:23:01','2025-04-29 11:23:01',NULL),(43,7941,0,1,7,NULL,NULL,43,NULL,51,23,NULL,NULL,2,1,NULL,40719,40913,00000013,NULL,NULL,'2025-04-29','2025-05-06',0005,1,NULL,620000.00,620000.00,1,1142.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-04-29 11:23:03','2025-04-29 11:23:03',NULL),(44,7941,0,1,7,NULL,NULL,44,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40927,00000024,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,70000.00,70000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 13:54:52','2025-05-29 13:54:52',NULL),(45,7941,0,1,7,NULL,NULL,45,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40734,00000025,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,900000.00,900000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:05:05','2025-05-29 14:05:05',NULL),(46,7941,0,1,7,NULL,NULL,46,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40770,00000026,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,820000.00,820000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:05:06','2025-05-29 14:05:06',NULL),(47,7941,0,1,7,NULL,NULL,47,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40928,00000027,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,90000.00,90000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:44','2025-05-29 14:07:44',NULL),(48,7941,0,1,7,NULL,NULL,48,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40929,00000028,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,170000.00,170000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:45','2025-05-29 14:07:45',NULL),(49,7941,0,1,7,NULL,NULL,49,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40930,00000029,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,310000.00,310000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:46','2025-05-29 14:07:46',NULL);
INSERT INTO `receipts` VALUES (50,7941,0,1,7,NULL,NULL,50,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40937,00000030,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,160000.00,160000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:47','2025-05-29 14:07:47',NULL),(51,7941,0,1,7,NULL,NULL,51,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40938,00000031,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,35000.00,35000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:48','2025-05-29 14:07:48',NULL),(52,7941,0,1,7,NULL,NULL,52,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40939,00000032,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,190000.00,190000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:49','2025-05-29 14:07:49',NULL),(53,7941,0,1,7,NULL,NULL,53,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40880,00000033,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,460000.00,460000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:50','2025-05-29 14:07:50',NULL),(54,7941,0,1,7,NULL,NULL,54,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40940,00000034,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,190000.00,190000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:51','2025-05-29 14:07:51',NULL),(55,7941,0,1,7,NULL,NULL,55,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40947,00000035,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,130000.00,130000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:52','2025-05-29 14:07:52',NULL),(56,7941,0,1,7,NULL,NULL,56,NULL,272951,23,NULL,NULL,796,1,NULL,40915,40948,00000036,NULL,NULL,'2025-05-29','2025-06-06',0003,1,NULL,130000.00,130000.00,1,1127.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-29 14:07:53','2025-05-29 14:07:53',NULL),(57,NULL,0,1,7,NULL,NULL,57,NULL,52,23,NULL,NULL,2,1,NULL,40719,40881,00000014,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,260000.00,260000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:38','2025-05-30 14:49:38',NULL),(58,NULL,0,1,7,NULL,NULL,58,NULL,52,23,NULL,NULL,2,1,NULL,40719,40882,00000015,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:39','2025-05-30 14:49:39',NULL),(59,NULL,0,1,7,NULL,NULL,59,NULL,52,23,NULL,NULL,2,1,NULL,40719,40878,00000016,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:40','2025-05-30 14:49:40',NULL),(60,NULL,0,1,7,NULL,NULL,60,NULL,52,23,NULL,NULL,2,1,NULL,40719,40914,00000017,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,100000.00,100000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:41','2025-05-30 14:49:41',NULL),(61,NULL,0,1,7,NULL,NULL,61,NULL,52,23,NULL,NULL,2,1,NULL,40719,40941,00000018,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,220000.00,220000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:42','2025-05-30 14:49:42',NULL),(62,NULL,0,1,7,NULL,NULL,62,NULL,52,23,NULL,NULL,2,1,NULL,40719,40877,00000019,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,560000.00,560000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:43','2025-05-30 14:49:43',NULL),(63,NULL,0,1,7,NULL,NULL,63,NULL,52,23,NULL,NULL,2,1,NULL,40719,40942,00000020,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,200000.00,200000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:44','2025-05-30 14:49:44',NULL),(64,NULL,0,1,7,NULL,NULL,64,NULL,52,23,NULL,NULL,2,1,NULL,40719,40943,00000021,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,590000.00,590000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:45','2025-05-30 14:49:45',NULL),(65,NULL,0,1,7,NULL,NULL,65,NULL,52,23,NULL,NULL,2,1,NULL,40719,40945,00000022,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,250000.00,250000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:46','2025-05-30 14:49:46',NULL);
INSERT INTO `receipts` VALUES (66,NULL,0,1,7,NULL,NULL,66,NULL,52,23,NULL,NULL,2,1,NULL,40719,40946,00000023,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,210000.00,210000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:47','2025-05-30 14:49:47',NULL),(67,NULL,0,1,7,NULL,NULL,67,NULL,52,23,NULL,NULL,2,1,NULL,40719,40879,00000024,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,770000.00,770000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:48','2025-05-30 14:49:48',NULL),(68,NULL,0,1,7,NULL,NULL,68,NULL,52,23,NULL,NULL,2,1,NULL,40719,40913,00000025,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,620000.00,620000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:49','2025-05-30 14:49:49',NULL),(69,NULL,0,1,7,NULL,NULL,69,NULL,52,23,NULL,NULL,2,1,NULL,40719,40955,00000026,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,470000.00,470000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:50','2025-05-30 14:49:50',NULL),(70,NULL,0,1,7,NULL,NULL,70,NULL,52,23,NULL,NULL,2,1,NULL,40719,40956,00000027,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,110000.00,110000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:49:51','2025-05-30 14:49:51',NULL),(71,7941,0,1,7,NULL,NULL,71,NULL,52,23,NULL,NULL,2,1,NULL,40719,40881,00000028,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,260000.00,260000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:50:19','2025-05-30 14:50:19',NULL),(72,7941,0,1,7,NULL,NULL,72,NULL,52,23,NULL,NULL,2,1,NULL,40719,40882,00000029,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:50:20','2025-05-30 14:50:20',NULL),(73,7941,0,1,7,NULL,NULL,73,NULL,52,23,NULL,NULL,2,1,NULL,40719,40878,00000030,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:50:21','2025-05-30 14:50:21',NULL),(74,7941,0,1,7,NULL,NULL,74,NULL,52,23,NULL,NULL,2,1,NULL,40719,40914,00000031,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,100000.00,100000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 14:50:22','2025-05-30 14:50:22',NULL),(75,7941,0,1,9,NULL,NULL,75,NULL,52,22,NULL,NULL,2,1,NULL,40719,40881,00000001,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,260000.00,260000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 15:50:41','2025-05-30 15:50:41',NULL),(76,7941,0,1,9,NULL,NULL,76,NULL,52,22,NULL,NULL,2,1,NULL,40719,40882,00000002,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 15:52:06','2025-05-30 15:52:06',NULL),(77,7941,0,1,9,NULL,NULL,77,NULL,52,22,NULL,NULL,2,1,NULL,40719,40878,00000003,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,175000.00,175000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 15:53:22','2025-05-30 15:53:22',NULL),(78,7941,0,1,9,NULL,NULL,78,NULL,52,22,NULL,NULL,2,1,NULL,40719,40914,00000004,NULL,NULL,'2025-05-30','2025-06-06',0005,1,NULL,100000.00,100000.00,1,1148.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-05-30 15:55:07','2025-05-30 15:55:07',NULL),(79,7941,0,1,7,NULL,NULL,79,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40927,00000037,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,70000.00,70000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:39:21','2025-06-27 13:39:21',NULL),(80,NULL,0,1,7,NULL,NULL,80,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40734,00000038,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,980000.00,980000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:08','2025-06-27 13:40:08',NULL),(81,NULL,0,1,7,NULL,NULL,81,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40770,00000039,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,890000.00,890000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:09','2025-06-27 13:40:09',NULL),(82,NULL,0,1,7,NULL,NULL,82,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40928,00000040,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,100000.00,100000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:10','2025-06-27 13:40:10',NULL);
INSERT INTO `receipts` VALUES (83,NULL,0,1,7,NULL,NULL,83,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40929,00000041,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,170000.00,170000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:11','2025-06-27 13:40:11',NULL),(84,NULL,0,1,7,NULL,NULL,84,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40930,00000042,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,310000.00,310000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:12','2025-06-27 13:40:12',NULL),(85,NULL,0,1,7,NULL,NULL,85,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40937,00000043,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,160000.00,160000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:13','2025-06-27 13:40:13',NULL),(86,NULL,0,1,7,NULL,NULL,86,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40938,00000044,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,40000.00,40000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:14','2025-06-27 13:40:14',NULL),(87,NULL,0,1,7,NULL,NULL,87,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40939,00000045,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,190000.00,190000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:16','2025-06-27 13:40:16',NULL),(88,NULL,0,1,7,NULL,NULL,88,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40880,00000046,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,460000.00,460000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:17','2025-06-27 13:40:17',NULL),(89,NULL,0,1,7,NULL,NULL,89,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40940,00000047,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,200000.00,200000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:18','2025-06-27 13:40:18',NULL),(90,NULL,0,1,7,NULL,NULL,90,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40947,00000048,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,150000.00,150000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:19','2025-06-27 13:40:19',NULL),(91,NULL,0,1,7,NULL,NULL,91,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40948,00000049,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,150000.00,150000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:20','2025-06-27 13:40:20',NULL),(92,NULL,0,1,7,NULL,NULL,92,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40957,00000050,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,400000.00,400000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 13:40:21','2025-06-27 13:40:21',NULL),(93,7941,0,1,9,NULL,NULL,93,NULL,272952,23,NULL,NULL,796,1,NULL,40915,40947,00000008,NULL,NULL,'2025-06-27','2025-07-04',0003,1,NULL,150000.00,150000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 14:08:48','2025-06-27 14:08:48',NULL),(94,7941,0,1,7,NULL,NULL,94,NULL,53,23,NULL,NULL,2,1,NULL,40719,40881,00000032,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,280000.00,280000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:53:04','2025-06-27 15:53:04',NULL),(95,7941,0,1,7,NULL,NULL,95,NULL,53,23,NULL,NULL,2,1,NULL,40719,40882,00000033,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,190000.00,190000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:02','2025-06-27 15:54:02',NULL),(96,7941,0,1,7,NULL,NULL,96,NULL,53,23,NULL,NULL,2,1,NULL,40719,40878,00000034,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,190000.00,190000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:03','2025-06-27 15:54:03',NULL),(97,7941,0,1,7,NULL,NULL,97,NULL,53,23,NULL,NULL,2,1,NULL,40719,40914,00000035,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,140000.00,140000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:04','2025-06-27 15:54:04',NULL),(98,7941,0,1,7,NULL,NULL,98,NULL,53,23,NULL,NULL,2,1,NULL,40719,40941,00000036,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,220000.00,220000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:05','2025-06-27 15:54:05',NULL);
INSERT INTO `receipts` VALUES (99,7941,0,1,7,NULL,NULL,99,NULL,53,23,NULL,NULL,2,1,NULL,40719,40877,00000037,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,560000.00,560000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:07','2025-06-27 15:54:07',NULL),(100,7941,0,1,7,NULL,NULL,100,NULL,53,23,NULL,NULL,2,1,NULL,40719,40942,00000038,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,200000.00,200000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:48','2025-06-27 15:54:48',NULL),(101,7941,0,1,7,NULL,NULL,101,NULL,53,23,NULL,NULL,2,1,NULL,40719,40943,00000039,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,605000.00,605000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:49','2025-06-27 15:54:49',NULL),(102,7941,0,1,7,NULL,NULL,102,NULL,53,23,NULL,NULL,2,1,NULL,40719,40945,00000040,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,260000.00,260000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:50','2025-06-27 15:54:50',NULL),(103,7941,0,1,7,NULL,NULL,103,NULL,53,23,NULL,NULL,2,1,NULL,40719,40946,00000041,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,210000.00,210000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:51','2025-06-27 15:54:51',NULL),(104,7941,0,1,7,NULL,NULL,104,NULL,53,23,NULL,NULL,2,1,NULL,40719,40955,00000042,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,400000.00,400000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:52','2025-06-27 15:54:52',NULL),(105,7941,0,1,7,NULL,NULL,105,NULL,53,23,NULL,NULL,2,1,NULL,40719,40956,00000043,NULL,NULL,'2025-06-27','2025-07-04',0005,1,NULL,100000.00,100000.00,1,1166.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-27 15:54:53','2025-06-27 15:54:53',NULL),(106,7941,0,1,7,NULL,NULL,106,NULL,53,23,NULL,NULL,2,1,NULL,40719,40879,00000044,NULL,NULL,'2025-06-30','2025-07-10',0005,1,NULL,960000.00,960000.00,1,1160.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-30 12:28:21','2025-06-30 12:28:21',NULL),(107,7941,0,1,7,NULL,NULL,107,NULL,53,23,NULL,NULL,2,1,NULL,40719,40913,00000045,NULL,NULL,'2025-06-30','2025-07-10',0005,1,NULL,770000.00,770000.00,1,1160.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-06-30 12:28:22','2025-06-30 12:28:22',NULL),(108,7941,0,1,7,NULL,NULL,108,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40927,00000051,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,70000.00,70000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:18:49','2025-07-28 18:18:49',NULL),(109,NULL,0,1,7,NULL,NULL,109,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40734,00000052,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,980000.00,980000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:09','2025-07-28 18:19:09',NULL),(110,NULL,0,1,7,NULL,NULL,110,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40770,00000053,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,890000.00,890000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:10','2025-07-28 18:19:10',NULL),(111,NULL,0,1,7,NULL,NULL,111,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40928,00000054,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,100000.00,100000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:11','2025-07-28 18:19:11',NULL),(112,NULL,0,1,7,NULL,NULL,112,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40929,00000055,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,170000.00,170000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:12','2025-07-28 18:19:12',NULL),(113,NULL,0,1,7,NULL,NULL,113,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40930,00000056,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,330000.00,330000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:14','2025-07-28 18:19:14',NULL),(114,NULL,0,1,7,NULL,NULL,114,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40937,00000057,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,170000.00,170000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:15','2025-07-28 18:19:15',NULL);
INSERT INTO `receipts` VALUES (115,NULL,0,1,7,NULL,NULL,115,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40938,00000058,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,40000.00,40000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:16','2025-07-28 18:19:16',NULL),(116,NULL,0,1,7,NULL,NULL,116,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40872,00000059,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,280000.00,280000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:17','2025-07-28 18:19:17',NULL),(117,NULL,0,1,7,NULL,NULL,117,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40939,00000060,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,190000.00,190000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:18','2025-07-28 18:19:18',NULL),(118,NULL,0,1,7,NULL,NULL,118,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40880,00000061,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,500000.00,500000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:19','2025-07-28 18:19:19',NULL),(119,NULL,0,1,7,NULL,NULL,119,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40940,00000062,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,200000.00,200000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:20','2025-07-28 18:19:20',NULL),(120,NULL,0,1,7,NULL,NULL,120,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40948,00000063,NULL,NULL,'2025-07-28','2025-08-05',0003,1,NULL,150000.00,150000.00,1,1255.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-28 18:19:21','2025-07-28 18:19:21',NULL),(121,7941,0,1,7,NULL,NULL,121,NULL,272953,23,NULL,NULL,796,1,NULL,40915,40947,00000064,NULL,NULL,'2025-07-29','2025-08-05',0003,1,NULL,150000.00,150000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 10:42:10','2025-07-29 10:42:10',NULL),(122,NULL,0,1,7,NULL,NULL,122,NULL,54,23,NULL,NULL,2,1,NULL,40719,40879,00000046,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,960000.00,960000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:14:59','2025-07-29 11:14:59',NULL),(123,NULL,0,1,7,NULL,NULL,123,NULL,54,23,NULL,NULL,2,1,NULL,40719,40913,00000047,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,770000.00,770000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:01','2025-07-29 11:15:01',NULL),(124,NULL,0,1,7,NULL,NULL,124,NULL,54,23,NULL,NULL,2,1,NULL,40719,40881,00000048,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,280000.00,280000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:02','2025-07-29 11:15:02',NULL),(125,NULL,0,1,7,NULL,NULL,125,NULL,54,23,NULL,NULL,2,1,NULL,40719,40882,00000049,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,190000.00,190000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:03','2025-07-29 11:15:03',NULL),(126,NULL,0,1,7,NULL,NULL,126,NULL,54,23,NULL,NULL,2,1,NULL,40719,40878,00000050,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,190000.00,190000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:04','2025-07-29 11:15:04',NULL),(127,NULL,0,1,7,NULL,NULL,127,NULL,54,23,NULL,NULL,2,1,NULL,40719,40914,00000051,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,140000.00,140000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:05','2025-07-29 11:15:05',NULL),(128,NULL,0,1,7,NULL,NULL,128,NULL,54,23,NULL,NULL,2,1,NULL,40719,40958,00000052,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,100000.00,100000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:06','2025-07-29 11:15:06',NULL),(129,NULL,0,1,7,NULL,NULL,129,NULL,54,23,NULL,NULL,2,1,NULL,40719,40941,00000053,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,220000.00,220000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:07','2025-07-29 11:15:07',NULL),(130,NULL,0,1,7,NULL,NULL,130,NULL,54,23,NULL,NULL,2,1,NULL,40719,40942,00000054,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,210000.00,210000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:08','2025-07-29 11:15:08',NULL);
INSERT INTO `receipts` VALUES (131,NULL,0,1,7,NULL,NULL,131,NULL,54,23,NULL,NULL,2,1,NULL,40719,40943,00000055,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,605000.00,605000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:09','2025-07-29 11:15:09',NULL),(132,NULL,0,1,7,NULL,NULL,132,NULL,54,23,NULL,NULL,2,1,NULL,40719,40945,00000056,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,260000.00,260000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:10','2025-07-29 11:15:10',NULL),(133,NULL,0,1,7,NULL,NULL,133,NULL,54,23,NULL,NULL,2,1,NULL,40719,40946,00000057,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,210000.00,210000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:12','2025-07-29 11:15:12',NULL),(134,NULL,0,1,7,NULL,NULL,134,NULL,54,23,NULL,NULL,2,1,NULL,40719,40955,00000058,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,350000.00,350000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(135,NULL,0,1,7,NULL,NULL,135,NULL,54,23,NULL,NULL,2,1,NULL,40719,40956,00000059,NULL,NULL,'2025-07-29','2025-08-05',0005,1,NULL,50000.00,50000.00,1,1260.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(136,7941,0,1,7,NULL,NULL,136,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40927,00000065,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,80000.00,80000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:32:20','2025-08-28 13:32:20',NULL),(137,7941,0,1,7,NULL,NULL,137,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40928,00000066,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,100000.00,100000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:32:21','2025-08-28 13:32:21',NULL),(138,7941,0,1,7,NULL,NULL,138,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40929,00000067,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,180000.00,180000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:32:22','2025-08-28 13:32:22',NULL),(139,7941,0,1,7,NULL,NULL,139,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40930,00000068,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,330000.00,330000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:32:24','2025-08-28 13:32:24',NULL),(140,7941,0,1,7,NULL,NULL,140,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40937,00000069,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,170000.00,170000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:32:25','2025-08-28 13:32:25',NULL),(141,7941,0,1,7,NULL,NULL,141,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40938,00000070,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,40000.00,40000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:41','2025-08-28 13:34:41',NULL),(142,7941,0,1,7,NULL,NULL,142,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40872,00000071,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,280000.00,280000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:43','2025-08-28 13:34:43',NULL),(143,7941,0,1,7,NULL,NULL,143,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40939,00000072,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,200000.00,200000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:44','2025-08-28 13:34:44',NULL),(144,7941,0,1,7,NULL,NULL,144,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40880,00000073,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,500000.00,500000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:45','2025-08-28 13:34:45',NULL),(145,7941,0,1,7,NULL,NULL,145,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40940,00000074,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,210000.00,210000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:46','2025-08-28 13:34:46',NULL),(146,7941,0,1,7,NULL,NULL,146,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40948,00000075,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:47','2025-08-28 13:34:47',NULL);
INSERT INTO `receipts` VALUES (147,7941,0,1,7,NULL,NULL,147,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40947,00000076,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:49','2025-08-28 13:34:49',NULL),(148,7941,0,1,7,NULL,NULL,148,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40959,00000077,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,70000.00,70000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:34:50','2025-08-28 13:34:50',NULL),(149,7941,0,1,7,NULL,NULL,149,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40770,00000078,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,890000.00,890000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 13:45:40','2025-08-28 13:45:40',NULL),(150,7941,0,1,7,NULL,NULL,150,NULL,55,23,NULL,NULL,2,1,NULL,40719,40879,00000060,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,960000.00,960000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:17:41','2025-08-28 15:17:41',NULL),(151,7941,0,1,7,NULL,NULL,151,NULL,55,23,NULL,NULL,2,1,NULL,40719,40913,00000061,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,770000.00,770000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:17:42','2025-08-28 15:17:42',NULL),(152,7941,0,1,7,NULL,NULL,152,NULL,55,23,NULL,NULL,2,1,NULL,40719,40874,00000062,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,200000.00,200000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:17:44','2025-08-28 15:17:44',NULL),(153,7941,0,1,7,NULL,NULL,153,NULL,55,23,NULL,NULL,2,1,NULL,40719,40881,00000063,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,280000.00,280000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:17:45','2025-08-28 15:17:45',NULL),(154,7941,0,1,7,NULL,NULL,154,NULL,55,23,NULL,NULL,2,1,NULL,40719,40882,00000064,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,190000.00,190000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:17:46','2025-08-28 15:17:46',NULL),(155,7941,0,1,7,NULL,NULL,155,NULL,55,23,NULL,NULL,2,1,NULL,40719,40878,00000065,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,190000.00,190000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:07','2025-08-28 15:19:07',NULL),(156,7941,0,1,7,NULL,NULL,156,NULL,55,23,NULL,NULL,2,1,NULL,40719,40914,00000066,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,140000.00,140000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:08','2025-08-28 15:19:08',NULL),(157,7941,0,1,7,NULL,NULL,157,NULL,55,23,NULL,NULL,2,1,NULL,40719,40958,00000067,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,100000.00,100000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:09','2025-08-28 15:19:09',NULL),(158,7941,0,1,7,NULL,NULL,158,NULL,55,23,NULL,NULL,2,1,NULL,40719,40941,00000068,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,240000.00,240000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:10','2025-08-28 15:19:10',NULL),(159,7941,0,1,7,NULL,NULL,159,NULL,55,23,NULL,NULL,2,1,NULL,40719,40942,00000069,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,210000.00,210000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:11','2025-08-28 15:19:11',NULL),(160,7941,0,1,7,NULL,NULL,160,NULL,55,23,NULL,NULL,2,1,NULL,40719,40943,00000070,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,605000.00,605000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:13','2025-08-28 15:19:13',NULL),(161,7941,0,1,7,NULL,NULL,161,NULL,55,23,NULL,NULL,2,1,NULL,40719,40945,00000071,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,280000.00,280000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:14','2025-08-28 15:19:14',NULL),(162,7941,0,1,7,NULL,NULL,162,NULL,55,23,NULL,NULL,2,1,NULL,40719,40946,00000072,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,250000.00,250000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:15','2025-08-28 15:19:15',NULL);
INSERT INTO `receipts` VALUES (163,7941,0,1,7,NULL,NULL,163,NULL,55,23,NULL,NULL,2,1,NULL,40719,40955,00000073,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,350000.00,350000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:16','2025-08-28 15:19:16',NULL),(164,7941,0,1,7,NULL,NULL,164,NULL,55,23,NULL,NULL,2,1,NULL,40719,40956,00000074,NULL,NULL,'2025-08-28','2025-09-05',0005,1,NULL,50000.00,50000.00,1,1329.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-28 15:19:17','2025-08-28 15:19:17',NULL),(165,NULL,0,1,7,NULL,NULL,165,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40927,00000079,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,80000.00,80000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:42','2025-08-29 12:54:42',NULL),(166,NULL,0,1,7,NULL,NULL,166,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40928,00000080,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,100000.00,100000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:44','2025-08-29 12:54:44',NULL),(167,NULL,0,1,7,NULL,NULL,167,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40929,00000081,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,180000.00,180000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:45','2025-08-29 12:54:45',NULL),(168,NULL,0,1,7,NULL,NULL,168,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40930,00000082,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,330000.00,330000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:46','2025-08-29 12:54:46',NULL),(169,NULL,0,1,7,NULL,NULL,169,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40937,00000083,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,170000.00,170000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:47','2025-08-29 12:54:47',NULL),(170,NULL,0,1,7,NULL,NULL,170,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40938,00000084,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,40000.00,40000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:48','2025-08-29 12:54:48',NULL),(171,NULL,0,1,7,NULL,NULL,171,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40872,00000085,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,280000.00,280000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:49','2025-08-29 12:54:49',NULL),(172,NULL,0,1,7,NULL,NULL,172,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40939,00000086,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,200000.00,200000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:50','2025-08-29 12:54:50',NULL),(173,NULL,0,1,7,NULL,NULL,173,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40880,00000087,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,500000.00,500000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:51','2025-08-29 12:54:51',NULL),(174,NULL,0,1,7,NULL,NULL,174,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40940,00000088,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,210000.00,210000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:52','2025-08-29 12:54:52',NULL),(175,NULL,0,1,7,NULL,NULL,175,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40948,00000089,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:54','2025-08-29 12:54:54',NULL),(176,NULL,0,1,7,NULL,NULL,176,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40947,00000090,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:55','2025-08-29 12:54:55',NULL),(177,NULL,0,1,7,NULL,NULL,177,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40959,00000091,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,70000.00,70000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:56','2025-08-29 12:54:56',NULL),(178,NULL,0,1,7,NULL,NULL,178,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40927,00000092,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,80000.00,80000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:54:58','2025-08-29 12:54:58',NULL);
INSERT INTO `receipts` VALUES (179,NULL,0,1,7,NULL,NULL,179,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40928,00000093,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,100000.00,100000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:00','2025-08-29 12:55:00',NULL),(180,NULL,0,1,7,NULL,NULL,180,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40929,00000094,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,180000.00,180000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:01','2025-08-29 12:55:01',NULL),(181,NULL,0,1,7,NULL,NULL,181,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40930,00000095,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,330000.00,330000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:02','2025-08-29 12:55:02',NULL),(182,NULL,0,1,7,NULL,NULL,182,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40937,00000096,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,170000.00,170000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:03','2025-08-29 12:55:03',NULL),(183,NULL,0,1,7,NULL,NULL,183,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40938,00000097,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,40000.00,40000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:04','2025-08-29 12:55:04',NULL),(184,NULL,0,1,7,NULL,NULL,184,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40872,00000098,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,280000.00,280000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:05','2025-08-29 12:55:05',NULL),(185,NULL,0,1,7,NULL,NULL,185,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40939,00000099,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,200000.00,200000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(186,NULL,0,1,7,NULL,NULL,186,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40880,00000100,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,500000.00,500000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(187,NULL,0,1,7,NULL,NULL,187,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40940,00000101,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,210000.00,210000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:08','2025-08-29 12:55:08',NULL),(188,NULL,0,1,7,NULL,NULL,188,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40948,00000102,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:09','2025-08-29 12:55:09',NULL),(189,NULL,0,1,7,NULL,NULL,189,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40947,00000103,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:11','2025-08-29 12:55:11',NULL),(190,NULL,0,1,7,NULL,NULL,190,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40959,00000104,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,70000.00,70000.00,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 12:55:12','2025-08-29 12:55:12',NULL),(191,7941,0,1,9,NULL,NULL,191,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40872,00000009,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,280000.00,280000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 11:54:41','2025-09-04 11:54:41',NULL),(192,7941,0,1,9,NULL,NULL,192,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40872,00000010,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,280000.00,280000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 11:56:42','2025-09-04 11:56:42',NULL),(193,7941,0,1,9,NULL,NULL,193,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40928,00000011,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,100000.00,100000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:07:59','2025-09-04 12:07:59',NULL),(194,7941,0,1,9,NULL,NULL,194,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40928,00000012,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,100000.00,100000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:09:01','2025-09-04 12:09:01',NULL);
INSERT INTO `receipts` VALUES (195,7941,0,1,9,NULL,NULL,195,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40880,00000013,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,500000.00,500000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:11:32','2025-09-04 12:11:32',NULL),(196,7941,0,1,9,NULL,NULL,196,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40880,00000014,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,500000.00,500000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:12:39','2025-09-04 12:12:39',NULL),(197,7941,0,1,9,NULL,NULL,197,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40937,00000015,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,170000.00,170000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:15:57','2025-09-04 12:15:57',NULL),(198,7941,0,1,9,NULL,NULL,198,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40937,00000016,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,170000.00,170000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:21:28','2025-09-04 12:21:28',NULL),(199,7941,0,1,9,NULL,NULL,199,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40930,00000017,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,330000.00,330000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:31:12','2025-09-04 12:31:12',NULL),(200,7941,0,1,9,NULL,NULL,200,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40930,00000018,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,330000.00,330000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:42:44','2025-09-04 12:42:44',NULL),(201,7941,0,1,9,NULL,NULL,201,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40927,00000019,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,80000.00,80000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:54:23','2025-09-04 12:54:23',NULL),(202,7941,0,1,9,NULL,NULL,202,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40927,00000020,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,80000.00,80000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 12:55:41','2025-09-04 12:55:41',NULL),(203,7941,0,1,9,NULL,NULL,203,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40939,00000021,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,200000.00,200000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:08:19','2025-09-04 13:08:19',NULL),(204,7941,0,1,9,NULL,NULL,204,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40939,00000022,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,200000.00,200000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:11:09','2025-09-04 13:11:09',NULL),(205,7941,0,1,9,NULL,NULL,205,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40959,00000023,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,70000.00,70000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:13:14','2025-09-04 13:13:14',NULL),(206,7941,0,1,9,NULL,NULL,206,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40959,00000024,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,70000.00,70000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:15:47','2025-09-04 13:15:47',NULL),(207,7941,0,1,9,NULL,NULL,207,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40947,00000025,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:25:15','2025-09-04 13:25:15',NULL),(208,7941,0,1,9,NULL,NULL,208,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40947,00000026,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 13:27:44','2025-09-04 13:27:44',NULL),(209,7941,0,1,9,NULL,NULL,209,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40948,00000027,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:09:51','2025-09-04 14:09:51',NULL),(210,7941,0,1,9,NULL,NULL,210,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40948,00000028,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,160000.00,160000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:11:46','2025-09-04 14:11:46',NULL);
INSERT INTO `receipts` VALUES (211,7941,0,1,9,NULL,NULL,211,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40929,00000029,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,180000.00,180000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:17:02','2025-09-04 14:17:02',NULL),(212,7941,0,1,9,NULL,NULL,212,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40929,00000030,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,180000.00,180000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:18:45','2025-09-04 14:18:45',NULL),(213,7941,0,1,9,NULL,NULL,213,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40940,00000031,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,210000.00,210000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:23:12','2025-09-04 14:23:12',NULL),(214,7941,0,1,9,NULL,NULL,214,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40940,00000032,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,210000.00,210000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:24:39','2025-09-04 14:24:39',NULL),(215,7941,0,1,9,NULL,NULL,215,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40938,00000033,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,40000.00,40000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:28:56','2025-09-04 14:28:56',NULL),(216,7941,0,1,9,NULL,NULL,216,NULL,272954,23,NULL,NULL,796,1,NULL,40915,40938,00000034,NULL,NULL,'2025-08-28','2025-09-05',0003,1,NULL,40000.00,40000.00,1,1335.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-04 14:30:19','2025-09-04 14:30:19',NULL),(217,7941,0,1,7,NULL,NULL,217,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40927,00000105,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,80000.00,80000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:32:13','2025-09-26 14:32:13',NULL),(218,7941,0,1,7,NULL,NULL,218,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40928,00000106,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,105000.00,105000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:32:14','2025-09-26 14:32:14',NULL),(219,7941,0,1,7,NULL,NULL,219,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40929,00000107,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,180000.00,180000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:46:48','2025-09-26 14:46:48',NULL),(220,7941,0,1,7,NULL,NULL,220,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40930,00000108,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,330000.00,330000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:46:49','2025-09-26 14:46:49',NULL),(221,7941,0,1,7,NULL,NULL,221,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40937,00000109,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,170000.00,170000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:51:53','2025-09-26 14:51:53',NULL),(222,7941,0,1,7,NULL,NULL,222,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40938,00000110,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,45000.00,45000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:51:54','2025-09-26 14:51:54',NULL),(223,7941,0,1,7,NULL,NULL,223,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40959,00000111,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,90000.00,90000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:51:55','2025-09-26 14:51:55',NULL),(224,7941,0,1,7,NULL,NULL,224,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40872,00000112,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,280000.00,280000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:54:50','2025-09-26 14:54:50',NULL),(225,7941,0,1,7,NULL,NULL,225,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40939,00000113,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,200000.00,200000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:54:51','2025-09-26 14:54:51',NULL),(226,7941,0,1,7,NULL,NULL,226,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40880,00000114,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,500000.00,500000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:54:52','2025-09-26 14:54:52',NULL);
INSERT INTO `receipts` VALUES (227,7941,0,1,7,NULL,NULL,227,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40948,00000115,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,160000.00,160000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:54:54','2025-09-26 14:54:54',NULL),(228,7941,0,1,7,NULL,NULL,228,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40947,00000116,NULL,NULL,'2025-09-26','2025-10-03',0003,1,NULL,160000.00,160000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 14:54:55','2025-09-26 14:54:55',NULL),(229,7941,0,1,7,NULL,NULL,229,NULL,56,23,NULL,NULL,2,1,NULL,40719,40958,00000075,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,100000.00,100000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 15:51:35','2025-09-26 15:51:35',NULL),(230,7941,0,1,7,NULL,NULL,230,NULL,56,23,NULL,NULL,2,1,NULL,40719,40941,00000076,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,240000.00,240000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 15:51:36','2025-09-26 15:51:36',NULL),(231,7941,0,1,7,NULL,NULL,231,NULL,56,23,NULL,NULL,2,1,NULL,40719,40946,00000077,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,250000.00,250000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 15:51:37','2025-09-26 15:51:37',NULL),(232,7941,0,1,7,NULL,NULL,232,NULL,56,23,NULL,NULL,2,1,NULL,40719,40942,00000078,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,210000.00,210000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 15:53:43','2025-09-26 15:53:43',NULL),(233,7941,0,1,7,NULL,NULL,233,NULL,56,23,NULL,NULL,2,1,NULL,40719,40945,00000079,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,280000.00,280000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 15:53:44','2025-09-26 15:53:44',NULL),(234,7941,0,1,7,NULL,NULL,234,NULL,56,23,NULL,NULL,2,1,NULL,40719,40960,00000080,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,150000.00,150000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 16:04:33','2025-09-26 16:04:33',NULL),(235,7941,0,1,7,NULL,NULL,235,NULL,56,23,NULL,NULL,2,1,NULL,40719,40961,00000081,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,250000.00,250000.00,1,1305.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-26 16:04:34','2025-09-26 16:04:34',NULL),(236,7941,0,1,7,NULL,NULL,236,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40734,00000117,NULL,NULL,'2025-09-30','2025-10-03',0003,1,NULL,1040000.00,1040000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:08:15','2025-09-30 09:08:15',NULL),(237,7941,0,1,7,NULL,NULL,237,NULL,272955,23,NULL,NULL,796,1,NULL,40915,40770,00000118,NULL,NULL,'2025-09-30','2025-10-03',0003,1,NULL,650000.00,650000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:08:16','2025-09-30 09:08:16',NULL),(238,7941,0,1,7,NULL,NULL,238,NULL,56,23,NULL,NULL,2,1,NULL,40719,40879,00000082,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,1010000.00,1010000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:33:04','2025-09-30 09:33:04',NULL),(239,7941,0,1,7,NULL,NULL,239,NULL,56,23,NULL,NULL,2,1,NULL,40719,40913,00000083,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,800000.00,800000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:33:06','2025-09-30 09:33:06',NULL),(240,7941,0,1,7,NULL,NULL,240,NULL,56,23,NULL,NULL,2,1,NULL,40719,40881,00000084,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,290000.00,290000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:38:02','2025-09-30 09:38:02',NULL),(241,7941,0,1,7,NULL,NULL,241,NULL,56,23,NULL,NULL,2,1,NULL,40719,40882,00000085,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,200000.00,200000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:38:03','2025-09-30 09:38:03',NULL),(242,7941,0,1,7,NULL,NULL,242,NULL,56,23,NULL,NULL,2,1,NULL,40719,40878,00000086,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,200000.00,200000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:38:04','2025-09-30 09:38:04',NULL);
INSERT INTO `receipts` VALUES (243,7941,0,1,7,NULL,NULL,243,NULL,56,23,NULL,NULL,2,1,NULL,40719,40914,00000087,NULL,NULL,'2025-09-30','2025-10-03',0005,1,NULL,150000.00,150000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:38:05','2025-09-30 09:38:05',NULL),(244,7941,0,1,9,NULL,NULL,244,NULL,56,22,NULL,NULL,2,1,NULL,40719,40960,00000005,NULL,NULL,'2025-09-26','2025-10-03',0005,1,NULL,150000.00,150000.00,1,1324.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-30 09:56:25','2025-09-30 09:56:25',NULL),(245,7941,0,1,7,NULL,NULL,245,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40927,00000119,NULL,NULL,'2025-10-22','2025-11-07',0003,1,NULL,80000.00,80000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-22 16:43:34','2025-10-22 16:43:34',NULL),(246,7941,0,1,7,NULL,NULL,246,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40734,00000120,NULL,NULL,'2025-10-22','2025-11-07',0003,1,NULL,1040000.00,1040000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-22 16:43:35','2025-10-22 16:43:35',NULL),(247,7941,0,1,7,NULL,NULL,247,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40770,00000121,NULL,NULL,'2025-10-22','2025-11-07',0003,1,NULL,650000.00,650000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-22 16:43:36','2025-10-22 16:43:36',NULL),(248,7941,0,1,7,NULL,NULL,248,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40928,00000122,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,105000.00,105000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:12','2025-10-23 11:39:12',NULL),(249,7941,0,1,7,NULL,NULL,249,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40929,00000123,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,180000.00,180000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:14','2025-10-23 11:39:14',NULL),(250,7941,0,1,7,NULL,NULL,250,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40930,00000124,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,350000.00,350000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:15','2025-10-23 11:39:15',NULL),(251,7941,0,1,7,NULL,NULL,251,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40937,00000125,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,180000.00,180000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:16','2025-10-23 11:39:16',NULL),(252,7941,0,1,7,NULL,NULL,252,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40938,00000126,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,45000.00,45000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:17','2025-10-23 11:39:17',NULL),(253,7941,0,1,7,NULL,NULL,253,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40872,00000127,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,300000.00,300000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:39:18','2025-10-23 11:39:18',NULL),(254,7941,0,1,7,NULL,NULL,254,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40939,00000128,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,200000.00,200000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:28','2025-10-23 11:43:28',NULL),(255,7941,0,1,7,NULL,NULL,255,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40880,00000129,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,550000.00,550000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:29','2025-10-23 11:43:29',NULL),(256,7941,0,1,7,NULL,NULL,256,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40940,00000130,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,220000.00,220000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:30','2025-10-23 11:43:30',NULL),(257,7941,0,1,7,NULL,NULL,257,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40948,00000131,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,170000.00,170000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:31','2025-10-23 11:43:31',NULL),(258,7941,0,1,7,NULL,NULL,258,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40947,00000132,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,170000.00,170000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:32','2025-10-23 11:43:32',NULL);
INSERT INTO `receipts` VALUES (259,7941,0,1,7,NULL,NULL,259,NULL,272956,23,NULL,NULL,796,1,NULL,40915,40959,00000133,NULL,NULL,'2025-10-23','2025-11-07',0003,1,NULL,90000.00,90000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 11:43:33','2025-10-23 11:43:33',NULL),(260,7941,0,1,7,NULL,NULL,260,NULL,57,23,NULL,NULL,2,1,NULL,40719,40879,00000088,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,1010000.00,1010000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:25:06','2025-10-23 15:25:06',NULL),(261,7941,0,1,7,NULL,NULL,261,NULL,57,23,NULL,NULL,2,1,NULL,40719,40913,00000089,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,800000.00,800000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:25:07','2025-10-23 15:25:07',NULL),(262,7941,0,1,7,NULL,NULL,262,NULL,57,23,NULL,NULL,2,1,NULL,40719,40881,00000090,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,290000.00,290000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:25:09','2025-10-23 15:25:09',NULL),(263,7941,0,1,7,NULL,NULL,263,NULL,57,23,NULL,NULL,2,1,NULL,40719,40882,00000091,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,200000.00,200000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:25:10','2025-10-23 15:25:10',NULL),(264,7941,0,1,7,NULL,NULL,264,NULL,57,23,NULL,NULL,2,1,NULL,40719,40878,00000092,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,200000.00,200000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:25:11','2025-10-23 15:25:11',NULL),(265,7941,0,1,7,NULL,NULL,265,NULL,57,23,NULL,NULL,2,1,NULL,40719,40914,00000093,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,150000.00,150000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:14','2025-10-23 15:34:14',NULL),(266,7941,0,1,7,NULL,NULL,266,NULL,57,23,NULL,NULL,2,1,NULL,40719,40958,00000094,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,100000.00,100000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:15','2025-10-23 15:34:15',NULL),(267,7941,0,1,7,NULL,NULL,267,NULL,57,23,NULL,NULL,2,1,NULL,40719,40941,00000095,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,240000.00,240000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:16','2025-10-23 15:34:16',NULL),(268,7941,0,1,7,NULL,NULL,268,NULL,57,23,NULL,NULL,2,1,NULL,40719,40942,00000096,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,220000.00,220000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:17','2025-10-23 15:34:17',NULL),(269,7941,0,1,7,NULL,NULL,269,NULL,57,23,NULL,NULL,2,1,NULL,40719,40945,00000097,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,290000.00,290000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:19','2025-10-23 15:34:19',NULL),(270,7941,0,1,7,NULL,NULL,270,NULL,57,23,NULL,NULL,2,1,NULL,40719,40946,00000098,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,250000.00,250000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:20','2025-10-23 15:34:20',NULL),(271,7941,0,1,7,NULL,NULL,271,NULL,57,23,NULL,NULL,2,1,NULL,40719,40961,00000099,NULL,NULL,'2025-10-23','2025-11-07',0005,1,NULL,500000.00,500000.00,1,1468.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-23 15:34:21','2025-10-23 15:34:21',NULL);

--
-- Table structure for table `recibo_config`
--

CREATE TABLE `recibo_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recibo_config_person_id_foreign` (`person_id`),
  CONSTRAINT `recibo_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibo_config`
--

INSERT INTO `recibo_config` VALUES (1,7941,40719,0,'2025-03-31 13:20:02','2025-03-31 13:20:02',NULL),(2,7941,40870,0,'2025-03-31 13:23:42','2025-03-31 13:23:42',NULL),(3,7941,40915,0,'2025-03-31 15:31:16','2025-03-31 15:31:16',NULL),(4,7941,40871,0,'2025-04-01 15:31:57','2025-04-01 15:31:57',NULL);

--
-- Table structure for table `recibos`
--

CREATE TABLE `recibos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-13',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `ret_ganancias` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iibb` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_internos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_municipales` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_otros_tributos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recibos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `recibos_person_id_foreign` (`person_id`),
  KEY `recibos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `recibos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `recibos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `recibos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `recibos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `recibos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibos`
--

INSERT INTO `recibos` VALUES (1,7941,'2025-05-29',4,1,40915,3,1,1,0.00,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2025-05-29 15:37:03','2025-05-29 15:37:29','2025-05-29 15:37:29');

--
-- Table structure for table `remito_config`
--

CREATE TABLE `remito_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `remito_config_person_id_foreign` (`person_id`),
  CONSTRAINT `remito_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remito_config`
--

INSERT INTO `remito_config` VALUES (1,7941,40719,0,'2025-03-31 13:20:02','2025-03-31 13:20:02',NULL),(2,7941,40870,0,'2025-03-31 13:23:42','2025-03-31 13:23:42',NULL),(3,7941,40915,0,'2025-03-31 15:31:16','2025-03-31 15:31:16',NULL),(4,7941,40871,0,'2025-04-01 15:31:57','2025-04-01 15:31:57',NULL);

--
-- Table structure for table `remitos`
--

CREATE TABLE `remitos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2020-05-25',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `remitos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `remitos_person_id_foreign` (`person_id`),
  KEY `remitos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `remitos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `remitos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `remitos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `remitos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `remitos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remitos`
--


--
-- Table structure for table `reportes`
--

CREATE TABLE `reportes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `reportes_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reportes`
--

INSERT INTO `reportes` VALUES (1,'Comprobantes',1,'informes','','reportes/informes/comprobantes/comprobantes',NULL,NULL),(3,'Liquidaciones IIBB',1,'informes','','reportes/informes/iibb/iibb',NULL,NULL),(4,'Tablero de Control',3,'tablero','','reportes/tableroControl/index',NULL,NULL),(5,'Liquidaciones IVA',1,'informes','','reportes/informes/iva/iva',NULL,NULL),(6,'Obligaciones Anuales',1,'informes','','reportes/informes/obligaciones_anuales/index','2019-11-29 18:37:49','2019-11-29 18:37:49'),(7,'Estado CUITs',1,'informes','','reportes/informes/control_cuits/index','2019-12-09 00:50:43','2019-12-09 00:50:43');

--
-- Table structure for table `retention_types`
--

CREATE TABLE `retention_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apply_to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'iibb',
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `retention_types_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `retention_types_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_types`
--

INSERT INTO `retention_types` VALUES (1,NULL,NULL,'Retenciones de Ganancias','ganancias','GAN',NULL,23),(2,NULL,NULL,'Retenciones de SUSS','sus','SUSS',NULL,162),(3,NULL,NULL,'Retenciones de IVA','iva','Ret IVA',NULL,25),(4,NULL,'2022-10-11 14:20:34','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2022-10-11 14:20:34','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2022-10-11 14:20:34','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2022-10-11 14:20:34','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2022-10-11 14:20:34','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2022-10-11 14:20:34','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2022-10-11 14:20:34','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2022-10-11 14:20:34','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2022-10-11 14:20:34','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2022-10-11 14:20:34','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2022-10-11 14:20:34','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2022-10-11 14:20:34','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2022-10-11 14:20:34','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2022-10-11 14:20:34','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2022-10-11 14:20:34','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2022-10-11 14:20:34','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2022-10-11 14:20:34','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2022-10-11 14:20:34','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2022-10-11 14:20:34','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2022-10-11 14:20:34','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2022-10-11 14:20:34','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2022-10-11 14:20:34','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2022-10-11 14:20:34','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2022-10-11 14:20:34','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2022-10-11 14:20:34','Retencion IIBB de Tucuman','iibb',NULL,21,275);

--
-- Table structure for table `retentions`
--

CREATE TABLE `retentions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `retention_type_id` int(10) unsigned NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` date NOT NULL DEFAULT '2023-05-30',
  `anio` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `neto_gravado_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_acum_mes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `monto_no_sujeto_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tasa_aplicable` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retencion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `retentions_person_id_foreign` (`person_id`),
  KEY `retentions_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `retentions_period_id_foreign` (`period_id`),
  KEY `retentions_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `retentions_retention_type_id_foreign` (`retention_type_id`),
  KEY `retentions_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `retentions_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  CONSTRAINT `retentions_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `retentions_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `retentions_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `retentions_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `retentions_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions`
--


--
-- Table structure for table `retentions_details`
--

CREATE TABLE `retentions_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `retention_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `retentions_details_retention_id_foreign` (`retention_id`),
  KEY `retentions_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `retentions_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`),
  CONSTRAINT `retentions_details_retention_id_foreign` FOREIGN KEY (`retention_id`) REFERENCES `retentions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions_details`
--


--
-- Table structure for table `rodados`
--

CREATE TABLE `rodados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marcas_modelo_id` bigint(20) unsigned NOT NULL,
  `rodados_equipo_id` bigint(20) unsigned NOT NULL,
  `rodados_estado_id` bigint(20) unsigned NOT NULL,
  `interno` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `chasis` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `motor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_limitado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_limitado` date DEFAULT NULL,
  `fecha_vto_vtv` date DEFAULT NULL,
  `fecha_vto_ruta` date DEFAULT NULL,
  `fecha_vto_seguro` date DEFAULT NULL,
  `rodados_seguros_compania_id` bigint(20) unsigned DEFAULT NULL,
  `num_poliza` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rodados_seguros_cobertura_id` bigint(20) unsigned DEFAULT NULL,
  `num_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_lojack` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_lojack_tecnologia_id` bigint(20) unsigned DEFAULT NULL,
  `is_ypf_gps_instalado` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_ypf_gps_estado_id` bigint(20) unsigned DEFAULT NULL,
  `ypf_ruta_num_tarjeta` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shell_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_opds_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_ceamse_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_estado_unidad` tinyint(1) NOT NULL DEFAULT '0',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `is_parametrizado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_parametrizado` date DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `fecha_alta` date DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_person_id_foreign` (`person_id`),
  KEY `rodados_rodados_marcas_modelo_id_foreign` (`rodados_marcas_modelo_id`),
  KEY `rodados_rodados_equipo_id_foreign` (`rodados_equipo_id`),
  KEY `rodados_rodados_estado_id_foreign` (`rodados_estado_id`),
  KEY `rodados_rodados_seguros_compania_id_foreign` (`rodados_seguros_compania_id`),
  KEY `rodados_rodados_seguros_cobertura_id_foreign` (`rodados_seguros_cobertura_id`),
  KEY `rodados_rodados_lojack_tecnologia_id_foreign` (`rodados_lojack_tecnologia_id`),
  KEY `rodados_rodados_ypf_gps_estado_id_foreign` (`rodados_ypf_gps_estado_id`),
  CONSTRAINT `rodados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_rodados_equipo_id_foreign` FOREIGN KEY (`rodados_equipo_id`) REFERENCES `rodados_equipos` (`id`),
  CONSTRAINT `rodados_rodados_estado_id_foreign` FOREIGN KEY (`rodados_estado_id`) REFERENCES `rodados_estados` (`id`),
  CONSTRAINT `rodados_rodados_lojack_tecnologia_id_foreign` FOREIGN KEY (`rodados_lojack_tecnologia_id`) REFERENCES `rodados_lojack_tecnologias` (`id`),
  CONSTRAINT `rodados_rodados_marcas_modelo_id_foreign` FOREIGN KEY (`rodados_marcas_modelo_id`) REFERENCES `rodados_marcas_modelos` (`id`),
  CONSTRAINT `rodados_rodados_seguros_cobertura_id_foreign` FOREIGN KEY (`rodados_seguros_cobertura_id`) REFERENCES `rodados_seguros_coberturas` (`id`),
  CONSTRAINT `rodados_rodados_seguros_compania_id_foreign` FOREIGN KEY (`rodados_seguros_compania_id`) REFERENCES `rodados_seguros_companias` (`id`),
  CONSTRAINT `rodados_rodados_ypf_gps_estado_id_foreign` FOREIGN KEY (`rodados_ypf_gps_estado_id`) REFERENCES `rodados_ypf_gps_estados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados`
--


--
-- Table structure for table `rodados_cargas`
--

CREATE TABLE `rodados_cargas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_cargas_marca_id` bigint(20) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `tarjeta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ubicacion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `combustible` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `litros` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `precio_x_litro` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `neto` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_person_id_foreign` (`person_id`),
  KEY `rodados_cargas_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_rodados_cargas_marca_id_foreign` (`rodados_cargas_marca_id`),
  CONSTRAINT `rodados_cargas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_cargas_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`),
  CONSTRAINT `rodados_cargas_rodados_cargas_marca_id_foreign` FOREIGN KEY (`rodados_cargas_marca_id`) REFERENCES `rodados_cargas_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas`
--


--
-- Table structure for table `rodados_cargas_control`
--

CREATE TABLE `rodados_cargas_control` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `carga_control_tope_id` bigint(20) unsigned NOT NULL,
  `acumulado` int(11) NOT NULL DEFAULT '0',
  `ultima_carga` int(11) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_control_carga_control_tope_id_foreign` (`carga_control_tope_id`),
  CONSTRAINT `rodados_cargas_control_carga_control_tope_id_foreign` FOREIGN KEY (`carga_control_tope_id`) REFERENCES `rodados_cargas_control_topes` (`id`),
  CONSTRAINT `rodados_cargas_control_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control`
--


--
-- Table structure for table `rodados_cargas_control_history`
--

CREATE TABLE `rodados_cargas_control_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `control` int(11) NOT NULL,
  `acumulado` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_history_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_cargas_control_history_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_history`
--


--
-- Table structure for table `rodados_cargas_control_topes`
--

CREATE TABLE `rodados_cargas_control_topes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `control` int(11) NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_topes_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_control_topes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_topes`
--


--
-- Table structure for table `rodados_cargas_marcas`
--

CREATE TABLE `rodados_cargas_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_marcas`
--


--
-- Table structure for table `rodados_equipos`
--

CREATE TABLE `rodados_equipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_equipos_descripcion_unique` (`descripcion`),
  KEY `rodados_equipos_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_equipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_equipos`
--


--
-- Table structure for table `rodados_estados`
--

CREATE TABLE `rodados_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_estados`
--


--
-- Table structure for table `rodados_files`
--

CREATE TABLE `rodados_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_files_person_id_foreign` (`person_id`),
  KEY `rodados_files_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_files_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_files`
--


--
-- Table structure for table `rodados_kms`
--

CREATE TABLE `rodados_kms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha_desde` date NOT NULL,
  `fecha_hasta` date NOT NULL,
  `imei` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dispositivo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tiempo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero_viaje` int(11) DEFAULT NULL,
  `kms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_kms_person_id_foreign` (`person_id`),
  KEY `rodados_kms_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_kms_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_kms_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_kms`
--


--
-- Table structure for table `rodados_lojack_tecnologias`
--

CREATE TABLE `rodados_lojack_tecnologias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_lojack_tecnologias_descripcion_unique` (`descripcion`),
  KEY `rodados_lojack_tecnologias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_lojack_tecnologias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_lojack_tecnologias`
--


--
-- Table structure for table `rodados_marcas`
--

CREATE TABLE `rodados_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_marcas_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas`
--


--
-- Table structure for table `rodados_marcas_modelos`
--

CREATE TABLE `rodados_marcas_modelos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marca_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_marcas_modelos_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_modelos_person_id_foreign` (`person_id`),
  KEY `rodados_marcas_modelos_rodados_marca_id_foreign` (`rodados_marca_id`),
  CONSTRAINT `rodados_marcas_modelos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_marcas_modelos_rodados_marca_id_foreign` FOREIGN KEY (`rodados_marca_id`) REFERENCES `rodados_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas_modelos`
--


--
-- Table structure for table `rodados_seguros_coberturas`
--

CREATE TABLE `rodados_seguros_coberturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_seguros_coberturas_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_coberturas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_coberturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_coberturas`
--


--
-- Table structure for table `rodados_seguros_companias`
--

CREATE TABLE `rodados_seguros_companias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_seguros_companias_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_companias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_companias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_companias`
--


--
-- Table structure for table `rodados_ypf_gps_estados`
--

CREATE TABLE `rodados_ypf_gps_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_ypf_gps_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_ypf_gps_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_ypf_gps_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_ypf_gps_estados`
--


--
-- Table structure for table `sexo`
--

CREATE TABLE `sexo` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sexo_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sexo`
--

INSERT INTO `sexo` VALUES (1,NULL,'Masculino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Femenino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `sicore_alicuotas`
--

CREATE TABLE `sicore_alicuotas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `desde` int(10) unsigned NOT NULL,
  `hasta` int(10) unsigned NOT NULL,
  `impuesto` int(10) unsigned NOT NULL,
  `mas_porcentaje` decimal(8,2) unsigned NOT NULL,
  `excedente` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_alicuotas`
--

INSERT INTO `sicore_alicuotas` VALUES (1,NULL,2022,0,8000,0,0.00,0,NULL,NULL,NULL),(2,NULL,2022,8000,16000,400,9.00,8000,NULL,NULL,NULL),(3,NULL,2022,16000,24000,1120,12.00,16000,NULL,NULL,NULL),(4,NULL,2022,24000,32000,2080,15.00,24000,NULL,NULL,NULL),(5,NULL,2022,32000,48000,3280,19.00,32000,NULL,NULL,NULL),(6,NULL,2022,48000,64000,6320,23.00,48000,NULL,NULL,NULL),(7,NULL,2022,64000,96000,10000,27.00,64000,NULL,NULL,NULL),(8,NULL,2022,96000,999999,18640,31.00,96000,NULL,NULL,NULL);

--
-- Table structure for table `sicore_comprobantes`
--

CREATE TABLE `sicore_comprobantes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_comprobantes`
--

INSERT INTO `sicore_comprobantes` VALUES (1,'1','FACTURAS A',1,NULL,NULL,NULL),(2,'2','NOTAS DE DEBITO A',1,NULL,NULL,NULL),(3,'3','NOTAS DE CREDITO A',1,NULL,NULL,NULL),(4,'4','RECIBOS A',1,NULL,NULL,NULL),(5,'5','NOTAS DE VENTA AL CONTADO A',1,NULL,NULL,NULL),(6,'6','FACTURAS B',1,NULL,NULL,NULL),(7,'7','NOTAS DE DEBITO B',1,NULL,NULL,NULL),(8,'8','NOTAS DE CREDITO B',1,NULL,NULL,NULL),(9,'9','RECIBOS B',1,NULL,NULL,NULL),(10,'10','NOTAS DE VENTA AL CONTADO B',1,NULL,NULL,NULL),(11,'11','FACTURAS C',1,NULL,NULL,NULL),(12,'12','NOTAS DE DEBITO C',1,NULL,NULL,NULL),(13,'13','NOTAS DE CREDITO C',1,NULL,NULL,NULL),(14,'15','RECIBOS C',1,NULL,NULL,NULL),(15,'16','NOTAS DE VENTA AL CONTADO C',1,NULL,NULL,NULL),(16,'17','LIQUIDACION DE SERVICIOS PUBLICOS CLASE A',1,NULL,NULL,NULL),(17,'18','LIQUIDACION DE SERVICIOS PUBLICOS CLASE B',1,NULL,NULL,NULL),(18,'19','FACTURAS DE EXPORTACION',1,NULL,NULL,NULL),(19,'20','NOTAS DE DEBITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(20,'21','NOTAS DE CREDITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(21,'22','FACTURAS - PERMISO EXPORTACION SIMPLIFICADO - DTO. 855/97',1,NULL,NULL,NULL),(22,'23','COMPROBANTES “A” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(23,'24','COMPROBANTES “A” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(24,'25','COMPROBANTES “B” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(25,'26','COMPROBANTES “B” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(26,'27','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(27,'28','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(28,'29','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(29,'30','COMPROBANTES DE COMPRA DE BIENES USADOS',1,NULL,NULL,NULL),(30,'31','MANDATO - CONSIGNACION',1,NULL,NULL,NULL),(31,'32','COMPROBANTES PARA RECICLAR MATERIALES',1,NULL,NULL,NULL),(32,'33','LIQUIDACION PRIMARIA DE GRANOS',1,NULL,NULL,NULL),(33,'34','COMPROBANTES A DEL APARTADO A  INCISO F)  R.G. N°  1415',1,NULL,NULL,NULL),(34,'35','COMPROBANTES B DEL ANEXO I, APARTADO A, INC. F), R.G. N° 1415',1,NULL,NULL,NULL),(35,'36','COMPROBANTES C DEL Anexo I, Apartado A, INC.F), R.G. N° 1415',1,NULL,NULL,NULL),(36,'37','NOTAS DE DEBITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(37,'38','NOTAS DE CREDITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(38,'39','OTROS COMPROBANTES A QUE CUMPLEN CON LA R G  1415',1,NULL,NULL,NULL),(39,'40','OTROS COMPROBANTES B QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(40,'41','OTROS COMPROBANTES C QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(41,'43','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(42,'44','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(43,'45','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(44,'46','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(45,'47','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(46,'48','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(47,'49','COMPROBANTES DE COMPRA DE BIENES NO REGISTRABLES A CONSUMIDORES FINALES',1,NULL,NULL,NULL),(48,'50','RECIBO FACTURA A  REGIMEN DE FACTURA DE CREDITO ',1,NULL,NULL,NULL),(49,'51','FACTURAS M',1,NULL,NULL,NULL),(50,'52','NOTAS DE DEBITO M',1,NULL,NULL,NULL),(51,'53','NOTAS DE CREDITO M',1,NULL,NULL,NULL),(52,'54','RECIBOS M',1,NULL,NULL,NULL),(53,'55','NOTAS DE VENTA AL CONTADO M',1,NULL,NULL,NULL),(54,'56','COMPROBANTES M DEL ANEXO I  APARTADO A  INC F) R.G. N° 1415',1,NULL,NULL,NULL),(55,'57','OTROS COMPROBANTES M QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(56,'58','CUENTAS DE VENTA Y LIQUIDO PRODUCTO M',1,NULL,NULL,NULL),(57,'59','LIQUIDACIONES M',1,NULL,NULL,NULL);
INSERT INTO `sicore_comprobantes` VALUES (58,'60','CUENTAS DE VENTA Y LIQUIDO PRODUCTO A',1,NULL,NULL,NULL),(59,'61','CUENTAS DE VENTA Y LIQUIDO PRODUCTO B',1,NULL,NULL,NULL),(60,'63','LIQUIDACIONES A',1,NULL,NULL,NULL),(61,'64','LIQUIDACIONES B',1,NULL,NULL,NULL),(62,'66','DESPACHO DE IMPORTACION',1,NULL,NULL,NULL),(63,'68','LIQUIDACION C',1,NULL,NULL,NULL),(64,'70','RECIBOS FACTURA DE CREDITO',1,NULL,NULL,NULL),(65,'80','INFORME DIARIO DE CIERRE (ZETA) - CONTROLADORES FISCALES',1,NULL,NULL,NULL),(66,'81','TIQUE FACTURA A   ',1,NULL,NULL,NULL),(67,'82','TIQUE FACTURA B',1,NULL,NULL,NULL),(68,'83','TIQUE',1,NULL,NULL,NULL),(69,'88','REMITO ELECTRONICO',1,NULL,NULL,NULL),(70,'89','RESUMEN DE DATOS',1,NULL,NULL,NULL),(71,'90','OTROS COMPROBANTES - DOCUMENTOS EXCEPTUADOS - NOTAS DE CREDITO',1,NULL,NULL,NULL),(72,'91','REMITOS R',1,NULL,NULL,NULL),(73,'99','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF',1,NULL,NULL,NULL),(74,'110','TIQUE NOTA DE CREDITO ',1,NULL,NULL,NULL),(75,'111','TIQUE FACTURA C',1,NULL,NULL,NULL),(76,'112','TIQUE NOTA DE CREDITO A',1,NULL,NULL,NULL),(77,'113','TIQUE NOTA DE CREDITO B',1,NULL,NULL,NULL),(78,'114','TIQUE NOTA DE CREDITO C',1,NULL,NULL,NULL),(79,'115','TIQUE NOTA DE DEBITO A',1,NULL,NULL,NULL),(80,'116','TIQUE NOTA DE DEBITO B',1,NULL,NULL,NULL),(81,'117','TIQUE NOTA DE DEBITO C',1,NULL,NULL,NULL),(82,'118','TIQUE FACTURA M',1,NULL,NULL,NULL),(83,'119','TIQUE NOTA DE CREDITO M',1,NULL,NULL,NULL),(84,'120','TIQUE NOTA DE DEBITO M',1,NULL,NULL,NULL),(85,'201','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(86,'202','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(87,'203','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(88,'206','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(89,'207','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(90,'208','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(91,'211','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(92,'212','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(93,'213','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(94,'331','LIQUIDACION SECUNDARIA DE GRANOS',1,NULL,NULL,NULL),(95,'332','CERTIFICACION ELECTRONICA (GRANOS)',1,NULL,NULL,NULL),(96,'995','REMITO ELECTRÓNICO CÁRNICO ',1,NULL,NULL,NULL);

--
