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

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

INSERT INTO `person_activities` VALUES (9,8520,40719,796,1,'2023-03-08 15:56:31','2023-03-08 15:56:31',NULL),(582,8520,40720,660,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(583,8520,40720,580,0,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(584,8520,40720,834,0,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(585,8520,40720,408,0,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(586,8520,40720,831,0,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(587,8520,40747,660,1,'2023-03-09 10:38:31','2023-03-09 10:38:31',NULL),(590,8520,40749,918,1,'2023-03-09 16:27:56','2023-03-09 16:27:56',NULL),(591,8520,40748,894,1,'2023-03-10 12:46:09','2023-03-10 12:46:09',NULL),(592,8520,40748,943,0,'2023-03-10 12:46:09','2023-03-10 12:46:09',NULL),(593,8520,40802,614,1,'2023-03-21 12:41:23','2023-03-21 12:41:23',NULL),(594,8520,40803,572,1,'2023-03-22 10:13:09','2023-03-22 10:13:09',NULL),(595,8520,40803,571,0,'2023-03-22 10:13:09','2023-03-22 10:13:09',NULL),(596,8520,40803,573,0,'2023-03-22 10:13:09','2023-03-22 10:13:09',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_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,
  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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_configurations` VALUES (2,8520,40719,NULL,NULL,0,'2023-02-15 09:55:58','2023-03-10 12:28:15',2,1,0.00,NULL,12,1,1,0,0,0,3,NULL,'2023-1',0,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,'2023-02-17',NULL,'23350482229',NULL,0,NULL,0,NULL,0,0,NULL),(3,8520,40720,NULL,NULL,0,'2023-02-27 09:36:41','2023-03-10 12:28:15',2,1,16300.00,NULL,12,2,1,1,1,1,4,NULL,'2023-01',1,0,0,1,1,40720,40720,NULL,NULL,NULL,0,NULL,'2023-03-08',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL),(4,8520,40747,NULL,NULL,0,'2023-03-09 10:38:31','2023-03-10 12:28:15',2,1,37400.00,NULL,12,2,1,1,1,1,4,NULL,'2023-01',1,0,0,1,1,40747,40747,NULL,NULL,NULL,0,NULL,'0000-00-00',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL),(5,8520,40748,NULL,NULL,0,'2023-03-09 15:48:42','2023-03-10 12:46:09',2,1,24000.00,NULL,12,2,1,1,1,1,3,NULL,'2023-01',1,1,1,0,1,40748,40748,NULL,NULL,NULL,0,NULL,'2015-03-01',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL),(6,8520,40749,NULL,NULL,0,'2023-03-09 16:27:56','2023-03-10 12:28:15',2,1,0.00,NULL,12,1,1,1,0,1,3,NULL,'2023-01',0,0,0,0,2,40749,40749,NULL,NULL,NULL,0,NULL,'0000-00-00',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL),(7,8520,40802,NULL,NULL,0,'2023-03-21 12:41:23','2023-03-21 12:41:23',2,1,0.00,NULL,4,2,1,1,1,0,3,NULL,'2023-01',1,0,0,0,1,40802,40802,NULL,NULL,NULL,0,NULL,'2013-08-16',NULL,'30714198390',NULL,0,NULL,0,NULL,0,0,NULL),(8,8520,40803,NULL,NULL,0,'2023-03-22 10:13:09','2023-03-22 10:13:09',2,1,0.00,NULL,3,2,1,1,1,0,3,NULL,'2022-04',1,0,0,0,1,40803,40803,NULL,NULL,NULL,0,NULL,'2017-11-28',NULL,'30715845292',NULL,0,NULL,0,NULL,0,0,NULL);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `person_zone_actividad` VALUES (7,8520,40719,14,796,1,0.00000,0.00000,1,1,'2023-03-08 15:56:31','2023-03-08 15:56:31',NULL),(1688,8520,40720,14,660,2,0.00000,2.00000,1,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(1689,8520,40720,14,580,1,0.00000,0.00000,1,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(1690,8520,40720,14,834,1,0.00000,0.00000,1,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(1691,8520,40720,14,408,2,0.00000,0.00000,1,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(1692,8520,40720,14,831,1,0.00000,0.00000,1,1,'2023-03-08 16:21:38','2023-03-08 16:21:38',NULL),(1693,8520,40747,14,660,2,0.00000,2.00000,1,1,'2023-03-09 10:38:31','2023-03-09 10:38:31',NULL),(1696,8520,40749,14,918,2,1.00000,3.60000,1,1,'2023-03-09 16:27:56','2023-03-09 16:27:56',NULL),(1697,8520,40748,14,894,2,1.00000,3.60000,1,1,'2023-03-10 12:46:09','2023-03-10 12:46:09',NULL),(1698,8520,40748,14,943,2,1.00000,3.60000,1,1,'2023-03-10 12:46:09','2023-03-10 12:46:09',NULL),(1699,8520,40802,14,614,2,1.00000,5.00000,1,1,'2023-03-21 12:41:23','2023-03-21 12:41:23',NULL),(1700,8520,40803,14,572,2,1.00000,5.00000,1,1,'2023-03-22 10:13:09','2023-03-22 10:13:09',NULL),(1701,8520,40803,14,571,2,1.00000,5.00000,1,1,'2023-03-22 10:13:09','2023-03-22 10:13:09',NULL),(1702,8520,40803,14,573,2,1.00000,5.00000,1,1,'2023-03-22 10:13:09','2023-03-22 10:13:09',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=1240 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_zones` VALUES (8,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-08 15:56:31','2023-03-08 15:56:31',40719,NULL),(1233,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-08 16:21:38','2023-03-08 16:21:38',40720,NULL),(1234,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-09 10:38:31','2023-03-09 10:38:31',40747,NULL),(1236,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-09 16:27:56','2023-03-09 16:27:56',40749,NULL),(1237,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-10 12:46:09','2023-03-10 12:46:09',40748,NULL),(1238,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-21 12:41:23','2023-03-21 12:41:23',40802,NULL),(1239,8520,0.0000,0.0000,14,1,NULL,NULL,NULL,'2023-03-22 10:13:09','2023-03-22 10:13:09',40803,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,
  `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,
  `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`),
  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_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=40931 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,1,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,2,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),(40719,8520,'Navarro Caballero Emiliano',NULL,'40719',NULL,'cuit','23-35048222-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-15 15:55:37','2023-03-08 15:56:31',NULL,'Las Moreras 42',NULL,1,NULL,NULL,NULL,NULL,NULL),(40720,8520,'Capalbi Javier Alfredo',NULL,'40720',NULL,'cuit','20-24883830-3',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:36:41','2023-03-08 16:17:08',NULL,'San Martín N° 14 Rosario de Lerma',NULL,1,NULL,NULL,NULL,NULL,NULL),(40721,8520,'SCANIA ARGENTINA S A U',NULL,'40721',NULL,'cuit','30-51742430-3',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40722,8520,'OSCAR Y MARTIN SALICRU S.A.',NULL,'40722',NULL,'cuit','30-70922073-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40723,8520,'CLC S.R.L.',NULL,'40723',NULL,'cuit','33-71720491-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40724,8520,'SOLUCIONES DEL NORTE  S.A.',NULL,'40724',NULL,'cuit','30-71109270-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40725,8520,'TIPLISKY MERGEN JOSE LUIS MARIA',NULL,'40725',NULL,'cuit','23-33753671-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40726,8520,'SECURITY CONSULTANT S.A.',NULL,'40726',NULL,'cuit','30-71020589-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40727,8520,'NSA ECO S.R.L.',NULL,'40727',NULL,'cuit','30-71424927-0',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40728,8520,'SORIA GRISELDA VALERIA',NULL,'40728',NULL,'cuit','27-24453112-7',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40729,8520,'SCANIA CREDIT ARGENTINA SAU',NULL,'40729',NULL,'cuit','30-71702399-0',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40730,8520,'JOSE JACOBO AHUERMA Y JOSE GUSTAVO AHUERMA S.R.L.',NULL,'40730',NULL,'cuit','30-71143465-4',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40731,8520,'GRUPO ZETA S.R.L.',NULL,'40731',NULL,'cuit','30-70894565-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40732,8520,'TADEMAQ EQUIPOS PESADOS S.R.L.',NULL,'40732',NULL,'cuit','33-71528827-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40733,8520,'PIAZZA DEI MIRACOLI S.R.L.',NULL,'40733',NULL,'cuit','30-71697749-4',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40734,8520,'LOPEZ DIESEL SOCIEDAD  ANONIMA',NULL,'40734',NULL,'cuit','30-70922803-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40735,8520,'GMKT S.A.',NULL,'40735',NULL,'cuit','30-71492818-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40736,8520,'BARRERA DIEGO RUBEN',NULL,'40736',NULL,'cuit','20-22023124-1',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40737,8520,'LONGARELA ALBERTO DANIEL',NULL,'40737',NULL,'cuit','20-11332796-1',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40738,8520,'TRAING S.A.S.',NULL,'40738',NULL,'cuit','30-71699339-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40739,8520,'DABRA SOCIEDAD ANONIMA',NULL,'40739',NULL,'cuit','30-63848573-3',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40740,8520,'EXTINGNORT S.R.L.',NULL,'40740',NULL,'cuit','30-71506163-1',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40741,8520,'SERVICAM REPUESTOS S.R.L.',NULL,'40741',NULL,'cuit','33-71424029-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40742,8520,'FIDEICOMISO YAPEYU N 88',NULL,'40742',NULL,'cuit','30-71601259-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40743,8520,'SOLANAS SA',NULL,'40743',NULL,'cuit','33-65988879-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40744,8520,'CERAMICA ALBERDI S A',NULL,'40744',NULL,'cuit','33-50090851-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:39:19','2023-02-27 09:39:19',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40745,8520,'ANDREANI LOGISTICA SA',NULL,'40745',NULL,'cuit','30-69801114-5',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-27 09:39:19','2023-02-27 09:39:19',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40746,8520,'CABALLERO SILVIA ROSANA',NULL,'40746',NULL,'cuit','27-21311232-0',6,NULL,14,14,NULL,NULL,'2023-03-08 15:53:32','2023-03-08 15:53:32',NULL,'COSTA DE MARFIL 1095',NULL,1,NULL,NULL,NULL,NULL,NULL),(40747,8520,'Carlos A. Capalbi y Javier A. Capalbi Sociedad de Hecho',NULL,'40747',NULL,'cuit','30-71141711-3',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-09 10:38:31','2023-03-09 10:38:31',NULL,'Aniceto La Torre N° 30 Rosario de Lerma',NULL,2,NULL,NULL,NULL,NULL,NULL),(40748,8520,'Rivadeneira Alvaro Ivan',NULL,'40748',NULL,'cuit','20-31035589-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-09 15:48:42','2023-03-09 15:48:42',NULL,'Vicente López 1181',NULL,1,NULL,NULL,NULL,NULL,NULL),(40749,8520,'Ryan Inés Mercedes',NULL,'40749',NULL,'cuit','27-33753851-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-09 16:27:56','2023-03-09 16:27:56',NULL,'Las Moreras 42',NULL,1,NULL,NULL,NULL,NULL,NULL),(40750,8520,'MIRANDA EDITH MIRIAM',NULL,'40750',NULL,'cuit','27-28529621-3',5,NULL,14,14,NULL,NULL,'2023-03-10 12:36:58','2023-03-10 12:36:58',NULL,'ZUVIRIA 618',NULL,1,NULL,NULL,NULL,NULL,NULL),(40751,8520,'LAMAS SOLALIGUE SILVIA VIRGINIA',NULL,'40751',NULL,'cuit','27-25801160-6',5,NULL,14,14,NULL,NULL,'2023-03-10 12:39:17','2023-03-10 12:39:17',NULL,'MANZANA 5 30     M:5',NULL,1,NULL,NULL,NULL,NULL,NULL),(40752,8520,'BARRIOS IBARRA NATALIA EVANGELINA',NULL,'40752',NULL,'cuit','27-31194961-1',5,NULL,14,14,NULL,NULL,'2023-03-10 12:41:59','2023-03-10 12:41:59',NULL,'B&#176; EL HUAICO PROCREAR   TORRE B 3 Piso:2 Dpto:E',NULL,1,NULL,NULL,NULL,NULL,NULL),(40753,8520,'ALFARO GUADALUPE LOURDES',NULL,'40753',NULL,'cuit','27-32631603-8',5,NULL,14,14,NULL,NULL,'2023-03-10 16:42:51','2023-03-10 16:42:51',NULL,'MZA. 236 CASA 11',NULL,1,NULL,NULL,NULL,NULL,NULL),(40754,8520,'FIGUEROA PAZ MARIA AGUSTINA',NULL,'40754',NULL,'cuit','27-39365013-9',5,NULL,14,14,NULL,NULL,'2023-03-10 16:44:42','2023-03-10 16:44:42',NULL,'CALLE 02  DERECHO VIEJO 59',NULL,1,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40755,8520,'REYNAGA JOSEFINA',NULL,'40755',NULL,'cuit','27-42706816-7',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 16:46:50','2023-03-10 16:46:50',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40756,8520,'CANCINOS ANGELA',NULL,'40756',NULL,'cuit','27-43837387-5',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 16:48:32','2023-03-10 16:48:32',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40757,8520,'DAHAS ZAIRA YAMILE MARIA',NULL,'40757',NULL,'cuit','27-32630845-0',5,NULL,14,14,NULL,NULL,'2023-03-10 16:50:17','2023-03-10 16:50:17',NULL,'BARRIO EL HUAICO ETAPA 12 CASA 26     M:451 C',NULL,1,NULL,NULL,NULL,NULL,NULL),(40758,8520,'CAMACHO IRIS FABIANA',NULL,'40758',NULL,'cuit','27-23749080-6',5,NULL,14,14,NULL,NULL,'2023-03-10 16:51:42','2023-03-10 16:51:42',NULL,'URQUIZA 233',NULL,1,NULL,NULL,NULL,NULL,NULL),(40759,8520,'BRUNO MARIA VICTORIA',NULL,'40759',NULL,'cuit','27-32629461-1',5,NULL,14,14,NULL,NULL,'2023-03-10 16:53:12','2023-03-10 16:53:12',NULL,'JUAN EMILIO MAROCCO 1877',NULL,1,NULL,NULL,NULL,NULL,NULL),(40760,8520,'CARRIO CAMILA BELEN',NULL,'40760',NULL,'cuit','27-42131376-3',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 16:54:52','2023-03-10 16:54:52',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40761,8520,'REBAK DE LA FUENTE PAULA CONSTANZA',NULL,'40761',NULL,'cuit','27-34431104-3',5,NULL,14,14,NULL,NULL,'2023-03-10 16:56:09','2023-03-10 16:56:09',NULL,'POLICIA FEDERAL 285',NULL,1,NULL,NULL,NULL,NULL,NULL),(40762,8520,'ROSALES MARIA EUGENIA',NULL,'40762',NULL,'cuit','27-43337840-2',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 16:57:40','2023-03-10 16:57:40',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40763,8520,'RAMOS PABLO ANDRE',NULL,'40763',NULL,'cuit','20-39783912-6',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:02:41','2023-03-10 17:02:41',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40764,8520,'ALFARO AGUSTINA NEREA',NULL,'40764',NULL,'cuit','27-42132847-7',5,NULL,14,14,NULL,NULL,'2023-03-10 17:04:01','2023-03-10 17:04:01',NULL,'ANICETO LA TORRE 768 Piso:4 Dpto:C',NULL,1,NULL,NULL,NULL,NULL,NULL),(40765,8520,'PEREZ CELESTE',NULL,'40765',NULL,'cuit','27-39674385-5',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:05:46','2023-03-10 17:05:46',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40766,8520,'ROMERO DIONEL',NULL,'40766',NULL,'cuit','20-32706582-4',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:07:12','2023-03-10 17:07:12',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40767,8520,'AQUIM ANALIA LORENA',NULL,'40767',NULL,'cuit','27-30508571-0',5,NULL,14,14,NULL,NULL,'2023-03-10 17:28:28','2023-03-10 17:28:28',NULL,'GENERAL OBES 1245',NULL,1,NULL,NULL,NULL,NULL,NULL),(40768,8520,'ARAMAYO MARIA CLAUDIA',NULL,'40768',NULL,'cuit','27-25662627-1',5,NULL,14,14,NULL,NULL,'2023-03-10 17:30:07','2023-03-10 17:30:07',NULL,'BATALLA DE SALTA 958',NULL,1,NULL,NULL,NULL,NULL,NULL),(40769,8520,'ARGAÑARAS',NULL,'40769',NULL,'cuit','27-36804327-9',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:31:32','2023-03-10 17:31:32',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40770,8520,'AYALA',NULL,'40770',NULL,'cuit','23-30731380-4',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:33:04','2023-03-10 17:33:04',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40771,8520,'AYUSA',NULL,'40771',NULL,'cuit','27-42705886-2',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:35:32','2023-03-10 17:35:32',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40772,8520,'BALCAZAR MARIA EUGENIA',NULL,'40772',NULL,'cuit','27-37600130-5',5,NULL,14,14,NULL,NULL,'2023-03-10 17:36:45','2023-03-10 17:36:45',NULL,'LOTE 15 Piso:0 Dpto:0 S:0 T:0 M:O',NULL,1,NULL,NULL,NULL,NULL,NULL),(40773,8520,'FERNANDEZ GALARZA CRISTINA ISABEL',NULL,'40773',NULL,'cuit','27-32347845-2',5,NULL,14,14,NULL,NULL,'2023-03-10 17:41:08','2023-03-10 17:41:08',NULL,'BA.BANCARIO  BLOCK O 2 Piso:3 Dpto:D',NULL,1,NULL,NULL,NULL,NULL,NULL),(40774,8520,'GUANTAY ROXANA JESABEL',NULL,'40774',NULL,'cuit','23-30384083-4',5,NULL,14,14,NULL,NULL,'2023-03-10 17:42:30','2023-03-10 17:42:30',NULL,'VICENTE LOPEZ 1181',NULL,1,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40775,8520,'MEDINA MARIA FLORENCIA',NULL,'40775',NULL,'cuit','27-29737558-5',5,NULL,14,14,NULL,NULL,'2023-03-10 17:44:11','2023-03-10 17:44:11',NULL,'LAS ROSAS 480',NULL,1,NULL,NULL,NULL,NULL,NULL),(40776,8520,'MEDRANO',NULL,'40776',NULL,'cuit','27-27200502-3',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:45:45','2023-03-10 17:45:45',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40777,8520,'OJEDA DAN',NULL,'40777',NULL,'cuit','27-24875752-9',5,NULL,NULL,NULL,NULL,NULL,'2023-03-10 17:48:37','2023-03-10 17:48:37',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40778,8520,'REYNOSO NALLMA CAMILA',NULL,'40778',NULL,'cuit','27-37003398-1',5,NULL,14,14,NULL,NULL,'2023-03-10 17:50:58','2023-03-10 17:50:58',NULL,'AV BELGRANO 367 Piso:2 Dpto:C  T:3',NULL,1,NULL,NULL,NULL,NULL,NULL),(40779,8644,'J.D.G. NEUMATICOS S.A.',NULL,'40779',NULL,'cuit','30-71208545-9',1,NULL,14,14,NULL,NULL,'2023-03-13 11:02:37','2023-03-13 11:02:37',NULL,'AVDA PARAGUAY 2727 SALTA',NULL,2,NULL,NULL,NULL,NULL,NULL),(40780,8644,'CORREO ANDREANI SA',NULL,'40780',NULL,'cuit','33-69968545-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-13 11:55:31','2023-03-13 11:55:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40802,8520,'Amada & Glamour SRL',NULL,'40802',NULL,'cuit','30-71419839-0',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-21 12:41:23','2023-03-21 12:41:23',NULL,'Balcarce N° 82',NULL,2,NULL,NULL,NULL,NULL,NULL),(40803,8520,'Maiso SRL',NULL,'40803',NULL,'cuit','30-71584529-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-22 10:13:08','2023-03-22 10:13:08',NULL,'San Martin 777',NULL,2,NULL,NULL,NULL,NULL,NULL),(40838,8520,'ORTIZ ADRIANA',NULL,'40838',NULL,'cuit','27-03760572-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40839,8520,'ORTIZ RICARDO',NULL,'40839',NULL,'cuit','20-08172863-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40840,8520,'SINDICATO DE EMPLEADOS DE COMERCIO',NULL,'40840',NULL,'cuit','30-54336263-4',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40841,8520,'SUCESION DE ORTIZ FERNANDO',NULL,'40841',NULL,'cuit','20-07234008-7',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40842,8520,'PEIRETTI HECTOR, PEIRETTI HAYDEE  Y PEIRETTI RAUL S. CAP I SECC IV',NULL,'40842',NULL,'cuit','30-50163236-4',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40843,8520,'BRESCIALAT S.A.',NULL,'40843',NULL,'cuit','30-70821387-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40844,8520,'PEREZ ESTRADA MARIO FERNANDO',NULL,'40844',NULL,'cuit','20-14176680-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40845,8520,'CASSINI  Y CESARATTO S.A.',NULL,'40845',NULL,'cuit','30-64661852-1',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40846,8520,'CHACINADOS TACURAL S R L',NULL,'40846',NULL,'cuit','30-58743818-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40847,8520,'HUGO CARLOS GIAMPIERI E HIJOS - SOCIEDAD ANONIMA',NULL,'40847',NULL,'cuit','30-71458301-4',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40848,8520,'LA PIAMONTESA S.A.',NULL,'40848',NULL,'cuit','30-50386163-8',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40849,8520,'ANDUJAR MIGUEL ANTONIO',NULL,'40849',NULL,'cuit','20-12826014-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40850,8520,'COOPERATIVA DE TRABAJO SAN JERONIMO DEL SAUCE LIMITADA',NULL,'40850',NULL,'cuit','30-71791742-8',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40851,8520,'SODECAR SA',NULL,'40851',NULL,'cuit','30-69442441-0',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40852,8520,'AGUIRRE ANDRES JULIO',NULL,'40852',NULL,'cuit','20-08135949-1',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40853,8520,'NYA SRL',NULL,'40853',NULL,'cuit','30-71606171-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40854,8520,'GUTIERREZ MIGUEL UBALDO',NULL,'40854',NULL,'cuit','20-05515400-8',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40855,8520,'GALOPPO JOSE MANUEL',NULL,'40855',NULL,'cuit','20-23801019-6',NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-23 12:24:43','2023-03-23 12:24:43',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40905,8520,'LAIME LUCIANA NORALI',NULL,'40905',NULL,'cuit','27-39343922-5',5,NULL,NULL,NULL,NULL,NULL,'2023-04-10 11:44:52','2023-04-10 11:44:52',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40906,8520,'GUANTAY LEONEL GASTON',NULL,'40906',NULL,'cuit','20-37746923-3',6,NULL,14,14,NULL,NULL,'2023-04-10 11:47:43','2023-04-10 11:47:43',NULL,'VILLA BELGRANO VICENTE LOPEZ 1181',NULL,1,NULL,NULL,NULL,NULL,NULL),(40907,8520,'CAZON ADRIANA BEATRIZ',NULL,'40907',NULL,'cuit','27-22094260-6',6,NULL,14,14,NULL,NULL,'2023-04-10 11:49:06','2023-04-10 11:49:06',NULL,'BARRIO EL HUAICO - MANZANA 524 C - CASA 8',NULL,1,NULL,NULL,NULL,NULL,NULL),(40908,8520,'BLANCO ANA PAULA AGOSTINA',NULL,'40908',NULL,'cuit','27-40328025-4',5,NULL,14,14,NULL,NULL,'2023-04-10 12:07:56','2023-04-10 12:07:56',NULL,'BALCARCE 364 Piso:2 Dpto:B',NULL,1,NULL,NULL,NULL,NULL,NULL),(40909,8520,'CATA GABRIELA JOSEFINA',NULL,'40909',NULL,'cuit','27-25085074-9',1,NULL,14,14,NULL,NULL,'2023-04-10 12:13:17','2023-04-10 12:13:17',NULL,'COLON 397',NULL,1,NULL,NULL,NULL,NULL,NULL),(40910,8520,'CRUZ NORA',NULL,'40910',NULL,'cuit','27-36347101-9',5,NULL,NULL,NULL,NULL,NULL,'2023-04-10 12:15:03','2023-04-10 12:15:03',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40911,8520,'DE LA CUESTA RAQUEL MERCEDES',NULL,'40911',NULL,'cuit','27-13126411-4',6,NULL,14,14,NULL,NULL,'2023-04-10 12:16:39','2023-04-10 12:16:39',NULL,'ZUVIRIA 425',NULL,1,NULL,NULL,NULL,NULL,NULL),(40912,8520,'BEJARANO MONTOYA KAREN NICOLE AYELEN',NULL,'40912',NULL,'cuit','24-37731075-2',6,NULL,14,14,NULL,NULL,'2023-04-10 12:20:46','2023-04-10 12:20:46',NULL,'JUAN VUCETICH 540',NULL,1,NULL,NULL,NULL,NULL,NULL),(40913,8520,'MACAIONE KAREN AMIRA',NULL,'40913',NULL,'cuit','23-38034697-4',5,NULL,14,14,NULL,NULL,'2023-04-10 12:21:58','2023-04-10 12:21:58',NULL,'MITRE 274  Dpto:30',NULL,1,NULL,NULL,NULL,NULL,NULL),(40914,8520,'VELAZQUEZ AVELLANEDA GISELA DEL ROSARIO',NULL,'40914',NULL,'cuit','27-28975080-6',5,NULL,14,14,NULL,NULL,'2023-04-10 12:30:31','2023-04-10 12:30:31',NULL,'IBAZETA 1470 Piso:1 Dpto:5  T:3',NULL,1,NULL,NULL,NULL,NULL,NULL),(40915,8520,'ZURITA DONDA VALERIA',NULL,'40915',NULL,'cuit','27-28543915-4',5,NULL,14,14,NULL,NULL,'2023-04-10 12:31:34','2023-04-10 12:31:34',NULL,'B&#176; CASINO 0 Piso:PB Dpto:3  T:L',NULL,1,NULL,NULL,NULL,NULL,NULL),(40916,8520,'QUIROZ SILVIA MARCELA',NULL,'40916',NULL,'cuit','23-21634236-4',5,NULL,14,14,NULL,NULL,'2023-05-10 09:52:53','2023-05-10 09:52:53',NULL,'VICENTE TORINO 1878',NULL,1,NULL,NULL,NULL,NULL,NULL),(40917,8520,'PURTIC NATALIA',NULL,'40917',NULL,'cuit','27-27700105-0',5,NULL,14,14,NULL,NULL,'2023-05-10 09:54:37','2023-05-10 09:54:37',NULL,'CALLE 2 3305',NULL,1,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40918,8520,'JIJENA LO',NULL,'40918',NULL,'cuit','27-94808220-4',5,NULL,NULL,NULL,NULL,NULL,'2023-05-10 10:04:09','2023-05-10 10:04:09',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40919,8520,'MALDONADO DAIANA CELESTE',NULL,'40919',NULL,'cuit','27-35928729-7',6,NULL,14,14,NULL,NULL,'2023-05-10 10:05:27','2023-05-10 10:05:27',NULL,'GRAL GUEMES 1380 Piso:8 Dpto:A',NULL,1,NULL,NULL,NULL,NULL,NULL),(40920,8520,'MASTRULERI MOLINA SILVANA MARCELA',NULL,'40920',NULL,'cuit','27-17309354-9',6,NULL,14,14,NULL,NULL,'2023-05-10 10:09:27','2023-05-10 10:09:27',NULL,'REYES CATOLICOS 1463',NULL,1,NULL,NULL,NULL,NULL,NULL),(40921,8520,'OLIVO MARIA JOSE',NULL,'40921',NULL,'cuit','27-30222952-5',5,NULL,14,14,NULL,NULL,'2023-05-10 10:10:41','2023-05-10 10:10:41',NULL,'SAN MILLAN 545',NULL,1,NULL,NULL,NULL,NULL,NULL),(40922,8520,'ARIAS CEC',NULL,'40922',NULL,'cuit','27-31733686-7',5,NULL,NULL,NULL,NULL,NULL,'2023-05-10 10:12:42','2023-05-10 10:12:42',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40923,8520,'JALDO SILVIA LUCRECIA',NULL,'40923',NULL,'cuit','27-32706264-1',6,NULL,14,14,NULL,NULL,'2023-05-10 10:17:48','2023-05-10 10:17:48',NULL,'LA MANADA Y ALAZAN S/N LOTE 13',NULL,1,NULL,NULL,NULL,NULL,NULL),(40924,8520,'ARGUELLO ADRIANA DEL VALLE',NULL,'40924',NULL,'cuit','27-16743160-2',1,NULL,14,14,NULL,NULL,'2023-05-10 10:31:35','2023-05-10 10:31:35',NULL,'DEAN FUNES 29',NULL,1,NULL,NULL,NULL,NULL,NULL),(40925,8520,'RIOS ADRI',NULL,'40925',NULL,'cuit','27-28732025-1',5,NULL,NULL,NULL,NULL,NULL,'2023-05-10 10:36:35','2023-05-10 10:36:35',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(40926,8520,'RODRIGUEZ GÜEMES FLORENCIA MAGALI',NULL,'40926',NULL,'cuit','27-37134031-4',6,NULL,14,14,NULL,NULL,'2023-05-10 10:42:03','2023-05-10 10:42:03',NULL,'AV DE LOS INCAS 3272',NULL,1,NULL,NULL,NULL,NULL,NULL),(40927,8520,'BENITEZ MASTROIACOVO MARIA BELEN',NULL,'40927',NULL,'cuit','23-33582495-4',6,NULL,14,14,NULL,NULL,'2023-05-10 10:46:21','2023-05-10 10:46:21',NULL,'B&#176; LIMACHE ETAPA 9 MZA 2 CASA 13',NULL,1,NULL,NULL,NULL,NULL,NULL),(40928,8520,'OTERO LUIS PABLO',NULL,'40928',NULL,'cuit','20-31338154-5',6,NULL,14,14,NULL,NULL,'2023-05-10 10:48:46','2023-05-10 10:48:46',NULL,'URQUIZA 2342',NULL,1,NULL,NULL,NULL,NULL,NULL),(40929,8520,'LOAYZA PACHECO JIMENA LUCIA',NULL,'40929',NULL,'cuit','27-33970635-8',6,NULL,14,14,NULL,NULL,'2023-05-10 10:49:52','2023-05-10 10:49:52',NULL,'NEVADO DE ACAY 2790',NULL,1,NULL,NULL,NULL,NULL,NULL),(40930,8520,'CANCHI MARIA LUCIA DEL VALLE',NULL,'40930',NULL,'cuit','27-24274507-3',6,NULL,14,14,NULL,NULL,'2023-05-10 11:54:26','2023-05-10 11:54:26',NULL,'JOSE SUPERI 829',NULL,1,NULL,NULL,NULL,NULL,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_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 `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,8520,40719,0,'2023-02-22 17:48:48','2023-02-22 17:48:48',NULL),(2,8520,40748,0,'2023-03-09 15:57:27','2023-03-09 15:57:27',NULL),(3,8520,40749,0,'2023-03-09 16:32:27','2023-03-09 16:32:27',NULL),(4,8520,40720,0,'2023-03-09 16:36:40','2023-03-09 16:36:40',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 `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,'2023-02-15 09:55:52','2023-02-15 09:55:52',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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `queue_proceso_resultado` VALUES (1,8520,2,'[\"Linea 51 El tipo de documento: LE invalido\",\"Linea 122 El tipo de documento: LE invalido\",\"Linea 201 El tipo de documento: LE invalido\",\"Linea 312 El tipo de documento: LE invalido\",\"Linea 367 El tipo de documento: LE invalido\",\"Linea 377 El tipo de documento: LE invalido\",\"Linea 471 El tipo de documento: LE invalido\",\"Linea 486 El tipo de documento: LE invalido\",\"Linea 561 El tipo de documento: LE invalido\",\"Linea 638 El tipo de documento: LE invalido\",\"Linea 643 El tipo de documento: LE invalido\",\"Linea 719 El tipo de documento: LE invalido\",\"Linea 729 El tipo de documento: LE invalido\",\"Linea 899 El tipo de documento: LE invalido\",\"Linea 906 El tipo de documento: LE invalido\",\"Linea 976 El tipo de documento: LE invalido\",\"Linea 997 El tipo de documento: LE invalido\",\"Linea 1073 El tipo de documento: LE invalido\",\"Linea 1183 El tipo de documento: LE invalido\",\"Linea 1389 El tipo de documento: LE invalido\",\"Linea 1394 El tipo de documento: LE invalido\"]','2023-03-23 12:24:26','2023-03-23 12:24:53',NULL),(2,8520,2,'[\"Linea 51 El tipo de documento: LE invalido\",\"Linea 122 El tipo de documento: LE invalido\",\"Linea 201 El tipo de documento: LE invalido\",\"Linea 312 El tipo de documento: LE invalido\",\"Linea 367 El tipo de documento: LE invalido\",\"Linea 377 El tipo de documento: LE invalido\",\"Linea 471 El tipo de documento: LE invalido\",\"Linea 486 El tipo de documento: LE invalido\",\"Linea 561 El tipo de documento: LE invalido\",\"Linea 638 El tipo de documento: LE invalido\",\"Linea 643 El tipo de documento: LE invalido\",\"Linea 719 El tipo de documento: LE invalido\",\"Linea 729 El tipo de documento: LE invalido\",\"Linea 899 El tipo de documento: LE invalido\",\"Linea 906 El tipo de documento: LE invalido\",\"Linea 976 El tipo de documento: LE invalido\",\"Linea 997 El tipo de documento: LE invalido\",\"Linea 1073 El tipo de documento: LE invalido\",\"Linea 1183 El tipo de documento: LE invalido\",\"Linea 1389 El tipo de documento: LE invalido\",\"Linea 1394 El tipo de documento: LE invalido\"]','2023-03-27 17:46:58','2023-03-27 17:47:12',NULL),(3,8520,2,'[\"Linea 57 El tipo de documento: LE invalido\",\"Linea 146 El tipo de documento: LE invalido\",\"Linea 178 El tipo de documento: LE invalido\",\"Linea 309 El tipo de documento: LE invalido\",\"Linea 337 El tipo de documento: LE invalido\",\"Linea 347 El tipo de documento: LE invalido\",\"Linea 442 El tipo de documento: LE invalido\",\"Linea 457 El tipo de documento: LE invalido\",\"Linea 533 El tipo de documento: LE invalido\",\"Linea 617 El tipo de documento: LE invalido\",\"Linea 622 El tipo de documento: LE invalido\",\"Linea 675 El tipo de documento: LE invalido\",\"Linea 704 El tipo de documento: LE invalido\",\"Linea 813 El tipo de documento: LE invalido\",\"Linea 906 El tipo de documento: LE invalido\",\"Linea 965 El tipo de documento: LE invalido\",\"Linea 1039 El tipo de documento: LE invalido\",\"Linea 1070 El tipo de documento: LE invalido\",\"Linea 1160 El tipo de documento: LE invalido\",\"Linea 1389 El tipo de documento: LE invalido\",\"Linea 1472 El tipo de documento: LE invalido\",\"Linea 1738 El tipo de documento: LE invalido\",\"Linea 1991 El tipo de documento: LE invalido\",\"Linea 2361 El tipo de documento: LE invalido\",\"Linea 2405 El tipo de documento: LE invalido\",\"Linea 3053 El tipo de documento: LE invalido\"]','2023-03-28 12:50:45','2023-03-28 12:51:30',NULL);

--
-- 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','2023-02-15 09:55:53','2023-02-15 09:55:53',NULL),(4,NULL,'Importar - Archivos PEM F8011','2023-02-15 09:55:56','2023-02-15 09:55:56',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=561 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipt_taxes` VALUES (1,8520,1,2,3057.78,642.13,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(2,8520,1,7,255.32,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(3,8520,2,2,3057.78,642.13,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(4,8520,2,7,255.32,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(5,8520,3,2,18171.90,3816.10,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(6,8520,4,2,3900.83,819.17,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(7,8520,4,7,70.21,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(8,8520,5,2,11318.75,2376.94,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(9,8520,5,7,945.12,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(10,8520,6,2,53719.01,11280.99,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(11,8520,7,2,45000.00,9450.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(12,8520,8,2,4960.48,1041.70,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(13,8520,8,7,414.19,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(14,8520,9,2,7700.00,1617.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(15,8520,10,2,991.74,208.26,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(16,8520,11,2,6611.57,1388.43,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(17,8520,12,2,450420.87,94588.38,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(18,8520,13,2,12564.64,2638.58,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(19,8520,14,2,11487.60,2412.40,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(20,8520,14,7,574.38,0.00,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(21,8520,15,2,33231.75,6978.67,2,1,'2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(22,8520,16,2,16362.89,3436.21,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(23,8520,17,2,1740.97,365.60,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(24,8520,18,2,71615.99,15039.70,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(25,8520,18,7,13.62,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(26,8520,19,2,232835.06,48895.36,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(27,8520,20,2,8181.82,1718.18,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(28,8520,21,2,1942.45,407.91,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(29,8520,21,7,349.64,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(30,8520,22,2,18750.30,3937.56,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(31,8520,22,7,1565.65,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(32,8520,23,2,8026.43,1684.98,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(33,8520,23,7,1.52,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(34,8520,24,2,4895.55,1028.45,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(35,8520,24,7,0.93,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(36,8520,25,2,2314.05,485.95,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(37,8520,26,2,17023.14,3574.86,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(38,8520,27,2,1239.90,260.38,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(39,8520,28,2,1652.89,347.11,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(40,8520,29,2,8181.82,1718.18,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(41,8520,30,2,2107.44,442.56,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(42,8520,31,2,27603.31,5796.70,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(43,8520,31,7,-0.01,0.00,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(44,8520,32,2,24793.39,5206.61,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(45,8520,33,2,8181.82,1718.18,2,1,'2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(46,8520,34,2,653141.72,137159.76,2,1,'2023-02-27 09:39:19','2023-02-27 09:39:19',NULL),(47,8520,35,2,9007012.82,1891472.69,2,1,'2023-02-27 09:39:19','2023-02-27 09:39:19',NULL),(48,NULL,36,7,4800.00,0.00,2,1,'2023-03-10 11:46:47','2023-03-10 11:46:47',NULL);
INSERT INTO `receipt_taxes` VALUES (49,NULL,37,7,4800.00,0.00,2,1,'2023-03-10 11:46:49','2023-03-10 11:46:49',NULL),(50,NULL,38,7,4800.00,0.00,2,1,'2023-03-10 11:46:50','2023-03-10 11:46:50',NULL),(51,NULL,39,7,4800.00,0.00,2,1,'2023-03-10 11:46:51','2023-03-10 11:46:51',NULL),(52,NULL,40,7,4800.00,0.00,2,1,'2023-03-10 11:46:52','2023-03-10 11:46:52',NULL),(53,NULL,41,7,4800.00,0.00,2,1,'2023-03-10 11:46:53','2023-03-10 11:46:53',NULL),(54,NULL,42,7,4800.00,0.00,2,1,'2023-03-10 11:46:54','2023-03-10 11:46:54',NULL),(55,NULL,43,7,4800.00,0.00,2,1,'2023-03-10 11:46:55','2023-03-10 11:46:55',NULL),(56,NULL,44,7,4800.00,0.00,2,1,'2023-03-10 11:46:55','2023-03-10 11:46:55',NULL),(57,NULL,45,7,4800.00,0.00,2,1,'2023-03-10 11:46:56','2023-03-10 11:46:56',NULL),(58,NULL,46,7,4800.00,0.00,2,1,'2023-03-10 11:46:57','2023-03-10 11:46:57',NULL),(59,NULL,47,7,4800.00,0.00,2,1,'2023-03-10 11:46:58','2023-03-10 11:46:58',NULL),(60,NULL,48,7,4800.00,0.00,2,1,'2023-03-10 11:46:59','2023-03-10 11:46:59',NULL),(61,NULL,49,7,4800.00,0.00,2,1,'2023-03-10 11:47:00','2023-03-10 11:47:00',NULL),(62,NULL,50,7,4800.00,0.00,2,1,'2023-03-10 11:47:01','2023-03-10 11:47:01',NULL),(63,NULL,51,7,4200.00,0.00,2,1,'2023-03-10 11:47:01','2023-03-10 11:47:01',NULL),(64,NULL,52,7,4200.00,0.00,2,1,'2023-03-10 11:47:02','2023-03-10 11:47:02',NULL),(65,NULL,53,7,4200.00,0.00,2,1,'2023-03-10 11:47:03','2023-03-10 11:47:03',NULL),(66,NULL,54,7,4200.00,0.00,2,1,'2023-03-10 11:47:04','2023-03-10 11:47:04',NULL),(67,NULL,55,7,4200.00,0.00,2,1,'2023-03-10 11:47:05','2023-03-10 11:47:05',NULL),(68,NULL,56,7,4200.00,0.00,2,1,'2023-03-10 11:47:06','2023-03-10 11:47:06',NULL),(69,NULL,57,7,4200.00,0.00,2,1,'2023-03-10 11:47:07','2023-03-10 11:47:07',NULL),(70,NULL,58,7,4200.00,0.00,2,1,'2023-03-10 11:47:07','2023-03-10 11:47:07',NULL),(71,NULL,59,7,4200.00,0.00,2,1,'2023-03-10 11:47:08','2023-03-10 11:47:08',NULL),(72,NULL,60,7,4200.00,0.00,2,1,'2023-03-10 11:47:09','2023-03-10 11:47:09',NULL),(73,NULL,61,7,4200.00,0.00,2,1,'2023-03-10 11:47:10','2023-03-10 11:47:10',NULL),(74,NULL,62,7,4200.00,0.00,2,1,'2023-03-10 11:47:11','2023-03-10 11:47:11',NULL),(75,NULL,63,7,4200.00,0.00,2,1,'2023-03-10 11:47:12','2023-03-10 11:47:12',NULL),(76,NULL,64,7,4200.00,0.00,2,1,'2023-03-10 11:47:13','2023-03-10 11:47:13',NULL),(77,NULL,65,7,4200.00,0.00,2,1,'2023-03-10 11:47:14','2023-03-10 11:47:14',NULL),(79,8520,67,2,70661.16,14838.84,2,1,'2023-03-10 12:16:56','2023-03-10 12:16:56',NULL),(80,8520,68,2,37190.08,7809.92,2,1,'2023-03-10 12:19:39','2023-03-10 12:19:39',NULL),(81,8520,69,2,1983.47,416.53,2,1,'2023-03-10 12:21:23','2023-03-10 12:21:23',NULL),(82,8520,70,2,18181.82,3818.18,2,1,'2023-03-10 12:22:59','2023-03-10 12:22:59',NULL),(83,8520,71,2,9917.35,2082.64,2,1,'2023-03-10 12:25:01','2023-03-10 12:25:01',NULL),(84,8520,72,2,7851.24,1648.76,2,1,'2023-03-10 12:26:18','2023-03-10 12:26:18',NULL),(85,8520,73,2,6611.57,1388.43,2,1,'2023-03-10 12:38:28','2023-03-10 12:38:28',NULL),(86,8520,74,2,2644.63,555.37,2,1,'2023-03-10 12:40:25','2023-03-10 12:40:25',NULL),(87,8520,75,2,1545.45,324.54,2,1,'2023-03-10 12:42:53','2023-03-10 12:42:53',NULL),(88,8520,76,2,9917.36,2082.65,2,1,'2023-03-10 16:44:04','2023-03-10 16:44:04',NULL),(89,8520,77,2,4636.36,973.64,2,1,'2023-03-10 16:45:45','2023-03-10 16:45:45',NULL),(90,8520,78,2,991.73,208.26,2,1,'2023-03-10 16:47:43','2023-03-10 16:47:43',NULL),(91,8520,79,2,991.73,208.26,2,1,'2023-03-10 16:49:20','2023-03-10 16:49:20',NULL),(92,8520,80,2,3388.43,711.57,2,1,'2023-03-10 16:51:07','2023-03-10 16:51:07',NULL),(93,8520,81,2,6508.26,1366.73,2,1,'2023-03-10 16:52:43','2023-03-10 16:52:43',NULL),(94,8520,82,2,2396.69,503.30,2,1,'2023-03-10 16:54:09','2023-03-10 16:54:09',NULL),(95,8520,83,2,6611.57,1388.43,2,1,'2023-03-10 16:55:38','2023-03-10 16:55:38',NULL),(96,8520,84,2,2809.92,590.08,2,1,'2023-03-10 16:56:50','2023-03-10 16:56:50',NULL),(97,8520,85,2,2479.34,520.66,2,1,'2023-03-10 16:58:20','2023-03-10 16:58:20',NULL);
INSERT INTO `receipt_taxes` VALUES (98,8520,86,2,4958.68,1041.32,2,1,'2023-03-10 17:03:18','2023-03-10 17:03:18',NULL),(99,8520,87,2,2892.56,607.44,2,1,'2023-03-10 17:04:41','2023-03-10 17:04:41',NULL),(100,8520,88,2,2809.92,590.08,2,1,'2023-03-10 17:06:27','2023-03-10 17:06:27',NULL),(101,8520,89,2,1983.47,416.53,2,1,'2023-03-10 17:08:00','2023-03-10 17:08:00',NULL),(102,8520,92,2,2561.98,538.02,2,1,'2023-03-10 17:27:26','2023-03-10 17:27:26',NULL),(103,8520,93,2,5785.12,1214.88,2,1,'2023-03-10 17:29:05','2023-03-10 17:29:05',NULL),(104,8520,94,2,991.74,208.27,2,1,'2023-03-10 17:30:50','2023-03-10 17:30:50',NULL),(105,8520,95,2,3553.72,746.28,2,1,'2023-03-10 17:32:10','2023-03-10 17:32:10',NULL),(106,8520,96,2,26446.28,5553.72,2,1,'2023-03-10 17:33:45','2023-03-10 17:33:45',NULL),(107,8520,97,2,3553.72,746.28,2,1,'2023-03-10 17:36:13','2023-03-10 17:36:13',NULL),(108,8520,98,2,3553.72,746.28,2,1,'2023-03-10 17:37:24','2023-03-10 17:37:24',NULL),(109,8520,99,2,3553.72,746.28,2,1,'2023-03-10 17:39:05','2023-03-10 17:39:05',NULL),(110,8520,100,2,4545.45,954.54,2,1,'2023-03-10 17:40:33','2023-03-10 17:40:33',NULL),(111,8520,101,2,4958.68,1041.32,2,1,'2023-03-10 17:41:46','2023-03-10 17:41:46',NULL),(112,8520,102,2,2809.92,590.08,2,1,'2023-03-10 17:43:28','2023-03-10 17:43:28',NULL),(113,8520,103,2,9917.36,2082.65,2,1,'2023-03-10 17:44:44','2023-03-10 17:44:44',NULL),(114,8520,104,2,49586.78,10413.22,2,1,'2023-03-10 17:46:22','2023-03-10 17:46:22',NULL),(115,8520,105,2,18181.82,3818.18,2,1,'2023-03-10 17:47:34','2023-03-10 17:47:34',NULL),(116,8520,106,2,9338.84,1961.16,2,1,'2023-03-10 17:49:31','2023-03-10 17:49:31',NULL),(117,8520,107,2,24793.39,5206.61,2,1,'2023-03-10 17:51:38','2023-03-10 17:51:38',NULL),(119,8644,109,2,661.15,138.84,2,1,'2023-03-13 11:17:22','2023-03-13 11:17:22',NULL),(120,8644,110,2,5448.61,1144.21,2,1,'2023-03-13 11:21:15','2023-03-13 11:21:15',NULL),(121,8644,110,1006,54.49,0.00,2,2,'2023-03-13 11:21:15','2023-03-13 11:21:15',NULL),(122,8644,110,1022,196.15,0.00,2,2,'2023-03-13 11:21:15','2023-03-13 11:21:15',NULL),(123,8644,110,1029,40.86,0.00,2,2,'2023-03-13 11:21:15','2023-03-13 11:21:15',NULL),(124,8644,111,2,130758.96,27459.38,2,1,'2023-03-13 11:23:04','2023-03-13 11:23:04',NULL),(125,8644,111,1006,1307.59,0.00,2,2,'2023-03-13 11:23:04','2023-03-13 11:23:04',NULL),(126,8644,111,1022,4707.32,0.00,2,2,'2023-03-13 11:23:04','2023-03-13 11:23:04',NULL),(127,8644,111,1029,980.69,0.00,2,2,'2023-03-13 11:23:04','2023-03-13 11:23:04',NULL),(128,8644,112,2,208882.55,43865.34,2,1,'2023-03-13 11:25:27','2023-03-13 11:25:27',NULL),(129,8644,112,1006,2088.83,0.00,2,2,'2023-03-13 11:25:27','2023-03-13 11:25:27',NULL),(130,8644,112,1022,7519.77,0.00,2,2,'2023-03-13 11:25:27','2023-03-13 11:25:27',NULL),(131,8644,112,1029,1566.62,0.00,2,2,'2023-03-13 11:25:27','2023-03-13 11:25:27',NULL),(132,8644,113,2,27819.43,5842.08,2,1,'2023-03-13 11:27:36','2023-03-13 11:27:36',NULL),(133,8644,113,1006,278.19,0.00,2,2,'2023-03-13 11:27:36','2023-03-13 11:27:36',NULL),(134,8644,113,1022,1001.50,0.00,2,2,'2023-03-13 11:27:36','2023-03-13 11:27:36',NULL),(135,8644,113,1029,208.65,0.00,2,2,'2023-03-13 11:27:36','2023-03-13 11:27:36',NULL),(138,8644,116,2,88408.95,18565.88,2,1,'2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(139,8644,117,2,3127.00,656.67,2,1,'2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(140,8644,118,2,9465337.85,1987720.95,2,1,'2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(223,8520,201,2,43773.00,9192.33,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(224,8520,202,2,43773.00,9192.33,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(225,8520,203,7,10000.00,0.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(226,8520,204,2,43773.00,9192.33,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(227,8520,205,2,56634.36,11893.22,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(228,8520,205,7,2038.84,0.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL);
INSERT INTO `receipt_taxes` VALUES (229,8520,206,2,1069.71,224.64,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(230,8520,207,2,94297.52,19802.48,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(231,8520,208,2,12787.54,2685.38,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(232,8520,208,7,460.36,0.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(233,8520,209,2,62886.78,13206.22,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(234,8520,210,2,132052.24,27730.97,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(235,8520,211,2,27755.78,5828.71,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(236,8520,212,2,71911.10,15101.33,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(237,8520,212,7,5177.60,0.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(238,8520,213,2,117.77,24.73,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(239,8520,213,7,4.24,0.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(240,8520,214,2,2293.35,481.60,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(241,8520,215,2,30000.00,6300.00,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(242,8520,216,2,20075.50,4215.86,2,1,'2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(243,8520,217,2,412.89,86.71,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(244,8520,218,7,40000.00,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(245,8520,219,2,19631.80,4122.67,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(246,8520,219,7,706.74,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(247,8520,220,2,1154.66,242.48,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(248,8520,221,2,12892.58,2707.44,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(249,8520,222,2,32727.27,6872.73,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(250,8520,223,7,1200.00,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(251,8520,224,2,10934.08,2296.16,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(252,8520,224,7,393.63,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(253,8520,225,2,83168.11,17465.30,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(254,8520,226,2,123316.79,25896.53,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(255,8520,227,7,10000.00,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(256,8520,228,2,755.09,158.58,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(257,8520,228,7,27.18,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(258,8520,229,2,54818.97,11511.98,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(259,8520,230,2,20075.55,4215.87,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(260,8520,231,2,70340.22,14771.45,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(261,8520,231,7,5064.49,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(262,8520,232,2,832.67,174.86,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(263,8520,233,2,14451.10,3034.73,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(264,8520,233,7,953.77,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(265,8520,234,2,32558.94,6837.38,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(266,8520,234,7,1172.12,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(267,8520,235,2,50738.74,10655.13,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(268,8520,236,2,138239.08,29030.21,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(269,8520,237,2,42839.76,8996.35,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(270,8520,238,7,10000.00,0.00,2,1,'2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(271,8520,239,2,20000.09,4200.02,2,1,'2023-03-23 12:24:43','2023-03-23 12:24:43',NULL),(272,8520,240,2,1644.57,345.36,2,1,'2023-03-23 12:24:43','2023-03-23 12:24:43',NULL),(411,8520,379,2,8636.36,1813.64,2,1,'2023-04-10 11:25:30','2023-04-10 11:25:30',NULL),(412,8520,380,2,41322.31,8677.69,2,1,'2023-04-10 11:27:32','2023-04-10 11:27:32',NULL);
INSERT INTO `receipt_taxes` VALUES (413,8520,381,2,26446.28,5553.72,2,1,'2023-04-10 11:28:55','2023-04-10 11:28:55',NULL),(414,8520,382,2,2066.12,433.89,2,1,'2023-04-10 11:30:16','2023-04-10 11:30:16',NULL),(415,8520,383,2,14876.03,3123.97,2,1,'2023-04-10 11:32:20','2023-04-10 11:32:20',NULL),(416,8520,384,2,9917.36,2082.65,2,1,'2023-04-10 11:33:59','2023-04-10 11:33:59',NULL),(417,8520,385,2,8677.69,1822.31,2,1,'2023-04-10 11:35:21','2023-04-10 11:35:21',NULL),(418,8520,386,2,13223.14,2776.86,2,1,'2023-04-10 11:36:25','2023-04-10 11:36:25',NULL),(419,8520,387,2,14876.03,3123.97,2,1,'2023-04-10 11:38:05','2023-04-10 11:38:05',NULL),(420,8520,388,2,21322.31,4477.69,2,1,'2023-04-10 11:39:05','2023-04-10 11:39:05',NULL),(421,8520,389,2,20661.16,4338.84,2,1,'2023-04-10 11:39:57','2023-04-10 11:39:57',NULL),(422,8520,390,2,26446.28,5553.72,2,1,'2023-04-10 11:40:51','2023-04-10 11:40:51',NULL),(423,8520,391,2,12396.69,2603.30,2,1,'2023-04-10 11:41:42','2023-04-10 11:41:42',NULL),(424,8520,392,2,826.45,173.55,2,1,'2023-04-10 11:45:45','2023-04-10 11:45:45',NULL),(425,8520,393,2,2809.92,590.08,2,1,'2023-04-10 11:46:55','2023-04-10 11:46:55',NULL),(426,8520,394,2,3842.98,807.03,2,1,'2023-04-10 11:48:29','2023-04-10 11:48:29',NULL),(427,8520,395,2,3553.72,746.28,2,1,'2023-04-10 11:49:48','2023-04-10 11:49:48',NULL),(428,8520,396,2,2148.76,451.24,2,1,'2023-04-10 11:50:52','2023-04-10 11:50:52',NULL),(429,8520,397,2,2561.98,538.02,2,1,'2023-04-10 12:00:42','2023-04-10 12:00:42',NULL),(430,8520,398,2,14876.03,3123.97,2,1,'2023-04-10 12:04:38','2023-04-10 12:04:38',NULL),(431,8520,399,2,3553.72,746.28,2,1,'2023-04-10 12:06:01','2023-04-10 12:06:01',NULL),(432,8520,400,2,3553.72,746.28,2,1,'2023-04-10 12:07:10','2023-04-10 12:07:10',NULL),(433,8520,401,2,2809.92,590.08,2,1,'2023-04-10 12:08:32','2023-04-10 12:08:32',NULL),(434,8520,402,2,14876.03,3123.97,2,1,'2023-04-10 12:10:27','2023-04-10 12:10:27',NULL),(435,8520,403,2,20661.16,4338.84,2,1,'2023-04-10 12:13:49','2023-04-10 12:13:49',NULL),(436,8520,404,2,3553.72,746.28,2,1,'2023-04-10 12:15:41','2023-04-10 12:15:41',NULL),(437,8520,405,2,23140.50,4859.51,2,1,'2023-04-10 12:17:21','2023-04-10 12:17:21',NULL),(438,8520,406,2,2809.92,590.08,2,1,'2023-04-10 12:20:03','2023-04-10 12:20:03',NULL),(439,8520,407,2,3553.72,746.28,2,1,'2023-04-10 12:21:18','2023-04-10 12:21:18',NULL),(440,8520,408,2,3355.37,704.63,2,1,'2023-04-10 12:22:36','2023-04-10 12:22:36',NULL),(441,8520,409,2,14876.03,3123.97,2,1,'2023-04-10 12:24:07','2023-04-10 12:24:07',NULL),(442,8520,410,2,1322.31,277.69,2,1,'2023-04-10 12:27:46','2023-04-10 12:27:46',NULL),(443,8520,411,2,2809.92,590.08,2,1,'2023-04-10 12:28:45','2023-04-10 12:28:45',NULL),(444,8520,412,2,1652.89,347.11,2,1,'2023-04-10 12:29:55','2023-04-10 12:29:55',NULL),(445,8520,413,2,5371.90,1128.10,2,1,'2023-04-10 12:30:59','2023-04-10 12:30:59',NULL),(446,8520,414,2,16132.23,3387.77,2,1,'2023-04-10 12:32:05','2023-04-10 12:32:05',NULL),(447,NULL,415,7,4800.00,0.00,2,1,'2023-04-10 12:39:56','2023-04-10 12:39:56',NULL),(448,NULL,416,7,4800.00,0.00,2,1,'2023-04-10 12:39:59','2023-04-10 12:39:59',NULL),(449,NULL,417,7,4800.00,0.00,2,1,'2023-04-10 12:40:01','2023-04-10 12:40:01',NULL),(450,NULL,418,7,4800.00,0.00,2,1,'2023-04-10 12:40:03','2023-04-10 12:40:03',NULL),(451,NULL,419,7,4800.00,0.00,2,1,'2023-04-10 12:40:07','2023-04-10 12:40:07',NULL),(452,NULL,420,7,4800.00,0.00,2,1,'2023-04-10 12:40:12','2023-04-10 12:40:12',NULL),(453,NULL,421,7,4800.00,0.00,2,1,'2023-04-10 12:40:14','2023-04-10 12:40:14',NULL),(454,NULL,422,7,4800.00,0.00,2,1,'2023-04-10 12:40:16','2023-04-10 12:40:16',NULL),(455,NULL,423,7,4800.00,0.00,2,1,'2023-04-10 12:40:17','2023-04-10 12:40:17',NULL),(456,NULL,424,7,4800.00,0.00,2,1,'2023-04-10 12:40:19','2023-04-10 12:40:19',NULL),(457,NULL,425,7,4800.00,0.00,2,1,'2023-04-10 12:40:22','2023-04-10 12:40:22',NULL),(458,NULL,426,7,4800.00,0.00,2,1,'2023-04-10 12:40:25','2023-04-10 12:40:25',NULL),(459,NULL,427,7,4800.00,0.00,2,1,'2023-04-10 12:40:29','2023-04-10 12:40:29',NULL);
INSERT INTO `receipt_taxes` VALUES (460,NULL,428,7,4800.00,0.00,2,1,'2023-04-10 12:40:31','2023-04-10 12:40:31',NULL),(461,NULL,429,7,4800.00,0.00,2,1,'2023-04-10 12:40:34','2023-04-10 12:40:34',NULL),(462,NULL,430,7,4200.00,0.00,2,1,'2023-04-10 12:40:36','2023-04-10 12:40:36',NULL),(463,NULL,431,7,4200.00,0.00,2,1,'2023-04-10 12:40:38','2023-04-10 12:40:38',NULL),(464,NULL,432,7,4200.00,0.00,2,1,'2023-04-10 12:40:39','2023-04-10 12:40:39',NULL),(465,NULL,433,7,4200.00,0.00,2,1,'2023-04-10 12:40:41','2023-04-10 12:40:41',NULL),(466,NULL,434,7,4200.00,0.00,2,1,'2023-04-10 12:40:42','2023-04-10 12:40:42',NULL),(467,NULL,435,7,4200.00,0.00,2,1,'2023-04-10 12:40:43','2023-04-10 12:40:43',NULL),(468,NULL,436,7,4200.00,0.00,2,1,'2023-04-10 12:40:45','2023-04-10 12:40:45',NULL),(469,NULL,437,7,4200.00,0.00,2,1,'2023-04-10 12:40:46','2023-04-10 12:40:46',NULL),(470,NULL,438,7,4200.00,0.00,2,1,'2023-04-10 12:40:48','2023-04-10 12:40:48',NULL),(471,NULL,439,7,4200.00,0.00,2,1,'2023-04-10 12:40:49','2023-04-10 12:40:49',NULL),(472,NULL,440,7,4200.00,0.00,2,1,'2023-04-10 12:40:50','2023-04-10 12:40:50',NULL),(473,NULL,441,7,4200.00,0.00,2,1,'2023-04-10 12:40:51','2023-04-10 12:40:51',NULL),(474,NULL,442,7,4200.00,0.00,2,1,'2023-04-10 12:40:53','2023-04-10 12:40:53',NULL),(475,NULL,443,7,4200.00,0.00,2,1,'2023-04-10 12:40:54','2023-04-10 12:40:54',NULL),(476,NULL,444,7,4200.00,0.00,2,1,'2023-04-10 12:40:56','2023-04-10 12:40:56',NULL),(477,NULL,445,7,4800.00,0.00,2,1,'2023-05-05 11:19:25','2023-05-05 11:19:25',NULL),(478,NULL,446,7,4800.00,0.00,2,1,'2023-05-05 11:19:28','2023-05-05 11:19:28',NULL),(479,NULL,447,7,4800.00,0.00,2,1,'2023-05-05 11:19:29','2023-05-05 11:19:29',NULL),(480,NULL,448,7,4800.00,0.00,2,1,'2023-05-05 11:19:30','2023-05-05 11:19:30',NULL),(481,NULL,449,7,4800.00,0.00,2,1,'2023-05-05 11:19:30','2023-05-05 11:19:30',NULL),(482,NULL,450,7,4800.00,0.00,2,1,'2023-05-05 11:19:31','2023-05-05 11:19:31',NULL),(483,NULL,451,7,4800.00,0.00,2,1,'2023-05-05 11:19:32','2023-05-05 11:19:32',NULL),(484,NULL,452,7,4800.00,0.00,2,1,'2023-05-05 11:19:33','2023-05-05 11:19:33',NULL),(485,NULL,453,7,4800.00,0.00,2,1,'2023-05-05 11:19:34','2023-05-05 11:19:34',NULL),(486,NULL,454,7,4800.00,0.00,2,1,'2023-05-05 11:19:35','2023-05-05 11:19:35',NULL),(487,NULL,455,7,4800.00,0.00,2,1,'2023-05-05 11:19:36','2023-05-05 11:19:36',NULL),(488,NULL,456,7,4800.00,0.00,2,1,'2023-05-05 11:19:37','2023-05-05 11:19:37',NULL),(489,NULL,457,7,4800.00,0.00,2,1,'2023-05-05 11:19:37','2023-05-05 11:19:37',NULL),(490,NULL,458,7,4800.00,0.00,2,1,'2023-05-05 11:19:38','2023-05-05 11:19:38',NULL),(491,NULL,459,7,4800.00,0.00,2,1,'2023-05-05 11:19:39','2023-05-05 11:19:39',NULL),(492,NULL,460,7,4200.00,0.00,2,1,'2023-05-05 11:19:40','2023-05-05 11:19:40',NULL),(493,NULL,461,7,4200.00,0.00,2,1,'2023-05-05 11:19:41','2023-05-05 11:19:41',NULL),(494,NULL,462,7,4200.00,0.00,2,1,'2023-05-05 11:19:42','2023-05-05 11:19:42',NULL),(495,NULL,463,7,4200.00,0.00,2,1,'2023-05-05 11:19:43','2023-05-05 11:19:43',NULL),(496,NULL,464,7,4200.00,0.00,2,1,'2023-05-05 11:19:43','2023-05-05 11:19:43',NULL),(497,NULL,465,7,4200.00,0.00,2,1,'2023-05-05 11:19:44','2023-05-05 11:19:44',NULL),(498,NULL,466,7,4200.00,0.00,2,1,'2023-05-05 11:19:45','2023-05-05 11:19:45',NULL),(499,NULL,467,7,4200.00,0.00,2,1,'2023-05-05 11:19:46','2023-05-05 11:19:46',NULL),(500,NULL,468,7,4200.00,0.00,2,1,'2023-05-05 11:19:47','2023-05-05 11:19:47',NULL),(501,NULL,469,7,4200.00,0.00,2,1,'2023-05-05 11:19:48','2023-05-05 11:19:48',NULL),(502,NULL,470,7,4200.00,0.00,2,1,'2023-05-05 11:19:48','2023-05-05 11:19:48',NULL),(503,NULL,471,7,4200.00,0.00,2,1,'2023-05-05 11:19:49','2023-05-05 11:19:49',NULL),(504,NULL,472,7,4200.00,0.00,2,1,'2023-05-05 11:19:50','2023-05-05 11:19:50',NULL),(505,NULL,473,7,4200.00,0.00,2,1,'2023-05-05 11:19:51','2023-05-05 11:19:51',NULL),(506,NULL,474,7,4200.00,0.00,2,1,'2023-05-05 11:19:52','2023-05-05 11:19:52',NULL),(507,8520,475,2,2396.69,503.30,2,1,'2023-05-10 09:52:08','2023-05-10 09:52:08',NULL);
INSERT INTO `receipt_taxes` VALUES (508,8520,476,2,20661.16,4338.84,2,1,'2023-05-10 09:53:47','2023-05-10 09:53:47',NULL),(509,8520,477,2,9037.19,1897.81,2,1,'2023-05-10 09:55:25','2023-05-10 09:55:25',NULL),(510,8520,478,2,4958.68,1041.32,2,1,'2023-05-10 09:58:35','2023-05-10 09:58:35',NULL),(511,8520,479,2,12396.69,2603.30,2,1,'2023-05-10 09:59:42','2023-05-10 09:59:42',NULL),(512,8520,480,2,5950.41,1249.59,2,1,'2023-05-10 10:00:49','2023-05-10 10:00:49',NULL),(513,8520,481,2,49586.78,10413.22,2,1,'2023-05-10 10:02:05','2023-05-10 10:02:05',NULL),(514,8520,482,2,2479.34,520.66,2,1,'2023-05-10 10:04:44','2023-05-10 10:04:44',NULL),(515,8520,483,2,2809.92,590.08,2,1,'2023-05-10 10:06:23','2023-05-10 10:06:23',NULL),(516,8520,484,2,5785.12,1214.88,2,1,'2023-05-10 10:07:28','2023-05-10 10:07:28',NULL),(517,8520,485,2,16859.50,3540.49,2,1,'2023-05-10 10:08:25','2023-05-10 10:08:25',NULL),(518,8520,486,2,2066.12,433.89,2,1,'2023-05-10 10:10:00','2023-05-10 10:10:00',NULL),(519,8520,487,2,26446.28,5553.72,2,1,'2023-05-10 10:11:24','2023-05-10 10:11:24',NULL),(520,8520,488,2,2561.98,538.02,2,1,'2023-05-10 10:13:17','2023-05-10 10:13:17',NULL),(521,8520,489,2,3553.72,746.28,2,1,'2023-05-10 10:14:16','2023-05-10 10:14:16',NULL),(522,8520,490,2,1818.18,381.82,2,1,'2023-05-10 10:15:45','2023-05-10 10:15:45',NULL),(523,8520,491,2,26446.28,5553.72,2,1,'2023-05-10 10:16:41','2023-05-10 10:16:41',NULL),(524,8520,492,2,2809.92,590.08,2,1,'2023-05-10 10:18:22','2023-05-10 10:18:22',NULL),(525,8520,493,2,2809.92,590.08,2,1,'2023-05-10 10:22:07','2023-05-10 10:22:07',NULL),(526,8520,494,2,991.74,208.27,2,1,'2023-05-10 10:23:28','2023-05-10 10:23:28',NULL),(527,8520,495,2,4462.81,937.19,2,1,'2023-05-10 10:28:25','2023-05-10 10:28:25',NULL),(528,8520,496,2,2561.98,538.02,2,1,'2023-05-10 10:30:57','2023-05-10 10:30:57',NULL),(529,8520,497,2,20661.16,4338.84,2,1,'2023-05-10 10:32:16','2023-05-10 10:32:16',NULL),(530,8520,498,2,4380.17,919.84,2,1,'2023-05-10 10:35:41','2023-05-10 10:35:41',NULL),(531,8520,499,2,2809.92,590.08,2,1,'2023-05-10 10:37:05','2023-05-10 10:37:05',NULL),(532,8520,500,2,2396.69,503.30,2,1,'2023-05-10 10:38:09','2023-05-10 10:38:09',NULL),(533,8520,501,2,3553.72,746.28,2,1,'2023-05-10 10:39:02','2023-05-10 10:39:02',NULL),(534,8520,502,2,3305.79,694.22,2,1,'2023-05-10 10:39:57','2023-05-10 10:39:57',NULL),(535,8520,503,2,2066.12,433.89,2,1,'2023-05-10 10:41:25','2023-05-10 10:41:25',NULL),(536,8520,504,2,3553.72,746.28,2,1,'2023-05-10 10:42:34','2023-05-10 10:42:34',NULL),(537,8520,505,2,6115.70,1284.30,2,1,'2023-05-10 10:43:42','2023-05-10 10:43:42',NULL),(538,8520,506,2,2314.05,485.95,2,1,'2023-05-10 10:46:55','2023-05-10 10:46:55',NULL),(539,8520,507,2,4628.10,971.90,2,1,'2023-05-10 10:47:51','2023-05-10 10:47:51',NULL),(540,8520,508,2,1570.25,329.75,2,1,'2023-05-10 10:49:22','2023-05-10 10:49:22',NULL),(541,8520,509,2,2066.12,433.89,2,1,'2023-05-10 10:50:21','2023-05-10 10:50:21',NULL),(542,8520,510,2,5785.12,1214.88,2,1,'2023-05-10 10:51:19','2023-05-10 10:51:19',NULL),(543,8520,511,2,12396.69,2603.30,2,1,'2023-05-10 11:49:31','2023-05-10 11:49:31',NULL),(544,8520,512,2,20661.16,4338.84,2,1,'2023-05-10 11:50:36','2023-05-10 11:50:36',NULL),(545,8520,513,2,16528.93,3471.08,2,1,'2023-05-10 11:52:12','2023-05-10 11:52:12',NULL),(546,8520,514,2,1983.47,416.53,2,1,'2023-05-10 11:53:00','2023-05-10 11:53:00',NULL),(547,8520,515,2,57981.95,12176.21,2,1,'2023-05-10 11:55:03','2023-05-10 11:55:03',NULL),(548,8520,516,2,35123.97,7376.03,2,1,'2023-05-10 11:57:22','2023-05-10 11:57:22',NULL),(549,8520,517,2,3719.01,780.99,2,1,'2023-05-10 11:58:34','2023-05-10 11:58:34',NULL),(550,8520,518,2,8264.46,1735.54,2,1,'2023-05-10 12:00:14','2023-05-10 12:00:14',NULL),(551,8520,519,2,13223.14,2776.86,2,1,'2023-05-10 12:01:06','2023-05-10 12:01:06',NULL),(552,8520,520,2,14876.03,3123.97,2,1,'2023-05-10 12:04:02','2023-05-10 12:04:02',NULL),(553,8520,521,2,6115.70,1284.30,2,1,'2023-05-10 12:05:11','2023-05-10 12:05:11',NULL);
INSERT INTO `receipt_taxes` VALUES (554,8520,522,2,4132.23,867.77,2,1,'2023-05-10 12:06:21','2023-05-10 12:06:21',NULL),(555,8520,523,2,10082.64,2117.35,2,1,'2023-05-10 12:07:11','2023-05-10 12:07:11',NULL),(556,8520,524,2,9917.36,2082.65,2,1,'2023-05-10 12:08:15','2023-05-10 12:08:15',NULL),(557,8520,525,2,2396.69,503.30,2,1,'2023-05-10 12:09:08','2023-05-10 12:09:08',NULL),(558,8520,526,2,4958.68,1041.32,2,1,'2023-05-10 12:10:02','2023-05-10 12:10:02',NULL),(559,8520,527,2,1438.02,301.98,2,1,'2023-05-10 12:11:14','2023-05-10 12:11:14',NULL),(560,8520,528,2,2809.92,590.08,2,1,'2023-05-10 12:12:01','2023-05-10 12:12:01',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=72 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,'2023-02-15 09:55:46','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2023-02-15 09:55:46','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,'2023-02-15 09:55:46','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,'2023-02-15 09:55:46','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,'2023-02-15 09:55:51','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,'2023-02-15 09:55:51','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2023-02-15 09:55:51','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','2023-02-15 09:55:46','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','2023-02-15 09:55:46','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','2023-02-15 09:55:46','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','2023-02-15 09:55:46','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','2023-02-15 09:55:46','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,'2023-02-15 09:55:43','2023-02-15 09:55:56','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,'2023-02-15 09:55:43','2023-02-15 09:55:56','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,'2023-02-15 09:55:43','2023-02-15 09:55:46','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2023-02-15 09:55:43','2023-02-15 09:55:46','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2023-02-15 09:55:46','2023-02-15 09:55:48','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2023-02-15 09:55:46','2023-02-15 09:55:48','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2023-02-15 09:55:46','2023-02-15 09:55:50','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,'2023-02-15 09:55:46','2023-02-15 09:55:46','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2023-02-15 09:55:46','2023-02-15 09:55:46','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2023-02-15 09:55:47','2023-02-15 09:55:48','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,'2023-02-15 09:55:47','2023-02-15 09:55:48','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,'2023-02-15 09:55:48','2023-02-15 09:55:48','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2023-02-15 09:55:48','2023-02-15 09:55:48','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2023-02-15 09:55:48','2023-02-15 09:55:48','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,'2023-02-15 09:55:50','2023-02-15 09:55:50','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,'2023-02-15 09:55:56','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,'2023-02-15 09:55:56','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,NULL,'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,NULL,'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,NULL,'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,NULL,'Tique Nota de Crédito B','113',1,NULL,0,0,2,0,113,'Tique Nota de Crédito B','B',0,0,0,NULL),(67,NULL,NULL,NULL,'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);

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

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `fact_elec_receipt_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,
  `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`),
  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_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_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=529 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipts` VALUES (1,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40721,00014641,NULL,NULL,'2023-01-02','2023-01-02',0211,1,NULL,3955.23,3955.23,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(2,8520,2,3,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40721,00000859,NULL,NULL,'2023-01-02','2023-01-02',0211,1,NULL,3955.23,3955.23,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(3,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40722,00007546,NULL,NULL,'2023-01-03','2023-01-03',0004,1,NULL,21988.00,21988.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(4,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40723,00000063,NULL,NULL,'2023-01-03','2023-01-03',0002,1,NULL,4790.21,4790.21,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(5,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40721,00014656,NULL,NULL,'2023-01-04','2023-01-04',0211,1,NULL,14640.81,14640.81,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(6,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40724,00001221,NULL,NULL,'2023-01-07','2023-01-07',0005,1,NULL,65000.00,65000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(7,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40725,00001267,NULL,NULL,'2023-01-09','2023-01-09',0002,1,NULL,54450.00,54450.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(8,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40721,00014705,NULL,NULL,'2023-01-10','2023-01-10',0211,1,NULL,6416.37,6416.37,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(9,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40726,00007276,NULL,NULL,'2023-01-10','2023-01-10',0004,1,NULL,9317.00,9317.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(10,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40727,00002868,NULL,NULL,'2023-01-10','2023-01-10',0006,1,NULL,1200.00,1200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(11,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40728,00009500,NULL,NULL,'2023-01-14','2023-01-14',0004,1,NULL,8000.00,8000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(12,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40729,00004838,NULL,NULL,'2023-01-15','2023-01-15',0001,1,NULL,545009.25,545009.25,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(13,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40730,00005382,NULL,NULL,'2023-01-16','2023-01-16',0006,1,NULL,15203.22,15203.22,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(14,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40731,00009055,NULL,NULL,'2023-01-16','2023-01-16',0003,1,NULL,14474.38,14474.38,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(15,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40732,00005387,NULL,NULL,'2023-01-16','2023-01-16',0001,1,NULL,40210.42,40210.42,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:54','2023-02-27 09:38:54',NULL),(16,8520,2,4,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40733,00003560,NULL,NULL,'2023-01-17','2023-01-17',0034,1,NULL,19799.10,19799.10,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(17,8520,2,2,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40732,00000961,NULL,NULL,'2023-01-17','2023-01-17',0001,1,NULL,2106.57,2106.57,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(18,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40734,00038614,NULL,NULL,'2023-01-19','2023-01-19',0006,1,NULL,89233.27,89233.27,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL);
INSERT INTO `receipts` VALUES (19,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40735,00004749,NULL,NULL,'2023-01-20','2023-01-20',0008,1,NULL,281730.42,281730.42,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(20,8520,2,4,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40736,00004283,NULL,NULL,'2023-01-21','2023-01-21',0004,1,NULL,9900.00,9900.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(21,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40737,00000968,NULL,NULL,'2023-01-21','2023-01-21',0011,1,NULL,2700.00,2700.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(22,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40721,00014783,NULL,NULL,'2023-01-21','2023-01-21',0211,1,NULL,24253.51,24253.51,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(23,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40734,00038682,NULL,NULL,'2023-01-23','2023-01-23',0006,1,NULL,9999.83,9999.83,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(24,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40734,00038681,NULL,NULL,'2023-01-23','2023-01-23',0006,1,NULL,6100.46,6100.46,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(25,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40738,00006570,NULL,NULL,'2023-01-24','2023-01-24',0002,1,NULL,2800.00,2800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(26,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40739,00000017,NULL,NULL,'2023-01-25','2023-01-25',6572,1,NULL,20598.00,20598.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(27,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40740,00022238,NULL,NULL,'2023-01-27','2023-01-27',0002,1,NULL,1500.28,1500.28,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(28,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40741,00022538,NULL,NULL,'2023-01-28','2023-01-28',0004,1,NULL,2000.00,2000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(29,8520,2,6,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40736,00000045,NULL,NULL,'2023-01-30','2023-01-30',0004,1,NULL,9900.00,9900.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(30,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40738,00006614,NULL,NULL,'2023-01-30','2023-01-30',0002,1,NULL,2550.00,2550.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(31,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40742,00002503,NULL,NULL,'2023-01-30','2023-01-30',0003,1,NULL,33400.00,33400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(32,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40743,00002446,NULL,NULL,'2023-01-30','2023-01-30',0005,1,NULL,30000.00,30000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(33,8520,2,1,NULL,NULL,1518,14,217,NULL,660,1,NULL,40720,40736,00000493,NULL,NULL,'2023-01-31','2023-01-31',0004,1,NULL,9900.00,9900.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:38:55','2023-02-27 09:38:55',NULL),(34,8520,1,1,NULL,NULL,1518,14,NULL,NULL,660,1,NULL,40720,40744,00000192,NULL,NULL,'2023-01-03','2023-01-03',0003,1,NULL,790301.48,790301.48,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:39:19','2023-02-27 09:39:19',NULL),(35,8520,1,23,NULL,NULL,1518,14,NULL,NULL,660,1,NULL,40720,40745,00000033,NULL,NULL,'2023-01-31','2023-01-31',0003,1,NULL,10898485.51,10898485.51,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-02-27 09:39:19','2023-02-27 09:39:19',NULL),(36,NULL,1,7,NULL,1,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000001,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:47','2023-03-10 11:46:49',NULL);
INSERT INTO `receipts` VALUES (37,NULL,1,7,NULL,2,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000002,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:49','2023-03-10 11:46:50',NULL),(38,NULL,1,7,NULL,3,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000003,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:50','2023-03-10 11:46:51',NULL),(39,NULL,1,7,NULL,4,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000004,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:51','2023-03-10 11:46:52',NULL),(40,NULL,1,7,NULL,5,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000005,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:52','2023-03-10 11:46:53',NULL),(41,NULL,1,7,NULL,6,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000006,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:53','2023-03-10 11:46:54',NULL),(42,NULL,1,7,NULL,7,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000007,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:54','2023-03-10 11:46:55',NULL),(43,NULL,1,7,NULL,8,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000008,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:55','2023-03-10 11:46:55',NULL),(44,NULL,1,7,NULL,9,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000009,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:55','2023-03-10 11:46:56',NULL),(45,NULL,1,7,NULL,10,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000010,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:56','2023-03-10 11:46:57',NULL),(46,NULL,1,7,NULL,11,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000011,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:57','2023-03-10 11:46:58',NULL),(47,NULL,1,7,NULL,12,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000012,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:58','2023-03-10 11:46:59',NULL),(48,NULL,1,7,NULL,13,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000013,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:46:59','2023-03-10 11:47:00',NULL),(49,NULL,1,7,NULL,14,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000014,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:00','2023-03-10 11:47:00',NULL),(50,NULL,1,7,NULL,15,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000015,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:01','2023-03-10 11:47:01',NULL),(51,NULL,1,7,NULL,16,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000016,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:01','2023-03-10 11:47:02',NULL),(52,NULL,1,7,NULL,17,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000017,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:02','2023-03-10 11:47:03',NULL),(53,NULL,1,7,NULL,18,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000018,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:03','2023-03-10 11:47:04',NULL),(54,NULL,1,7,NULL,19,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000019,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:04','2023-03-10 11:47:05',NULL);
INSERT INTO `receipts` VALUES (55,NULL,1,7,NULL,20,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000020,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:05','2023-03-10 11:47:06',NULL),(56,NULL,1,7,NULL,21,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000021,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:06','2023-03-10 11:47:07',NULL),(57,NULL,1,7,NULL,22,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000022,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:07','2023-03-10 11:47:07',NULL),(58,NULL,1,7,NULL,23,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000023,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:07','2023-03-10 11:47:08',NULL),(59,NULL,1,7,NULL,24,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000024,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:08','2023-03-10 11:47:09',NULL),(60,NULL,1,7,NULL,25,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000025,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:09','2023-03-10 11:47:10',NULL),(61,NULL,1,7,NULL,26,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000026,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:10','2023-03-10 11:47:11',NULL),(62,NULL,1,7,NULL,27,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000027,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:11','2023-03-10 11:47:12',NULL),(63,NULL,1,7,NULL,28,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000028,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:12','2023-03-10 11:47:13',NULL),(64,NULL,1,7,NULL,29,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000029,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:13','2023-03-10 11:47:14',NULL),(65,NULL,1,7,NULL,30,6064,14,NULL,NULL,918,1,NULL,40749,40718,00000030,NULL,NULL,'2023-02-28','2023-02-28',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 11:47:14','2023-03-10 11:47:15',NULL),(66,8520,1,4,NULL,31,4549,14,NULL,NULL,943,1,NULL,40748,40718,NULL,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,85500.00,85500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:16:30','2023-03-10 12:16:32','2023-03-10 12:16:32'),(67,8520,1,4,NULL,32,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000001,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,85500.00,85500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:16:56','2023-03-10 12:16:57',NULL),(68,8520,1,4,NULL,33,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000002,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,45000.00,45000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:19:39','2023-03-10 12:19:41',NULL),(69,8520,1,4,NULL,34,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000003,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,2400.00,2400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:21:23','2023-03-10 12:21:25',NULL),(70,8520,1,4,NULL,35,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000004,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,22000.00,22000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:22:59','2023-03-10 12:23:00',NULL),(71,8520,1,4,NULL,36,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000005,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,11999.99,11999.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:25:01','2023-03-10 12:25:03',NULL),(72,8520,1,4,NULL,37,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000006,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,9500.00,9500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:26:18','2023-03-10 12:26:20',NULL);
INSERT INTO `receipts` VALUES (73,8520,1,4,NULL,38,4549,14,NULL,NULL,943,1,NULL,40748,40750,00000007,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,8000.00,8000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:38:28','2023-03-10 12:38:30',NULL),(74,8520,1,4,NULL,39,4549,14,NULL,NULL,943,1,NULL,40748,40751,00000008,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3200.00,3200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:40:25','2023-03-10 12:40:26',NULL),(75,8520,1,4,NULL,40,4549,14,NULL,NULL,943,1,NULL,40748,40752,00000009,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,1869.99,1869.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 12:42:53','2023-03-10 12:42:55',NULL),(76,8520,1,4,NULL,41,4549,14,NULL,NULL,943,1,NULL,40748,40753,00000010,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,12000.01,12000.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:44:04','2023-03-10 16:44:06',NULL),(77,8520,1,4,NULL,42,4549,14,NULL,NULL,943,1,NULL,40748,40754,00000011,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,5610.00,5610.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:45:45','2023-03-10 16:45:47',NULL),(78,8520,1,4,NULL,43,4549,14,NULL,NULL,943,1,NULL,40748,40755,00000012,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,1199.99,1199.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:47:43','2023-03-10 16:47:45',NULL),(79,8520,1,4,NULL,44,4549,14,NULL,NULL,943,1,NULL,40748,40756,00000013,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,1199.99,1199.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:49:20','2023-03-10 16:49:21',NULL),(80,8520,1,4,NULL,45,4549,14,NULL,NULL,943,1,NULL,40748,40757,00000014,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,4100.00,4100.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:51:07','2023-03-10 16:51:09',NULL),(81,8520,1,4,NULL,46,4549,14,NULL,NULL,943,1,NULL,40748,40758,00000015,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,7874.99,7874.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:52:43','2023-03-10 16:52:45',NULL),(82,8520,1,4,NULL,47,4549,14,NULL,NULL,943,1,NULL,40748,40759,00000016,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,2899.99,2899.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:54:09','2023-03-10 16:54:10',NULL),(83,8520,1,4,NULL,48,4549,14,NULL,NULL,943,1,NULL,40748,40760,00000017,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,8000.00,8000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:55:38','2023-03-10 16:55:39',NULL),(84,8520,1,4,NULL,49,4549,14,NULL,NULL,943,1,NULL,40748,40761,00000018,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:56:50','2023-03-10 16:56:52',NULL),(85,8520,1,4,NULL,50,4549,14,NULL,NULL,943,1,NULL,40748,40762,00000019,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3000.00,3000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 16:58:20','2023-03-10 16:58:22',NULL),(86,8520,1,4,NULL,51,4549,14,NULL,NULL,943,1,NULL,40748,40763,00000020,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,6000.00,6000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:03:18','2023-03-10 17:03:20',NULL),(87,8520,1,4,NULL,52,4549,14,NULL,NULL,943,1,NULL,40748,40764,00000021,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3500.00,3500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:04:41','2023-03-10 17:04:43',NULL),(88,8520,1,4,NULL,53,4549,14,NULL,NULL,943,1,NULL,40748,40765,00000022,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:06:27','2023-03-10 17:06:29',NULL),(89,8520,1,4,NULL,54,4549,14,NULL,NULL,943,1,NULL,40748,40766,00000023,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,2400.00,2400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:08:00','2023-03-10 17:08:01',NULL),(90,8520,4,NULL,NULL,NULL,4549,14,NULL,NULL,NULL,1,NULL,40748,NULL,NULL,NULL,NULL,'2023-02-28',NULL,NULL,1,NULL,1704.83,0.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:09:47','2023-03-10 17:10:11','2023-03-10 17:10:11');
INSERT INTO `receipts` VALUES (91,8520,4,NULL,NULL,NULL,4549,14,NULL,NULL,NULL,1,NULL,40748,NULL,NULL,NULL,NULL,'2023-02-28',NULL,NULL,1,NULL,1704.83,0.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:09:57','2023-03-10 17:10:15','2023-03-10 17:10:15'),(92,8520,1,4,NULL,55,4549,14,NULL,NULL,943,1,NULL,40748,40753,00000024,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3100.00,3100.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:27:26','2023-03-10 17:27:28',NULL),(93,8520,1,4,NULL,56,4549,14,NULL,NULL,943,1,NULL,40748,40767,00000025,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,7000.00,7000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:29:05','2023-03-10 17:29:08',NULL),(94,8520,1,4,NULL,57,4549,14,NULL,NULL,943,1,NULL,40748,40768,00000026,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,1200.01,1200.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:30:50','2023-03-10 17:30:52',NULL),(95,8520,1,4,NULL,58,4549,14,NULL,NULL,943,1,NULL,40748,40769,00000027,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:32:10','2023-03-10 17:32:22',NULL),(96,8520,1,4,NULL,59,4549,14,NULL,NULL,943,1,NULL,40748,40770,00000028,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,32000.00,32000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:33:45','2023-03-10 17:33:47',NULL),(97,8520,1,4,NULL,60,4549,14,NULL,NULL,943,1,NULL,40748,40771,00000029,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:36:13','2023-03-10 17:36:14',NULL),(98,8520,1,4,NULL,61,4549,14,NULL,NULL,943,1,NULL,40748,40772,00000030,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:37:24','2023-03-10 17:37:26',NULL),(99,8520,1,4,NULL,62,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000031,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:39:05','2023-03-10 17:39:07',NULL),(100,8520,1,4,NULL,63,4549,14,NULL,NULL,943,1,NULL,40748,40718,00000032,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,5499.99,5499.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:40:33','2023-03-10 17:40:35',NULL),(101,8520,1,4,NULL,64,4549,14,NULL,NULL,943,1,NULL,40748,40773,00000033,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,6000.00,6000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:41:46','2023-03-10 17:41:48',NULL),(102,8520,1,4,NULL,65,4549,14,NULL,NULL,943,1,NULL,40748,40774,00000034,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:43:28','2023-03-10 17:43:30',NULL),(103,8520,1,4,NULL,66,4549,14,NULL,NULL,943,1,NULL,40748,40775,00000035,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,12000.01,12000.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:44:44','2023-03-10 17:44:45',NULL),(104,8520,1,4,NULL,67,4549,14,NULL,NULL,943,1,NULL,40748,40776,00000036,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,60000.00,60000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:46:22','2023-03-10 17:46:24',NULL),(105,8520,1,4,NULL,68,4549,14,NULL,NULL,943,1,NULL,40748,40750,00000037,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,22000.00,22000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:47:34','2023-03-10 17:47:36',NULL),(106,8520,1,4,NULL,69,4549,14,NULL,NULL,943,1,NULL,40748,40777,00000038,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,11300.00,11300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:49:31','2023-03-10 17:49:33',NULL),(107,8520,1,4,NULL,70,4549,14,NULL,NULL,943,1,NULL,40748,40778,00000039,NULL,NULL,'2023-02-28','2023-02-28',0004,1,NULL,30000.00,30000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-10 17:51:38','2023-03-10 17:51:39',NULL),(108,8644,1,1,NULL,NULL,3034,14,NULL,NULL,660,1,NULL,40747,40779,00004961,00004961,NULL,'2023-02-15','2023-02-15',0027,1,NULL,799.99,799.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:05:46','2023-03-13 11:14:06','2023-03-13 11:14:06');
INSERT INTO `receipts` VALUES (109,8644,2,1,NULL,NULL,3034,14,217,NULL,660,9,NULL,40747,40779,00004961,00004961,NULL,'2023-02-15','2023-02-15',0027,1,NULL,799.99,799.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:17:22','2023-03-13 11:17:22',NULL),(110,8644,2,1,NULL,NULL,3034,14,217,NULL,660,1,NULL,40747,40721,00015068,00015068,NULL,'2023-02-28','2023-02-28',0211,1,NULL,6884.32,6884.32,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:21:15','2023-03-13 11:21:15',NULL),(111,8644,2,1,NULL,NULL,3034,14,217,NULL,660,1,NULL,40747,40721,00015011,00015011,NULL,'2023-02-17','2023-02-17',0211,1,NULL,165213.94,165213.94,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:23:04','2023-03-13 11:23:04',NULL),(112,8644,2,1,NULL,NULL,3034,14,217,NULL,660,1,NULL,40747,40721,00014824,00014824,NULL,'2023-02-17','2023-02-17',0211,1,NULL,263923.11,263923.11,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:25:27','2023-03-13 11:25:27',NULL),(113,8644,2,1,NULL,NULL,3034,14,217,NULL,660,1,NULL,40747,40721,00014715,00014715,NULL,'2023-02-17','2023-02-17',0211,1,NULL,35149.85,35149.85,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:27:36','2023-03-13 11:27:36',NULL),(114,8644,2,40,NULL,NULL,3034,14,217,NULL,660,1,NULL,40747,40745,00066816,00066816,NULL,'2023-02-16','2023-02-16',0001,1,NULL,9040.40,9040.40,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:45:13','2023-03-13 11:49:57','2023-03-13 11:49:57'),(115,8644,3,40,NULL,NULL,3034,NULL,NULL,NULL,NULL,1,1,40747,40745,00066816,00066816,0,'2023-02-16',NULL,0001,1,NULL,9040.39,0.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:48:35','2023-03-13 11:48:35',NULL),(116,8644,1,25,NULL,NULL,3034,14,NULL,NULL,660,1,NULL,40747,40745,00000013,NULL,NULL,'2023-02-02','2023-02-02',0002,1,NULL,106974.83,106974.83,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(117,8644,1,1,NULL,NULL,3034,14,NULL,NULL,660,1,NULL,40747,40780,00000091,NULL,NULL,'2023-02-28','2023-02-28',0002,1,NULL,3783.67,3783.67,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(118,8644,1,23,NULL,NULL,3034,14,NULL,NULL,660,1,NULL,40747,40780,00000056,NULL,NULL,'2023-02-28','2023-02-28',0002,1,NULL,11453058.80,11453058.80,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-13 11:55:31','2023-03-13 11:55:31',NULL),(201,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40838,00000501,NULL,NULL,'2023-03-01','2023-03-01',0002,1,NULL,52965.33,52965.33,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(202,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40839,00000499,NULL,NULL,'2023-03-01','2023-03-01',0002,1,NULL,52965.33,52965.33,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(203,8520,2,12,NULL,NULL,9110,14,250,NULL,572,1,NULL,40803,40840,00007071,NULL,NULL,'2023-03-01','2023-03-01',0004,1,NULL,10000.00,10000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(204,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40841,00000584,NULL,NULL,'2023-03-01','2023-03-01',0002,1,NULL,52965.33,52965.33,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(205,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40842,00283468,NULL,NULL,'2023-03-02','2023-03-02',0025,1,NULL,70566.42,70566.42,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(206,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00001407,NULL,NULL,'2023-03-02','2023-03-02',0003,1,NULL,1294.35,1294.35,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(207,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40844,00000652,NULL,NULL,'2023-03-03','2023-03-03',0002,1,NULL,114100.00,114100.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(208,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40845,00127558,NULL,NULL,'2023-03-06','2023-03-06',0020,1,NULL,15933.28,15933.28,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL);
INSERT INTO `receipts` VALUES (209,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40846,00256904,NULL,NULL,'2023-03-06','2023-03-06',0011,1,NULL,76093.00,76093.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(210,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40847,00006917,NULL,NULL,'2023-03-06','2023-03-06',0002,1,NULL,159783.21,159783.21,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(211,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00030328,NULL,NULL,'2023-03-06','2023-03-06',0003,1,NULL,33584.49,33584.49,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(212,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40848,00525874,NULL,NULL,'2023-03-06','2023-03-06',0062,1,NULL,92190.03,92190.03,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(213,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40842,00067986,NULL,NULL,'2023-03-07','2023-03-07',0025,1,NULL,146.74,146.74,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(214,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40847,00000627,NULL,NULL,'2023-03-07','2023-03-07',0002,1,NULL,2774.95,2774.95,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(215,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40849,00000864,NULL,NULL,'2023-03-07','2023-03-07',0004,1,NULL,36300.00,36300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(216,8520,2,16,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40850,00000028,NULL,NULL,'2023-03-07','2023-03-07',0001,1,NULL,24291.36,24291.36,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:41','2023-03-23 12:24:41',NULL),(217,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40851,00069722,NULL,NULL,'2023-03-07','2023-03-07',0150,1,NULL,499.60,499.60,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(218,8520,2,7,NULL,NULL,9110,14,250,NULL,572,1,NULL,40803,40852,00000089,NULL,NULL,'2023-03-08','2023-03-08',0002,1,NULL,40000.00,40000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(219,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40842,00284297,NULL,NULL,'2023-03-09','2023-03-09',0025,1,NULL,24461.21,24461.21,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(220,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00001425,NULL,NULL,'2023-03-09','2023-03-09',0003,1,NULL,1397.14,1397.14,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(221,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40853,00000317,NULL,NULL,'2023-03-10','2023-03-10',0001,1,NULL,15600.02,15600.02,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(222,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40853,00000316,NULL,NULL,'2023-03-10','2023-03-10',0001,1,NULL,39600.00,39600.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(223,8520,2,7,NULL,NULL,9110,14,250,NULL,572,1,NULL,40803,40854,00000710,NULL,NULL,'2023-03-11','2023-03-11',0002,1,NULL,1200.00,1200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(224,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40845,00128046,NULL,NULL,'2023-03-13','2023-03-13',0020,1,NULL,13623.87,13623.87,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(225,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40846,00257649,NULL,NULL,'2023-03-13','2023-03-13',0011,1,NULL,100633.41,100633.41,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(226,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40847,00006939,NULL,NULL,'2023-03-13','2023-03-13',0002,1,NULL,149213.32,149213.32,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL);
INSERT INTO `receipts` VALUES (227,8520,2,12,NULL,NULL,9110,14,250,NULL,572,1,NULL,40803,40840,00007141,NULL,NULL,'2023-03-13','2023-03-13',0004,1,NULL,10000.00,10000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(228,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40842,00068163,NULL,NULL,'2023-03-13','2023-03-13',0025,1,NULL,940.85,940.85,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(229,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00030437,NULL,NULL,'2023-03-13','2023-03-13',0003,1,NULL,66330.95,66330.95,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(230,8520,2,16,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40850,00000001,NULL,NULL,'2023-03-13','2023-03-13',0003,1,NULL,24291.42,24291.42,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(231,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40848,00526928,NULL,NULL,'2023-03-13','2023-03-13',0062,1,NULL,90176.16,90176.16,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(232,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00001446,NULL,NULL,'2023-03-14','2023-03-14',0003,1,NULL,1007.53,1007.53,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(233,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40851,00215896,NULL,NULL,'2023-03-14','2023-03-14',0150,1,NULL,18439.60,18439.60,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(234,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40845,00128486,NULL,NULL,'2023-03-20','2023-03-20',0020,1,NULL,40568.44,40568.44,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(235,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40846,00258510,NULL,NULL,'2023-03-20','2023-03-20',0011,1,NULL,61393.87,61393.87,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(236,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40847,00006966,NULL,NULL,'2023-03-20','2023-03-20',0002,1,NULL,167269.29,167269.29,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(237,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00030545,NULL,NULL,'2023-03-20','2023-03-20',0003,1,NULL,51836.11,51836.11,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(238,8520,2,12,NULL,NULL,9110,14,250,NULL,572,1,NULL,40803,40840,00007220,NULL,NULL,'2023-03-21','2023-03-21',0004,1,NULL,10000.00,10000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:42','2023-03-23 12:24:42',NULL),(239,8520,2,1,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40855,00021655,NULL,NULL,'2023-03-21','2023-03-21',0004,1,NULL,24200.11,24200.11,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:43','2023-03-23 12:24:43',NULL),(240,8520,2,3,NULL,NULL,9110,14,217,NULL,572,1,NULL,40803,40843,00001463,NULL,NULL,'2023-03-22','2023-03-22',0003,1,NULL,1989.93,1989.93,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-03-23 12:24:43','2023-03-23 12:24:43',NULL),(379,8520,1,4,NULL,71,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000040,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,10450.00,10450.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:25:30','2023-04-10 11:25:33',NULL),(380,8520,1,4,NULL,72,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000041,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,50000.00,50000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:27:32','2023-04-10 11:27:34',NULL),(381,8520,1,4,NULL,73,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000042,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,32000.00,32000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:28:55','2023-04-10 11:28:57',NULL),(382,8520,1,4,NULL,74,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000043,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,2500.01,2500.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:30:16','2023-04-10 11:30:19',NULL);
INSERT INTO `receipts` VALUES (383,8520,1,4,NULL,75,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000044,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,18000.00,18000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:32:20','2023-04-10 11:32:22',NULL),(384,8520,1,4,NULL,76,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000045,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,12000.01,12000.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:33:59','2023-04-10 11:34:01',NULL),(385,8520,1,4,NULL,77,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000046,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,10500.00,10500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:35:21','2023-04-10 11:35:25',NULL),(386,8520,1,4,NULL,78,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000047,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,16000.00,16000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:36:25','2023-04-10 11:36:29',NULL),(387,8520,1,4,NULL,79,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000048,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,18000.00,18000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:38:05','2023-04-10 11:38:07',NULL),(388,8520,1,4,NULL,80,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000049,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,25800.00,25800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:39:05','2023-04-10 11:39:07',NULL),(389,8520,1,4,NULL,81,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000050,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,25000.00,25000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:39:57','2023-04-10 11:39:59',NULL),(390,8520,1,4,NULL,82,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000051,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,32000.00,32000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:40:51','2023-04-10 11:40:53',NULL),(391,8520,1,4,NULL,83,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000052,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,14999.99,14999.99,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:41:42','2023-04-10 11:41:44',NULL),(392,8520,1,4,NULL,84,4550,14,NULL,NULL,943,1,NULL,40748,40905,00000053,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,1000.00,1000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:45:45','2023-04-10 11:45:47',NULL),(393,8520,1,4,NULL,85,4550,14,NULL,NULL,943,1,NULL,40748,40765,00000054,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:46:55','2023-04-10 11:46:57',NULL),(394,8520,1,4,NULL,86,4550,14,NULL,NULL,943,1,NULL,40748,40906,00000055,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4650.01,4650.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:48:29','2023-04-10 11:48:31',NULL),(395,8520,1,4,NULL,87,4550,14,NULL,NULL,943,1,NULL,40748,40907,00000056,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:49:48','2023-04-10 11:49:51',NULL),(396,8520,1,4,NULL,88,4550,14,NULL,NULL,943,1,NULL,40748,40766,00000057,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,2600.00,2600.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 11:50:52','2023-04-10 11:50:54',NULL),(397,8520,1,4,NULL,89,4550,14,NULL,NULL,943,1,NULL,40748,40753,00000058,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,3100.00,3100.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:00:42','2023-04-10 12:00:44',NULL),(398,8520,1,4,NULL,90,4550,14,NULL,NULL,943,1,NULL,40748,40767,00000059,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,18000.00,18000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:04:38','2023-04-10 12:04:41',NULL),(399,8520,1,4,NULL,91,4550,14,NULL,NULL,943,1,NULL,40748,40769,00000060,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:06:01','2023-04-10 12:06:03',NULL),(400,8520,1,4,NULL,92,4550,14,NULL,NULL,943,1,NULL,40748,40771,00000061,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:07:10','2023-04-10 12:07:12',NULL);
INSERT INTO `receipts` VALUES (401,8520,1,4,NULL,93,4550,14,NULL,NULL,943,1,NULL,40748,40908,00000062,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:08:32','2023-04-10 12:08:34',NULL),(402,8520,1,4,NULL,94,4550,14,NULL,NULL,943,1,NULL,40748,40758,00000063,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,18000.00,18000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:10:27','2023-04-10 12:10:34',NULL),(403,8520,1,4,NULL,95,4550,14,NULL,NULL,943,1,NULL,40748,40909,00000064,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,25000.00,25000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:13:49','2023-04-10 12:13:51',NULL),(404,8520,1,4,NULL,96,4550,14,NULL,NULL,943,1,NULL,40748,40910,00000065,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:15:41','2023-04-10 12:15:43',NULL),(405,8520,1,4,NULL,97,4550,14,NULL,NULL,943,1,NULL,40748,40911,00000066,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,28000.01,28000.01,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:17:21','2023-04-10 12:17:23',NULL),(406,8520,1,4,NULL,98,4550,14,NULL,NULL,943,1,NULL,40748,40774,00000067,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:20:03','2023-04-10 12:20:05',NULL),(407,8520,1,4,NULL,99,4550,14,NULL,NULL,943,1,NULL,40748,40912,00000068,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4300.00,4300.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:21:18','2023-04-10 12:21:20',NULL),(408,8520,1,4,NULL,100,4550,14,NULL,NULL,943,1,NULL,40748,40913,00000069,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,4060.00,4060.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:22:36','2023-04-10 12:22:37',NULL),(409,8520,1,4,NULL,101,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000070,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,18000.00,18000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:24:07','2023-04-10 12:24:09',NULL),(410,8520,1,4,NULL,102,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000071,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,1600.00,1600.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:27:46','2023-04-10 12:27:47',NULL),(411,8520,1,4,NULL,103,4550,14,NULL,NULL,943,1,NULL,40748,40761,00000072,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,3400.00,3400.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:28:45','2023-04-10 12:28:47',NULL),(412,8520,1,4,NULL,104,4550,14,NULL,NULL,943,1,NULL,40748,40718,00000073,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,2000.00,2000.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:29:55','2023-04-10 12:29:56',NULL),(413,8520,1,4,NULL,105,4550,14,NULL,NULL,943,1,NULL,40748,40914,00000074,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,6500.00,6500.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:30:59','2023-04-10 12:31:01',NULL),(414,8520,1,4,NULL,106,4550,14,NULL,NULL,943,1,NULL,40748,40915,00000075,NULL,NULL,'2023-03-31','2023-03-31',0004,1,NULL,19520.00,19520.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:32:05','2023-04-10 12:32:07',NULL),(415,NULL,1,7,NULL,107,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000031,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:39:56','2023-04-10 12:39:59',NULL),(416,NULL,1,7,NULL,108,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000032,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:39:59','2023-04-10 12:40:01',NULL),(417,NULL,1,7,NULL,109,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000033,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:01','2023-04-10 12:40:03',NULL),(418,NULL,1,7,NULL,110,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000034,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:03','2023-04-10 12:40:07',NULL);
INSERT INTO `receipts` VALUES (419,NULL,1,7,NULL,111,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000035,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:07','2023-04-10 12:40:11',NULL),(420,NULL,1,7,NULL,112,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000036,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:12','2023-04-10 12:40:14',NULL),(421,NULL,1,7,NULL,113,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000037,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:14','2023-04-10 12:40:15',NULL),(422,NULL,1,7,NULL,114,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000038,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:16','2023-04-10 12:40:17',NULL),(423,NULL,1,7,NULL,115,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000039,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:17','2023-04-10 12:40:19',NULL),(424,NULL,1,7,NULL,116,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000040,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:19','2023-04-10 12:40:22',NULL),(425,NULL,1,7,NULL,117,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000041,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:22','2023-04-10 12:40:24',NULL),(426,NULL,1,7,NULL,118,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000042,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:25','2023-04-10 12:40:29',NULL),(427,NULL,1,7,NULL,119,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000043,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:29','2023-04-10 12:40:31',NULL),(428,NULL,1,7,NULL,120,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000044,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:31','2023-04-10 12:40:34',NULL),(429,NULL,1,7,NULL,121,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000045,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4800.00,4800.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:34','2023-04-10 12:40:36',NULL),(430,NULL,1,7,NULL,122,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000046,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:36','2023-04-10 12:40:38',NULL),(431,NULL,1,7,NULL,123,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000047,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:38','2023-04-10 12:40:39',NULL),(432,NULL,1,7,NULL,124,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000048,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:39','2023-04-10 12:40:40',NULL),(433,NULL,1,7,NULL,125,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000049,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:41','2023-04-10 12:40:42',NULL),(434,NULL,1,7,NULL,126,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000050,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:42','2023-04-10 12:40:43',NULL),(435,NULL,1,7,NULL,127,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000051,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:43','2023-04-10 12:40:44',NULL),(436,NULL,1,7,NULL,128,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000052,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:45','2023-04-10 12:40:46',NULL);
INSERT INTO `receipts` VALUES (437,NULL,1,7,NULL,129,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000053,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:46','2023-04-10 12:40:48',NULL),(438,NULL,1,7,NULL,130,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000054,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:48','2023-04-10 12:40:49',NULL),(439,NULL,1,7,NULL,131,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000055,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:49','2023-04-10 12:40:50',NULL),(440,NULL,1,7,NULL,132,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000056,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:50','2023-04-10 12:40:51',NULL),(441,NULL,1,7,NULL,133,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000057,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:51','2023-04-10 12:40:53',NULL),(442,NULL,1,7,NULL,134,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000058,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:53','2023-04-10 12:40:54',NULL),(443,NULL,1,7,NULL,135,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000059,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:54','2023-04-10 12:40:55',NULL),(444,NULL,1,7,NULL,136,6065,14,NULL,NULL,918,1,NULL,40749,40718,00000060,NULL,NULL,'2023-03-31','2023-03-31',0003,1,NULL,4200.00,4200.00,1,1.00,3,NULL,NULL,NULL,NULL,'','2023-04-10 12:40:56','2023-04-10 12:40:57',NULL),(445,NULL,1,7,NULL,137,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000061,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:25','2023-05-05 11:19:28',NULL),(446,NULL,1,7,NULL,138,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000062,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:28','2023-05-05 11:19:29',NULL),(447,NULL,1,7,NULL,139,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000063,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:29','2023-05-05 11:19:29',NULL),(448,NULL,1,7,NULL,140,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000064,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:30','2023-05-05 11:19:30',NULL),(449,NULL,1,7,NULL,141,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000065,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:30','2023-05-05 11:19:31',NULL),(450,NULL,1,7,NULL,142,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000066,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:31','2023-05-05 11:19:32',NULL),(451,NULL,1,7,NULL,143,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000067,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:32','2023-05-05 11:19:33',NULL),(452,NULL,1,7,NULL,144,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000068,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:33','2023-05-05 11:19:34',NULL),(453,NULL,1,7,NULL,145,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000069,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:34','2023-05-05 11:19:35',NULL),(454,NULL,1,7,NULL,146,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000070,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:35','2023-05-05 11:19:36',NULL);
INSERT INTO `receipts` VALUES (455,NULL,1,7,NULL,147,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000071,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:36','2023-05-05 11:19:36',NULL),(456,NULL,1,7,NULL,148,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000072,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:37','2023-05-05 11:19:37',NULL),(457,NULL,1,7,NULL,149,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000073,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:37','2023-05-05 11:19:38',NULL),(458,NULL,1,7,NULL,150,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000074,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:38','2023-05-05 11:19:39',NULL),(459,NULL,1,7,NULL,151,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000075,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4800.00,4800.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:39','2023-05-05 11:19:40',NULL),(460,NULL,1,7,NULL,152,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000076,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:40','2023-05-05 11:19:41',NULL),(461,NULL,1,7,NULL,153,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000077,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:41','2023-05-05 11:19:42',NULL),(462,NULL,1,7,NULL,154,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000078,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:42','2023-05-05 11:19:42',NULL),(463,NULL,1,7,NULL,155,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000079,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:43','2023-05-05 11:19:43',NULL),(464,NULL,1,7,NULL,156,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000080,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:43','2023-05-05 11:19:44',NULL),(465,NULL,1,7,NULL,157,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000081,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:44','2023-05-05 11:19:45',NULL),(466,NULL,1,7,NULL,158,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000082,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:45','2023-05-05 11:19:46',NULL),(467,NULL,1,7,NULL,159,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000083,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:46','2023-05-05 11:19:47',NULL),(468,NULL,1,7,NULL,160,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000084,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:47','2023-05-05 11:19:47',NULL),(469,NULL,1,7,NULL,161,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000085,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:48','2023-05-05 11:19:48',NULL),(470,NULL,1,7,NULL,162,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000086,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:48','2023-05-05 11:19:49',NULL),(471,NULL,1,7,NULL,163,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000087,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:49','2023-05-05 11:19:50',NULL),(472,NULL,1,7,NULL,164,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000088,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:50','2023-05-05 11:19:51',NULL);
INSERT INTO `receipts` VALUES (473,NULL,1,7,NULL,165,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000089,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:51','2023-05-05 11:19:52',NULL),(474,NULL,1,7,NULL,166,6066,14,NULL,NULL,918,1,NULL,40749,40718,00000090,NULL,NULL,'2023-04-30','2023-04-30',0003,1,NULL,4200.00,4200.00,1,225.00,3,NULL,NULL,NULL,NULL,'','2023-05-05 11:19:52','2023-05-05 11:19:53',NULL),(475,8520,1,4,NULL,167,4551,14,NULL,NULL,943,1,NULL,40748,40759,00000076,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2899.99,2899.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 09:52:08','2023-05-10 09:52:11',NULL),(476,8520,1,4,NULL,168,4551,14,NULL,NULL,943,1,NULL,40748,40916,00000077,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,25000.00,25000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 09:53:47','2023-05-10 09:53:49',NULL),(477,8520,1,4,NULL,169,4551,14,NULL,NULL,943,1,NULL,40748,40917,00000078,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,10935.00,10935.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 09:55:25','2023-05-10 09:55:26',NULL),(478,8520,1,4,NULL,170,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000079,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,6000.00,6000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 09:58:35','2023-05-10 09:58:37',NULL),(479,8520,1,4,NULL,171,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000080,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,14999.99,14999.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 09:59:42','2023-05-10 09:59:44',NULL),(480,8520,1,4,NULL,172,4551,14,NULL,NULL,943,1,NULL,40748,40753,00000081,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,7200.00,7200.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:00:49','2023-05-10 10:00:50',NULL),(481,8520,1,4,NULL,173,4551,14,NULL,NULL,943,1,NULL,40748,40776,00000082,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,60000.00,60000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:02:05','2023-05-10 10:02:07',NULL),(482,8520,1,4,NULL,174,4551,14,NULL,NULL,943,1,NULL,40748,40918,00000083,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3000.00,3000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:04:44','2023-05-10 10:04:46',NULL),(483,8520,1,4,NULL,175,4551,14,NULL,NULL,943,1,NULL,40748,40919,00000084,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3400.00,3400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:06:23','2023-05-10 10:06:25',NULL),(484,8520,1,4,NULL,176,4551,14,NULL,NULL,943,1,NULL,40748,40767,00000085,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,7000.00,7000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:07:28','2023-05-10 10:07:29',NULL),(485,8520,1,4,NULL,177,4551,14,NULL,NULL,943,1,NULL,40748,40915,00000086,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,20399.99,20399.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:08:25','2023-05-10 10:08:27',NULL),(486,8520,1,4,NULL,178,4551,14,NULL,NULL,943,1,NULL,40748,40920,00000087,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2500.01,2500.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:10:00','2023-05-10 10:10:02',NULL),(487,8520,1,4,NULL,179,4551,14,NULL,NULL,943,1,NULL,40748,40921,00000088,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,32000.00,32000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:11:24','2023-05-10 10:11:26',NULL),(488,8520,1,4,NULL,180,4551,14,NULL,NULL,943,1,NULL,40748,40922,00000089,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3100.00,3100.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:13:17','2023-05-10 10:13:18',NULL),(489,8520,1,4,NULL,181,4551,14,NULL,NULL,943,1,NULL,40748,40772,00000090,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,4300.00,4300.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:14:16','2023-05-10 10:14:18',NULL),(490,8520,1,4,NULL,182,4551,14,NULL,NULL,943,1,NULL,40748,40768,00000091,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2200.00,2200.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:15:45','2023-05-10 10:15:47',NULL);
INSERT INTO `receipts` VALUES (491,8520,1,4,NULL,183,4551,14,NULL,NULL,943,1,NULL,40748,40909,00000092,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,32000.00,32000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:16:41','2023-05-10 10:16:43',NULL),(492,8520,1,4,NULL,184,4551,14,NULL,NULL,943,1,NULL,40748,40923,00000093,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3400.00,3400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:18:22','2023-05-10 10:18:25',NULL),(493,8520,1,4,NULL,185,4551,14,NULL,NULL,943,1,NULL,40748,40923,00000094,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3400.00,3400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:22:07','2023-05-10 10:22:09',NULL),(494,8520,1,4,NULL,186,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000095,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,1200.01,1200.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:23:28','2023-05-10 10:23:29',NULL),(495,8520,1,4,NULL,187,4551,14,NULL,NULL,943,1,NULL,40748,40761,00000096,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,5400.00,5400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:28:25','2023-05-10 10:28:26',NULL),(496,8520,1,4,NULL,188,4551,14,NULL,NULL,943,1,NULL,40748,40753,00000097,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3100.00,3100.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:30:57','2023-05-10 10:30:58',NULL),(497,8520,1,4,NULL,189,4551,14,NULL,NULL,943,1,NULL,40748,40924,00000098,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,25000.00,25000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:32:16','2023-05-10 10:32:17',NULL),(498,8520,1,4,NULL,190,4551,14,NULL,NULL,943,1,NULL,40748,40907,00000099,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,5300.01,5300.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:35:41','2023-05-10 10:35:43',NULL),(499,8520,1,4,NULL,191,4551,14,NULL,NULL,943,1,NULL,40748,40925,00000100,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3400.00,3400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:37:05','2023-05-10 10:37:07',NULL),(500,8520,1,4,NULL,192,4551,14,NULL,NULL,943,1,NULL,40748,40913,00000101,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2899.99,2899.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:38:09','2023-05-10 10:38:10',NULL),(501,8520,1,4,NULL,193,4551,14,NULL,NULL,943,1,NULL,40748,40769,00000102,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,4300.00,4300.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:39:02','2023-05-10 10:39:04',NULL),(502,8520,1,4,NULL,194,4551,14,NULL,NULL,943,1,NULL,40748,40761,00000103,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,4000.01,4000.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:39:57','2023-05-10 10:40:01',NULL),(503,8520,1,4,NULL,195,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000104,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2500.01,2500.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:41:25','2023-05-10 10:41:27',NULL),(504,8520,1,4,NULL,196,4551,14,NULL,NULL,943,1,NULL,40748,40926,00000105,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,4300.00,4300.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:42:34','2023-05-10 10:42:36',NULL),(505,8520,1,4,NULL,197,4551,14,NULL,NULL,943,1,NULL,40748,40773,00000106,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,7400.00,7400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:43:42','2023-05-10 10:43:44',NULL),(506,8520,1,4,NULL,198,4551,14,NULL,NULL,943,1,NULL,40748,40927,00000107,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2800.00,2800.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:46:55','2023-05-10 10:46:57',NULL),(507,8520,1,4,NULL,199,4551,14,NULL,NULL,943,1,NULL,40748,40776,00000108,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,5600.00,5600.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:47:51','2023-05-10 10:47:53',NULL),(508,8520,1,4,NULL,200,4551,14,NULL,NULL,943,1,NULL,40748,40928,00000109,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,1900.00,1900.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:49:22','2023-05-10 10:49:24',NULL);
INSERT INTO `receipts` VALUES (509,8520,1,4,NULL,201,4551,14,NULL,NULL,943,1,NULL,40748,40929,00000110,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2500.01,2500.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:50:21','2023-05-10 10:50:23',NULL),(510,8520,1,4,NULL,202,4551,14,NULL,NULL,943,1,NULL,40748,40776,00000111,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,7000.00,7000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 10:51:19','2023-05-10 10:51:20',NULL),(511,8520,1,4,NULL,203,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000112,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,14999.99,14999.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:49:31','2023-05-10 11:49:33',NULL),(512,8520,1,4,NULL,204,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000113,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,25000.00,25000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:50:36','2023-05-10 11:50:38',NULL),(513,8520,1,4,NULL,205,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000114,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,20000.01,20000.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:52:12','2023-05-10 11:52:13',NULL),(514,8520,1,4,NULL,206,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000115,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2400.00,2400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:53:00','2023-05-10 11:53:02',NULL),(515,8520,1,4,NULL,207,4551,14,NULL,NULL,943,1,NULL,40748,40930,00000116,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,70158.16,70158.16,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:55:03','2023-05-10 11:55:05',NULL),(516,8520,1,4,NULL,208,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000117,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,42500.00,42500.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:57:22','2023-05-10 11:57:24',NULL),(517,8520,1,4,NULL,209,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000118,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,4500.00,4500.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 11:58:34','2023-05-10 11:58:35',NULL),(518,8520,1,4,NULL,210,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000119,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,10000.00,10000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:00:14','2023-05-10 12:00:16',NULL),(519,8520,1,4,NULL,211,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000120,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,16000.00,16000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:01:06','2023-05-10 12:01:08',NULL),(520,8520,1,4,NULL,212,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000121,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,18000.00,18000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:04:02','2023-05-10 12:04:04',NULL),(521,8520,1,4,NULL,213,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000122,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,7400.00,7400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:05:11','2023-05-10 12:05:12',NULL),(522,8520,1,4,NULL,214,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000123,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,5000.00,5000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:06:21','2023-05-10 12:06:23',NULL),(523,8520,1,4,NULL,215,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000124,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,12199.99,12199.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:07:11','2023-05-10 12:07:13',NULL),(524,8520,1,4,NULL,216,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000125,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,12000.01,12000.01,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:08:15','2023-05-10 12:08:16',NULL),(525,8520,1,4,NULL,217,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000126,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,2899.99,2899.99,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:09:08','2023-05-10 12:09:10',NULL),(526,8520,1,4,NULL,218,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000127,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,6000.00,6000.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:10:02','2023-05-10 12:10:04',NULL);
INSERT INTO `receipts` VALUES (527,8520,1,4,NULL,219,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000128,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,1740.00,1740.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:11:14','2023-05-10 12:11:16',NULL),(528,8520,1,4,NULL,220,4551,14,NULL,NULL,943,1,NULL,40748,40718,00000129,NULL,NULL,'2023-04-30','2023-04-30',0004,1,NULL,3400.00,3400.00,1,230.00,3,NULL,NULL,NULL,NULL,'','2023-05-10 12:12:01','2023-05-10 12:12:03',NULL);

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

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

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

INSERT INTO `recibo_config` VALUES (1,8520,40719,0,'2023-02-22 17:48:48','2023-02-22 17:48:48',NULL),(2,8520,40748,0,'2023-03-09 15:57:26','2023-03-09 15:57:26',NULL),(3,8520,40749,0,'2023-03-09 16:32:27','2023-03-09 16:32:27',NULL),(4,8520,40720,0,'2023-03-09 16:36:40','2023-03-09 16:36:40',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=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `remito_config` VALUES (1,8520,40719,0,'2023-02-22 17:48:48','2023-02-22 17:48:48',NULL),(2,8520,40748,0,'2023-03-09 15:57:27','2023-03-09 15:57:27',NULL),(3,8520,40749,0,'2023-03-09 16:32:27','2023-03-09 16:32:27',NULL),(4,8520,40720,0,'2023-03-09 16:36:40','2023-03-09 16:36:40',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,'2023-02-15 09:55:47','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2023-02-15 09:55:47','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2023-02-15 09:55:47','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2023-02-15 09:55:47','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2023-02-15 09:55:47','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2023-02-15 09:55:47','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2023-02-15 09:55:47','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2023-02-15 09:55:47','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2023-02-15 09:55:47','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2023-02-15 09:55:47','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2023-02-15 09:55:47','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2023-02-15 09:55:47','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2023-02-15 09:55:47','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2023-02-15 09:55:47','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2023-02-15 09:55:47','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2023-02-15 09:55:47','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2023-02-15 09:55:47','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2023-02-15 09:55:47','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2023-02-15 09:55:47','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2023-02-15 09:55:47','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2023-02-15 09:55:47','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2023-02-15 09:55:47','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2023-02-15 09:55:47','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2023-02-15 09:55:47','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2023-02-15 09:55:47','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,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `retention_type_id` int(10) unsigned NOT NULL,
  `receipt_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_receipt_id_foreign` (`receipt_id`),
  KEY `retentions_sicore_regimen_id_foreign` (`sicore_regimen_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_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`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 `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_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_lojack_tecnologias`
--

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

--
-- Table structure for table `sicore_details`
--

CREATE TABLE `sicore_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2023-02-15',
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `sicore_comprobantes` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `sicore_comprobante_id` bigint(20) unsigned NOT NULL,
  `comprobante_numero` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `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 `sicore_details_person_id_foreign` (`person_id`),
  KEY `sicore_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `sicore_details_period_id_foreign` (`period_id`),
  KEY `sicore_details_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `sicore_details_sicore_comprobante_id_foreign` (`sicore_comprobante_id`),
  CONSTRAINT `sicore_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `sicore_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_sicore_comprobante_id_foreign` FOREIGN KEY (`sicore_comprobante_id`) REFERENCES `sicore_comprobantes` (`id`),
  CONSTRAINT `sicore_details_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 `sicore_details`
--


--
-- Table structure for table `sicore_regimenes`
--

CREATE TABLE `sicore_regimenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cod_regimen` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `anexo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ret_min_ins` int(11) NOT NULL,
  `porcent_ins` decimal(8,2) NOT NULL,
  `porcent_no_ins` decimal(8,2) NOT NULL,
  `monto_no_sujeto_ret` 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`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_regimenes`
--

INSERT INTO `sicore_regimenes` VALUES (1,NULL,'19','Anexo II,  inc. a) pto. 1)','Intereses  por operaciones realizadas en entidades financieras. Ley N° 21.526 y sus modificaciones o agentes de bolsa o mercado abierto.',0,3.00,10.00,0,1,NULL,NULL,NULL),(2,NULL,'21','Anexo II , inc. a) pto. 2)','Intereses originados en operaciones no comprendidas en el punto 1.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(3,NULL,'30','Anexo II, inc. b) pto. 1)','Alquileres o arrendamientos de bienes muebles.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(4,NULL,'31','Anexo II, inc. b) pto. 2)','Bienes Inmuebles Urbanos, incluidos los efectuados bajo la modalidad de leasing –incluye suburbanos.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(5,NULL,'32','Anexo II, inc. b) pto. 3)','Bienes Inmuebles Rurales, incluidos los efectuados bajo la modalidad de leasing –incluye subrurales-.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(6,NULL,'35','Anexo II, inc. c)','Regalías.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(7,NULL,'43','Anexo II, inc. d)','Interés accionario,  excedentes y retornos distribuidos entre asociados, cooperativas -excepto consumo-.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(8,NULL,'51','Anexo II, inc. e)','Obligaciones de no hacer, o por abandono o no ejercicio de una actividad.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(9,NULL,'78','Anexo II, inc. f)','Enajenación de bienes muebles y bienes de cambio.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(10,NULL,'86','Anexo II, inc. g)','Transferencia  temporaria o definitiva de derechos de llave, marcas, patentes de invención, regalías, concesiones y similares.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(11,NULL,'94','Anexo II, inc. i)','Locaciones de obra y/o servicios no ejecutados en relación de dependencia no mencionados expresamente en otros incisos.',0,2.00,28.00,67170,1,NULL,NULL,NULL),(12,NULL,'95','Anexo ll, inc. l)','Operaciones de transporte de carga  nacional e internacional.',0,0.25,28.00,67170,1,NULL,NULL,NULL),(13,NULL,'53','Anexo ll, inc. m)','Operaciones realizadas  por intermedio  de mercados de  cereales a término que se resuelvan en el  curso del término (arbitrajes) y de mercados de futuros y opciones.',0,0.50,2.00,0,1,NULL,NULL,NULL),(14,NULL,'55','Anexo ll, inc. n)','Distribución de películas. Transmisión de programación. Televisión vía satelital.',0,0.50,2.00,0,1,NULL,NULL,NULL),(15,NULL,'111','Anexo ll, inc. ñ)','Cualquier  otra cesión  o locación de derechos, excepto las que correspondan a operaciones realizadas por intermedio de  mercados  de cereales  a término que se resuelvan en el curso del térm',0,0.50,2.00,0,1,NULL,NULL,NULL),(16,NULL,'112','Anexo ll, inc. o)','Beneficios provenientes del cumplimiento de los requisitos de los planes de seguro de retiro privados administrados por entidades sujetas al control de la Superintendencia de Seguros de la Na',0,3.00,3.00,16830,1,NULL,NULL,NULL),(17,NULL,'113','Anexo ll, inc. p)','Rescates -totales o parciales- por desistimiento de los planes de seguro de retiro a que se refiere el inciso o), excepto que sea de aplicación lo normado en el artículo 101 de la Ley de Impu',0,3.00,3.00,16830,1,NULL,NULL,NULL),(18,NULL,'779','Anexo ll, inc. q)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Ares, en concepto de enajenación de bienes muebles y bienes de cambio, en ',0,2.00,10.00,76140,1,NULL,NULL,NULL),(19,NULL,'780','Anexo ll, inc. r)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Aires, en concepto de locaciones de obra y/o servicios, no ejecutados en r',0,2.00,28.00,31460,1,NULL,NULL,NULL),(20,NULL,'110','Anexo II, inc. h)','Explotación de derechos de autor (Ley N° 11.723).',0,0.00,28.00,10000,0,NULL,'2023-06-08 12:35:14',NULL);
INSERT INTO `sicore_regimenes` VALUES (21,NULL,'25','Anexo II, inc. j)','Comisiones u otras retribuciones derivadas de la actividad de comisionista, rematador, consignatario y demás auxiliares de comercio a que se refiere el inciso c) del artículo 49 de la Ley de ',0,0.00,28.00,16830,0,NULL,'2023-06-08 12:35:14',NULL),(22,NULL,'116','Anexo ll, inc. k)','Honorarios de director de sociedades anónimas, síndico, fiduciario, consejero de sociedades cooperativas, integrante de consejos de vigilancia y socios administradores de las sociedades de re',0,0.00,28.00,67170,0,NULL,'2023-06-08 12:35:14',NULL),(23,NULL,'116','Anexo ll, inc. k)','Profesionales liberales, oficios, albacea, mandatario, gestor de negocio.',0,0.00,28.00,16830,0,NULL,'2023-06-08 12:35:14',NULL),(24,NULL,'124','Anexo ll, inc. k)','Corredor, viajante de comercio y despachante de aduana.',0,0.00,28.00,16830,0,NULL,'2023-06-08 12:35:14',NULL),(25,NULL,'53','Anexo ll, inc. m)','Operaciones Realizadas a Través del mercado de Cereales a Término',0,0.50,2.00,0,1,NULL,NULL,NULL);

--
-- Table structure for table `solicitantes_certificado`
--

CREATE TABLE `solicitantes_certificado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mail` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` 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 `solicitantes_certificado_curso_id_foreign` (`curso_id`),
  CONSTRAINT `solicitantes_certificado_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `solicitantes_certificado`
--


--
-- Table structure for table `status`
--

CREATE TABLE `status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `receipt_type_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `status_receipt_type_id_foreign` (`receipt_type_id`),
  CONSTRAINT `status_receipt_type_id_foreign` FOREIGN KEY (`receipt_type_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status`
--

INSERT INTO `status` VALUES (1,'Activo',NULL,NULL,NULL),(2,'Anulado',NULL,NULL,NULL),(3,'Liquidado',NULL,NULL,NULL);

--
-- Table structure for table `suscrip_modulos`
--

CREATE TABLE `suscrip_modulos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT 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=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_modulos`
--

INSERT INTO `suscrip_modulos` VALUES (1,0,'Administración',1,NULL,NULL,NULL),(2,0,'Sueldos',1,NULL,NULL,NULL),(3,0,'Impuestos',1,NULL,NULL,NULL),(4,0,'Contabilidad',1,NULL,NULL,NULL),(5,0,'Factura Electrónica',1,NULL,NULL,NULL),(6,0,'Tesorería',1,NULL,NULL,NULL),(7,0,'Del Contador',1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes`
--

CREATE TABLE `suscrip_planes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) 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=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes`
--

INSERT INTO `suscrip_planes` VALUES (1,0,'GRATIS',0.00,1,NULL,NULL,NULL),(2,0,'BASICO',1000.00,1,NULL,NULL,NULL),(3,0,'MEDIO',2500.00,1,NULL,NULL,NULL),(4,0,'FULL',4000.00,1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes_detail`
--

CREATE TABLE `suscrip_planes_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `suscrip_plan_id` int(10) unsigned NOT NULL,
  `suscrip_modulo_id` int(10) unsigned NOT NULL,
  `permitido` tinyint(1) NOT NULL DEFAULT '1',
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `icono` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero` 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`),
  KEY `suscrip_planes_detail_suscrip_plan_id_foreign` (`suscrip_plan_id`),
  KEY `suscrip_planes_detail_suscrip_modulo_id_foreign` (`suscrip_modulo_id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_modulo_id_foreign` FOREIGN KEY (`suscrip_modulo_id`) REFERENCES `suscrip_modulos` (`id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_plan_id_foreign` FOREIGN KEY (`suscrip_plan_id`) REFERENCES `suscrip_planes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes_detail`
--

INSERT INTO `suscrip_planes_detail` VALUES (1,0,1,1,1,'CUITs para operar','','1',1,NULL,NULL,NULL),(2,0,1,1,0,'Usuarios para tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(3,0,1,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(4,0,1,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(5,0,1,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(6,0,2,1,1,'CUITs para operar','','30',1,NULL,NULL,NULL),(7,0,2,1,1,'Usuarios para tus clientes','fa fa-check-circle','5',1,NULL,NULL,NULL),(8,0,2,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(9,0,2,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(10,0,2,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(11,0,3,1,1,'CUITs para operar','','100',1,NULL,NULL,NULL),(12,0,3,1,1,'Usuarios para tus clientes','fa fa-check-circle','15',1,NULL,NULL,NULL),(13,0,3,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(14,0,3,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(15,0,3,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(16,0,4,1,1,'CUITs para operar','','200',1,NULL,NULL,NULL),(17,0,4,1,1,'Usuarios para tus clientes','fa fa-check-circle','30',1,NULL,NULL,NULL),(18,0,4,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(19,0,4,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(20,0,4,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(21,0,1,2,1,'Total de Legajos','','10',1,NULL,NULL,NULL),(22,0,1,2,0,'Creacion de convenios colectivos de trabajo','fa fa-times-circle','',1,NULL,NULL,NULL),(23,0,1,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(24,0,1,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(25,0,2,2,1,'Total de Legajos','','50',1,NULL,NULL,NULL),(26,0,2,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(27,0,2,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(28,0,2,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(29,0,3,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(30,0,3,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(31,0,3,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(32,0,3,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(33,0,4,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(34,0,4,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(35,0,4,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(36,0,4,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(37,0,1,3,1,'Cant. Comprobantes','','100',1,NULL,NULL,NULL),(38,0,1,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(39,0,1,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(40,0,1,3,0,'Ventanilla Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(41,0,2,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(42,0,2,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(43,0,2,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(44,0,2,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(45,0,3,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(46,0,3,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(47,0,3,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(48,0,3,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL);
INSERT INTO `suscrip_planes_detail` VALUES (49,0,4,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(50,0,4,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(51,0,4,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(52,0,4,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(53,0,1,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(54,0,1,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(55,0,1,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(56,0,1,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(57,0,2,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(58,0,2,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(59,0,2,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(60,0,2,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(61,0,3,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(62,0,3,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(63,0,3,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(64,0,3,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(65,0,4,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(66,0,4,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(67,0,4,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(68,0,4,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(69,0,1,5,0,'Facturacion Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(70,0,1,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(71,0,1,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(72,0,1,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(73,0,2,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(74,0,2,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(75,0,2,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(76,0,2,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(77,0,3,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(78,0,3,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(79,0,3,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(80,0,3,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(81,0,4,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(82,0,4,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(83,0,4,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(84,0,4,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_actividad`
--

CREATE TABLE `syj_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` 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`),
  UNIQUE KEY `syj_actividad_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_actividad_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_actividad`
--

INSERT INTO `syj_actividad` VALUES (1,NULL,0,'Zona de Desastre. Decreto 1386/01',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Produccion Primaria excepto actividad agropec',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Produccion de bienes sin comercializacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Construccion de inmuebles',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Turismo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Investigacion Cientifica y Tecnologica',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,6,'Administracion Publica CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,7,'Enseñanza Privada L.13047 no comp.en D 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(9,NULL,8,'Servicio Domestico',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(10,NULL,9,'Servicios energeticos Res.MTESS 268 y 824/09',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(11,NULL,10,'UNIVERSIDADES PRIVADAS.Personal No Doc. D112',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(12,NULL,11,'Personal Permanente Disc.Emp.de Ss.Eventuales',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(13,NULL,12,'PIT-Programas Intensivos de Trabajo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(14,NULL,13,'Personal embarcado',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(15,NULL,14,'Personal embarcado Dec 1255 S/ res SSS 18/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(16,NULL,15,'LRT- Direct. SA,municipios,org cent y desc,Em',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(17,NULL,16,'No oblig con el SIJP(colegios,reciproc prev y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(18,NULL,17,'Oblig.al SIJP-sin Obra Social Nac(Adm Pub y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(19,NULL,18,'Prov incorp al SIJP sin obra social con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(20,NULL,19,'Provincia incorp al SIJP sin obra social sin',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(21,NULL,20,'Ley Nº 24.331 Zona Franca',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(22,NULL,21,'D Nº1024/93 Empr del Est,Org y Entes Pub c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(23,NULL,22,'D Nº1024/93 Empr del Est,Org y Entes Pub s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(24,NULL,23,'ILT para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(25,NULL,24,'ILPPP o ILPPD para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(26,NULL,25,'ILPTP para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(27,NULL,26,'ILT para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(28,NULL,27,'Servicio exterior Ley Nº22731',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(29,NULL,28,'ILPTP para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(30,NULL,29,'Pers embarc Dec 1255 S/res SSS 18/99 c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(31,NULL,30,'AFA Dec Nº1212/03 Aportante Autonomo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(32,NULL,31,'Trabajador Rural de la Armada Argentina Ley 2',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(33,NULL,32,'CSJN Corte Supr de Justicia, Magist Prov, Rev',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(34,NULL,33,'Representante Gremial en uso de licencia',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(35,NULL,34,'Docentes est nacionales CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(36,NULL,35,'Docentes est nacionales SIN OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(37,NULL,36,'Inv cientif tecnolog docente univ est nac c/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(38,NULL,37,'Inv cientif tecnolog docente univ est nac s/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (39,NULL,38,'Docentes privados Res 71/99 SSS Dec 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(40,NULL,39,'No Docentes Privados Res 71/99 SSS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(41,NULL,40,'Industria del software Ley Nº 25922',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(42,NULL,41,'Trabajador de la Const Ley 25345 art 36',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(43,NULL,42,'Asignaciones Familiares y FNE con OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(44,NULL,43,'Asignaciones Familiares y FNE sin OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(45,NULL,44,'Ley Nº 24061 Dto 249/92',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(46,NULL,45,'Prov incorp al SIJP c/OS Nac con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(47,NULL,46,'Prov incorp al SIJP con OS Nacional sin ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(48,NULL,47,'Ley Nº 15223 con Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(49,NULL,48,'Regimen nacional sin Obra Social nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(50,NULL,49,'Actividades no clasificadas',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(51,NULL,50,'POLICIA DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(52,NULL,51,'POLICIA DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(53,NULL,52,'POLICIA DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(54,NULL,53,'POLICIA DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(55,NULL,54,'POLICIA DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(56,NULL,55,'POLICIA DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(57,NULL,56,'POLICIA DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(58,NULL,57,'POLICIA DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(59,NULL,58,'POLICIA DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(60,NULL,59,'POLICIA DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(61,NULL,60,'SERVICIO PENITENCIARIO DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(62,NULL,61,'POLICIA METROPOLITANA DEL GOB DE LA CABA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(63,NULL,62,'Personal sin estado policial POLICIA METROP',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(64,NULL,63,'SERVICIO PENITENCIARIO DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(65,NULL,64,'SERVICIO PENITENCIARIO DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(66,NULL,65,'SERVICIO PENITENCIARIO DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(67,NULL,66,'SERVICIO PENITENCIARIO DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(68,NULL,67,'SERVICIO PENITENCIARIO DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(69,NULL,68,'SERVICO PENITENCIARIO DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(70,NULL,69,'Legisladores Nacionales(diputados y senadores',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(71,NULL,70,'SERVICIO PENITENCIARIO DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(72,NULL,71,'SERVICIO PENITENCIARIO DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(73,NULL,72,'SERVICIO PENITENCIARIO DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(74,NULL,73,'ILT p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(75,NULL,74,'ILPPP o ILPPD p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(76,NULL,75,'Docente de Prov incorp SIJP s/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(77,NULL,76,'Docente de Prov incorp SIJP s/OS Nac s/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(78,NULL,77,'Docente de Prov incorp SIJP c/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (79,NULL,78,'Invest cient tecnolog docente univ Prov inc S',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(80,NULL,79,'Invest cientif tecnolog Prov incorp al SIJP c',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(81,NULL,80,'ILPTP p/activ 01 02 03 04 05 11 13 49 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(82,NULL,81,'Funcionarios del PJ y otros Ley Nº24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(83,NULL,82,'Funcionarios del PE y otros Ley Nº 24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(84,NULL,83,'Presidente de la Nacion y Vicep de la Nacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(85,NULL,84,'Docentes Privados Res 71/99 SSS D 137/05 s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(86,NULL,85,'Magistrados Prov,Revisores de Cta-docentes',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(87,NULL,86,'Decreto 1474/2007 actividad minera',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(88,NULL,87,'Ley 26508 docentes univ c/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(89,NULL,88,'Ley 26508 docentes univ s/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(90,NULL,89,'ILPTP p/actividad 97',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(91,NULL,90,'ILT o ILPPP o ILPTP p/actividad 15',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(92,NULL,91,'Regimen previsional propio. OS L.23660 y 2471',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(93,NULL,92,'Res 71/99 SSS y otros',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(94,NULL,93,'UNIV PRIVADAS Personal Docente D 1123/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(95,NULL,94,'Decreto 953/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(96,NULL,95,'Ley Nº 15223 sin Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(97,NULL,96,'Pers Perm Disc Serv Event Alcanz p/Dto96/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(98,NULL,97,'Trabajador Agrario Ley 25191',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(99,NULL,98,'Zona de Desastre Dec Nº1386/01 Act Agropecuar',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(100,NULL,99,'Trabajador Agrario (excluido Ley 26727)',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(101,NULL,100,'CSJN Corte Supr de Justicia, Magistrados provinciales, Revisores de Cta sin ART',1,NULL,NULL,NULL),(102,NULL,101,'Magistrados provinciales, Revisores de Cta -docentes sin ART',1,NULL,NULL,NULL),(103,NULL,102,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 25191',1,NULL,NULL,NULL),(104,NULL,103,'Trabajador Agrario Ley 23808 y otros regímenes',1,NULL,NULL,NULL),(105,NULL,104,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 23808 y otros regímenes',1,NULL,NULL,NULL),(106,NULL,105,'Dto. 637/13. Personal civil de las Fuerzas Armadas y de Seguridad excepto personal civil docente perteneciente a otra OS',1,NULL,NULL,NULL),(107,NULL,106,'Administración Pública CON OBRA SOCIAL 23660 (con PAMI) Tipo de empleador especial',1,NULL,NULL,NULL),(108,NULL,107,'Serv. energéticos Res. MTESS 268 y 824/09 Empr del Estado, Org. y Entes Públicos (Dto. 1024/93) s/OS, c/FNE s/ As. Fs.',1,NULL,NULL,NULL),(109,NULL,108,'Serv. energéticos Res. MTESS 268 y 824/09 Emp. del estado y Org. y Entes públicos ( Dto. 1024/93) con OS y FNE sin As. Fs.',1,NULL,NULL,NULL),(110,NULL,109,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS)',1,NULL,NULL,NULL),(111,NULL,110,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS',1,NULL,NULL,NULL),(112,NULL,111,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS) sin ART',1,NULL,NULL,NULL),(113,NULL,112,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS sin ART',1,NULL,NULL,NULL),(114,NULL,113,'Policía Federal del Gobierno de la Ciudad de Buenos Aires',1,NULL,NULL,NULL);
INSERT INTO `syj_actividad` VALUES (115,NULL,117,'Obligados al SIJP -sin Obra Social Nacional (Adm Pub y otros) y SIN PAMI - Tipo de empleador especial',1,NULL,NULL,NULL),(116,NULL,119,'Detracción especial - Ley Nº 27430 - Textiles',1,NULL,NULL,NULL),(117,NULL,120,'Detracción Ampliada - Dcto. 128/2019',1,NULL,NULL,NULL),(118,NULL,122,'Trabajador Agrario. Ley 26727 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(119,NULL,123,'Trabajador Agrario Ley 25191 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(120,NULL,124,'Trabajador Agrario Ley 23808 y otros regímenes - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(121,NULL,125,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019 - Dcto. 34/2021 - Dcto 242/2021',1,NULL,NULL,NULL),(122,NULL,126,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019  -  Dcto. 34/2021 -  Dcto 242/2021',1,NULL,NULL,NULL),(123,NULL,127,'Actividades no clasificadas - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(124,NULL,128,'Ley Nº 15223 con obra social - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(125,NULL,129,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019',1,NULL,NULL,NULL),(126,NULL,130,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019.',1,NULL,NULL,NULL),(127,NULL,131,'Regimen previsional propio.  Obra Social L.23660 Y FNE',1,NULL,NULL,NULL),(128,NULL,132,'Economía del conocimiento - Ley 27.506. Art. 8',1,NULL,NULL,NULL),(129,NULL,133,'Economía del conocimiento - Ley 27.506. Art. 9',1,NULL,NULL,NULL),(130,NULL,901,'Poder judicial (sin ART)',1,NULL,NULL,NULL),(131,NULL,902,'Poder judicial (con ART)',1,NULL,NULL,NULL),(132,NULL,903,'Poder Legislativo (sin ART)',1,NULL,NULL,NULL),(133,NULL,904,'Poder Legislativo (con ART)',1,NULL,NULL,NULL),(134,NULL,905,'Empleo público en Gral. (sin ART)',1,NULL,NULL,NULL),(135,NULL,906,'Empleo público en Gral. (con ART)',1,NULL,NULL,NULL),(136,NULL,907,'Docente (sin ART)',1,NULL,NULL,NULL),(137,NULL,908,'Docente (con ART)',1,NULL,NULL,NULL),(138,NULL,909,'Fuerza de seguridad (sin ART)',1,NULL,NULL,NULL),(139,NULL,910,'Fuerza de seguridad (con ART)',1,NULL,NULL,NULL),(140,NULL,911,'No clasificados (sin ART)',1,NULL,NULL,NULL),(141,NULL,912,'No clasificados (con ART)',1,NULL,NULL,NULL),(142,NULL,913,'Prestadores de servicios (monotributo y/o autónomos)',1,NULL,NULL,NULL),(143,NULL,920,'No obligados al SIPA - informativo (sin ART)',1,NULL,NULL,NULL),(144,NULL,921,'No obligados al SIPA - informativo (con ART)',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_alicuota_aporte_contribucion`
--

CREATE TABLE `syj_alicuota_aporte_contribucion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apsijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `aposoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apadosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `alicvales` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cosijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coasigfam` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cofne` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `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 `syj_alicuota_aporte_contribucion_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_alicuota_aporte_contribucion_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_alicuota_aporte_contribucion`
--

INSERT INTO `syj_alicuota_aporte_contribucion` VALUES (1,NULL,0,'Administracion Publica',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Decreto 814/01, art 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Servicios Eventuales art. 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Provincias u otros',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Decreto 814/01 art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Servicios Eventuales art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,7,'Enseñanza Privada',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,0.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,8,'Decreto Nº 1212/03 AFA CLUBES',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);

--
