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

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

INSERT INTO `person_activities` VALUES (9,7260,40719,1,1,'2022-05-22 01:07:21','2022-05-22 01:07:21',NULL),(124,7260,40737,799,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(125,7260,40737,72,0,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(126,7260,40737,73,0,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(127,7260,40737,331,0,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(128,7260,40737,887,0,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(129,7260,40737,343,0,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(130,7260,40738,331,1,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(131,7260,40738,72,0,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(132,7260,40738,73,0,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(135,7260,40928,480,1,'2025-04-23 10:14:01','2025-04-23 10:14:01',NULL),(136,7260,40928,484,0,'2025-04-23 10:14:01','2025-04-23 10:14:01',NULL),(138,7260,40726,484,1,'2025-11-04 23:12:05','2025-11-04 23:12:05',NULL),(139,7260,40736,484,1,'2025-11-04 23:12:29','2025-11-04 23:12:29',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=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_configurations` VALUES (2,7260,40719,NULL,NULL,0,'2022-05-22 00:47:11','2022-05-22 01:07:21',1,1,0.00,NULL,12,1,0,0,0,0,1,NULL,'2022-1',0,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,'2022-05-22',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(9,7260,40726,NULL,NULL,0,'2022-05-22 01:08:41','2025-11-04 23:12:05',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2021-01',1,0,0,0,NULL,40726,40726,NULL,NULL,NULL,0,'img//30713533900/logo.jpg','2013-02-01','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(18,7260,40736,NULL,NULL,0,'2022-08-17 10:02:13','2025-11-04 23:12:29',2,1,0.00,NULL,4,2,0,0,0,0,2,NULL,'2021-05',1,0,0,0,NULL,40736,40736,NULL,NULL,NULL,0,'img//30715622080/logo.jpg','2022-08-17','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(19,7260,40737,NULL,NULL,0,'2022-10-19 10:38:31','2025-04-23 10:10:59',1,1,130600.00,NULL,12,2,0,0,0,0,3,NULL,'2022-01',1,0,0,0,NULL,40737,40737,NULL,NULL,NULL,0,NULL,'2016-02-01','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(20,7260,40738,NULL,NULL,0,'2022-10-19 10:47:04','2025-04-23 10:11:07',1,1,130600.00,NULL,12,2,0,0,0,0,3,NULL,'2022-01',0,0,0,0,NULL,40738,40738,NULL,NULL,NULL,0,NULL,'2025-04-23','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(35,7260,40928,NULL,NULL,0,'2025-04-23 10:13:29','2025-04-23 10:14:01',2,1,0.00,NULL,8,2,0,0,0,0,3,NULL,'2025-04',1,0,0,0,NULL,40928,40928,NULL,NULL,NULL,0,'img//33718707639/logo.png','2025-04-23','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 AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_liquidators` VALUES (13,7260,40737,5,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL);

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

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

INSERT INTO `person_zone_actividad` VALUES (13,7260,40719,1,1,1,0.00000,0.00000,1,1,'2022-05-22 01:07:21','2022-05-22 01:07:21',NULL),(143,7260,40737,1,799,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(144,7260,40737,1,72,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(145,7260,40737,1,73,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(146,7260,40737,1,331,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(147,7260,40737,1,887,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(148,7260,40737,1,343,1,0.00000,0.00000,1,1,'2025-04-23 10:10:59','2025-04-23 10:10:59',NULL),(149,7260,40738,1,331,1,0.00000,0.00000,1,1,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(150,7260,40738,1,72,1,0.00000,0.00000,1,1,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(151,7260,40738,1,73,1,0.00000,0.00000,1,1,'2025-04-23 10:11:07','2025-04-23 10:11:07',NULL),(154,7260,40928,1,480,1,0.00000,0.00000,1,1,'2025-04-23 10:14:01','2025-04-23 10:14:01',NULL),(155,7260,40928,1,484,1,0.00000,0.00000,1,1,'2025-04-23 10:14:01','2025-04-23 10:14:01',NULL),(158,7260,40726,1,484,1,0.89900,4.75000,1,1,'2025-11-04 23:12:05','2025-11-04 23:12:05',NULL),(159,7260,40726,16,484,1,0.10100,3.00000,1,1,'2025-11-04 23:12:05','2025-11-04 23:12:05',NULL),(160,7260,40736,1,484,1,0.00000,0.00000,1,1,'2025-11-04 23:12:29','2025-11-04 23:12:29',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=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_zones` VALUES (14,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2022-05-22 01:07:21','2022-05-22 01:07:21',40719,NULL),(82,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2025-04-23 10:10:59','2025-04-23 10:10:59',40737,NULL),(83,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2025-04-23 10:11:07','2025-04-23 10:11:07',40738,NULL),(85,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2025-04-23 10:14:01','2025-04-23 10:14:01',40928,NULL),(88,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2025-11-04 23:12:05','2025-11-04 23:12:05',40726,NULL),(89,7260,0.0000,0.0000,16,0,NULL,NULL,NULL,'2025-11-04 23:12:05','2025-11-04 23:12:05',40726,NULL),(90,7260,0.0000,0.0000,1,1,NULL,NULL,NULL,'2025-11-04 23:12:29','2025-11-04 23:12:29',40736,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=40951 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,'Quijano Cordera María Agustina',NULL,'40719',NULL,'cuit','23-30898726-4',6,NULL,NULL,NULL,NULL,NULL,'2022-05-22 06:46:39','2025-07-04 15:00:37',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40726,7260,'VSB DISTRIBUCIONES SRL',NULL,'40726',NULL,'cuit','30-71353390-0',1,NULL,NULL,NULL,NULL,NULL,'2022-05-22 01:08:41','2025-10-28 08:45:12',NULL,'Av. Gral Sabio 6150 Galpon 9A',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40736,7260,'P&P LOGISTICA SRL',NULL,'40736',NULL,'cuit','30-71562208-0',1,NULL,NULL,NULL,NULL,NULL,'2022-08-17 10:02:12','2025-11-04 23:12:29',NULL,'CAGNOLO 390 LA FRANCIA - CORDOBA (2426)',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40737,NULL,'NELIDA ALICIA FERRER',NULL,'40737',NULL,'cuit','27-06029786-5',1,NULL,NULL,NULL,NULL,NULL,'2022-10-19 10:38:31','2025-07-04 15:00:37',NULL,'ACHAVAL RODRIGUEZ 2044',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40738,NULL,'BALCOPPAN INTERNACIONAL S.A.S.',NULL,'40738',NULL,'cuit','30-71682774-3',1,NULL,NULL,NULL,NULL,NULL,'2022-10-19 10:47:04','2025-07-04 15:00:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40739,NULL,'BENITO ROGGIO E HIJOS SA',NULL,'40739',NULL,'cuit','30-50108624-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40740,NULL,'DON ALFREDO SRL',NULL,'40740',NULL,'cuit','30-70903028-7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40741,NULL,'HORMIGONES TERRA SA',NULL,'40741',NULL,'cuit','30-71203619-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40742,NULL,'TERRALON SRL',NULL,'40742',NULL,'cuit','30-71010322-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40743,NULL,'UNIVERSIDAD NACIONAL DE CORDOB',NULL,'40743',NULL,'cuit','30-54667062-3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40744,NULL,'GONDAR MARIANO HUGO',NULL,'40744',NULL,'cuit','20-17212341-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40745,NULL,'GANADERA DEL NORTE SA',NULL,'40745',NULL,'cuit','30-70917067-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40746,NULL,'MOLINOS PAULINA SRL',NULL,'40746',NULL,'cuit','30-71481090-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40747,NULL,'CAPPELLO ALFREDO ESTEBAN',NULL,'40747',NULL,'cuit','20-16390913-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40748,NULL,'ORGANIZACION VETERINARIA PAMPA',NULL,'40748',NULL,'cuit','30-63989041-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40749,7260,'MARIANO S A',NULL,'40749',NULL,'cuil','30-61649178-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:33','2022-11-04 08:48:33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40750,7260,'AMX ARGENTINA SOCIEDAD ANONIMA',NULL,'40750',NULL,'cuil','30-66328849-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40751,7260,'ADT SECURITY SERVICES S.A.',NULL,'40751',NULL,'cuil','30-65663161-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40752,7260,'BORNORONI HNOS S R L',NULL,'40752',NULL,'cuil','33-70797590-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40753,7260,'PERLISA S.R.L.',NULL,'40753',NULL,'cuil','30-55180845-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40754,7260,'TADICOR S.A.',NULL,'40754',NULL,'cuil','30-71139384-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40755,7260,'ELECTRONICA ELEMON S A',NULL,'40755',NULL,'cuil','30-55993223-6',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40756,7260,'GASES Y MATERIALES S.R.L.',NULL,'40756',NULL,'cuil','30-71185516-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40757,7260,'TELECOM ARGENTINA SOCIEDAD ANONIMA',NULL,'40757',NULL,'cuil','30-63945373-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40758,7260,'ARTE GRAFICO EDITORIAL ARGENTINO S A',NULL,'40758',NULL,'cuil','30-50012415-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40759,7260,'INDURA ARGENTINA S A',NULL,'40759',NULL,'cuil','30-64384272-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40760,NULL,'TARANTO S A',NULL,'40760',NULL,'cuit','30-60537199-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40761,NULL,'RICHERT HERALDO ALBERTO',NULL,'40761',NULL,'cuit','20-14137268-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40762,NULL,'LAND L SA',NULL,'40762',NULL,'cuit','30-71584589-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40763,NULL,'INDUSTRIAS LEAR DE ARGENTINA S',NULL,'40763',NULL,'cuit','30-68062231-7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40764,NULL,'ROGGIO  BBC  CONSORCIO DE CO',NULL,'40764',NULL,'cuit','30-71744300-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40765,NULL,'SUCESION DE ARREGUI HUGO LUJAN',NULL,'40765',NULL,'cuit','20-13779010-7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40766,NULL,'QUITAM S A',NULL,'40766',NULL,'cuit','30-70762019-2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40767,NULL,'PACUCA SA',NULL,'40767',NULL,'cuit','30-65228607-7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40768,NULL,'PRINCEPS SAS',NULL,'40768',NULL,'cuit','30-71623539-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40769,NULL,'PALO CAMPO SAS',NULL,'40769',NULL,'cuit','30-71711836-3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40770,NULL,'CANALIS DIEGO BERNARDO',NULL,'40770',NULL,'cuit','20-22270714-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40771,NULL,'BOURDET JUAN PEDRO',NULL,'40771',NULL,'cuit','20-30723859-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40772,NULL,'COOPERATIVA DE SERVICIOS PUBLI',NULL,'40772',NULL,'cuit','30-54573385-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40773,NULL,'LOPEZ MARTIN MANUEL',NULL,'40773',NULL,'cuit','20-32169256-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40774,NULL,'SUCESION DE BUSTAMANTE JULIO A',NULL,'40774',NULL,'cuit','20-06484207-3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40775,NULL,'AZ SA',NULL,'40775',NULL,'cuit','30-68799104-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40776,NULL,'DONADIO RAUL HECTOR',NULL,'40776',NULL,'cuit','20-06641274-2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40777,NULL,'JUAREZ CARLOS ERNESTO',NULL,'40777',NULL,'cuit','20-20591171-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40778,NULL,'CAGNELUTTI CARLOS ANGEL',NULL,'40778',NULL,'cuit','20-06306637-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40779,NULL,'MORESI GABRIEL DARIO',NULL,'40779',NULL,'cuit','20-25634912-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40780,NULL,'SAN ISIDRO COOPERATIVA AGROPEC',NULL,'40780',NULL,'cuit','33-50541373-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40781,NULL,'FERTILCORP SRL',NULL,'40781',NULL,'cuit','33-71476017-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40782,NULL,'JAVIER MATIAS Y ENRIQUE LUIS B',NULL,'40782',NULL,'cuit','30-71693540-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40783,NULL,'COOP AGRICOLA GANADERA Y DE CO',NULL,'40783',NULL,'cuit','30-50898219-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40784,NULL,'PORTILLO MARIO EGIDIO',NULL,'40784',NULL,'cuit','20-17293529-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40785,NULL,'GARINO WALTER HUGO',NULL,'40785',NULL,'cuit','23-16855259-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40786,NULL,'DEGRA DIEGO JORGE',NULL,'40786',NULL,'cuit','20-30721383-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40787,NULL,'ENTE TRASLASIERRA LIMPIA',NULL,'40787',NULL,'cuit','30-70994449-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40788,NULL,'ESTABLECIMIENTO PORCAL SA',NULL,'40788',NULL,'cuit','30-71463369-0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40789,NULL,'COOPERATIVA DE PROVISION DE SU',NULL,'40789',NULL,'cuit','30-61530845-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40790,NULL,'VICENTE ALICIA ESTER',NULL,'40790',NULL,'cuit','27-10443918-2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40791,NULL,'BERTALOT MARTIN',NULL,'40791',NULL,'cuit','20-25671979-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40792,NULL,'OROSCO NILSON OSVALDO',NULL,'40792',NULL,'cuit','20-16523291-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40793,NULL,'JOSE ADAN CERVIGNI E HIJOS',NULL,'40793',NULL,'cuit','30-51055844-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40794,NULL,'TRUCCONE MATIAS GABRIEL',NULL,'40794',NULL,'cuit','23-35668116-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40795,NULL,'PIEDRAS BLANCAS S R L',NULL,'40795',NULL,'cuit','30-67296637-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40796,NULL,'DEVIA TESONE MAXIMILIANO LUIS',NULL,'40796',NULL,'cuit','20-32345403-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40797,NULL,'PICCONI DIEGO IVAN',NULL,'40797',NULL,'cuit','20-29467242-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40798,NULL,'SUPERMERCADO SUPER SRL',NULL,'40798',NULL,'cuit','33-70849591-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40799,NULL,'VERBURG FEDERICO DANIEL',NULL,'40799',NULL,'cuit','20-34153985-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40800,NULL,'MARTINEZ ROSA ELVIRA',NULL,'40800',NULL,'cuit','23-14687542-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40801,NULL,'MORETTA JUAN MARCELO',NULL,'40801',NULL,'cuit','20-22843912-7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40802,NULL,'GRANJA REAL SA',NULL,'40802',NULL,'cuit','30-71586326-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40803,NULL,'SOSA GUSTAVO GABRIEL',NULL,'40803',NULL,'cuit','20-30385804-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40804,NULL,'METALQUIMICA HIPER SA',NULL,'40804',NULL,'cuit','30-71057552-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40805,NULL,'IRURUETA ANGEL MIGUEL Y IRURUE',NULL,'40805',NULL,'cuit','30-70923524-5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40806,NULL,'AGROPECUARIA LANES SOCIEDAD AN',NULL,'40806',NULL,'cuit','30-71158610-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40807,NULL,'VAMOS A LA CARGA SRL',NULL,'40807',NULL,'cuit','30-71568032-3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40808,NULL,'MORONTA GUILLERMO ADOLFO',NULL,'40808',NULL,'cuit','20-28486491-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40809,NULL,'PUIG FRANCISCO DOMINGO',NULL,'40809',NULL,'cuit','20-16658063-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40810,NULL,'GALICH ANTONIO',NULL,'40810',NULL,'cuit','20-14203307-1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40811,NULL,'BERTOLOTTO ESTEBAN ANTONIO',NULL,'40811',NULL,'cuit','20-29088730-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40812,NULL,'SUPERCEMENTO SAIC BENITO R',NULL,'40812',NULL,'cuit','30-71732421-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40813,NULL,'JORGE MANES S A',NULL,'40813',NULL,'cuit','30-60172084-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40814,NULL,'ASOCIACION DE FOMENTO RURAL PA',NULL,'40814',NULL,'cuit','30-71537691-8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40815,NULL,'DORASIO HERNAN MARIO',NULL,'40815',NULL,'cuit','20-33287020-4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40852,7260,'WIRZ ALEJANDRO ARTURO',NULL,'40852',NULL,'cuil','20-14826616-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:13','2022-11-04 10:36:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40853,7260,'FRIGORIFICO BERMEJO S.A.',NULL,'40853',NULL,'cuil','30-60499965-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:13','2022-11-04 10:36:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40854,7260,'DISTRIBUIDORA ROYJO S R L',NULL,'40854',NULL,'cuil','30-65334771-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40855,7260,'FORNASAR HECTOR MANUEL',NULL,'40855',NULL,'cuil','20-12212118-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40856,7260,'PABLO FEDERICO E HIJOS S A',NULL,'40856',NULL,'cuil','30-71477643-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40857,7260,'SUCESION DE FFRENCH MIGUEL',NULL,'40857',NULL,'cuil','20-08559735-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40858,7260,'LUCERO MARIA ISABEL',NULL,'40858',NULL,'cuil','27-17161403-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40859,7260,'ANGELI NESTOR MARCELO',NULL,'40859',NULL,'cuil','20-16723994-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40860,7260,'MINISTERIO DE EDUCACION',NULL,'40860',NULL,'cuil','30-62854078-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40861,7260,'CUATRIN NANCI DEL VALLE',NULL,'40861',NULL,'cuil','23-25001200-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40862,7260,'JOAL S. A. S.',NULL,'40862',NULL,'cuil','30-71743086-3',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40863,7260,'AVATANEO LUIS NORBERTO',NULL,'40863',NULL,'cuil','20-07676480-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:36:14','2022-11-04 10:36:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40864,7260,'MANESI VIVIANA EMA MARIA',NULL,'40864',NULL,'cuil','27-20173468-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40865,7260,'CORLOG S.A.S.',NULL,'40865',NULL,'cuil','30-71681024-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40866,7260,'LASARTE HNOS SRL',NULL,'40866',NULL,'cuil','30-64693875-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40867,7260,'EXPRESO COPAR S.A.',NULL,'40867',NULL,'cuil','30-71156951-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40868,7260,'ZOKFA S.A.S.',NULL,'40868',NULL,'cuil','30-71646986-3',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40869,7260,'DE HIERRO S.A.',NULL,'40869',NULL,'cuil','33-71085868-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40870,7260,'GIACOMINO ALICIA GRACIELA',NULL,'40870',NULL,'cuil','27-11745948-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:41','2022-11-04 10:39:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40871,7260,'VALLEJO MAXIMILIANO GONZALO',NULL,'40871',NULL,'cuil','23-23823079-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40872,7260,'GATTI S.R.L.',NULL,'40872',NULL,'cuil','30-71052344-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40873,7260,'ALL MEDITERRANEA SA',NULL,'40873',NULL,'cuil','30-71519078-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40874,7260,'MINCHIOTTI FERNANDO ESTEBAN',NULL,'40874',NULL,'cuil','20-22776622-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40875,7260,'TROICHUQUE STELLA MARYS DEL VALLE',NULL,'40875',NULL,'cuil','27-23679380-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40876,7260,'PARIS RODRIGUEZ NICOLAS ALFREDO',NULL,'40876',NULL,'cuil','20-30886863-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40877,7260,'ZANETTI Y CIA S A',NULL,'40877',NULL,'cuil','30-53712190-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40878,7260,'LUIS A CARRIZO Y CIA SRL',NULL,'40878',NULL,'cuil','30-62706249-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40879,7260,'CAPPDAN S.A.',NULL,'40879',NULL,'cuil','30-57166603-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40880,7260,'DI FILIPPO JOSE LUIS',NULL,'40880',NULL,'cuil','20-14921040-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-04 10:39:42','2022-11-04 10:39:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40881,7260,'ANODAL S A',NULL,'40881',NULL,'cuil','30-69884111-3',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40882,7260,'SACCHETTA FERNANDO RUBEN',NULL,'40882',NULL,'cuil','20-13090699-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40883,7260,'RULLO NORBERTO VICENTE RAMON',NULL,'40883',NULL,'cuil','20-27082005-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40884,7260,'STANGAFERRO LUCAS MARTIN',NULL,'40884',NULL,'cuil','20-27118961-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40885,7260,'SANTA ROSA DE CERATTO SA',NULL,'40885',NULL,'cuil','30-71479268-3',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40886,7260,'DAYCO ARGENTINA S A',NULL,'40886',NULL,'cuil','30-68519966-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40887,7260,'LIZARRAGA Y ORSO CONSTRUCCIONES S.A.',NULL,'40887',NULL,'cuil','30-71172319-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40888,7260,'COOPERATIVA DE TRABAJO DE CARREROS Y RECICLADORES LA ESPERANZA LIMITADA',NULL,'40888',NULL,'cuil','30-71256760-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40889,7260,'SMIGUEL CRISTIAN  IVAN',NULL,'40889',NULL,'cuil','20-33396700-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40890,7260,'BARBERIS GUSTAVO MARCOS',NULL,'40890',NULL,'cuil','20-16464739-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40891,7260,'BRUNO SERGIO OMAR',NULL,'40891',NULL,'cuil','23-14513846-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40892,7260,'CICCONE NELSON ORLANDO',NULL,'40892',NULL,'cuil','20-12482633-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40893,7260,'CENTRO MOTOR SA',NULL,'40893',NULL,'cuil','30-66934093-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40894,7260,'SERAFINI VICTOR ALEJANDRO',NULL,'40894',NULL,'cuil','20-35564611-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40895,7260,'COOPERADORA I.P.E.M. 243 EDUARDO OLIVERA\"\"',NULL,'40895',NULL,'cuil','30-70861623-7',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40896,7260,'IMACOR S.A.S.',NULL,'40896',NULL,'cuil','30-71673322-6',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40897,7260,'TECNORED SA',NULL,'40897',NULL,'cuil','30-70905461-5',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40898,7260,'KYSILKA MARIA CRISTINA',NULL,'40898',NULL,'cuil','27-10159266-4',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40899,7260,'ZIN ALDO JOSE Y ARIEL ALEJANDRO S H',NULL,'40899',NULL,'cuil','30-70809402-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40900,7260,'POU MATIAS CARLOS',NULL,'40900',NULL,'cuil','20-30374818-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40901,7260,'LABICO S R L',NULL,'40901',NULL,'cuil','30-70963694-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40902,7260,'BELBRUNO MARIA FLORENCIA',NULL,'40902',NULL,'cuil','27-37853424-6',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40903,7260,'BUS PACK S.A.',NULL,'40903',NULL,'cuil','33-70767506-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40904,7260,'DATTATEC.COM S.R.L.',NULL,'40904',NULL,'cuil','30-71017365-2',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40905,7260,'FANTINI Y CIA. S.A.',NULL,'40905',NULL,'cuil','30-71635505-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40906,7260,'MULTIREP SOCIEDAD POR ACCIONES SIMPLIFICADA S. A. S.',NULL,'40906',NULL,'cuil','30-71688908-0',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40907,7260,'LA ZETE S.A.S.',NULL,'40907',NULL,'cuil','30-71665767-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40908,7260,'MATALONI ARIEL ANDRES',NULL,'40908',NULL,'cuil','20-23057823-1',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40909,7260,'SUPERMERCADOS MAYORISTAS MAKRO SA',NULL,'40909',NULL,'cuil','30-58962149-9',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40910,7260,'SYSTEL SA',NULL,'40910',NULL,'cuil','30-68093763-6',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40911,7260,'METALCOR S A',NULL,'40911',NULL,'cuil','30-50379505-8',NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40912,7260,'YANES ANTONELLA BELEN',NULL,NULL,NULL,'cuit','27-39305275-4',6,NULL,1,1,NULL,NULL,'2024-06-28 09:12:05','2024-06-28 09:12:05',NULL,'LUIS DE AZPEITIA 2731',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40928,NULL,'611 LOGISTICA SA',NULL,NULL,NULL,'cuit','33-71870763-9',1,NULL,NULL,NULL,NULL,NULL,'2025-04-23 10:13:29','2025-07-04 15:00:37',NULL,'GRAL MANUEL SAVIO 6150',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40929,7260,'CANAL VERDE S. A.',NULL,NULL,NULL,'cuit','30-71554691-0',1,NULL,1,1,NULL,NULL,'2025-08-25 13:17:35','2025-08-25 13:17:35',NULL,'BV. ILLIA 50 Piso:1 Dpto:A',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40930,7260,'CANVER S.A.S.',NULL,NULL,NULL,'cuit','33-71740711-9',1,NULL,1,1,NULL,NULL,'2025-08-25 14:16:22','2025-08-25 14:16:22',NULL,'DOCTOR ARTURO HUMBERTO ILLIA 50',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40931,7260,'TEJO SEBASTIAN',NULL,NULL,NULL,'cuit','20-26089095-7',1,NULL,1,1,NULL,NULL,'2025-08-25 14:38:38','2025-08-25 14:38:38',NULL,'GINES GARCIA 3561',NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40932,7260,'LA TRIPLE DIOSA S.A.S.',NULL,NULL,NULL,'cuit','30-71811729-8',1,NULL,1,1,NULL,NULL,'2025-08-25 14:53:47','2025-08-25 14:53:47',NULL,'WAST HUGO 4557',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40933,7260,'ASCENSORES TURAY SOCIEDAD POR ACCIONES SIMPLIFICADA',NULL,NULL,NULL,'cuit','30-71633298-1',1,NULL,1,1,NULL,NULL,'2025-08-29 10:24:55','2025-08-29 10:24:55',NULL,'ALFREDO GONZALEZ 1521',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40934,7260,'CIPOLETTI MARCELO RICARDO',NULL,NULL,NULL,'cuit','20-18014553-3',1,NULL,1,1,NULL,NULL,'2025-09-01 09:31:51','2025-09-01 09:31:51',NULL,'BV. DE LOS RUSOS 330',NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40935,7260,'GOTTI LUCERO SANCHEZ S.A.S.',NULL,NULL,NULL,'cuit','30-71869624-7',1,NULL,1,1,NULL,NULL,'2025-09-01 09:38:12','2025-09-01 09:38:12',NULL,'8 DE DICIEMBRE 5',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40936,7260,'TEMAL S.A.',NULL,NULL,NULL,'cuit','30-71254126-8',1,NULL,1,1,NULL,NULL,'2025-09-01 09:41:34','2025-09-01 09:41:34',NULL,'JULIO BORDA 1397  Dpto:1',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40937,7260,'CESALUD S.A',NULL,NULL,NULL,'cuit','30-71247829-9',1,NULL,1,1,NULL,NULL,'2025-09-01 09:47:06','2025-09-01 09:47:06',NULL,'GRAL. JUAN B. BUSTOS 675',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40938,7260,'AKAL S.A.S.',NULL,NULL,NULL,'cuit','30-71888735-2',1,NULL,1,1,NULL,NULL,'2025-09-03 13:07:39','2025-09-03 13:07:39',NULL,'ROSAS JUAN MANUEL DE 188',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40939,7260,'LONDERO MARIA EUGENIA',NULL,NULL,NULL,'cuit','27-28272333-1',1,NULL,1,1,NULL,NULL,'2025-09-03 13:10:46','2025-09-03 13:10:46',NULL,'AV.RECTA MARTINOLLI 8212',NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40940,7260,'HUMUS SRL',NULL,NULL,NULL,'cuit','30-71053773-5',1,NULL,1,1,NULL,3,'2025-09-22 11:35:51','2025-09-22 11:35:51',NULL,'ABREU DE FIGUEROA 2957',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40941,7260,'CRECELIM GARDEN SRL',NULL,NULL,NULL,'cuit','30-71574782-7',1,NULL,1,1,NULL,NULL,'2025-09-24 11:27:24','2025-09-24 11:27:24',NULL,'ARRECIFES 229',NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40942,7260,'LOS RANQUELES LR S.R.L',NULL,NULL,NULL,'cuit','30-71028337-7',1,NULL,17,17,NULL,NULL,'2025-10-01 09:03:56','2025-10-01 09:03:56',NULL,'CORDOBA 196',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40943,7260,'GARVE  S R L',NULL,NULL,NULL,'cuit','30-64877855-0',1,NULL,9,9,NULL,NULL,'2025-10-01 15:15:45','2025-10-01 15:15:45',NULL,'LAS CARRETAS 3575',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40944,7260,'DECO & HOME S.A.S.',NULL,NULL,NULL,'cuit','30-71738939-1',1,NULL,1,1,NULL,NULL,'2025-10-01 15:17:43','2025-10-01 15:17:43',NULL,'RAFAEL NU&#209;EZ 3645     M:0',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40945,7260,'Consumidor Final',NULL,NULL,NULL,'dni','99999999',NULL,NULL,NULL,NULL,NULL,NULL,'2025-10-02 17:51:40','2025-10-02 17:51:40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40946,7260,'CC SERVICE S.A.S. S. A. S.',NULL,NULL,NULL,'cuit','30-71688787-8',1,NULL,1,1,NULL,NULL,'2025-10-03 16:15:35','2025-10-03 16:15:35',NULL,'BUENOS AIRES 124 Piso:1 Dpto:11',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40947,7260,'ARGUELLO ABEL ARIEL',NULL,NULL,NULL,'cuit','20-25045152-1',1,NULL,1,1,NULL,NULL,'2025-10-28 16:21:41','2025-10-28 16:21:41',NULL,'OBISPO SALGUERO 776',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40948,7260,'DURAND NICOLAS EDUARDO',NULL,NULL,NULL,'cuit','20-34768893-3',1,NULL,1,1,NULL,NULL,'2025-10-29 09:44:16','2025-10-29 09:44:16',NULL,'PJE TOMAS DE TORRES 4021',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40949,7260,'GIDA S.A.S.',NULL,NULL,NULL,'cuit','30-71715181-6',1,NULL,1,1,NULL,NULL,'2025-11-04 16:08:42','2025-11-04 16:08:42',NULL,'LAURENCENA 934',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40950,7260,'SEPPI LUIS ALBERTO',NULL,NULL,NULL,'cuit','20-23089424-9',1,NULL,1,1,NULL,NULL,'2025-11-07 10:56:20','2025-11-07 10:56:20',NULL,'MANUEL LOPEZ 2193',NULL,NULL,NULL,1,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:43:44','2025-07-06 23:43:44',NULL),(3,NULL,'Formulario Receipts',0,'2025-07-09 15:29:04','2025-07-09 15:29:04',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=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `presupuesto_config` VALUES (1,7260,40737,0,'2022-11-03 20:20:51','2022-11-03 20:20:51',NULL),(2,7260,40738,0,'2023-03-29 11:33:28','2023-03-29 11:33:28',NULL),(3,7260,40726,0,'2024-09-23 20:43:04','2024-09-23 20:43:04',NULL),(4,7260,40928,0,'2025-08-22 11:00:21','2025-08-22 11:00:21',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-05-22 00:47:06','2022-05-22 00:47:06',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-05-22 00:47:07','2022-05-22 00:47:07',NULL),(4,NULL,'Importar - Archivos PEM F8011','2022-07-10 23:07:34','2022-07-10 23:07:34',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=372 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipt_taxes` VALUES (1,NULL,1,2,11000.00,2310.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(2,NULL,2,1,98599.75,10352.97,2,1,'2022-11-04 08:48:02',NULL,NULL),(3,NULL,3,2,11200.00,2352.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(4,NULL,4,2,6600.00,1386.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(5,NULL,5,1,119457.01,12542.99,2,1,'2022-11-04 08:48:02',NULL,NULL),(6,NULL,6,1,110000.00,11550.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(7,NULL,7,1,97921.00,10281.70,2,1,'2022-11-04 08:48:02',NULL,NULL),(8,NULL,8,2,8500.00,1785.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(9,NULL,9,1,108950.00,11439.75,2,1,'2022-11-04 08:48:02',NULL,NULL),(10,NULL,10,1,118000.00,12390.00,2,1,'2022-11-04 08:48:02',NULL,NULL),(11,NULL,11,1,118000.00,12390.00,2,1,'2022-11-04 08:48:03',NULL,NULL),(12,7260,12,1001,91.15,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(13,7260,12,2,24341.19,5111.65,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(14,7260,12,7,479.97,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(15,7260,13,1001,848.30,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(16,7260,13,2,9785.00,2054.85,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(17,7260,13,3,6713.54,1812.66,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(18,7260,14,2,6692.56,1405.44,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(19,7260,15,1001,1026.60,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(20,7260,15,2,3708.00,778.68,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(21,7260,15,7,513.29,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(22,7260,16,2,290656.00,61037.76,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(23,7260,17,1001,947.14,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(24,7260,17,2,2087.90,438.46,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(25,7260,17,7,473.54,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(26,7260,18,1001,1460.84,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(27,7260,18,2,3220.38,676.28,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(28,7260,18,7,730.42,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(29,7260,19,1001,152.93,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(30,7260,19,1010,152.93,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(31,7260,19,2,8496.29,1784.22,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(32,7260,19,7,152.94,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(33,7260,20,1001,947.14,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(34,7260,20,2,2087.90,438.46,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(35,7260,20,7,473.54,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(36,7260,21,2,87554.17,18386.38,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(37,7260,22,2,40850.00,8578.50,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(38,7260,23,2,1239.67,260.33,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(39,7260,24,1010,296.63,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(40,7260,24,2,9887.60,2076.40,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(41,7260,25,1010,216.25,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(42,7260,25,2,7208.26,1513.73,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(43,7260,26,7,1150.00,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(44,7260,27,1001,947.14,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(45,7260,27,2,2087.90,438.46,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(46,7260,27,7,473.54,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(47,7260,28,1001,947.14,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(48,7260,28,2,2087.90,438.46,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(49,7260,28,7,473.54,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(50,7260,29,1001,1841.80,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL);
INSERT INTO `receipt_taxes` VALUES (51,7260,29,2,4060.14,852.63,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(52,7260,29,7,920.88,0.00,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(53,7260,30,2,19018.58,3993.90,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(54,7260,31,2,9669.30,2030.55,2,1,'2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(55,NULL,32,2,22000.00,4620.00,2,1,'2022-11-04 08:55:34',NULL,NULL),(56,NULL,33,2,114500.00,24045.00,2,1,'2022-11-04 08:55:34',NULL,NULL),(57,NULL,34,1,103170.00,10832.85,2,1,'2022-11-04 08:55:34',NULL,NULL),(58,NULL,35,2,422600.00,88746.00,2,1,'2022-11-04 08:55:34',NULL,NULL),(59,NULL,36,2,65000.00,13650.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(60,NULL,37,2,49000.00,10290.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(61,NULL,38,2,1500.00,315.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(62,NULL,39,2,104760.00,21999.60,2,1,'2022-11-04 08:55:35',NULL,NULL),(63,NULL,40,1,104760.00,10999.80,2,1,'2022-11-04 08:55:35',NULL,NULL),(64,NULL,41,2,15000.00,3150.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(65,NULL,42,2,13000.00,2730.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(66,NULL,43,2,104760.00,21999.60,2,1,'2022-11-04 08:55:35',NULL,NULL),(67,NULL,44,2,104760.00,21999.60,2,1,'2022-11-04 08:55:35',NULL,NULL),(68,NULL,45,2,1500.00,315.00,2,1,'2022-11-04 08:55:35',NULL,NULL),(69,NULL,46,2,104760.00,21999.60,2,1,'2022-11-04 08:55:35',NULL,NULL),(217,7260,173,2,10000.00,2100.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(218,7260,174,2,72500.00,15225.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(219,7260,175,2,5600.00,1176.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(220,7260,176,1,59660.67,6264.37,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(221,7260,176,7,0.04,0.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(222,7260,177,1,59660.67,6264.37,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(223,7260,177,7,0.04,0.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(224,7260,178,1,99850.00,10484.25,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(225,7260,179,2,38000.00,7980.00,2,1,'2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(226,7260,180,2,141075.00,29625.75,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(227,7260,181,2,9000.00,1890.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(228,7260,182,2,87000.00,18270.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(229,7260,183,1,394399.05,41411.90,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(230,7260,183,7,0.05,0.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(231,7260,184,1,120000.00,12600.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(232,7260,185,1,117514.29,12339.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(233,7260,185,7,0.04,0.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(234,7260,186,2,41442.00,8702.82,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(235,7260,187,2,36500.00,7665.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(236,7260,188,2,23700.00,4977.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(237,7260,189,2,59800.00,12558.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(238,7260,190,2,93000.00,19530.00,2,1,'2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(239,7260,191,2,24300.00,5103.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(240,7260,192,2,57750.00,12127.50,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(241,7260,193,2,36000.00,7560.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(242,7260,194,1,108950.00,11439.75,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(243,7260,195,2,3000.00,630.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(244,7260,196,2,25600.00,5376.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(245,7260,197,2,42000.00,8820.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(246,7260,198,2,51600.00,10836.00,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL);
INSERT INTO `receipt_taxes` VALUES (247,7260,199,2,21601.00,4536.21,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(248,7260,200,2,17001.00,3570.21,2,1,'2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(249,7260,201,1001,1017.15,0.00,2,1,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(250,7260,201,2,11243.00,2361.03,2,1,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(251,7260,201,3,8227.52,2221.43,2,1,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(252,7260,202,2,8907.44,1870.56,2,1,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(253,7260,203,7,208.80,0.00,2,1,'2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(254,7260,204,7,41310.00,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(255,7260,204,7,41310.00,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(256,7260,205,2,1512.38,317.60,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(257,7260,206,2,9484.36,1991.72,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(258,7260,207,1001,2423.73,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(259,7260,207,1010,0.01,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(260,7260,207,2,14289.90,3000.88,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(261,7260,207,7,1211.85,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(262,7260,208,2,3966.94,833.06,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(263,7260,209,2,3057.85,642.15,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(264,7260,210,6,37450.71,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(265,7260,210,2,317.50,66.68,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(266,7260,211,1001,1475.26,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(267,7260,211,2,3522.62,739.75,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(268,7260,211,7,737.63,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(269,7260,212,2,66.30,13.92,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(270,7260,213,7,1200.00,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(271,7260,213,7,1200.00,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(272,7260,214,1,707.51,74.29,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(273,7260,214,2,6189.45,1299.78,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(274,7260,214,7,1134.50,0.00,2,1,'2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(275,7260,215,1001,1475.26,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(276,7260,215,2,3522.62,739.75,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(277,7260,215,7,737.63,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(278,7260,216,7,1150.00,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(279,7260,217,1010,296.63,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(280,7260,217,2,9887.60,2076.40,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(281,7260,218,1010,180.12,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(282,7260,218,2,6004.13,1260.87,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(283,7260,219,1001,1770.32,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(284,7260,219,2,4227.19,887.71,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(285,7260,219,7,885.16,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(286,7260,220,1001,44.63,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(287,7260,220,1000,74.38,0.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(288,7260,220,2,2479.29,520.65,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(289,7260,221,2,11000.53,2310.11,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(290,7260,222,2,16300.00,3423.00,2,1,'2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(291,7260,223,2,4128496.69,866984.30,1,1,'2025-08-25 13:24:55','2025-08-25 13:24:55',NULL),(292,7260,224,2,2428471.07,509978.92,1,1,'2025-08-25 14:37:32','2025-08-25 14:37:32',NULL),(293,7260,225,2,1516474.38,318459.62,1,1,'2025-08-25 14:46:11','2025-08-25 14:46:11',NULL);
INSERT INTO `receipt_taxes` VALUES (294,7260,226,2,4824340.50,1013111.51,1,1,'2025-08-25 14:49:30','2025-08-25 14:49:30',NULL),(295,7260,227,2,15035911.57,3157541.43,1,1,'2025-08-25 14:55:09','2025-08-25 14:55:09',NULL),(296,7260,228,2,4047619.05,850000.00,1,1,'2025-08-29 10:28:46','2025-08-29 10:28:46',NULL),(297,7260,229,2,830233.88,174349.11,1,1,'2025-08-29 10:30:54','2025-08-29 10:30:54',NULL),(298,7260,230,2,3456000.00,725760.00,1,1,'2025-09-01 09:35:46','2025-09-01 09:35:46',NULL),(299,7260,231,2,5958133.88,1251208.11,1,1,'2025-09-01 09:39:20','2025-09-01 09:39:20',NULL),(300,7260,232,2,1734077.69,364156.31,1,1,'2025-09-01 09:42:21','2025-09-01 09:42:21',NULL),(301,7260,233,2,4117638.84,864704.16,1,1,'2025-09-01 09:44:05','2025-09-01 09:44:05',NULL),(302,7260,234,2,5476190.47,1150000.00,1,1,'2025-09-01 09:46:23','2025-09-01 09:46:23',NULL),(303,7260,235,2,3130548.76,657415.24,1,1,'2025-09-01 09:48:27','2025-09-01 09:48:27',NULL),(304,7260,236,2,6626733.06,1391613.94,1,1,'2025-09-01 09:50:14','2025-09-01 09:50:14',NULL),(305,7260,237,2,780000.00,163800.00,1,1,'2025-09-01 09:53:17','2025-09-01 09:53:17',NULL),(306,7260,238,2,1548318.18,325146.82,1,1,'2025-09-01 09:55:26','2025-09-01 09:55:26',NULL),(307,7260,239,2,1011119.01,212334.99,1,1,'2025-09-01 09:57:23','2025-09-01 09:57:23',NULL),(308,7260,240,2,1324292.56,278101.44,1,1,'2025-09-01 09:59:26','2025-09-01 09:59:26',NULL),(309,7260,241,2,5483434.71,1151521.29,1,1,'2025-09-01 10:00:46','2025-09-01 10:00:46',NULL),(310,7260,242,2,12283871.90,2579613.10,1,1,'2025-09-01 10:02:17','2025-09-01 10:02:17',NULL),(311,7260,243,2,3676000.00,771960.00,1,1,'2025-09-01 16:02:22','2025-09-01 16:02:22',NULL),(312,7260,244,2,5234738.84,1099295.16,1,1,'2025-09-03 13:06:46','2025-09-03 13:06:46',NULL),(313,7260,245,2,9101278.51,1911268.49,1,1,'2025-09-03 13:08:48','2025-09-03 13:08:48',NULL),(314,7260,246,2,4944661.98,1038379.02,1,1,'2025-09-03 13:10:01','2025-09-03 13:10:01',NULL),(315,7260,247,2,5299651.24,1112926.76,1,1,'2025-09-03 13:11:51','2025-09-03 13:11:51',NULL),(316,7260,248,2,4118590.91,864904.09,1,1,'2025-09-03 13:13:50','2025-09-03 13:13:50',NULL),(317,7260,249,2,9912424.79,2081609.21,1,1,'2025-09-22 11:37:52','2025-09-22 11:37:52',NULL),(318,7260,250,2,4960130.58,1041627.42,1,1,'2025-09-24 11:26:50','2025-09-24 11:26:50',NULL),(319,7260,251,2,4945019.01,1038453.99,1,1,'2025-09-24 11:28:13','2025-09-24 11:28:13',NULL),(320,7260,252,2,5089868.60,1068872.41,1,1,'2025-09-24 11:29:52','2025-09-24 11:29:52',NULL),(321,7260,253,2,4120376.03,865278.97,1,1,'2025-09-24 11:38:21','2025-09-24 11:38:21',NULL),(322,7260,254,2,5061596.69,1062935.30,1,1,'2025-09-24 11:39:57','2025-09-24 11:39:57',NULL),(323,7260,255,2,8652710.00,1817069.10,1,1,'2025-10-01 09:05:11','2025-10-01 09:05:11',NULL),(324,7260,256,2,9906896.69,2080448.30,1,1,'2025-10-01 09:07:14','2025-10-01 09:07:14',NULL),(325,7260,257,2,4944661.98,1038379.02,1,1,'2025-10-01 09:08:16','2025-10-01 09:08:16',NULL),(326,7260,258,2,5862500.00,1231125.00,1,1,'2025-10-01 09:09:48','2025-10-01 09:09:48',NULL),(327,7260,259,2,4524793.39,950206.61,1,1,'2025-10-01 11:38:31','2025-10-01 11:38:31',NULL),(328,7260,260,2,37990510.09,7978007.12,1,1,'2025-10-01 15:17:24','2025-10-01 15:17:24',NULL),(329,7260,261,2,1360119.83,285625.16,1,1,'2025-10-01 15:18:43','2025-10-01 15:18:43',NULL),(330,7260,262,2,1740391.74,365482.27,1,1,'2025-10-01 15:20:04','2025-10-01 15:20:04',NULL),(331,7260,263,2,6859152.07,1440421.93,1,1,'2025-10-01 17:07:47','2025-10-01 17:07:47',NULL),(332,7260,264,2,32202819.83,6762592.16,1,1,'2025-10-01 17:19:45','2025-10-01 17:19:45',NULL),(333,7260,265,2,3717954.55,780770.46,1,1,'2025-10-01 17:21:02','2025-10-01 17:21:02',NULL),(334,7260,266,2,31350.00,6583.50,1,1,'2025-10-02 17:52:55','2025-10-02 17:52:55',NULL),(335,7260,267,2,39480.00,8290.80,1,1,'2025-10-02 17:55:36','2025-10-02 17:55:36',NULL),(336,7260,268,2,25312.39,5315.60,1,1,'2025-10-02 17:59:47','2025-10-02 17:59:47',NULL);
INSERT INTO `receipt_taxes` VALUES (337,7260,269,2,34016.53,7143.47,1,1,'2025-10-02 18:01:37','2025-10-02 18:01:37',NULL),(338,7260,270,2,50766.94,10661.06,1,1,'2025-10-02 18:02:42','2025-10-02 18:02:42',NULL),(339,7260,271,2,43210.74,9074.26,1,1,'2025-10-02 18:04:05','2025-10-02 18:04:05',NULL),(340,7260,272,2,47785.12,10034.88,1,1,'2025-10-02 18:05:28','2025-10-02 18:05:28',NULL),(341,7260,273,2,26209.08,5503.91,1,1,'2025-10-02 18:07:24','2025-10-02 18:07:24',NULL),(342,7260,274,2,31699.50,6656.90,1,1,'2025-10-02 18:18:10','2025-10-02 18:18:10',NULL),(343,7260,275,2,1323324.79,277898.21,1,1,'2025-10-03 16:06:45','2025-10-03 16:06:45',NULL),(344,7260,276,2,3310507.53,695206.58,1,1,'2025-10-03 16:18:02','2025-10-03 16:18:02',NULL),(345,7260,277,2,1453504.96,305236.04,1,1,'2025-10-03 16:20:43','2025-10-03 16:20:43',NULL),(346,7260,278,2,10028547.93,2105995.07,1,1,'2025-10-03 16:23:37','2025-10-03 16:23:37',NULL),(347,7260,279,2,6698945.45,1406778.54,1,1,'2025-10-03 16:24:55','2025-10-03 16:24:55',NULL),(348,7260,280,2,289657.11,60827.99,1,1,'2025-10-28 17:01:47','2025-10-28 17:01:47',NULL),(349,7260,280,1000,8689.71,0.00,2,1,'2025-10-28 17:01:47','2025-10-28 17:01:47',NULL),(350,7260,281,2,6053822.31,1271302.69,1,1,'2025-10-29 09:42:35','2025-10-29 09:42:35',NULL),(351,7260,282,2,1074828.10,225713.90,1,1,'2025-10-29 09:45:03','2025-10-29 09:45:03',NULL),(352,7260,283,2,289657.11,60827.99,1,1,'2025-10-29 15:36:44','2025-10-29 15:36:44',NULL),(353,7260,284,2,96552.37,20276.00,1,1,'2025-10-29 15:39:50','2025-10-29 15:39:50',NULL),(354,7260,285,2,96552.37,20276.00,1,1,'2025-10-29 15:41:00','2025-10-29 15:41:00',NULL),(355,7260,286,2,96552.37,20276.00,1,1,'2025-10-29 15:41:58','2025-10-29 15:41:58',NULL),(356,7260,287,1000,8689.71,0.00,2,1,'2025-10-29 15:49:05','2025-10-29 15:49:05',NULL),(357,7260,288,2,435141.69,91379.75,1,1,'2025-11-04 16:17:16','2025-11-04 16:17:16',NULL),(358,7260,288,1000,13054.25,0.00,2,1,'2025-11-04 16:17:16','2025-11-04 16:17:16',NULL),(359,7260,289,2,3410000.00,716100.00,1,1,'2025-11-05 11:19:45','2025-11-05 11:19:45',NULL),(360,7260,290,2,17504979.34,3676045.66,1,1,'2025-11-05 11:21:50','2025-11-05 11:21:50',NULL),(361,7260,291,2,8001036.36,1680217.64,1,1,'2025-11-05 11:22:56','2025-11-05 11:22:56',NULL),(362,7260,292,2,4794592.56,1006864.44,1,1,'2025-11-05 11:24:15','2025-11-05 11:24:15',NULL),(363,7260,293,2,3410000.00,716100.00,1,1,'2025-11-05 11:25:46','2025-11-05 11:25:46',NULL),(364,7260,294,2,13329541.32,2799203.68,1,1,'2025-11-05 12:19:21','2025-11-05 12:19:21',NULL),(365,7260,295,2,14945037.19,3138457.81,1,1,'2025-11-05 13:16:06','2025-11-05 13:16:06',NULL),(366,7260,296,2,4136189.26,868599.74,1,1,'2025-11-05 13:17:32','2025-11-05 13:17:32',NULL),(367,7260,297,2,3490863.64,733081.36,1,1,'2025-11-05 13:18:34','2025-11-05 13:18:34',NULL),(368,7260,298,2,14459052.89,3036401.11,1,1,'2025-11-05 14:13:31','2025-11-05 14:13:31',NULL),(369,7260,299,2,12702375.21,2667498.79,1,1,'2025-11-05 14:15:18','2025-11-05 14:15:18',NULL),(370,7260,300,2,3515806.61,738319.39,1,1,'2025-11-07 10:57:23','2025-11-07 10:57:23',NULL),(371,7260,301,2,5921900.83,1243599.17,1,1,'2025-11-07 10:58:30','2025-11-07 10:58:30',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:33:41','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2025-05-08 09:33:41','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:33:41','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:33:41','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-05-22 00:47:02','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-05-22 00:47:02','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-05-22 00:47:02','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-05-22 00:46:55','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:33:41','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:33:41','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:33:41','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-05-22 00:46:55','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-05-22 00:46:52','2022-08-17 11:25:35','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-05-22 00:46:52','2025-05-08 09:33:41','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-05-22 00:46:52','2022-05-22 00:46:55','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2022-05-22 00:46:52','2025-05-08 09:33:41','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2022-05-22 00:46:55','2022-05-22 00:46:58','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2022-05-22 00:46:55','2025-05-08 09:33:41','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2022-05-22 00:46:55','2022-05-22 00:47:00','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-05-22 00:46:55','2022-05-22 00:46:55','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-05-22 00:46:55','2025-05-08 09:33:41','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-05-22 00:46:56','2022-05-22 00:46:58','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-05-22 00:46:56','2025-05-08 09:33:41','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-05-22 00:46:58','2022-05-22 00:46:58','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2022-05-22 00:46:58','2022-05-22 00:46:58','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2022-05-22 00:46:58','2022-05-22 00:46:58','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-05-22 00:47:00','2022-05-22 00:47:00','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-08-17 11:25:35','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:33:41','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:33:41','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:33:41','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:33:41','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:33:41','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:33:41','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=302 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipts` VALUES (1,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40739,00001909,NULL,NULL,'2022-10-12','2022-10-12',0005,1,NULL,13310.00,13310.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(2,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40740,00001910,NULL,NULL,'2022-10-21','2022-10-21',0005,1,NULL,108952.72,108952.72,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(3,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40741,00001911,NULL,NULL,'2022-10-25','2022-10-25',0005,1,NULL,13552.00,13552.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(4,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40742,00001912,NULL,NULL,'2022-10-25','2022-10-25',0005,1,NULL,7986.00,7986.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(5,7260,0,1,4,6,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40743,00000182,NULL,NULL,'2022-10-26','2022-10-26',0005,1,NULL,132000.00,132000.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(6,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40744,00001913,NULL,NULL,'2022-10-26','2022-10-26',0005,1,NULL,121550.00,121550.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(7,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40745,00001914,NULL,NULL,'2022-10-26','2022-10-26',0005,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(8,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40746,00001915,NULL,NULL,'2022-10-28','2022-10-28',0005,1,NULL,10285.00,10285.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(9,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40747,00001916,NULL,NULL,'2022-10-31','2022-10-31',0005,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(10,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40748,00001917,NULL,NULL,'2022-10-31','2022-10-31',0005,1,NULL,130390.00,130390.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:02',NULL,NULL),(11,7260,0,1,1,1,NULL,NULL,NULL,26007,1,NULL,NULL,799,1,NULL,40737,40748,00001918,NULL,NULL,'2022-10-31','2022-10-31',0005,1,NULL,130390.00,130390.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:03',NULL,NULL),(12,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,217,NULL,331,1,NULL,40737,40749,00000374,NULL,NULL,'2022-10-01','2022-10-01',0426,1,NULL,30023.96,30023.96,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:33','2022-11-04 08:48:33',NULL),(13,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40750,00164617,NULL,NULL,'2022-10-01','2022-10-01',1305,1,NULL,21214.35,21214.35,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(14,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40751,03484342,NULL,NULL,'2022-10-01','2022-10-01',1007,1,NULL,8098.00,8098.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(15,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00010705,NULL,NULL,'2022-10-01','2022-10-01',0009,1,NULL,6026.57,6026.57,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(16,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40753,00008095,NULL,NULL,'2022-10-03','2022-10-03',0005,1,NULL,351693.76,351693.76,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(17,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00011113,NULL,NULL,'2022-10-08','2022-10-08',0009,1,NULL,3947.04,3947.04,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(18,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00011146,NULL,NULL,'2022-10-08','2022-10-08',0009,1,NULL,6087.92,6087.92,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL);
INSERT INTO `receipts` VALUES (19,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40754,00001036,NULL,NULL,'2022-10-10','2022-10-10',0117,1,NULL,10739.31,10739.31,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(20,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00011414,NULL,NULL,'2022-10-13','2022-10-13',0009,1,NULL,3947.04,3947.04,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(21,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40755,00090321,NULL,NULL,'2022-10-18','2022-10-18',0004,1,NULL,105940.55,105940.55,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(22,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40753,00008141,NULL,NULL,'2022-10-18','2022-10-18',0005,1,NULL,49428.50,49428.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(23,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40756,00001002,NULL,NULL,'2022-10-20','2022-10-20',0003,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(24,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40757,00703807,NULL,NULL,'2022-10-20','2022-10-20',4264,1,NULL,12260.63,12260.63,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(25,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40757,00722159,NULL,NULL,'2022-10-20','2022-10-20',4264,1,NULL,8938.24,8938.24,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(26,7260,0,2,4,NULL,NULL,NULL,NULL,26007,1,217,NULL,331,1,NULL,40737,40758,66442748,NULL,NULL,'2022-10-20','2022-10-20',0157,1,NULL,1150.00,1150.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(27,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00011900,NULL,NULL,'2022-10-20','2022-10-20',0009,1,NULL,3947.04,3947.04,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(28,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00011947,NULL,NULL,'2022-10-20','2022-10-20',0009,1,NULL,3947.04,3947.04,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(29,7260,0,2,38,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40752,00012044,NULL,NULL,'2022-10-21','2022-10-21',0009,1,NULL,7675.45,7675.45,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(30,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40759,00024946,NULL,NULL,'2022-10-26','2022-10-26',1005,1,NULL,23012.48,23012.48,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(31,7260,0,2,1,NULL,NULL,NULL,NULL,26007,1,250,NULL,331,1,NULL,40737,40759,00024947,NULL,NULL,'2022-10-26','2022-10-26',1005,1,NULL,11699.85,11699.85,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:48:34','2022-11-04 08:48:34',NULL),(32,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40760,00001900,NULL,NULL,'2022-09-06','2022-09-06',0005,1,NULL,26620.00,26620.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:34',NULL,NULL),(33,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40760,00001901,NULL,NULL,'2022-09-06','2022-09-06',0005,1,NULL,138545.00,138545.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:34',NULL,NULL),(34,7260,0,1,3,3,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40761,00000088,NULL,NULL,'2022-09-06','2022-09-06',0005,1,NULL,114002.85,114002.85,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:34',NULL,NULL),(35,7260,0,1,3,3,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40762,00000089,NULL,NULL,'2022-09-08','2022-09-08',0005,1,NULL,511346.00,511346.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:34',NULL,NULL);
INSERT INTO `receipts` VALUES (36,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40763,00001902,NULL,NULL,'2022-09-09','2022-09-09',0005,1,NULL,78650.00,78650.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(37,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40739,00001903,NULL,NULL,'2022-09-21','2022-09-21',0005,1,NULL,59290.00,59290.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(38,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40764,00001904,NULL,NULL,'2022-09-23','2022-09-23',0005,1,NULL,1815.00,1815.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(39,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40765,00001905,NULL,NULL,'2022-09-23','2022-09-23',0005,1,NULL,126759.60,126759.60,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(40,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40765,00001906,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,115759.80,115759.80,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(41,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40764,00001907,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,18150.00,18150.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(42,7260,0,1,1,1,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40764,00001908,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,15730.00,15730.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(43,7260,0,1,3,3,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40765,00000090,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,126759.60,126759.60,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(44,7260,0,1,3,3,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40765,00000091,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,126759.60,126759.60,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(45,7260,0,1,3,3,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40764,00000092,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,1815.00,1815.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(46,7260,0,1,2,2,NULL,NULL,NULL,26006,1,NULL,NULL,799,1,NULL,40737,40765,00000005,NULL,NULL,'2022-09-26','2022-09-26',0005,1,NULL,126759.60,126759.60,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 08:55:35',NULL,NULL),(47,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40766,00000373,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,4658.50,4658.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:44:04','2023-06-20 02:44:04'),(48,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40767,00000372,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,287134.25,287134.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:44:00','2023-06-20 02:44:00'),(49,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40768,00000371,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,45980.00,45980.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:57','2023-06-20 02:43:57'),(50,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40769,00000376,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,99284.25,99284.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:54','2023-06-20 02:43:54'),(51,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40770,00000375,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,99284.25,99284.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:50','2023-06-20 02:43:50'),(52,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40771,00000374,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,275956.90,275956.90,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:47','2023-06-20 02:43:47');
INSERT INTO `receipts` VALUES (53,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40772,00000370,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,9680.00,9680.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:40','2023-06-20 02:43:40'),(54,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40773,00000022,NULL,NULL,'2022-09-01','2022-09-01',0001,1,NULL,54100.00,54100.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:53','2023-06-20 02:43:44','2023-06-20 02:43:44'),(55,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40774,00000378,NULL,NULL,'2022-09-02','2022-09-02',0001,1,NULL,7018.00,7018.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:33','2023-06-20 02:43:33'),(56,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40775,00000377,NULL,NULL,'2022-09-02','2022-09-02',0001,1,NULL,12100.00,12100.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:36','2023-06-20 02:43:36'),(57,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000379,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,87725.00,87725.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:30','2023-06-20 02:43:30'),(58,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40748,00000382,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,28072.00,28072.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:26','2023-06-20 02:43:26'),(59,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000381,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,26620.00,26620.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:20','2023-06-20 02:43:20'),(60,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40776,00000384,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,50820.00,50820.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:23','2023-06-20 02:43:23'),(61,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000380,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,50820.00,50820.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:15','2023-06-20 02:43:15'),(62,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40777,00000383,NULL,NULL,'2022-09-05','2022-09-05',0001,1,NULL,121550.00,121550.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:05','2023-06-20 02:43:05'),(63,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40778,00000385,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,99852.50,99852.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:42:58','2023-06-20 02:42:58'),(64,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40761,00000386,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,108002.70,108002.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:42:54','2023-06-20 02:42:54'),(65,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000031,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,50820.00,50820.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:02','2023-06-20 02:43:02'),(66,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000029,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,26620.00,26620.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:43:11','2023-06-20 02:43:11'),(67,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40778,00000032,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:42:47','2023-06-20 02:42:47'),(68,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40778,00000033,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:54','2023-06-20 02:42:44','2023-06-20 02:42:44');
INSERT INTO `receipts` VALUES (69,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40760,00000030,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,87725.00,87725.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:41','2023-06-20 02:42:41'),(70,7260,0,1,2,2,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40778,00000001,NULL,NULL,'2022-09-06','2022-09-06',0001,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:30','2023-06-20 02:42:30'),(71,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40779,00000387,NULL,NULL,'2022-09-07','2022-09-07',0001,1,NULL,110002.75,110002.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:34','2023-06-20 02:42:34'),(72,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40766,00000388,NULL,NULL,'2022-09-07','2022-09-07',0001,1,NULL,144003.60,144003.60,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:24','2023-06-20 02:42:24'),(73,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40780,00000389,NULL,NULL,'2022-09-08','2022-09-08',0001,1,NULL,6655.00,6655.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:20','2023-06-20 02:42:20'),(74,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40781,00000390,NULL,NULL,'2022-09-09','2022-09-09',0001,1,NULL,5082.00,5082.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:17','2023-06-20 02:42:17'),(75,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40782,00000392,NULL,NULL,'2022-09-13','2022-09-13',0001,1,NULL,275006.88,275006.88,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:13','2023-06-20 02:42:13'),(76,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40783,00000391,NULL,NULL,'2022-09-13','2022-09-13',0001,1,NULL,9680.00,9680.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:10','2023-06-20 02:42:10'),(77,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40784,00000393,NULL,NULL,'2022-09-14','2022-09-14',0001,1,NULL,141440.00,141440.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:38','2023-06-20 02:42:38'),(78,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40785,00000395,NULL,NULL,'2022-09-14','2022-09-14',0001,1,NULL,148295.36,148295.36,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:42:07','2023-06-20 02:42:07'),(79,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40786,00000394,NULL,NULL,'2022-09-14','2022-09-14',0001,1,NULL,110334.25,110334.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:41:57','2023-06-20 02:41:57'),(80,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40787,00000023,NULL,NULL,'2022-09-14','2022-09-14',0001,1,NULL,957553.34,957553.34,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:55','2023-06-20 02:41:53','2023-06-20 02:41:53'),(81,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40788,00000399,NULL,NULL,'2022-09-15','2022-09-15',0001,1,NULL,36300.00,36300.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:49','2023-06-20 02:41:49'),(82,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40789,00000398,NULL,NULL,'2022-09-15','2022-09-15',0001,1,NULL,21780.00,21780.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:42:04','2023-06-20 02:42:04'),(83,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40790,00000396,NULL,NULL,'2022-09-15','2022-09-15',0001,1,NULL,5082.00,5082.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:46','2023-06-20 02:41:46'),(84,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40791,00000397,NULL,NULL,'2022-09-15','2022-09-15',0001,1,NULL,29040.00,29040.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:42:00','2023-06-20 02:42:00');
INSERT INTO `receipts` VALUES (85,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40792,00000401,NULL,NULL,'2022-09-16','2022-09-16',0001,1,NULL,5082.00,5082.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:38','2023-06-20 02:41:38'),(86,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40793,00000402,NULL,NULL,'2022-09-16','2022-09-16',0001,1,NULL,16940.00,16940.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:30','2023-06-20 02:41:30'),(87,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40766,00000400,NULL,NULL,'2022-09-16','2022-09-16',0001,1,NULL,30855.00,30855.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:34','2023-06-20 02:41:34'),(88,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40794,00000403,NULL,NULL,'2022-09-17','2022-09-17',0001,1,NULL,99852.50,99852.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:42','2023-06-20 02:41:42'),(89,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40795,00000406,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,6292.00,6292.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:26','2023-06-20 02:41:26'),(90,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40767,00000408,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,8419.99,8419.99,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:22','2023-06-20 02:41:22'),(91,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40796,00000404,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,99284.25,99284.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:19','2023-06-20 02:41:19'),(92,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40797,00000405,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,110334.25,110334.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:15','2023-06-20 02:41:15'),(93,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40798,00000407,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,128961.79,128961.79,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:12','2023-06-20 02:41:12'),(94,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40799,00000025,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,110334.25,110334.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:09','2023-06-20 02:41:09'),(95,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40800,00000024,NULL,NULL,'2022-09-20','2022-09-20',0001,1,NULL,128817.03,128817.03,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:05','2023-06-20 02:41:05'),(96,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40801,00000410,NULL,NULL,'2022-09-21','2022-09-21',0001,1,NULL,9438.00,9438.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:41:02','2023-06-20 02:41:02'),(97,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40802,00000409,NULL,NULL,'2022-09-21','2022-09-21',0001,1,NULL,10164.00,10164.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:40:59','2023-06-20 02:40:59'),(98,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40803,00000411,NULL,NULL,'2022-09-21','2022-09-21',0001,1,NULL,99394.75,99394.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:56','2023-06-20 02:40:55','2023-06-20 02:40:55'),(99,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40804,00000413,NULL,NULL,'2022-09-22','2022-09-22',0001,1,NULL,11495.00,11495.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:54','2023-06-20 02:37:54'),(100,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40805,00000412,NULL,NULL,'2022-09-22','2022-09-22',0001,1,NULL,110334.25,110334.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:51','2023-06-20 02:37:51');
INSERT INTO `receipts` VALUES (101,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40806,00000415,NULL,NULL,'2022-09-23','2022-09-23',0001,1,NULL,130003.25,130003.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:38:14','2023-06-20 02:38:14'),(102,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40807,00000414,NULL,NULL,'2022-09-23','2022-09-23',0001,1,NULL,108002.70,108002.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:58','2023-06-20 02:37:58'),(103,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40808,00000416,NULL,NULL,'2022-09-24','2022-09-24',0001,1,NULL,128817.03,128817.03,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:44','2023-06-20 02:37:44'),(104,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40809,00000417,NULL,NULL,'2022-09-26','2022-09-26',0001,1,NULL,72600.00,72600.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:15','2023-06-20 02:37:15'),(105,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40810,00000421,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,9438.00,9438.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:40','2023-06-20 02:37:40'),(106,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40811,00000423,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,112852.82,112852.82,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:37','2023-06-20 02:37:37'),(107,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40812,00000419,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,110801.61,110801.61,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:38:02','2023-06-20 02:38:02'),(108,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40813,00000422,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,7865.00,7865.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:30','2023-06-20 02:37:30'),(109,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40812,00000418,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,110801.61,110801.61,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:48','2023-06-20 02:37:48'),(110,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40748,00000420,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,130390.00,130390.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:33','2023-06-20 02:37:33'),(111,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40806,00000034,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,130003.25,130003.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:26','2023-06-20 02:37:26'),(112,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40814,00000027,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,135200.00,135200.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:23','2023-06-20 02:37:23'),(113,7260,0,1,4,6,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40814,00000026,NULL,NULL,'2022-09-29','2022-09-29',0001,1,NULL,135200.00,135200.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:37:19','2023-06-20 02:37:19'),(114,7260,0,1,3,3,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40815,00000035,NULL,NULL,'2022-09-30','2022-09-30',0001,1,NULL,129999.99,129999.99,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:36:47','2023-06-20 02:36:47'),(115,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40815,00000425,NULL,NULL,'2022-09-30','2022-09-30',0001,1,NULL,134999.99,134999.99,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:36:43','2023-06-20 02:36:43'),(116,7260,0,1,1,1,NULL,NULL,NULL,27521,1,NULL,NULL,331,1,NULL,40738,40815,00000424,NULL,NULL,'2022-09-30','2022-09-30',0001,1,NULL,129999.99,129999.99,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 09:22:57','2023-06-20 02:36:39','2023-06-20 02:36:39');
INSERT INTO `receipts` VALUES (117,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40852,00000428,NULL,NULL,'2022-10-03','2022-10-03',0001,1,NULL,108923.16,108923.16,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:13','2023-06-20 02:36:35','2023-06-20 02:36:35'),(118,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40852,00000427,NULL,NULL,'2022-10-03','2022-10-03',0001,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:13','2023-06-20 02:36:32','2023-06-20 02:36:32'),(119,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40853,00000426,NULL,NULL,'2022-10-03','2022-10-03',0001,1,NULL,537240.00,537240.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:13','2023-06-20 02:36:28','2023-06-20 02:36:28'),(120,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40806,00000429,NULL,NULL,'2022-10-04','2022-10-04',0001,1,NULL,124699.25,124699.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:13','2023-06-20 02:36:21','2023-06-20 02:36:21'),(121,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40854,00000431,NULL,NULL,'2022-10-04','2022-10-04',0001,1,NULL,310389.20,310389.20,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:18','2023-06-20 02:36:18'),(122,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40854,00000430,NULL,NULL,'2022-10-04','2022-10-04',0001,1,NULL,310389.20,310389.20,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:24','2023-06-20 02:36:24'),(123,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40855,00000433,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,7865.00,7865.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:11','2023-06-20 02:36:11'),(124,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40856,00000432,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,185067.08,185067.08,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:14','2023-06-20 02:36:14'),(125,7260,0,1,3,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40854,00000037,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,310389.20,310389.20,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:02','2023-06-20 02:36:02'),(126,7260,0,1,3,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40852,00000038,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,108202.70,108202.70,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:36:05','2023-06-20 02:36:05'),(127,7260,0,1,3,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40812,00000036,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,110801.61,110801.61,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:59','2023-06-20 02:35:59'),(128,7260,0,1,6,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40814,00000003,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,135200.00,135200.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:55','2023-06-20 02:35:55'),(129,7260,0,1,6,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40773,00000004,NULL,NULL,'2022-10-05','2022-10-05',0001,1,NULL,54100.00,54100.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:51','2023-06-20 02:35:51'),(130,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40857,00000435,NULL,NULL,'2022-10-06','2022-10-06',0001,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:45','2023-06-20 02:35:45'),(131,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40858,00000434,NULL,NULL,'2022-10-06','2022-10-06',0001,1,NULL,118354.98,118354.98,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:41','2023-06-20 02:35:41');
INSERT INTO `receipts` VALUES (132,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40853,00000437,NULL,NULL,'2022-10-11','2022-10-11',0001,1,NULL,139064.25,139064.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:34','2023-06-20 02:35:34'),(133,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40853,00000436,NULL,NULL,'2022-10-11','2022-10-11',0001,1,NULL,251680.00,251680.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:31','2023-06-20 02:35:31'),(134,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40859,00000438,NULL,NULL,'2022-10-12','2022-10-12',0001,1,NULL,324258.19,324258.19,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:27','2023-06-20 02:35:27'),(135,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40859,00000439,NULL,NULL,'2022-10-13','2022-10-13',0001,1,NULL,22422.06,22422.06,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:24','2023-06-20 02:35:24'),(136,7260,0,1,4,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40860,00000028,NULL,NULL,'2022-10-13','2022-10-13',0001,1,NULL,302500.00,302500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:20','2023-06-20 02:35:20'),(137,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40861,00000441,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:16','2023-06-20 02:35:16'),(138,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40862,00000443,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:12','2023-06-20 02:35:12'),(139,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40862,00000440,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,114370.26,114370.26,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:09','2023-06-20 02:35:09'),(140,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40863,00000442,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:06','2023-06-20 02:35:06'),(141,7260,0,1,3,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40862,00000039,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,114370.26,114370.26,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:14','2023-06-20 02:35:02','2023-06-20 02:35:02'),(142,7260,0,1,3,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40861,00000040,NULL,NULL,'2022-10-20','2022-10-20',0001,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:15','2023-06-20 02:34:57','2023-06-20 02:34:57'),(143,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40853,00000444,NULL,NULL,'2022-10-28','2022-10-28',0001,1,NULL,87120.00,87120.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:15','2023-06-20 02:34:53','2023-06-20 02:34:53'),(144,7260,0,1,1,NULL,NULL,NULL,NULL,27522,1,NULL,NULL,72,1,NULL,40738,40853,00000445,NULL,NULL,'2022-10-28','2022-10-28',0001,1,NULL,62920.00,62920.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:36:15','2023-06-20 02:34:49','2023-06-20 02:34:49'),(145,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40753,00008094,NULL,NULL,'2022-10-03','2022-10-03',0005,1,NULL,368299.80,368299.80,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(146,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40864,00007952,NULL,NULL,'2022-10-03','2022-10-03',0004,1,NULL,93593.50,93593.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43');
INSERT INTO `receipts` VALUES (147,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40865,00000842,NULL,NULL,'2022-10-06','2022-10-06',0011,1,NULL,5199.37,5199.37,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(148,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40755,00090090,NULL,NULL,'2022-10-11','2022-10-11',0004,1,NULL,98263.25,98263.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(149,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40866,00027984,NULL,NULL,'2022-10-12','2022-10-12',0005,1,NULL,77279.80,77279.80,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(150,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40867,00519835,NULL,NULL,'2022-10-12','2022-10-12',0006,1,NULL,1745.47,1745.47,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(151,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40753,00008140,NULL,NULL,'2022-10-18','2022-10-18',0005,1,NULL,48127.75,48127.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(152,7260,0,2,3,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40755,00007809,NULL,NULL,'2022-10-18','2022-10-18',0004,1,NULL,98263.25,98263.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(153,7260,0,2,38,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40868,00028041,NULL,NULL,'2022-10-18','2022-10-18',0002,1,NULL,17342.05,17342.05,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(154,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40869,00001217,NULL,NULL,'2022-10-19','2022-10-19',0008,1,NULL,104461.50,104461.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(155,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40870,00000027,NULL,NULL,'2022-10-20','2022-10-20',0004,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(156,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40870,00000028,NULL,NULL,'2022-10-20','2022-10-20',0004,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(157,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40870,00000029,NULL,NULL,'2022-10-20','2022-10-20',0004,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:41','2023-06-20 12:53:43','2023-06-20 12:53:43'),(158,7260,0,2,3,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40870,00000001,NULL,NULL,'2022-10-20','2022-10-20',0004,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:35','2023-06-20 12:52:35'),(159,7260,0,2,3,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40870,00000002,NULL,NULL,'2022-10-20','2022-10-20',0004,1,NULL,1500.00,1500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:26','2023-06-20 12:52:26'),(160,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40753,00008156,NULL,NULL,'2022-10-21','2022-10-21',0005,1,NULL,10890.00,10890.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:20','2023-06-20 12:52:20'),(161,7260,0,2,7,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40871,00000168,NULL,NULL,'2022-10-23','2022-10-23',0001,1,NULL,0.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:17','2023-06-20 12:52:17'),(162,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40872,00000696,NULL,NULL,'2022-10-24','2022-10-24',0003,1,NULL,1092.06,1092.06,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:13','2023-06-20 12:52:13');
INSERT INTO `receipts` VALUES (163,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40873,00000966,NULL,NULL,'2022-10-25','2022-10-25',0009,1,NULL,1600.00,1600.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:07','2023-06-20 12:52:07'),(164,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40874,00005318,NULL,NULL,'2022-10-25','2022-10-25',0003,1,NULL,37389.00,37389.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:52:03','2023-06-20 12:52:03'),(165,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,217,NULL,72,1,NULL,40738,40875,00000441,NULL,NULL,'2022-10-25','2022-10-25',0006,1,NULL,2200.02,2200.02,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:59','2023-06-20 12:51:59'),(166,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40876,00000195,NULL,NULL,'2022-10-25','2022-10-25',0003,1,NULL,20000.05,20000.05,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:55','2023-06-20 12:51:55'),(167,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40877,00000264,NULL,NULL,'2022-10-25','2022-10-25',0016,1,NULL,21025.00,21025.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:50','2023-06-20 12:51:50'),(168,7260,0,2,38,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40878,00061179,NULL,NULL,'2022-10-25','2022-10-25',0163,1,NULL,18195.49,18195.49,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:46','2023-06-20 12:51:46'),(169,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40875,00000445,NULL,NULL,'2022-10-27','2022-10-27',0006,1,NULL,2200.02,2200.02,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:42','2023-06-20 12:51:42'),(170,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40879,00007771,NULL,NULL,'2022-10-27','2022-10-27',0067,1,NULL,8000.00,8000.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:38','2023-06-20 12:51:38'),(171,7260,0,2,1,NULL,NULL,NULL,NULL,27522,1,250,NULL,72,1,NULL,40738,40872,00000717,NULL,NULL,'2022-10-31','2022-10-31',0003,1,NULL,551.00,551.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:34','2023-06-20 12:51:34'),(172,7260,0,2,7,NULL,NULL,NULL,NULL,27522,1,217,NULL,72,1,NULL,40738,40880,00001500,NULL,NULL,'2022-10-31','2022-10-31',0002,1,NULL,480.00,480.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-11-04 10:39:42','2023-06-20 12:51:30','2023-06-20 12:51:30'),(173,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40881,00001919,NULL,NULL,'2022-11-01','2022-11-01',0005,1,NULL,12100.00,12100.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(174,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40760,00001920,NULL,NULL,'2022-11-01','2022-11-01',0005,1,NULL,87725.00,87725.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(175,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40882,00001923,NULL,NULL,'2022-11-02','2022-11-02',0005,1,NULL,6776.00,6776.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(176,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40883,00001922,NULL,NULL,'2022-11-02','2022-11-02',0005,1,NULL,65925.08,65925.08,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(177,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40884,00001921,NULL,NULL,'2022-11-02','2022-11-02',0005,1,NULL,65925.08,65925.08,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(178,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40885,00001924,NULL,NULL,'2022-11-03','2022-11-03',0005,1,NULL,110334.25,110334.25,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL);
INSERT INTO `receipts` VALUES (179,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40766,00001926,NULL,NULL,'2022-11-03','2022-11-03',0005,1,NULL,45980.00,45980.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:31','2022-12-02 12:13:31',NULL),(180,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40886,00001927,NULL,NULL,'2022-11-03','2022-11-03',0005,1,NULL,170700.75,170700.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(181,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40887,00001925,NULL,NULL,'2022-11-03','2022-11-03',0005,1,NULL,10890.00,10890.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(182,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40888,00001928,NULL,NULL,'2022-11-07','2022-11-07',0005,1,NULL,105270.00,105270.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(183,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40889,00001929,NULL,NULL,'2022-11-08','2022-11-08',0005,1,NULL,435811.00,435811.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(184,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40890,00001930,NULL,NULL,'2022-11-09','2022-11-09',0005,1,NULL,132600.00,132600.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(185,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40891,00001931,NULL,NULL,'2022-11-14','2022-11-14',0005,1,NULL,129853.33,129853.33,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(186,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40892,00001932,NULL,NULL,'2022-11-14','2022-11-14',0005,1,NULL,50144.82,50144.82,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(187,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40893,00001933,NULL,NULL,'2022-11-16','2022-11-16',0005,1,NULL,44165.00,44165.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(188,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40894,00001934,NULL,NULL,'2022-11-17','2022-11-17',0005,1,NULL,28677.00,28677.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(189,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40895,00001935,NULL,NULL,'2022-11-17','2022-11-17',0005,1,NULL,72358.00,72358.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(190,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40896,00001936,NULL,NULL,'2022-11-18','2022-11-18',0005,1,NULL,112530.00,112530.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:32','2022-12-02 12:13:32',NULL),(191,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40897,00001938,NULL,NULL,'2022-11-18','2022-11-18',0005,1,NULL,29403.00,29403.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(192,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40739,00001939,NULL,NULL,'2022-11-18','2022-11-18',0005,1,NULL,69877.50,69877.50,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(193,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40741,00001937,NULL,NULL,'2022-11-18','2022-11-18',0005,1,NULL,43560.00,43560.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(194,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40898,00001940,NULL,NULL,'2022-11-22','2022-11-22',0005,1,NULL,120389.75,120389.75,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(195,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40764,00001941,NULL,NULL,'2022-11-23','2022-11-23',0005,1,NULL,3630.00,3630.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL);
INSERT INTO `receipts` VALUES (196,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40886,00001944,NULL,NULL,'2022-11-25','2022-11-25',0005,1,NULL,30976.00,30976.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(197,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40739,00001942,NULL,NULL,'2022-11-25','2022-11-25',0005,1,NULL,50820.00,50820.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(198,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40886,00001943,NULL,NULL,'2022-11-25','2022-11-25',0005,1,NULL,62436.00,62436.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(199,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40899,00001946,NULL,NULL,'2022-11-28','2022-11-28',0005,1,NULL,26137.21,26137.21,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(200,7260,0,1,1,NULL,NULL,NULL,NULL,26008,1,NULL,NULL,343,1,NULL,40737,40900,00001945,NULL,NULL,'2022-11-28','2022-11-28',0005,1,NULL,20571.21,20571.21,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:13:33','2022-12-02 12:13:33',NULL),(201,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40750,00302397,NULL,NULL,'2022-11-01','2022-11-01',1305,1,NULL,25070.13,25070.13,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(202,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40751,03502493,NULL,NULL,'2022-11-01','2022-11-01',1007,1,NULL,10778.00,10778.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(203,7260,0,2,4,NULL,NULL,NULL,NULL,26008,1,217,NULL,343,1,NULL,40737,40901,00012785,NULL,NULL,'2022-11-01','2022-11-01',0002,1,NULL,208.80,208.80,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:12','2022-12-02 12:14:12',NULL),(204,7260,0,2,7,NULL,NULL,NULL,NULL,26008,1,217,NULL,343,1,NULL,40737,40902,00000067,NULL,NULL,'2022-11-01','2022-11-01',0001,1,NULL,41310.00,41310.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(205,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40903,00000324,NULL,NULL,'2022-11-02','2022-11-02',6950,1,NULL,1829.98,1829.98,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(206,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40904,00909325,NULL,NULL,'2022-11-08','2022-11-08',0002,1,NULL,11476.08,11476.08,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(207,7260,0,2,38,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40905,00081297,NULL,NULL,'2022-11-08','2022-11-08',0007,1,NULL,20926.37,20926.37,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(208,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40906,00000154,NULL,NULL,'2022-11-11','2022-11-11',0007,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(209,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40907,00000590,NULL,NULL,'2022-11-11','2022-11-11',0002,1,NULL,3700.00,3700.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(210,7260,0,2,2,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40755,00000924,NULL,NULL,'2022-11-11','2022-11-11',0004,1,NULL,37834.89,37834.89,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(211,7260,0,2,38,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40752,00013553,NULL,NULL,'2022-11-11','2022-11-11',0009,1,NULL,6475.26,6475.26,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(212,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40759,00080149,NULL,NULL,'2022-11-14','2022-11-14',1017,1,NULL,80.22,80.22,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL);
INSERT INTO `receipts` VALUES (213,7260,0,2,7,NULL,NULL,NULL,NULL,26008,1,217,NULL,343,1,NULL,40737,40908,00002041,NULL,NULL,'2022-11-14','2022-11-14',0003,1,NULL,1200.00,1200.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(214,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,217,NULL,343,1,NULL,40737,40749,00000224,NULL,NULL,'2022-11-15','2022-11-15',0428,1,NULL,9405.53,9405.53,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:13','2022-12-02 12:14:13',NULL),(215,7260,0,2,38,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40752,00013893,NULL,NULL,'2022-11-17','2022-11-17',0009,1,NULL,6475.26,6475.26,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(216,7260,0,2,4,NULL,NULL,NULL,NULL,26008,1,217,NULL,343,1,NULL,40737,40758,67254758,NULL,NULL,'2022-11-18','2022-11-18',0157,1,NULL,1150.00,1150.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(217,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40757,00888935,NULL,NULL,'2022-11-19','2022-11-19',4264,1,NULL,12260.63,12260.63,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(218,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40757,00907715,NULL,NULL,'2022-11-19','2022-11-19',4264,1,NULL,7445.12,7445.12,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(219,7260,0,2,38,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40752,00014143,NULL,NULL,'2022-11-21','2022-11-21',0009,1,NULL,7770.38,7770.38,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(220,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40909,00001616,NULL,NULL,'2022-11-22','2022-11-22',1866,1,NULL,3118.95,3118.95,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(221,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40910,00052726,NULL,NULL,'2022-11-28','2022-11-28',0018,1,NULL,13310.64,13310.64,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(222,7260,0,2,1,NULL,NULL,NULL,NULL,26008,1,250,NULL,343,1,NULL,40737,40911,00007586,NULL,NULL,'2022-11-28','2022-11-28',0002,1,NULL,19723.00,19723.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-12-02 12:14:14','2022-12-02 12:14:14',NULL),(223,7260,0,1,1,NULL,NULL,1,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000001,NULL,NULL,'2025-08-18','2025-09-18',0010,1,NULL,4995480.99,4995480.99,1,1295.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-25 13:24:55','2025-08-25 13:24:55',NULL),(224,7260,0,1,1,NULL,NULL,2,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40930,00000002,NULL,NULL,'2025-08-18','2025-09-18',0010,1,NULL,2938449.99,2938449.99,1,1295.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-25 14:37:32','2025-08-25 14:37:32',NULL),(225,7260,0,1,1,NULL,NULL,3,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40931,00000003,NULL,NULL,'2025-08-18','2025-09-18',0010,1,NULL,1834934.00,1834934.00,1,1295.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-25 14:46:11','2025-08-25 14:46:11',NULL),(226,7260,0,1,1,NULL,NULL,4,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000004,NULL,NULL,'2025-08-18','2025-09-18',0010,1,NULL,5837452.01,5837452.01,1,1295.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-25 14:49:30','2025-08-25 14:49:30',NULL),(227,7260,0,1,1,NULL,NULL,5,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40932,00000005,NULL,NULL,'2025-08-18','2025-09-18',0010,1,NULL,18193453.00,18193453.00,1,1295.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-25 14:55:09','2025-08-25 14:55:09',NULL),(228,7260,0,1,1,NULL,NULL,6,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40933,00000006,NULL,NULL,'2025-08-19','2025-09-19',0010,1,NULL,4897619.05,4897619.05,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 10:28:46','2025-08-29 10:28:46',NULL),(229,7260,0,1,1,NULL,NULL,7,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40930,00000007,NULL,NULL,'2025-08-19','2025-09-19',0010,1,NULL,1004582.99,1004582.99,1,1307.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-08-29 10:30:54','2025-08-29 10:30:54',NULL);
INSERT INTO `receipts` VALUES (230,7260,0,1,1,NULL,NULL,8,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40934,00000008,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,4181760.00,4181760.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:35:46','2025-09-01 09:35:46',NULL),(231,7260,0,1,1,NULL,NULL,9,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40935,00000009,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,7209341.99,7209341.99,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:39:20','2025-09-01 09:39:20',NULL),(232,7260,0,1,1,NULL,NULL,10,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40936,00000010,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,2098234.00,2098234.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:42:21','2025-09-01 09:42:21',NULL),(233,7260,0,1,1,NULL,NULL,11,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000011,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,4982343.00,4982343.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:44:05','2025-09-01 09:44:05',NULL),(234,7260,0,1,1,NULL,NULL,12,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40933,00000012,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,6626190.47,6626190.47,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:46:23','2025-09-01 09:46:23',NULL),(235,7260,0,1,1,NULL,NULL,13,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40937,00000013,NULL,NULL,'2025-08-22','2025-09-22',0010,1,NULL,3787964.00,3787964.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:48:27','2025-09-01 09:48:27',NULL),(236,7260,0,1,1,NULL,NULL,14,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40935,00000014,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,8018347.00,8018347.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:50:14','2025-09-01 09:50:14',NULL),(237,7260,0,1,1,NULL,NULL,15,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40934,00000015,NULL,NULL,'2025-08-25','2025-08-25',0010,1,NULL,943800.00,943800.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:53:17','2025-09-01 09:53:17',NULL),(238,7260,0,1,1,NULL,NULL,16,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40930,00000016,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,1873465.00,1873465.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:55:26','2025-09-01 09:55:26',NULL),(239,7260,0,1,1,NULL,NULL,17,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40931,00000017,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,1223454.00,1223454.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:57:23','2025-09-01 09:57:23',NULL),(240,7260,0,1,1,NULL,NULL,18,NULL,50239,1,NULL,NULL,480,1,NULL,40928,40936,00000018,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,1602394.00,1602394.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 09:59:26','2025-09-01 09:59:26',NULL),(241,7260,0,1,1,NULL,NULL,19,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000019,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,6634956.00,6634956.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 10:00:46','2025-09-01 10:00:46',NULL),(242,7260,0,1,1,NULL,NULL,20,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40935,00000020,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,14863485.00,14863485.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 10:02:17','2025-09-01 10:02:17',NULL),(243,7260,0,1,1,NULL,NULL,21,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40934,00000021,NULL,NULL,'2025-08-25','2025-09-25',0010,1,NULL,4447960.00,4447960.00,1,1319.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-01 16:02:22','2025-09-01 16:02:22',NULL),(244,7260,0,1,1,NULL,NULL,22,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000022,NULL,NULL,'2025-08-26','2025-09-26',0010,1,NULL,6334034.00,6334034.00,1,1336.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-03 13:06:46','2025-09-03 13:06:46',NULL),(245,7260,0,1,1,NULL,NULL,23,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40938,00000023,NULL,NULL,'2025-08-26','2025-09-26',0010,1,NULL,11012547.00,11012547.00,1,1336.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-03 13:08:48','2025-09-03 13:08:48',NULL);
INSERT INTO `receipts` VALUES (246,7260,0,1,1,NULL,NULL,24,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000024,NULL,NULL,'2025-08-26','2025-09-26',0010,1,NULL,5983041.00,5983041.00,1,1336.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-03 13:10:01','2025-09-03 13:10:01',NULL),(247,7260,0,1,1,NULL,NULL,25,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40939,00000025,NULL,NULL,'2025-08-26','2025-09-26',0010,1,NULL,6412578.00,6412578.00,1,1336.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-03 13:11:51','2025-09-03 13:11:51',NULL),(248,7260,0,1,1,NULL,NULL,26,NULL,50239,1,NULL,NULL,484,1,NULL,40928,40929,00000026,NULL,NULL,'2025-08-27','2025-09-27',0010,1,NULL,4983495.00,4983495.00,1,1336.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-03 13:13:50','2025-09-03 13:13:50',NULL),(249,7260,0,1,1,NULL,NULL,27,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40940,00000027,NULL,NULL,'2025-09-12','2025-09-30',0010,1,NULL,11994034.00,11994034.00,1,1466.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-22 11:37:52','2025-09-22 11:37:52',NULL),(250,7260,0,1,1,NULL,NULL,28,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40929,00000028,NULL,NULL,'2025-09-15','2025-10-15',0010,1,NULL,6001758.00,6001758.00,1,1338.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-24 11:26:50','2025-09-24 11:26:50',NULL),(251,7260,0,1,1,NULL,NULL,29,NULL,50240,1,NULL,NULL,484,1,NULL,40928,40941,00000029,NULL,NULL,'2025-09-15','2025-10-15',0010,1,NULL,5983473.00,5983473.00,1,1338.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-24 11:28:13','2025-09-24 11:28:13',NULL),(252,7260,0,1,1,NULL,NULL,30,NULL,50240,1,NULL,NULL,484,1,NULL,40928,40930,00000030,NULL,NULL,'2025-09-15','2025-10-15',0010,1,NULL,6158741.01,6158741.01,1,1338.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-24 11:29:52','2025-09-24 11:29:52',NULL),(253,7260,0,1,1,NULL,NULL,31,NULL,50240,1,NULL,NULL,484,1,NULL,40928,40929,00000031,NULL,NULL,'2025-09-17','2025-10-17',0010,1,NULL,4985655.00,4985655.00,1,1338.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-24 11:38:21','2025-09-24 11:38:21',NULL),(254,7260,0,1,1,NULL,NULL,32,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40941,00000032,NULL,NULL,'2025-09-17','2025-10-17',0010,1,NULL,6124531.99,6124531.99,1,1338.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-09-24 11:39:57','2025-09-24 11:39:57',NULL),(255,7260,0,1,1,NULL,NULL,33,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40942,00000033,NULL,NULL,'2025-09-22','2025-10-22',0010,1,NULL,10469779.10,10469779.10,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 09:05:11','2025-10-01 09:05:11',NULL),(256,7260,0,1,1,NULL,NULL,34,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40932,00000034,NULL,NULL,'2025-09-22','2025-10-22',0010,1,NULL,11987344.99,11987344.99,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 09:07:14','2025-10-01 09:07:14',NULL),(257,7260,0,1,1,NULL,NULL,35,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40929,00000035,NULL,NULL,'2025-09-22','2025-10-22',0010,1,NULL,5983041.00,5983041.00,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 09:08:16','2025-10-01 09:08:16',NULL),(258,7260,0,1,1,NULL,NULL,36,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40942,00000036,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,7093625.00,7093625.00,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 09:09:48','2025-10-01 09:09:48',NULL),(259,7260,0,1,1,NULL,NULL,37,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40933,00000037,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,5475000.00,5475000.00,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 11:38:31','2025-10-01 11:38:31',NULL),(260,7260,0,1,1,NULL,NULL,38,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40943,00000038,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,45968517.21,45968517.21,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 15:17:24','2025-10-01 15:17:24',NULL),(261,7260,0,1,1,NULL,NULL,39,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40944,00000039,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,1645744.99,1645744.99,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 15:18:43','2025-10-01 15:18:43',NULL);
INSERT INTO `receipts` VALUES (262,7260,0,1,1,NULL,NULL,40,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40935,00000040,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,2105874.01,2105874.01,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 15:20:04','2025-10-01 15:20:04',NULL),(263,7260,0,1,1,NULL,NULL,41,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40938,00000041,NULL,NULL,'2025-09-24','2025-10-24',0010,1,NULL,8299574.00,8299574.00,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 17:07:47','2025-10-01 17:07:47',NULL),(264,7260,0,1,1,NULL,NULL,42,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40943,00000042,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,38965411.99,38965411.99,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 17:19:45','2025-10-01 17:19:45',NULL),(265,7260,0,1,1,NULL,NULL,43,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40937,00000043,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,4498725.01,4498725.01,1,1351.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-01 17:21:02','2025-10-01 17:21:02',NULL),(266,7260,0,1,4,NULL,NULL,44,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000001,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,37933.50,37933.50,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 17:52:55','2025-10-02 17:52:55',NULL),(267,7260,0,1,4,NULL,NULL,45,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000002,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,47770.80,47770.80,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 17:55:36','2025-10-02 17:55:36',NULL),(268,7260,0,1,4,NULL,NULL,46,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000003,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,30627.99,30627.99,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 17:59:47','2025-10-02 17:59:47',NULL),(269,7260,0,1,4,NULL,NULL,47,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000004,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,41160.00,41160.00,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:01:37','2025-10-02 18:01:37',NULL),(270,7260,0,1,4,NULL,NULL,48,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000005,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,61428.00,61428.00,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:02:42','2025-10-02 18:02:42',NULL),(271,7260,0,1,4,NULL,NULL,49,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000006,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,52285.00,52285.00,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:04:05','2025-10-02 18:04:05',NULL),(272,7260,0,1,4,NULL,NULL,50,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000007,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,57820.00,57820.00,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:05:28','2025-10-02 18:05:28',NULL),(273,7260,0,1,4,NULL,NULL,51,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000008,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,31712.99,31712.99,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:07:24','2025-10-02 18:07:24',NULL),(274,7260,0,1,4,NULL,NULL,52,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40945,00000009,NULL,NULL,'2025-09-25','2025-09-25',0010,1,NULL,38356.40,38356.40,1,1403.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-02 18:18:10','2025-10-02 18:18:10',NULL),(275,7260,0,1,1,NULL,NULL,53,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40939,00000044,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,1601223.00,1601223.00,1,1401.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-03 16:06:45','2025-10-03 16:06:45',NULL),(276,7260,0,1,1,NULL,NULL,54,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40946,00000045,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,4005714.11,4005714.11,1,1401.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-03 16:18:02','2025-10-03 16:18:02',NULL),(277,7260,0,1,1,NULL,NULL,55,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40935,00000046,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,1758741.00,1758741.00,1,1401.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-03 16:20:43','2025-10-03 16:20:43',NULL);
INSERT INTO `receipts` VALUES (278,7260,0,1,1,NULL,NULL,56,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40932,00000047,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,12134543.00,12134543.00,1,1401.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-03 16:23:37','2025-10-03 16:23:37',NULL),(279,7260,0,1,1,NULL,NULL,57,NULL,50240,1,NULL,NULL,480,1,NULL,40928,40938,00000048,NULL,NULL,'2025-09-25','2025-10-25',0010,1,NULL,8105723.99,8105723.99,1,1401.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-03 16:24:55','2025-10-03 16:24:55',NULL),(280,7260,0,1,1,NULL,NULL,58,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000049,NULL,NULL,'2025-10-18','2025-11-18',0010,1,NULL,359174.81,359174.81,1,1384.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-28 17:01:47','2025-10-28 17:01:47',NULL),(281,7260,0,1,1,NULL,NULL,59,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40941,00000050,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,7325125.00,7325125.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 09:42:35','2025-10-29 09:42:35',NULL),(282,7260,0,1,1,NULL,NULL,60,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40948,00000051,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,1300542.00,1300542.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 09:45:03','2025-10-29 09:45:03',NULL),(283,7260,0,1,3,NULL,NULL,61,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000001,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,350485.10,350485.10,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 15:36:44','2025-10-29 15:36:44',NULL),(284,7260,0,1,1,NULL,NULL,62,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000052,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,116828.37,116828.37,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 15:39:50','2025-10-29 15:39:50',NULL),(285,7260,0,1,1,NULL,NULL,63,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000053,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,116828.37,116828.37,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 15:40:59','2025-10-29 15:40:59',NULL),(286,7260,0,1,1,NULL,NULL,64,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000054,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,116828.37,116828.37,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 15:41:58','2025-10-29 15:41:58',NULL),(287,7260,0,1,3,NULL,NULL,65,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40947,00000002,NULL,NULL,'2025-10-20','2025-11-20',0010,1,NULL,8689.71,8689.71,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-10-29 15:49:05','2025-10-29 15:49:05',NULL),(288,7260,0,1,3,NULL,NULL,66,NULL,50242,1,NULL,NULL,480,1,NULL,40928,40949,00000003,NULL,NULL,'2025-11-01','2025-12-01',0010,1,NULL,539575.69,539575.69,1,1435.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-04 16:17:16','2025-11-04 16:17:16',NULL),(289,7260,0,1,1,NULL,NULL,67,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40933,00000055,NULL,NULL,'2025-10-27','2025-11-27',0010,1,NULL,4126100.00,4126100.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 11:19:45','2025-11-05 11:19:45',NULL),(290,7260,0,1,1,NULL,NULL,68,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40938,00000056,NULL,NULL,'2025-10-27','2025-11-27',0010,1,NULL,21181025.00,21181025.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 11:21:50','2025-11-05 11:21:50',NULL),(291,7260,0,1,1,NULL,NULL,69,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40932,00000057,NULL,NULL,'2025-10-27','2025-11-27',0010,1,NULL,9681254.00,9681254.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 11:22:56','2025-11-05 11:22:56',NULL),(292,7260,0,1,1,NULL,NULL,70,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40939,00000058,NULL,NULL,'2025-10-27','2025-11-27',0010,1,NULL,5801457.00,5801457.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 11:24:15','2025-11-05 11:24:15',NULL),(293,7260,0,1,1,NULL,NULL,71,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40933,00000059,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,4126100.00,4126100.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 11:25:46','2025-11-05 11:25:46',NULL);
INSERT INTO `receipts` VALUES (294,7260,0,1,1,NULL,NULL,72,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40929,00000060,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,16128745.00,16128745.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 12:19:21','2025-11-05 12:19:21',NULL),(295,7260,0,1,1,NULL,NULL,73,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40943,00000061,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,18083495.00,18083495.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 13:16:06','2025-11-05 13:16:06',NULL),(296,7260,0,1,1,NULL,NULL,74,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40930,00000062,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,5004789.00,5004789.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 13:17:32','2025-11-05 13:17:32',NULL),(297,7260,0,1,1,NULL,NULL,75,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40937,00000063,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,4223945.00,4223945.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 13:18:34','2025-11-05 13:18:34',NULL),(298,7260,0,1,1,NULL,NULL,76,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40943,00000064,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,17495454.00,17495454.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 14:13:31','2025-11-05 14:13:31',NULL),(299,7260,0,1,1,NULL,NULL,77,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40929,00000065,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,15369874.00,15369874.00,1,1436.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-05 14:15:18','2025-11-05 14:15:18',NULL),(300,7260,0,1,1,NULL,NULL,78,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40950,00000066,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,4254126.00,4254126.00,1,1424.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-07 10:57:23','2025-11-07 10:57:23',NULL),(301,7260,0,1,1,NULL,NULL,79,NULL,50241,1,NULL,NULL,480,1,NULL,40928,40934,00000067,NULL,NULL,'2025-10-28','2025-11-28',0010,1,NULL,7165500.00,7165500.00,1,1424.00,3,NULL,NULL,0,NULL,NULL,NULL,'2025-11-07 10:58:30','2025-11-07 10:58:30',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=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `recibo_config` VALUES (1,7260,40737,0,'2022-11-03 20:20:51','2022-11-03 20:20:51',NULL),(3,7260,40738,0,'2023-03-29 11:33:28','2023-03-29 11:33:28',NULL),(4,7260,40726,0,'2024-09-23 20:43:04','2024-09-23 20:43:04',NULL),(5,7260,40928,0,'2025-08-22 11:00:21','2025-08-22 11:00:21',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

INSERT INTO `remito_config` VALUES (1,7260,40737,0,'2022-11-03 20:20:51','2022-11-03 20:20:51',NULL),(2,7260,40738,0,'2023-03-29 11:33:28','2023-03-29 11:33:28',NULL),(3,7260,40726,0,'2024-09-23 20:43:04','2024-09-23 20:43:04',NULL),(4,7260,40928,350,'2025-08-22 14:00:21','2025-08-22 14:00:21',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-05-22 00:46:56','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2022-05-22 00:46:56','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2022-05-22 00:46:56','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2022-05-22 00:46:56','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2022-05-22 00:46:56','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2022-05-22 00:46:56','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2022-05-22 00:46:56','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2022-05-22 00:46:56','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2022-05-22 00:46:56','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2022-05-22 00:46:56','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2022-05-22 00:46:56','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2022-05-22 00:46:56','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2022-05-22 00:46:56','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2022-05-22 00:46:56','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2022-05-22 00:46:56','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2022-05-22 00:46:56','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2022-05-22 00:46:56','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2022-05-22 00:46:56','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2022-05-22 00:46:56','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2022-05-22 00:46:56','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2022-05-22 00:46:56','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2022-05-22 00:46:56','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2022-05-22 00:46:56','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2022-05-22 00:46:56','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2022-05-22 00:46:56','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);

--
