-- Table structure for table `lpg_granos`
--

CREATE TABLE `lpg_granos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_afip` int(10) unsigned 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=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_granos`
--

INSERT INTO `lpg_granos` VALUES (1,0,'Lino',1,1,NULL,NULL,NULL),(2,0,'Girasol',2,1,NULL,NULL,NULL),(3,0,'Maní en caja',3,1,NULL,NULL,NULL),(4,0,'Girasol Descascarado',4,1,NULL,NULL,NULL),(5,0,'Maní para industria de selección',5,1,NULL,NULL,NULL),(6,0,'Maní para industria aceitera',6,1,NULL,NULL,NULL),(7,0,'Maní tipo confitería',7,1,NULL,NULL,NULL),(8,0,'Colza',8,1,NULL,NULL,NULL),(9,0,'Colza “00”/Canola',9,1,NULL,NULL,NULL),(10,0,'Trigo forrajero',10,1,NULL,NULL,NULL),(11,0,'Cebada forrajera',11,1,NULL,NULL,NULL),(12,0,'Cebada apta para maltería',12,1,NULL,NULL,NULL),(13,0,'Trigo candeal',14,1,NULL,NULL,NULL),(14,0,'Trigo pan',15,1,NULL,NULL,NULL),(15,0,'Avena',16,1,NULL,NULL,NULL),(16,0,'Cebada cervecera',17,1,NULL,NULL,NULL),(17,0,'Centeno',18,1,NULL,NULL,NULL),(18,0,'Maíz',19,1,NULL,NULL,NULL),(19,0,'Mijo',20,1,NULL,NULL,NULL),(20,0,'Arroz cáscara',21,1,NULL,NULL,NULL),(21,0,'Sorgo granífero',22,1,NULL,NULL,NULL),(22,0,'Soja',23,1,NULL,NULL,NULL),(23,0,'Trigo blando',24,1,NULL,NULL,NULL),(24,0,'Trigo plata',25,1,NULL,NULL,NULL),(25,0,'Maíz flynt o plata',26,1,NULL,NULL,NULL),(26,0,'Maíz pisingallo',27,1,NULL,NULL,NULL),(27,0,'Triticale',28,1,NULL,NULL,NULL),(28,0,'Alpiste',30,1,NULL,NULL,NULL),(29,0,'Algodón',31,1,NULL,NULL,NULL),(30,0,'Cártamo',32,1,NULL,NULL,NULL),(31,0,'Poroto blanco natural oval y alubia',33,1,NULL,NULL,NULL),(32,0,'Poroto distinto del blanco oval y alubia',34,1,NULL,NULL,NULL),(33,0,'Arroz',35,1,NULL,NULL,NULL),(34,0,'Lenteja',46,1,NULL,NULL,NULL),(35,0,'Arveja',47,1,NULL,NULL,NULL),(36,0,'Poroto blanco seleccionado oval y alubia',48,1,NULL,NULL,NULL),(37,0,'Otras legumbres',49,1,NULL,NULL,NULL),(38,0,'Otros granos',50,1,NULL,NULL,NULL),(39,0,'Garbanzo',59,1,NULL,NULL,NULL);

--
-- Table structure for table `lpg_receipt_detail`
--

CREATE TABLE `lpg_receipt_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `lpg_receipt_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lpg_grano_id` int(10) unsigned NOT NULL,
  `cantidad` decimal(16,2) NOT NULL DEFAULT '0.00',
  `fac_elec_unidad_medida_id` int(10) unsigned NOT NULL,
  `precio` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` 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 `lpg_receipt_detail_lpg_receipt_id_foreign` (`lpg_receipt_id`),
  KEY `lpg_receipt_detail_saldo_id_foreign` (`saldo_id`),
  KEY `lpg_receipt_detail_lpg_grano_id_foreign` (`lpg_grano_id`),
  KEY `lpg_receipt_detail_fac_elec_unidad_medida_id_foreign` (`fac_elec_unidad_medida_id`),
  CONSTRAINT `lpg_receipt_detail_fac_elec_unidad_medida_id_foreign` FOREIGN KEY (`fac_elec_unidad_medida_id`) REFERENCES `fac_elec_unidad_medidas` (`id`),
  CONSTRAINT `lpg_receipt_detail_lpg_grano_id_foreign` FOREIGN KEY (`lpg_grano_id`) REFERENCES `lpg_granos` (`id`),
  CONSTRAINT `lpg_receipt_detail_lpg_receipt_id_foreign` FOREIGN KEY (`lpg_receipt_id`) REFERENCES `lpg_receipts` (`id`),
  CONSTRAINT `lpg_receipt_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_receipt_detail`
--


--
-- Table structure for table `lpg_receipts`
--

CREATE TABLE `lpg_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `num_comprobante` 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 `lpg_receipts_person_id_foreign` (`person_id`),
  KEY `lpg_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `lpg_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `lpg_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_receipts`
--


--
-- Table structure for table `mails`
--

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

--
-- Dumping data for table `mails`
--

INSERT INTO `mails` VALUES (1,NULL,'Principal',NULL,NULL,NULL),(2,NULL,'Segundo',NULL,NULL,NULL),(3,NULL,'Tercero',NULL,NULL,NULL),(4,NULL,'OP Proveedores',NULL,'2025-01-16 14:43:06',NULL),(5,NULL,'OP Clientes',NULL,'2025-01-16 14:43:06',NULL),(6,NULL,'Sexto',NULL,NULL,NULL),(7,NULL,'Septimo',NULL,NULL,NULL),(8,NULL,'Octavo',NULL,NULL,NULL),(9,NULL,'Noveno',NULL,NULL,NULL),(10,NULL,'Decimo',NULL,NULL,NULL),(11,NULL,'Otro',NULL,NULL,NULL);

--
-- Table structure for table `mails_details`
--

CREATE TABLE `mails_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `telefono` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `status` int(10) unsigned 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 `mails_details_mail_id_foreign` (`mail_id`),
  KEY `mails_details_person_id_foreign` (`person_id`),
  CONSTRAINT `mails_details_mail_id_foreign` FOREIGN KEY (`mail_id`) REFERENCES `mails` (`id`),
  CONSTRAINT `mails_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=262 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mails_details`
--

INSERT INTO `mails_details` VALUES (1,1,'clonar@gmail.com','1151036034',NULL,1,40719,1,'2023-02-16 08:53:05','2023-02-16 08:53:05',NULL),(8,10300,'taller@contenedoreshugo.com.ar',NULL,NULL,1,40818,1,'2024-03-31 20:30:53','2024-03-31 20:30:53',NULL),(9,10300,'martin@contenedoreshugo.com.ar',NULL,NULL,1,40819,1,'2024-04-02 14:02:55','2024-04-02 14:02:55',NULL),(10,10300,'gabriel@contenedoreshugo..com.ar',NULL,NULL,1,40820,1,'2024-04-02 14:06:04','2024-04-02 14:06:04',NULL),(14,NULL,NULL,'3221-0527/5577/3227 - 03327-560808 - 2153-0691',NULL,1,41192,1,'2024-04-25 09:56:19','2024-04-25 09:56:19',NULL),(15,NULL,NULL,'4485-8210',NULL,1,41679,1,'2024-04-25 09:56:27','2024-04-25 09:56:27',NULL),(16,NULL,NULL,'1150379269',NULL,1,41800,1,'2024-04-25 09:56:29','2024-04-25 09:56:29',NULL),(17,NULL,NULL,'1530552914',NULL,1,41827,1,'2024-04-25 09:56:30','2024-04-25 09:56:30',NULL),(18,NULL,NULL,'4686-2101',NULL,1,41861,1,'2024-04-25 09:56:30','2024-04-25 09:56:30',NULL),(19,NULL,NULL,'4208-7311 - Victoria 1535871442',NULL,1,41890,1,'2024-04-25 09:56:31','2024-04-25 09:56:31',NULL),(20,NULL,NULL,'4686-0333/ 153069-8359',NULL,1,41954,1,'2024-04-25 09:56:32','2024-04-25 09:56:32',NULL),(21,NULL,NULL,'4488-3887',NULL,1,41966,1,'2024-04-25 09:56:32','2024-04-25 09:56:32',NULL),(22,NULL,NULL,'4309-9100',NULL,1,41981,1,'2024-04-25 09:56:32','2024-04-25 09:56:32',NULL),(23,NULL,NULL,'5353-9240 6334-0000',NULL,1,42018,1,'2024-04-25 09:56:32','2024-04-25 09:56:32',NULL),(24,NULL,NULL,'4745-4452',NULL,1,42045,1,'2024-04-25 09:56:33','2024-04-25 09:56:33',NULL),(25,NULL,NULL,'4215-2710',NULL,1,42067,1,'2024-04-25 09:56:33','2024-04-25 09:56:33',NULL),(26,NULL,NULL,'4687-6078',NULL,1,42068,1,'2024-04-25 09:56:33','2024-04-25 09:56:33',NULL),(27,NULL,NULL,'4459-4692/4149 4450-6668',NULL,1,42246,1,'2024-04-25 09:56:36','2024-04-25 09:56:36',NULL),(29,NULL,NULL,'4454-2094',NULL,1,42260,1,'2024-04-25 09:56:36','2024-04-25 09:56:36',NULL),(30,NULL,NULL,'4652-8951 11658542160 (Hector)',NULL,1,42261,1,'2024-04-25 09:56:36','2024-04-25 09:56:36',NULL),(31,NULL,NULL,'4838-3200',NULL,1,42325,1,'2024-04-25 09:56:37','2024-04-25 09:56:37',NULL),(32,NULL,NULL,'4296-7424',NULL,1,42336,1,'2024-04-25 09:56:37','2024-04-25 09:56:37',NULL),(33,NULL,NULL,'1153659812',NULL,1,42389,1,'2024-04-25 09:56:38','2024-04-25 09:56:38',NULL),(34,NULL,NULL,'4298-1880',NULL,1,42428,1,'2024-04-25 09:56:39','2024-04-25 09:56:39',NULL),(35,NULL,NULL,'3327444834',NULL,1,42462,1,'2024-04-25 09:56:39','2024-04-25 09:56:39',NULL),(36,NULL,NULL,'4467-6716',NULL,1,42469,1,'2024-04-25 09:56:39','2024-04-25 09:56:39',NULL),(37,NULL,NULL,'4657-9560',NULL,1,42519,1,'2024-04-25 09:56:40','2024-04-25 09:56:40',NULL),(38,NULL,NULL,'4604-0634',NULL,1,42562,1,'2024-04-25 09:56:41','2024-04-25 09:56:41',NULL),(39,NULL,NULL,'155931 1293',NULL,1,42614,1,'2024-04-25 09:56:41','2024-04-25 09:56:41',NULL),(40,NULL,NULL,'4208-7311 Victoria 1535871442',NULL,1,42632,1,'2024-04-25 09:56:42','2024-04-25 09:56:42',NULL),(41,NULL,NULL,'4924-7668',NULL,1,42645,1,'2024-04-25 09:56:42','2024-04-25 09:56:42',NULL),(42,NULL,NULL,'4924-7668',NULL,1,42646,1,'2024-04-25 09:56:42','2024-04-25 09:56:42',NULL),(43,NULL,NULL,'4652- 4365',NULL,1,42737,1,'2024-04-25 09:56:43','2024-04-25 09:56:43',NULL),(44,NULL,NULL,'6068-6220',NULL,1,42760,1,'2024-04-25 09:56:44','2024-04-25 09:56:44',NULL),(45,NULL,NULL,'2075-9340',NULL,1,42772,1,'2024-04-25 09:56:44','2024-04-25 09:56:44',NULL),(46,NULL,NULL,'2082-3679',NULL,1,42944,1,'2024-04-25 09:56:47','2024-04-25 09:56:47',NULL),(47,NULL,NULL,'4201-1565',NULL,1,43123,1,'2024-04-25 09:56:49','2024-04-25 09:56:49',NULL),(48,NULL,NULL,'5263-0613',NULL,1,43138,1,'2024-04-25 09:56:50','2024-04-25 09:56:50',NULL),(49,NULL,NULL,'4687-4261',NULL,1,43146,1,'2024-04-25 09:56:50','2024-04-25 09:56:50',NULL),(50,NULL,NULL,'4755-9517/3021',NULL,1,43153,1,'2024-04-25 09:56:50','2024-04-25 09:56:50',NULL),(51,NULL,NULL,'4635-2502/1632',NULL,1,43164,1,'2024-04-25 09:56:50','2024-04-25 09:56:50',NULL);
INSERT INTO `mails_details` VALUES (52,NULL,NULL,'4919-2332/4918-8692',NULL,1,43200,1,'2024-04-25 09:56:51','2024-04-25 09:56:51',NULL),(53,NULL,NULL,'4726-9523 / 24',NULL,1,43256,1,'2024-04-25 09:56:52','2024-04-25 09:56:52',NULL),(54,NULL,NULL,'4751-8001i7413i7252/1948//4335-3500i4102/03 tesctro',NULL,1,43271,1,'2024-04-25 09:56:52','2024-04-25 09:56:52',NULL),(55,NULL,NULL,'4231-8014/8015 elizabeh casais Adm',NULL,1,43304,1,'2024-04-25 09:56:53','2024-04-25 09:56:53',NULL),(56,NULL,NULL,'0237-4622467',NULL,1,43319,1,'2024-04-25 09:56:53','2024-04-25 09:56:53',NULL),(57,NULL,NULL,'4454-0036',NULL,1,43382,1,'2024-04-25 09:56:54','2024-04-25 09:56:54',NULL),(58,NULL,NULL,'1521562121 SANDRO FLORES/Hector PEREZ MTO.MUNRO',NULL,1,43436,1,'2024-04-25 09:56:55','2024-04-25 09:56:55',NULL),(59,NULL,NULL,'4482 - 6761',NULL,1,43439,1,'2024-04-25 09:56:55','2024-04-25 09:56:55',NULL),(60,NULL,NULL,'2120-3010',NULL,1,43475,1,'2024-04-25 09:56:56','2024-04-25 09:56:56',NULL),(61,NULL,NULL,'4744-7945/',NULL,1,43635,1,'2024-04-25 09:56:58','2024-04-25 09:56:58',NULL),(62,NULL,NULL,'4687-6001/6400 i171',NULL,1,43640,1,'2024-04-25 09:56:58','2024-04-25 09:56:58',NULL),(63,NULL,NULL,'4294-8534/4238-6346',NULL,1,43657,1,'2024-04-25 09:56:59','2024-04-25 09:56:59',NULL),(64,NULL,NULL,'5238-6070',NULL,1,43745,1,'2024-04-25 09:57:00','2024-04-25 09:57:00',NULL),(65,NULL,NULL,'4657-0920i184/4701-4905 op3',NULL,1,43822,1,'2024-04-25 09:57:02','2024-04-25 09:57:02',NULL),(66,NULL,NULL,'Fábrica 11-7519-9950 / Ventas 11-2222-5555',NULL,1,43993,1,'2024-04-25 09:57:08','2024-04-25 09:57:08',NULL),(67,NULL,NULL,'FEDERICO 1557092543',NULL,1,44073,1,'2024-04-25 09:57:09','2024-04-25 09:57:09',NULL),(68,NULL,NULL,'4627-6069',NULL,1,44076,1,'2024-04-25 09:57:09','2024-04-25 09:57:09',NULL),(69,NULL,NULL,'4292-8866',NULL,1,44268,1,'2024-04-25 09:57:13','2024-04-25 09:57:13',NULL),(70,NULL,NULL,'3750-0322 3750-3525',NULL,1,44348,1,'2024-04-25 09:57:14','2024-04-25 09:57:14',NULL),(71,NULL,NULL,'7700-1144',NULL,1,44406,1,'2024-04-25 09:57:15','2024-04-25 09:57:15',NULL),(72,NULL,NULL,'4965-2900 pagos',NULL,1,44514,1,'2024-04-25 09:57:17','2024-04-25 09:57:17',NULL),(73,NULL,NULL,'4571-6713 Fernando',NULL,1,44544,1,'2024-04-25 09:57:17','2024-04-25 09:57:17',NULL),(74,NULL,NULL,'4621-1589/2030',NULL,1,44557,1,'2024-04-25 09:57:18','2024-04-25 09:57:18',NULL),(75,NULL,NULL,'4382-1822',NULL,1,44690,1,'2024-04-25 09:57:20','2024-04-25 09:57:20',NULL),(76,NULL,NULL,'4555-1115 int.35',NULL,1,44704,1,'2024-04-25 09:57:20','2024-04-25 09:57:20',NULL),(77,NULL,NULL,'4601-0503 / 0659',NULL,1,44717,1,'2024-04-25 09:57:21','2024-04-25 09:57:21',NULL),(78,NULL,NULL,'JULIAN 1158106916',NULL,1,44789,1,'2024-04-25 09:57:23','2024-04-25 09:57:23',NULL),(79,NULL,NULL,'4238-8647 / 3991',NULL,1,44834,1,'2024-04-25 09:57:23','2024-04-25 09:57:23',NULL),(80,NULL,NULL,'4321-6600',NULL,1,44957,1,'2024-04-25 09:57:26','2024-04-25 09:57:26',NULL),(81,NULL,NULL,'15 6260-6080',NULL,1,44989,1,'2024-04-25 09:57:26','2024-04-25 09:57:26',NULL),(82,NULL,NULL,'7529-4929 / 15-3053-4620',NULL,1,45222,1,'2024-04-25 09:57:31','2024-04-25 09:57:31',NULL),(83,NULL,NULL,'11-5690-2082',NULL,1,45243,1,'2024-04-25 09:57:31','2024-04-25 09:57:31',NULL),(84,NULL,NULL,'ORIANA 1122937674/ Leo 1169726927',NULL,1,45265,1,'2024-04-25 09:57:31','2024-04-25 09:57:31',NULL),(85,NULL,NULL,'3221-9061',NULL,1,45320,1,'2024-04-25 09:57:32','2024-04-25 09:57:32',NULL),(86,NULL,NULL,'15 3818-7776',NULL,1,45326,1,'2024-04-25 09:57:32','2024-04-25 09:57:32',NULL),(87,NULL,NULL,'4831-4110',NULL,1,45327,1,'2024-04-25 09:57:32','2024-04-25 09:57:32',NULL),(88,NULL,NULL,'4301-5852',NULL,1,45328,1,'2024-04-25 09:57:32','2024-04-25 09:57:32',NULL),(89,NULL,NULL,'15 2177-8548',NULL,1,45329,1,'2024-04-25 09:57:32','2024-04-25 09:57:32',NULL),(90,NULL,NULL,'4622-5180',NULL,1,45330,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(91,NULL,NULL,'4396-1004/5/6',NULL,1,45331,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL);
INSERT INTO `mails_details` VALUES (92,NULL,NULL,'4312-3503',NULL,1,45332,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(93,NULL,NULL,'4966-2005',NULL,1,45333,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(94,NULL,NULL,'4327-1010',NULL,1,45334,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(95,NULL,NULL,'4784-2326',NULL,1,45335,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(96,NULL,NULL,'4312-2977',NULL,1,45336,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(97,NULL,NULL,'4903-7486',NULL,1,45337,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(98,NULL,NULL,'4322-8567',NULL,1,45338,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(99,NULL,NULL,'4129-3400',NULL,1,45339,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(100,NULL,NULL,'4129 - 0700',NULL,1,45341,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(101,NULL,NULL,'3984-7200',NULL,1,45342,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(102,NULL,NULL,'15 5898-7880',NULL,1,45343,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(103,NULL,NULL,'15 6788-5991986',NULL,1,45344,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(104,NULL,NULL,'5263-9804',NULL,1,45345,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(105,NULL,NULL,'4453-1828',NULL,1,45346,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(106,NULL,NULL,'15 3606-9210 - 1139099091',NULL,1,45347,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(107,NULL,NULL,'4329-1963 - MARCELO',NULL,1,42046,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(108,NULL,NULL,'15 2512-1869',NULL,1,45348,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(109,NULL,NULL,'15 6715-1117',NULL,1,45349,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(110,NULL,NULL,'1170088102',NULL,1,45351,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(111,NULL,NULL,'4240-8134',NULL,1,45352,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(112,NULL,NULL,'15 6222-3003',NULL,1,45353,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(113,NULL,NULL,'15 3659-5688',NULL,1,45354,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(114,NULL,NULL,'4218-5767',NULL,1,45355,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(115,NULL,NULL,'2065-6069',NULL,1,45356,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(116,NULL,NULL,'4572-1476',NULL,1,45357,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(117,NULL,NULL,'4241-5196',NULL,1,45359,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(118,NULL,NULL,'15 3302-8867',NULL,1,45360,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(119,NULL,NULL,'4831-9060',NULL,1,45361,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(120,NULL,NULL,'4641-9719',NULL,1,45362,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(121,NULL,NULL,'4647-2070',NULL,1,45363,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(122,NULL,NULL,'15 5263-8898',NULL,1,45364,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(123,NULL,NULL,'3191-7997',NULL,1,45365,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(124,NULL,NULL,'4398-0487',NULL,1,45366,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(125,NULL,NULL,'4654-5210',NULL,1,45367,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(126,NULL,NULL,'0220-4832786',NULL,1,45368,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(127,NULL,NULL,'4815-1620',NULL,1,45369,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(128,NULL,NULL,'4301-2998',NULL,1,45370,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(129,NULL,NULL,'4713-5353',NULL,1,45371,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(130,NULL,NULL,'4757-0897',NULL,1,45372,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(131,NULL,NULL,'4252-7294',NULL,1,45373,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(132,NULL,NULL,'4233-0177/78',NULL,1,45374,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(133,NULL,NULL,'4432-4914',NULL,1,45375,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL);
INSERT INTO `mails_details` VALUES (134,NULL,NULL,'4763-6052/2613/6020',NULL,1,45376,1,'2024-04-25 09:57:33','2024-04-25 09:57:33',NULL),(135,NULL,NULL,'4739-1100',NULL,1,45377,1,'2024-04-25 09:57:34','2024-04-25 09:57:34',NULL),(136,NULL,NULL,'4776-3500',NULL,1,45378,1,'2024-04-25 09:57:34','2024-04-25 09:57:34',NULL),(137,NULL,NULL,'4739-4340',NULL,1,45394,1,'2024-04-25 09:57:34','2024-04-25 09:57:34',NULL),(138,NULL,NULL,'3985-7800',NULL,1,45462,1,'2024-04-25 09:57:35','2024-04-25 09:57:35',NULL),(139,NULL,NULL,'4503-2460',NULL,1,45475,1,'2024-04-25 09:57:35','2024-04-25 09:57:35',NULL),(140,NULL,NULL,'15 2512-1869',NULL,1,45541,1,'2024-04-25 09:57:38','2024-04-25 09:57:38',NULL),(141,NULL,NULL,'7710-1362',NULL,1,45543,1,'2024-04-25 09:57:38','2024-04-25 09:57:38',NULL),(142,NULL,NULL,'4752-5082 / 2143-4424',NULL,1,45625,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(143,NULL,NULL,'15 4445-5903',NULL,1,45646,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(144,NULL,NULL,'15 5325-6539',NULL,1,45647,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(145,NULL,NULL,'15 5816-0063',NULL,1,45648,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(146,NULL,NULL,'3353-8722',NULL,1,45649,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(147,NULL,NULL,'15 4403-5111',NULL,1,45651,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(148,NULL,NULL,'4838-2000/2',NULL,1,45653,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(149,NULL,NULL,'4218-3784/3647*',NULL,1,45654,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(150,NULL,NULL,'02229-491257/339',NULL,1,45655,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(151,NULL,NULL,'0237-4843479',NULL,1,45656,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(152,NULL,NULL,'4723-0906',NULL,1,45657,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(153,NULL,NULL,'4948-9174',NULL,1,45658,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(154,NULL,NULL,'4241-1020/1022',NULL,1,45660,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(155,NULL,NULL,'7516-7075',NULL,1,45661,1,'2024-04-25 09:57:40','2024-04-25 09:57:40',NULL),(156,NULL,NULL,'4222-3555',NULL,1,45668,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(157,NULL,NULL,'4218-2078 / 2486',NULL,1,45669,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(158,NULL,NULL,'4740-7170/7190',NULL,1,45670,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(159,NULL,NULL,'5755-4953',NULL,1,45671,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(160,NULL,NULL,'4263-0763',NULL,1,45672,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(161,NULL,NULL,'15 5889-4183',NULL,1,45677,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(162,NULL,NULL,'0237645-4625',NULL,1,45682,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(163,NULL,NULL,'15 3174-4954',NULL,1,45683,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(164,NULL,NULL,'15 5644-0788',NULL,1,45684,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(165,NULL,NULL,'4177-4483 /',NULL,1,45685,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(166,NULL,NULL,'4401-4101',NULL,1,45686,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(167,NULL,NULL,'4208-1928',NULL,1,45688,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(168,NULL,NULL,'03327-575939',NULL,1,45689,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(169,NULL,NULL,'4590-5700',NULL,1,45690,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(170,NULL,NULL,'4452-0759',NULL,1,45691,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(171,NULL,NULL,'0221-4452203',NULL,1,45692,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(172,NULL,NULL,'5279-0000 INT 1812',NULL,1,45693,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(173,NULL,NULL,'15 3770-9320',NULL,1,45696,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(174,NULL,NULL,'4218-1500',NULL,1,45697,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(175,NULL,NULL,'1168866450 (MILAGROS)',NULL,1,45698,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL);
INSERT INTO `mails_details` VALUES (176,NULL,NULL,'4838-0553',NULL,1,45699,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(177,NULL,NULL,'11 6097-6177',NULL,1,45700,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(178,NULL,NULL,'11 6097-5050',NULL,1,45701,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(179,NULL,NULL,'4270-3150',NULL,1,45702,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(180,NULL,NULL,'2204-8057',NULL,1,45703,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(181,NULL,NULL,'11 6616-9889',NULL,1,45704,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(182,NULL,NULL,'11 5482-1212',NULL,1,45706,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(183,NULL,NULL,'0221-5965552',NULL,1,45708,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(184,NULL,NULL,'11 6134-2197',NULL,1,45709,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(185,NULL,NULL,'4571-7541',NULL,1,45710,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(186,NULL,NULL,'4687-4396',NULL,1,45712,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(187,NULL,NULL,'2152-6030 INT. 6065*',NULL,1,45716,1,'2024-04-25 09:57:41','2024-04-25 09:57:41',NULL),(188,NULL,NULL,'DIEGO KLOSS 11 4947-8367 / ADRIANA BERNAT 11 2241-4618',NULL,1,45718,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(189,NULL,NULL,'4249-4136',NULL,1,45719,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(190,NULL,NULL,'4886-4543',NULL,1,45720,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(191,NULL,NULL,'4750-5232',NULL,1,45721,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(192,NULL,NULL,'4768-5725',NULL,1,45722,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(193,NULL,NULL,'4488-3973/4653-2695I107',NULL,1,45723,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(194,NULL,NULL,'4755-1800',NULL,1,45724,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(195,NULL,NULL,'02320-15690002',NULL,1,45726,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(196,NULL,NULL,'3797-66154',NULL,1,45727,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(197,NULL,NULL,'11 5049-3845',NULL,1,45729,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(198,NULL,NULL,'156-622-8191',NULL,1,45730,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(199,NULL,NULL,'4693-6233',NULL,1,45731,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(200,NULL,NULL,'4444-1464',NULL,1,45732,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(201,NULL,NULL,'11 4947-8631',NULL,1,45734,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(202,NULL,NULL,'15 6457-7759',NULL,1,45735,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(203,NULL,NULL,'153285-6644local Claudio/1561676416AdmSoledad',NULL,1,45736,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(204,NULL,NULL,'0223-5464916',NULL,1,45737,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(205,NULL,NULL,'3625-1504',NULL,1,45738,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(206,NULL,NULL,'11-4023-6478',NULL,1,45740,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(207,NULL,NULL,'15 5137-5616',NULL,1,45741,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(208,NULL,NULL,'5071-9000',NULL,1,45742,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(209,NULL,NULL,'2',NULL,1,45743,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(210,NULL,NULL,'4808-8763',NULL,1,45744,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(211,NULL,NULL,'15 5185-7312',NULL,1,45745,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(212,NULL,NULL,'5290-6933',NULL,1,45747,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(214,NULL,NULL,'15 2410-2752',NULL,1,45749,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(215,NULL,NULL,'4237-4090',NULL,1,45750,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(216,NULL,NULL,'15 3598-0410',NULL,1,45751,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(217,NULL,NULL,'15 6234-4952',NULL,1,45752,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL);
INSERT INTO `mails_details` VALUES (218,NULL,NULL,'4574-3100 - 4574-3100 INT.13',NULL,1,45754,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(219,NULL,NULL,'11 6177-9339',NULL,1,45755,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(220,NULL,NULL,'4983-1008',NULL,1,45757,1,'2024-04-25 09:57:42','2024-04-25 09:57:42',NULL),(221,NULL,NULL,'15 3372-1831 - JUAN SABANE 15 26525691',NULL,1,45758,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(222,NULL,NULL,'154419-0686/1544190575roque//4303.3131i215BARRACAS',NULL,1,45759,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(223,NULL,NULL,'4752-7992',NULL,1,45760,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(224,NULL,NULL,'11 3978-0372',NULL,1,45761,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(225,NULL,NULL,'11 2163-1834',NULL,1,45763,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(226,NULL,NULL,'2065-6069',NULL,1,45765,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(227,NULL,NULL,'4544-7751',NULL,1,45766,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(228,NULL,NULL,'4655-1967',NULL,1,45768,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(229,NULL,NULL,'2124-4258',NULL,1,45769,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(230,NULL,NULL,'5071-9000 - 15 5348-6372',NULL,1,45772,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(231,NULL,NULL,'4302-0849 INT. 112',NULL,1,45773,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(232,NULL,NULL,'4627-6866',NULL,1,45774,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(233,NULL,NULL,'15 5899-4272',NULL,1,45775,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(234,NULL,NULL,'4734-4009',NULL,1,45776,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(235,NULL,NULL,'1539393899 EZEQUIEL',NULL,1,45779,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(236,NULL,NULL,'4453-8860/7',NULL,1,45780,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(237,NULL,NULL,'03329 15548139/5252-0303 adm',NULL,1,45781,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(238,NULL,NULL,'2255-2287',NULL,1,45782,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(239,NULL,NULL,'15 5314-0323 vanesa/1540286986 ezequiel',NULL,1,45783,1,'2024-04-25 09:57:43','2024-04-25 09:57:43',NULL),(240,NULL,NULL,'4687-8515/1850',NULL,1,45876,1,'2024-04-25 09:57:45','2024-04-25 09:57:45',NULL),(241,NULL,NULL,'4644- 6066',NULL,1,45920,1,'2024-04-25 09:57:46','2024-04-25 09:57:46',NULL),(242,NULL,NULL,'2087-3704 / 2086- 0031 PROV int 7',NULL,1,45942,1,'2024-04-25 09:57:46','2024-04-25 09:57:46',NULL),(243,NULL,NULL,'43156537 INT 212/213',NULL,1,45956,1,'2024-04-25 09:57:46','2024-04-25 09:57:46',NULL),(244,NULL,NULL,'11-4076-9513 / 5263-0558',NULL,1,45961,1,'2024-04-25 09:57:46','2024-04-25 09:57:46',NULL),(245,NULL,NULL,'4581-3586 4588-0884',NULL,1,46488,1,'2024-04-25 09:57:55','2024-04-25 09:57:55',NULL),(246,NULL,NULL,'4319-8006 / 7',NULL,1,45899,1,'2024-04-25 09:58:02','2024-04-25 09:58:02',NULL),(250,10353,NULL,'4611-5258',NULL,1,45748,1,'2024-05-24 16:26:20','2024-05-24 16:26:20',NULL),(257,10353,NULL,'4693-1612',NULL,1,42249,1,'2024-06-05 21:25:58','2024-06-05 21:25:58',NULL),(258,10353,'taller@contenedoreshugo.com.ar','1156377438','prueba',1,40839,1,'2024-06-05 21:55:42','2024-06-05 21:55:42',NULL),(260,10300,'hugo@contenedoreshugo.com.ar','1169154803',NULL,1,40817,1,'2024-06-07 05:41:42','2024-06-07 05:41:42',NULL),(261,10220,'prueba@gmail.com',NULL,'',1,40718,1,'2024-12-10 11:44:31','2024-12-10 11:44:31',NULL);

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1333 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2017_09_15_000000_CreateCountrysTable',1),(4,'2017_09_15_100000_CreateStatesTable',1),(5,'2017_09_15_221521_create_modules_table',1),(6,'2017_09_15_224048_create_usermodules_table',1),(7,'2017_12_04_172644_CreateTableActivitites',1),(8,'2017_12_04_181801_CreateTableReceiptTypes',1),(9,'2017_12_04_182416_CreateTableRetentionType',1),(10,'2017_12_04_190828_CreateTableTypes',1),(11,'2017_12_04_191413_CreateTableRetentions',1),(12,'2017_12_04_191537_CreateTableIIBBRetentions',1),(13,'2017_12_04_192126_CreateTableSystemTaxes',1),(14,'2017_12_04_202132_CreateTableZones',1),(15,'2017_12_04_210000_CreateTableOtherTaxes',1),(16,'2017_12_07_200000_CreateTableTaxAccounts',1),(17,'2017_12_07_202200_CreateTableStatus',1),(18,'2017_12_07_204438_CreateTablePersons',1),(19,'2017_12_07_204500_CreateTablePersonZones',1),(20,'2017_12_07_205029_CreateTablePeriods',1),(21,'2017_12_07_205700_CreateTableReceipts',1),(22,'2017_12_07_205819_CreateTableReceiptTaxes',1),(23,'2017_12_16_025744_CreateTableUserPersons',1),(24,'2018_02_01_205100_CreateTablePeriodLiquidation',1),(25,'2018_02_02_150420_ModPeriodLiq_CreateDetail',1),(26,'2018_02_06_162435_CreateTablePersonConfigurations',1),(27,'2018_03_07_162435_CreateTablesLiqIVA',1),(28,'2018_03_18_000010_IVAGroups',1),(29,'2018_03_20_000010_InsertsRT',1),(30,'2018_03_21_000010_UpdateRT',1),(31,'2018_03_26_232558_InsertsModules',1),(32,'2018_03_28_151014_CreateTablesBusinessModule',1),(33,'2018_04_11_124200_ModBusinessModule',1),(34,'2018_04_17_153900_ModBusinessModule2',1),(35,'2018_04_20_115000_TableBaseMonthsForPeriods',1),(36,'2018_04_24_155000_ModAddUsersBusiness',1),(37,'2018_04_27_162700_BusinessFieldsEmpresaMadre',1),(38,'2018_05_04_144100_BusinessViewValidateSave',1),(39,'2018_05_18_110400_FileUplodsBase_XLS',2),(40,'2018_05_30_183700_alter__system_taxes_to_system_taxese',3),(41,'2018_05_30_220512_alter__system_taxes__add__status',3),(42,'2018_05_31_221821_update_data_types',4),(43,'2018_06_03_1341_ProcedureAssingPeriodsTo',5),(44,'2018_06_04_001420_create_reportes_table',5),(45,'2018_06_04_2159_ProcedureReportesComprobantes',5),(46,'2018_06_05_104818_update_receipt_types__column__code',5),(47,'2018_06_05_171044_update__system__taxes__gravado0',5),(48,'2018_06_06_010459_create_procedure_creacion_empresa_usuario',5),(49,'2018_06_06_110700_UpdateReportesRutas',6),(50,'2018_06_07_011985_create_procedure_eliminasion_masiva_comprobantes',7),(51,'2018_06_09_141500_UpdateReportesRutasTableroAndModules',8),(52,'2018_06_10_203200_CreateViewReceiptsReports',9),(53,'2018_06_11_114580_UpdateTypesEliminacionMasiva',9),(54,'2018_06_19_110400_TableControlGeneral',10),(57,'2018_06_19_158985_InsertsModules_Control_General',11),(58,'2018_06_22_203200_CreateViewLiquidacionesIVA',12),(61,'2018_06_27_204440_alter_Table_Person_Configuration',13),(70,'2018_07_01_110401_InsertsModules_ClavesYMails',17),(71,'2018_07_01_110400_TableClavesYMails',18),(72,'2018_06_27_204436_CreateTableMails',19),(73,'2018_06_27_204437_CreateTableMailsDetails',19),(74,'2018_06_27_204438_CreateTableClaves',19),(75,'2018_06_27_204439_CreateTableClavesDetails',19),(76,'2018_07_07_011985_alter_procedure_eliminasion_masiva_comprobantes',20),(77,'2018_07_08_110400_UpdateTableClavesYMails',21),(78,'2018_07_11_011985_alter_procedure_eliminasion_masiva_comprobantes',22),(79,'2018_07_11_010459_alter_procedure_creacion_empresa_usuario',23),(80,'2018_07_15_110401_InsertsModules_Informacion',24),(81,'2018_07_17_110400_AddRegistroClavesYMails',25),(82,'2018_07_17_204439_CreateTableCharlasDetails',25),(83,'2018_07_11_011985_alter_procedure_eliminasion_masiva_comprobantes2',26),(90,'2018_07_18_110410_AddRegistroControlGeneral',26),(92,'2018_07_19_110404_SP_LiquidacionesHijas',26),(95,'2018_07_18_110400_TableVtoImpuestos',27),(96,'2018_07_18_110401_TableVtoFinCuit',27),(97,'2018_07_18_110402_TableImpuestoFinCuit',27);
INSERT INTO `migrations` VALUES (98,'2018_07_18_110403_TableVtoVencimiento',27),(99,'2018_07_18_110405_TableCategoriaImpuesto',27),(100,'2018_07_18_110409_TablePerson_Impuesto',27),(102,'2018_07_18_110412_CreateView_VencimientosAnuales',27),(103,'2018_07_18_110412_CreateView_liquidaciones_iibb',28),(104,'2018_07_18_110413_AddRegistroControlGeneral2',28),(105,'2018_07_18_110414_AddColumnTablePerson_Impuesto',28),(107,'2018_07_27_110400_InsertsModules_Impuestos',30),(115,'2018_07_29_110405_AddTypesAsientoSueldos',32),(116,'2018_07_29_110398_TableContaTipoCuentas',33),(117,'2018_07_29_110399_TableContaTipoSaldos',33),(118,'2018_07_29_110400_TableContaPlanCuenta',33),(119,'2018_07_29_110401_TableContaTipoDeAsientos',33),(126,'2018_08_06_110400_CreateTableEjerciciosAnteriores',36),(127,'2018_08_06_110400_AddTypesExportar',37),(128,'2018_08_12_110404_SP_LiquidacionesHijasActualizadas',38),(129,'2018_08_16_110400_AddReporteIVA',39),(130,'2018_08_16_110401_EditReporteLiquidacionesIIBB',39),(135,'2018_08_26_110400_InsertsModules_MonotributoIIBB',41),(136,'2018_08_66_110401_CreateTableCategoriasMonotributo',41),(139,'2018_08_22_093000_SP_LiquidacionesHijasFiltrosCorregidos',42),(140,'2018_08_30_110400_SP_DeleteLiquidationStatus1',43),(141,'2018_09_02_110400_SP_AsientoSueldo',44),(142,'2018_09_02_110401_SP_IIBBGasto',44),(143,'2018_09_02_110402_SP_ProyecGanancias',44),(144,'2018_09_02_110403_SP_RetencionesGanancias',44),(145,'2018_09_02_110404_SP_AnticiposGanancias',44),(146,'2018_09_03_110400_CreateViewLiquidacionesIVACorregida',45),(147,'2018_09_03_110401_CreateView_liquidaciones_iibbCorregida',45),(148,'2018_06_29_114600_CreateView_Proyeccion_Ganancias',46),(149,'2018_08_01_110401_CreateView_IIBB_Gasto',46),(150,'2018_08_05_110401_CreateView_AntGanan_SIRCREB_Compen',46),(151,'2018_08_01_110400_CreateView_Asientos',47),(152,'2018_08_05_110400_CreateView_RetencionesGanancias',47),(153,'2018_08_27_110400_CreateView_ProyecGananciasAll',48),(154,'2018_08_31_161300_TablesFacturaElectronica',49),(155,'2018_09_06_110400_InsertsModules_CtasCtes',50),(160,'2018_09_15_110400_AddColumnTablePersonConfiguration',50),(161,'2018_09_18_110400_InsertsModules_Bancos',50),(162,'2018_09_19_110400_SP_assingFromPeriodsPerson',51),(169,'2018_07_29_110402_TableContaAsientos',53),(170,'2018_07_29_110404_TableContaAsientosDetails',53),(171,'2018_09_10_110402_CreateView_CtaCteAsientos',53),(172,'2018_09_13_110400_AddColumnTableContaAsientos',53),(173,'2018_09_10_110400_CreateView_CtaCteSaldosCajas',54),(174,'2018_09_21_110400_AddColumnTableContaAsientosDebeHaber',54),(175,'2018_09_23_110400_InsertsModules_Gastos',54),(176,'2018_09_23_110401_TableCtaCteTiposDeGastos',54),(177,'2018_09_23_110402_TableCtaCteCuentaTipo',54),(178,'2018_09_23_110403_TableCtaCteCentrosCostos',54),(179,'2018_09_24_110400_TableCtaCteGastosMensuales',54),(180,'2018_09_27_110400_AddColumnTableContaAsientosPagado',54),(181,'2018_10_05_110400_InsertsModules_TableroControl',54),(183,'2018_10_09_110400_AddColumnTablePersonConfigurationBanco',56),(184,'2018_09_10_110401_CreateView_CtaCteClientes',57),(185,'2018_10_15_110400_TableCtaCteBancos',58),(186,'2018_10_15_110401_TableCtaCteCheques',58),(187,'2018_10_16_110400_CreateView_CtaCteCheques',58),(188,'2018_10_18_110400_CreateView_ConsultaComprobantes',59),(189,'2018_07_18_110411_CreateView_VencimientoImpuestos',60),(190,'2018_10_22_110400_TableCtaCteBancosDatos',61),(191,'2018_11_02_110400_AddColumnTableReceiptComprobanteAFIP',62),(192,'2018_11_04_110400_CreateTableClavesDetailsBackUp',62),(193,'2018_11_04_110401_CreateTableMailsDetailsBackUp',62),(194,'2018_11_04_110402_CreateTableCharlasDetailsBackUp',62),(195,'2018_11_04_110403_TriggerClaves',62),(196,'2018_11_04_110404_TriggerMails',62),(197,'2018_11_04_110405_TriggerCharla',62),(198,'2018_11_08_010400_modify_procedure_creacion_empresa_usuario',62),(199,'2018_11_10_110400_AddColumnTableChequesFoto',62),(200,'2018_11_19_110400_ModifyView_VencimientoImpuestos',62);
INSERT INTO `migrations` VALUES (201,'2018_11_23_110400_DeleteForeignKeyCtaCteCheques',62),(202,'2018_11_26_110400_AddColumnTableVto_categoria_imp',62),(203,'2018_11_26_110401_CreateSPMonotributistas',62),(204,'2018_11_28_110400_CreateTableCategoriasIIBB',62),(205,'2018_11_28_110401_UpdateTableVto_categoria_imp',62),(206,'2018_11_28_110402_CreateView_IIBBRegSimpl',62),(207,'2018_12_05_110400_CreateView_PDF_ConsultaComprobantes',62),(208,'2018_12_06_110400_Add_data_types_libros',62),(209,'2018_12_07_110400_ViewLiquidacionesIVALiquidador',62),(210,'2018_12_07_110401_View_liquidaciones_iibbLiquidador',62),(211,'2018_12_09_110400_AddColumnFileReceipts',62),(212,'2018_12_11_110400_InsertsModules_Contabilidad',62),(213,'2018_12_12_110400_TableBalanceLibro',62),(214,'2018_12_12_110401_TableBalanceLibroDetails',62),(215,'2018_12_12_110402_AddContaTipoDeAsientos',62),(216,'2018_12_13_110400_UpdateTableContaPlanCuenta',62),(217,'2018_12_26_110400_CreateSPAsientosContables',62),(218,'2019_01_01_110400_AddColumnContaPlanCuenta',62),(219,'2019_01_02_110400_InsertsModules_ContabilidadPlanCuenta',62),(220,'2019_01_02_110401_AddCuentasTableContaPlanCuenta',62),(221,'2019_01_02_110402_ModifyRubroContaPlanCuenta',62),(222,'2019_01_03_11040_ModifyVentasPlanCuenta',62),(223,'2019_01_03_11041_ModifyPlanCuentasNiveles',62),(224,'2019_01_04_110400_AddColumnContaPlanCuentaNoEditable',62),(225,'2019_01_04_110401_ModifyColumnBalanceLibro',62),(226,'2019_01_04_110402_ModifySPAsientosContables',62),(227,'2019_01_04_110403_ModifyPlanCuentasNiveles5',62),(228,'2019_01_04_110404_InsertsModules_ContabilidadReportes',62),(229,'2019_01_06_110400_ModifyTableCategoriasMonotributo',62),(230,'2019_01_06_110401_ModiyfyContaPlanCuentaNivel5',62),(231,'2019_01_06_110402_SPSumasYSaldos',62),(232,'2019_01_07_110400_ModifyView_CtaCteClientes',62),(233,'2019_01_08_110400_ModiyfyOtraVezContaPlanCuentaNivel5',62),(234,'2019_01_08_110401_ModifySPAsientosContablesV1',62),(235,'2019_01_08_110402_UpdateTableVtoVencimiento2019',62),(236,'2019_01_08_110403_UpdateTableCategoriasMonotributo',62),(237,'2019_01_08_1104043_UpdateTableCategoriasIIBB',62),(238,'2019_01_09_110400_AddColumnconta_tipo_asientosOrderBy',62),(239,'2019_01_09_110401_ModifySPAsientosContablesOrderBy',62),(240,'2019_01_09_110402_UpdateValores2019vto_categoria_imp',62),(241,'2019_01_09_135600_SPAsignacionPeriodosEntreFechas',62),(242,'2019_01_16_110400_ModifySPAsientosContablesV2',62),(243,'2019_01_17_110400_InsertsModules_ContabilidadLibros',62),(244,'2019_01_17_110401_Delete_data_types_libros',62),(245,'2019_01_18_110400_ModifySPAsientosContablesV3',62),(246,'2019_01_19_110400_ModifySPAsientosContablesMensuales',62),(247,'2019_01_20_110400_InsertsModules_Administracion',62),(248,'2019_01_21_110400_CreateTableDbAbuelas',62),(249,'2019_01_21_110400_SP_AsientoSueldoV1',62),(250,'2019_01_24_110400_ModifySPAsientosContablesMensualesV1',62),(251,'2019_01_24_110401_ModiyfyContaPlanCuentaNivelV1',62),(252,'2019_01_24_110402_Modify_CtaCteSaldosCajasV1',62),(253,'2019_02_08_110400_InsertsModules_Mails',62),(254,'2019_02_10_183012_create_jobs_table',62),(255,'2019_02_11_110400_AddColumnTdbAbuelasLocalidad',62),(256,'2019_02_11_110401_ModifyPlanCuentasNiveles6',62),(257,'2019_02_11_110401_SP_VtoImpuestosMail',62),(258,'2019_02_12_110400_UpdateValores2019vto_categoria_impV1',62),(259,'2019_02_12_110401_SP_VtoImpuestosMailV1',63),(260,'2019_02_12_110402_AddColumnTablePersonConfigurationEnviarMail',63),(261,'2019_02_15_011342_create_failed_jobs_table',63),(262,'2019_02_15_110400_AddHonorarioToTableVtoVencimiento',63),(263,'2019_02_17_110400_AddTypeUserOperador',63),(264,'2019_02_22_110400_CreateTableVto_person_impuestos_creados',63),(265,'2019_03_06_110400_UpdateTableCategoriasMonotributoV1',64),(266,'2018_09_17_115300_UpdateConDatosTablesFacturaElectronica',65),(267,'2018_09_21_110401_CreateView_CtaCteClientes',65),(268,'2018_09_27_154000_ModifyTablesFacturaElectronica',65),(269,'2019_01_12_090909_ModifyTablesFacturaElectronicaPuntoVenta',65);
INSERT INTO `migrations` VALUES (270,'2019_03_13_110400_CreateView_CtaCteClientesV2',66),(271,'2019_03_13_110401_AddColumnContaAsiento',67),(272,'2019_03_20_110400_UpdateValores2019vto_categoria_impAutonomosMarzo',68),(273,'2019_03_20_110400_UpdateValores2019vto_categoria_impAutonomosMarzoV1',69),(274,'2019_03_20_110401_CreateTablePruebaGratis',70),(275,'2019_03_27_110400_AddColumnTableBalanceLibro',71),(276,'2019_03_29_110400_SP_VtoImpuestosMailV2',72),(277,'2019_04_04_110400_ModifyPlanCuentasNiveles7',73),(278,'2019_04_09_110400_AddColumnPersonPlanCuentaId',74),(279,'2019_04_09_110401_AddColumnReceiptPlanCuentaId',74),(280,'2019_04_05_110400_AddColumnTableReceiptTypes',75),(281,'2019_04_14_110400_Insert_data_typesMisComprobantes',75),(282,'2019_04_28_110400_DeleteRegisterReportes',76),(283,'2019_04_30_110400_CorreccionTableVtoVencimiento2019',77),(284,'2019_04_22_110400_AddColumnAndUpdateCuenta_idInTablesImpuestos',78),(285,'2019_04_23_110400_AddRegisterTableSystemTaxes',78),(286,'2019_04_25_110400_AddColumnTableOtherTaxes',78),(287,'2019_05_02_110400_SPExportarComprobantes',78),(288,'2019_05_14_110400_AddRegisterReceiptTypes',79),(289,'2019_05_24_110400_UpdatePersons',80),(292,'2019_06_07_110400_AddColumnUser',81),(294,'2019_06_21_110400_TableActas',82),(295,'2019_06_27_110400_SPExportarComprobantes',83),(296,'2019_06_28_110400_AddRegisterTActas',84),(297,'2019_03_04_110400_UpdateSystemTaxesAfipAlicuota',85),(298,'2019_04_01_100000_ModificacionesFADetallesCondicionesVenta',85),(299,'2019_04_19_100000_TablasFacturaElectronicaMasiva',85),(300,'2019_06_27_110400_SPUpdateHonorario',86),(301,'2019_07_09_110400_AddColumnFacEleRecDetail',86),(302,'2019_07_10_110400_AddColumnPersonConfig',87),(303,'2019_07_11_110400_ModifySPproyecGanancias',87),(304,'2019_07_11_110401_ModifySPAsientoSueldo',87),(305,'2019_07_11_110402_ModifySPiibb_gasto',87),(306,'2019_07_11_110403_ModifySPRetenciones',87),(307,'2019_07_11_110404_ModifySPAnticipoGanancias',87),(308,'2019_07_11_110405_ModifySPIIBB_Gasto',88),(309,'2019_07_11_110406_SPLiquidacionesIVA',88),(310,'2019_07_11_110407_SPLiquidacionesIIBB',88),(311,'2019_07_11_110408_ModifySPMonotributistas',89),(312,'2019_07_11_110409_ModifySPIIBB_GastoV1',90),(313,'2019_07_11_110410_SPReceipts',91),(314,'2019_07_11_110411_SPReceiptsForExporTXT',92),(315,'2019_07_14_110400_TableFEUnidadMedida',93),(316,'2019_07_14_110401_TableCondicionFrenteIVA',93),(317,'2019_07_14_110402_AddColumnCondFrenteIVAFE',93),(318,'2019_07_15_110401_ModifySPMonotributistasV1',93),(319,'2019_07_215_110400_DeleteRegisterSystemTaxes',93),(320,'2019_07_18_110400_ModifySPIIBB_GastoV2',94),(321,'2019_07_18_110401_ModifySPLiquidacionesIIBB',94),(322,'2019_07_18_110403_ModifySPLiquidacionesIVA',94),(323,'2019_07_23_110400_AddColumnFEMasivaDetalle',95),(324,'2019_07_29_110400_AddColumnReceiptType_FE',96),(325,'2019_08_05_110400_DeleteForeingKeyTableReceiptFactElec',97),(327,'2019_08_07_110400_UpdateValores2019vto_categoria_impAutonomosJunio',98),(328,'2019_08_07_110401_InsertsModules_Configuracion',99),(329,'2019_08_11_110401_InsertsModules_CerrarPeriodosContabilidad',100),(330,'2019_08_20_110400_AddColumnFEPuntoVenta',101),(331,'2019_08_20_110401_AddModuleFEConfiguracion',101),(332,'2019_08_23_110400_DeleteCuentaPlanCuenta',102),(333,'2019_08_28_110400_ModifyActasModelos',103),(334,'2019_09_26_110400_ModifyView_IIBBRegSimpl',104),(335,'2019_10_01_110400_UpdateTableCategoriasIIBBV2',105),(336,'2019_10_01_110401_UpdateValores2019vto_categoria_impAutonomosSeptiembre',106),(337,'2019_09_17_110400_TableCtaCteClientes',107),(338,'2019_09_17_110401_AddModuleCtaCteCliente',107),(339,'2019_09_19_110400_SPCtaCteCliente',107),(340,'2019_09_22_110400_AddColumnBalanceLibroCtaCteCliente',107),(341,'2019_09_23_110400_ModifySPAsientosContablesV2',107),(342,'2019_09_24_110400_TableCtaCtePivotReceipt',107),(343,'2019_09_25_110400_ModifyCuentasContablesRetenciones',107),(344,'2019_09_2_110401_AddRegisterContaTipoAsientos',107);
INSERT INTO `migrations` VALUES (345,'2019_10_04_110398_AddColumnPlanCuenta',108),(346,'2019_10_04_110399_DeleteColumnBalanceLibro',108),(347,'2019_10_04_110400_TableCtaCteTesoreriaCuentas',108),(348,'2019_10_04_110401_TableCtaCteTesoreriaCtaCte',108),(349,'2019_10_04_110402_AddColumnBalanceLibroCtaCteTesoreria',108),(350,'2019_10_04_110404_ModifyTableCtaCteCheques',108),(351,'2019_10_05_110404_ModifyTableCtaCteCcliente',108),(352,'2019_10_06_110400_AddModuleTesoreria',108),(353,'2019_10_09_110400_SPCtaCteClienteUpdate',108),(354,'2019_10_16_11040_AddRegisterContaTipoAsientos22',108),(355,'2019_10_24_110400_AddModuleNoFiscal',109),(356,'2019_10_24_110401_TablesNoFiscal',109),(357,'2019_10_30_110400_ModifySPAsientosContablesV3',109),(358,'2019_29_10_110400_ModifyTablesNFRelashionship',109),(359,'2019_11_03_110400_AddFacturaElectronicaPyme',110),(360,'2019_11_08_110400_TablesGanancias',111),(361,'2019_11_08_110401_AddModuleGanancias',111),(362,'2019_11_18_110400_AddModuleBienesPersonales',112),(363,'2019_11_18_110400_TablesBienesPersonales',112),(364,'2019_11_20_110400_UpdateDataTypeLibroIvaDigital',113),(365,'2019_11_21_110400_AddColumnPersonConfFELeyenda',114),(366,'2019_11_24_110400_TablesAsientosModelos',115),(367,'2019_11_27_110400_TablesObligacionesAnuales',116),(368,'2019_11_27_110401_AddModuleObligacionesAnuales',116),(369,'2019_12_06_110400_UpdateDataTypeAFIP',117),(370,'2019_12_06_110401_AddModuleControlAfip',118),(371,'2019_12_06_110402_TableControlCuitsAfip',118),(372,'2019_12_08_110400_AddColumnJobs',118),(373,'2019_12_09_110401_TablesRecibos',119),(374,'2019_12_09_11040_AddModuleRecibo_Presupuesto',119),(375,'2019_12_14_110400_DeleteTableFE',120),(376,'2019_12_16_110400_TablesDeudasImpositivas',121),(377,'2019_12_16_110401_AddModuleDeudasImpositivas',121),(378,'2019_12_18_110400_AddUserFirma',121),(379,'2019_12_23_110400_TablesPresupuestos',122),(380,'2019_12_24_110400_UpdateTableBalanceAddUser',123),(381,'2020_01_07_110400_ModifyForeingConstrainBalanceLibro',124),(382,'2020_01_08_110400_AddIIBBCordoba',125),(383,'2020_01_09_110399_AddIIBBCordobaRegSimp',126),(384,'2020_01_09_110400_UpdateTableVtoVencimiento2020',126),(385,'2020_01_09_110401_UpdateTableCategoriasMonotributo2020',126),(386,'2020_01_09_110402_UpdateTableCategoriasIIBB2020',126),(387,'2020_01_09_110403_UpdateValores2020vto_categoria_imp',126),(388,'2020_01_09_110404_UpdateVencimientosPerson2020',126),(389,'2020_01_12_110400_ModifySPMonotributistasV2',127),(390,'2020_01_13_110400_AddSoftDeletePeriodLiquidations',128),(391,'2020_01_14_110400_SPExportarComprobantesV2',129),(392,'2020_01_14_110401_ModifySPRetencionesV1',129),(393,'2020_01_14_110402_ModifySPAnticipoGananciasV1',129),(394,'2020_01_16_110400_ModifySPMonotributistasV3',130),(395,'2020_01_16_110401_UpdateValores2020vto_categoria_impV1',131),(396,'2020_01_16_110402_UpdateVencimientosPerson2020V1',131),(397,'2020_01_15_110400_TableTUser_Persons',132),(398,'2020_01_15_110401_TablesNotificaciones',132),(399,'2020_01_27_110400_AddReceiptTypeCierreZ',133),(400,'2020_01_28_110400_TablesGananciasV1',134),(401,'2020_01_28_110401_TablesGanancias2020',135),(402,'2020_01_30_110400_DeleteRegisterNoFicalContabilidad',136),(403,'2020_01_30_110400_ModifySPAsientosContablesMensualesV2',137),(404,'2020_01_30_110401_ModifySPAsientosContablesV4',138),(405,'2020_01_30_110402_DeleteSPAsientosContablesMensuales',139),(406,'2020_01_31_110400_AddUserIdVariasTables',140),(407,'2020_01_29_110400_AddColumnCtasTesoreriaContaAsientos',141),(408,'2020_02_06_110400_View_CtaCteClientesV3',141),(409,'2020_02_06_110401_AddCuentasMiasTesoreria',141),(410,'2020_02_07_110400_AddColumnPersonConfigLiqEsp',142),(411,'2020_02_08_110400_AddColumnPersonConfigLiqEspV1',143),(412,'2020_02_08_110401_AddColumnCtaCteCuentasTesoreriaCtaCteGastos',144),(413,'2020_02_09_110400_DeleteColumnPlanCuenta',145),(414,'2020_02_10_110400_ModifySPAsientoSueldo2020',146),(415,'2020_02_11_110400_ModifyView_CtaCteChequesV1',147),(416,'2020_02_13_110400_SPSumasYSaldosV1',148);
INSERT INTO `migrations` VALUES (417,'2020_02_13_110401_AddSoftDeleteCtaCteCheques',149),(418,'2020_02_19_110400_AddReceiptTypeCompraBsUsados',150),(419,'2020_02_19_110401_AddColumnTusersTypesUsers',151),(420,'2020_02_19_110402_DeleteSPNoUsoMas',152),(421,'2020_02_20_110400_AddColumnReceiptToFacEleReceitp',153),(422,'2020_02_25_110400_DeleteSPNoUsoMasV2',154),(423,'2020_02_26_110400_AddMonotributoSocial',155),(424,'2020_02_26_110401_UpdateReceiptTypeLetra',155),(425,'2020_02_27_110400_UpdateGananciasArt90',156),(426,'2020_02_28_110400_TableAjPorInflacionIndices',157),(427,'2020_03_02_110400_AddColumnPersonConfigCtaCteTesCuenta',158),(428,'2020_03_08_110400_AddModuleVentanillaElect',159),(429,'2020_03_08_110400_TablesVentanillaElec',160),(430,'2020_03_20_110400_UpdateReceiptTiquetZ',161),(431,'2020_04_16_110400_UpdateSystemTaxes',162),(432,'2020_05_18_110400_View_PdfConsultaComprobantes',163),(433,'2020_05_24_110400_TablesRemitos',164),(434,'2020_05_27_110400_AddImpuestoSegHigiene',165),(435,'2019_08_12_110400_AddColumnsTModules',166),(436,'2019_08_13_110399_InsertsModulesSueldo',167),(437,'2019_08_13_110400_TableSueldosSyJTipoEmpleador',167),(438,'2019_08_13_110401_TableSueldosSyJAlicuotaAporteContribucion',167),(439,'2019_08_13_110402_TableSueldosSyJActividad',167),(440,'2019_08_13_110403_TableSueldosSyJObraSocial',167),(441,'2019_08_13_110404_TableSueldosSyJZonaGeografica',167),(442,'2019_08_13_110405_TableSueldosSyJTituloLey20744',167),(443,'2019_08_13_110406_TablePais',167),(444,'2019_08_13_110407_TableLocalidad',167),(445,'2019_08_13_110408_TableCalle',167),(446,'2019_08_13_110408_TableSueldosSyJEmpAfecta',167),(447,'2019_08_13_110409_TableSueldosSyJTipoLiquidacion',167),(448,'2019_08_13_110412_TableSueldosSyJEmpAlcance',167),(449,'2019_08_13_110413_TableSexo',167),(450,'2019_08_13_110414_TableNacionalidad',167),(451,'2019_08_13_110415_TableEstadoCivil',167),(452,'2019_08_13_110416_TableTipoDocumento',167),(453,'2019_08_13_110417_TableSyJEmpEstado',167),(454,'2019_08_13_110418_TableSyJObraSocPlanes',167),(455,'2019_08_13_110419_TableSyJFormaPago',167),(456,'2019_08_13_110421_TableSyJEmpSituacionRevista',167),(457,'2019_08_13_110422_TableSyJEmpCondicion',167),(458,'2019_08_13_110423_TableSyJEmpModalidadContratacion',167),(459,'2019_08_13_110424_TableSyJEmpCodSiniestro',167),(460,'2019_08_13_110425_TableSyJRegimen',167),(461,'2019_08_13_110426_TableSyJEmpParentesco',167),(462,'2019_08_13_110427_TableSyJConfig',167),(463,'2019_08_13_110428_TableSyJDomiclioExplotacion',167),(464,'2020_03_17_110399_TableSeccionesCargoCCosto',167),(465,'2020_03_17_110400_TableConvenios',167),(466,'2020_03_17_110401_TableReferencias',167),(467,'2020_03_17_110402_SYJFunciones',167),(468,'2020_03_17_110402_TableAntesConceptos',167),(469,'2020_03_17_110402_TableConceptos',167),(470,'2020_03_17_110402_TablePivotConceptoCategoria',167),(471,'2020_03_17_110402_TablePivotConceptoTipoLiquidaciones',167),(472,'2020_03_17_110410_TableEmpleados',167),(473,'2020_03_17_110411_TablePivotEmpleadoConcepto',167),(474,'2020_03_19_110400_SYJPeriods',167),(475,'2020_03_19_110401_SYJLiquidaciones',167),(476,'2020_03_29_110400_SYJLiquidacionEmpleado',167),(477,'2020_04_03_110400_TablePivotConceptoCantidadValor',167),(478,'2020_04_07_110400_TablePivotConceptoEscala',167),(479,'2020_04_19_110400_AddColumnConceptosFiltrosAsoc',167),(480,'2020_04_19_110401_TableSyJEmpleadoFamiliar',167),(481,'2020_04_19_110402_TableSyJEmpleadoVacaciones',167),(482,'2020_04_26_110400_TableSyJReportes',167),(483,'2020_04_26_110401_TableSyJTablasdelSistema',167),(484,'2020_04_27_110400_AddColumnEmpleados',167),(485,'2020_04_27_110401_AddColumnCodigosAfip',167),(486,'2020_04_28_110399_TableSICOSSFormatValor',167),(487,'2020_04_28_110400_TableSICOSS',167),(488,'2020_04_28_110401_TablePivotConvenioFormatoSicoss',167),(489,'2020_04_28_110402_AddColumnPivotFormatoSicossConv',167),(490,'2020_04_29_110400_AddColumnFormatoSicossDetalleV1',167),(491,'2020_04_29_110401_AddColumnFormatoSicossDetalle',167);
INSERT INTO `migrations` VALUES (492,'2020_04_30_110400_AddColumnDomicilios',167),(493,'2020_05_02_110400_AddColumnControlaTopes',167),(494,'2020_05_05_110400_TableSindicatos',167),(495,'2020_05_07_110400_SYJPeriodsAddColumn',167),(496,'2020_05_07_110401_AddColumnBalanceLibroSueldos',167),(497,'2020_05_10_110400_AddColumnTablasFunciones',167),(498,'2020_05_11_110400_AddColumnTablaMasterEmpDomestica',167),(499,'2020_05_19_110400_TablePivotEmpleadoExcluirConcepto',167),(500,'2020_05_22_110400_InsertsModulesBlog',167),(501,'2020_05_22_110400_SYJPeriodsEmpDomestica',167),(502,'2020_05_25_110399_AddImpuestoSegHigiene',167),(503,'2020_05_25_110400_AddColumnVtoImpuestos',167),(504,'2020_05_26_110400_AddColumnSyJLiquidaciones',167),(505,'2020_05_26_110402_AddColumnSyJFormatoSicossDetalle',167),(506,'2020_12_31_110400_CopyDatoFromDBTaxes',167),(507,'2020_05_31_110400_InsertsModulesConfigUser',168),(508,'2020_06_03_110400_UpdateVtoImpuestos',169),(509,'2020_01_04_110401_UpdateTableCategoriasIIBB2021',170),(510,'2020_06_07_110400_InsertsModulesConfigAltaAbuela',170),(511,'2020_06_09_110400_AlterTableSyJConfig',170),(512,'2020_06_09_110400_InsertTablaReferencia',170),(513,'2020_06_11_000000_create_blogs_table',170),(514,'2020_06_14_110400_TableContactos',170),(515,'2020_06_14_110400_TablePlanesSuscripcion',170),(516,'2020_06_14_110401_TablePlanesSuscripcionV1',170),(517,'2020_06_19_110400_TableAjPorInflacionIndicesV1',170),(518,'2020_06_22_110400_AddColumnUsers',170),(519,'2020_06_22_110401_TableUserCtaCte',170),(520,'2020_06_25_110400_TableSyJG4OtrosEmpleos',170),(521,'2020_06_25_110401_TableSyJG4Deducciones',170),(522,'2020_06_25_110402_TableSyJG4DeducPersonales',170),(523,'2020_06_25_110403_TableSyJG4Art90',170),(524,'2020_07_01_110400_AddColumnDeletedAtConceptoPivot',170),(525,'2020_07_02_110400_InsertsGravImpGcias',170),(526,'2020_07_02_110401_TableSyJG4Detail',170),(527,'2020_07_04_110402_AddColumnSyJG4TipoDeducPers',170),(528,'2020_07_05_110401_TableSyJG4F1357',170),(529,'2020_07_06_110400_AddReceiptTypeCuentaVenta',170),(530,'2020_07_07_110400_AddImpuestoIIBBCorrientes',170),(531,'2020_07_07_110400_InsertConceptoReferencia',170),(532,'2020_07_09_110400_AddColumnDeducGenerales',170),(533,'2020_07_10_110400_AddColumnDBAbuela',170),(534,'2020_07_12_110400_UpdateTableTesoreriaCtas',170),(535,'2020_07_13_110400_AddImpuestoIIBBSantaFe',170),(536,'2020_07_13_110401_AddImpuestoDREISantaFe',170),(537,'2020_07_14_110400_TablesLPG',170),(538,'2020_07_17_110400_AddColumnReceiptTypeLPG',170),(539,'2020_07_17_110401_AddColumnReceiptLPG',170),(540,'2020_07_19_110400_AddRegisterUserPersonDbAbuela',170),(541,'2020_07_20_110400_UpdateBsPersonales',170),(542,'2020_07_25_110400_AddReceiptTypeTiquet',170),(543,'2020_07_25_1104041_AddReceiptTypeColumnShowFromTotal',170),(544,'2020_07_31_110400_TablesAfipServicios',170),(545,'2020_08_06_1104001_UpdateImpuestosSegunTablas',170),(546,'2020_08_06_110400_UpdateAutonomos',170),(547,'2020_08_08_110400_UpdateConveniosEmpAfecta',170),(548,'2020_08_12_110400_TablesDebitosAutomaticos',170),(549,'2020_08_18_110400_AddReceiptTypeSectorPecuario',170),(550,'2020_08_19_110400_UpdateSectorPecuario',170),(551,'2020_08_23_110400_AddColumnReceiptIVAApertura',170),(552,'2020_08_24_110400_AddColumnLiqIvaDetail',170),(553,'2020_08_24_110401_TablesIVAAgrupacion',170),(554,'2020_08_24_110401_UpdateReceiptsCredit',170),(555,'2020_08_25_110400_AddColumnIVACreditosTipos',170),(556,'2020_08_26_110400_AddOperaciones',170),(557,'2020_08_27_110400_TableFaq',170),(558,'2020_08_27_110400_UpdateFuncionesCantidad',170),(559,'2020_08_29_110400_TableSyJRecibosModelo',170),(560,'2020_08_30_110400_UpdateReciboModelo',170),(561,'2020_08_30_110401_UpdatePeriodLiquidationDetail',170),(562,'2020_08_31_110400_UpdateOperacionesImporte',170),(563,'2020_09_01_110400_AddActivities',170),(564,'2020_09_01_110401_TableZoneActivities',170),(565,'2020_09_01_110402_AddColumnPeriodLiqDetail',170),(566,'2020_09_01_110403_TablePeriodLiquidationIIBB',170);
INSERT INTO `migrations` VALUES (567,'2020_09_05_110400_AddRecibosModelo',170),(568,'2020_09_06_110400_AddColumnPersonActivities',170),(569,'2020_09_06_110401_AddColumnFAMasivaActivity',170),(570,'2020_09_09_110400_UpdateRetenciones',170),(571,'2020_09_18_110402_AddSyJReciboModelo',170),(572,'2020_09_23_110400_AddColumnUserCtaCte',170),(573,'2020_09_24_110400_AddImpuestoIIBBEntreRios',170),(574,'2020_09_25_110400_AddColumnUserCtaCteIngEgr',170),(575,'2020_09_25_110400_AddImpuestoProfesionalesLiberalesEntreRios',170),(576,'2020_09_26_110400_AlterColumnFactElecReceipt',170),(577,'2020_09_27_110400_AddColumnMonth',170),(578,'2020_09_28_110400_AddColumnSyJConfig',170),(579,'2020_10_04_110400_CorrecionPersons',170),(580,'2020_10_05_110403_TableCursos',170),(581,'2020_10_05_110403_TableCursosDetail',170),(582,'2020_10_14_110400_AddReceiptTypeSectorPecuario2',170),(583,'2020_10_15_110400_AddFuncionesDeValor',170),(584,'2020_10_15_110401_UpdateReceiptsCredit2',170),(585,'2020_10_19_110400_TableSyJConceptosAfip',170),(586,'2020_10_19_110401_AddColumnSyJConceptos',170),(587,'2020_10_20_110400_TableSyJLsdImpConc',170),(588,'2020_10_20_110401_AddFuncionesFormatoSicoss',170),(589,'2020_10_20_110401_TableSyjLsdReg',170),(590,'2020_10_20_110402_AddFormatoSicoss',170),(591,'2020_10_23_110400_InsertsModulesContConfig',170),(592,'2020_10_27_110400_AddColumnConceptos',170),(593,'2020_10_27_110401_AddFuncionesDeCantidad1',170),(594,'2020_10_27_110401_AddFuncionesDeImporte1',170),(595,'2020_10_27_110401_AddFuncionesDeValor1',170),(596,'2020_11_02_110400_InsertTablaReferencia1',170),(597,'2020_11_03_110400_TableUsersPersonsBlock',170),(598,'2020_11_04_110400_ViewLiquidacionesIVA',170),(599,'2020_11_05_110400_AddReceiptType1',170),(600,'2020_11_11_110400_AddImpuestoIIBBRioNegro',170),(601,'2020_11_13_110400_AddColumnPersonConfigProIVA',170),(602,'2020_11_13_110400_AddImpuestoIIBBNeuquen',170),(603,'2020_11_19_110400_UpdateReceiptsType',170),(604,'2020_11_20_110400_AddIndicesAxI',170),(605,'2020_11_24_110400_AddColumnSyJFromatoSICOSS',170),(606,'2020_11_26_110400_ModifyConceptosAFIP',170),(607,'2020_11_28_110400_AddColumnCtaCteCliente',170),(608,'2020_12_02_110400_TableUsersLogged',170),(609,'2020_12_03_110399_UpdateTarjetaTaxes',170),(610,'2020_12_03_110400_TableTarjetaTXT',170),(611,'2020_12_04_110400_AddImpuestoIIBBCorrientes2',170),(612,'2020_12_04_110400_AddImpuestoManifestacionDeGanado',170),(613,'2020_12_07_110400_AddColumnSyjLiqEmpleado',170),(614,'2020_12_22_110400_UpdateArt90',170),(615,'2021_01_03_110400_UpdateTableVtoVencimiento2021',170),(616,'2021_01_04_110400_UpdateAutonomos2021',170),(617,'2021_01_04_110402_UpdateVencimientosPerson2021',170),(618,'2021_01_06_110400_ModifyIvaCredFiscal',170),(619,'2021_01_08_110400_CheckPeriods2021',170),(620,'2021_01_11_110404_UpdateTableVtoVencimiento2022V1',170),(621,'2021_01_14_110400_TableSyJG4Art902021',170),(622,'2021_01_14_110401_TableSyJG4Deducciones2021',170),(623,'2021_01_14_110402_TableSyJG4DeducPersonales2021',170),(624,'2021_01_14_110403_TablesGanancias2021',170),(625,'2021_01_28_110400_AddImpuestoUTEDYC',170),(626,'2021_02_01_110400_ModifyNameTableReferencia',170),(627,'2021_02_02_110400_AddColumnMaterialCurso',170),(628,'2021_02_03_110400_ChangeCampoAsientoModelo',170),(629,'2021_02_04_110400_UpdateTopesJubilatorios',170),(630,'2021_02_04_110401_AddTablaReferencia',170),(631,'2021_02_10_110400_AddColumnDelSistema',170),(632,'2021_02_11_110400_AddColumnLiqIVA',170),(633,'2021_02_11_110401_AddColumnLiqITCPersonConfig',170),(634,'2021_02_16_110400_AddColumnIsZonaPatagonica',170),(635,'2021_02_16_110401_AddColumnFactElecTotal',170),(636,'2021_02_17_110400_SPSumasYSaldosV2',170),(637,'2021_02_17_110401_AddContaPlanCuentaITC',170),(638,'2021_02_21_110400_ModuloConvenioMultilateral',170),(639,'2021_02_21_110401_AddColumnZoneCodCM',170),(640,'2021_02_23_110400_TableSolicitantesCertificado',170),(641,'2021_02_23_110401_AddColumnsCursos',170),(642,'2021_02_25_110400_UpdateTableVtoVencimiento2021V1',170);
INSERT INTO `migrations` VALUES (643,'2021_02_8_110400_AddImpuestoSIRADIG',170),(644,'2021_02_9_110400_AddImpuestoIIBBSantaFeRegSimplificado',170),(645,'2021_03_02_110400_TablePathOfFile',170),(646,'2021_03_03_110400_AddReceiptType2',170),(647,'2021_03_04_110400_AddColumnPeriodLiquidationIIBB',170),(648,'2021_03_05_110400_AddPathOfFileName',170),(649,'2021_03_15_110400_AddColumnPeriodLiquidationIVA',170),(650,'2021_03_15_110401_AddColumnFEReceiptCompAsoc',170),(651,'2021_03_17_110400_ChangeFEReceiptCAENull',170),(652,'2021_03_19_110400_TableTdbAbuelasEstados',170),(653,'2021_03_19_110401_AddColumnTdbAbuelasEstado',170),(654,'2021_03_19_110402_TableTdbAbuelasCharlas',170),(655,'2021_03_23_110400_ModifyReceiptTypeOtrosCompr',170),(656,'2021_03_24_110400_TDAbuelaHost',170),(657,'2021_03_26_110400_UpdateAutonomos2021Abril',170),(658,'2021_03_30_110400_UpdateTopesJubilatoriosMar2021',170),(659,'2021_04_06_110400_AddContaPlanCuenta',170),(660,'2021_04_09_110400_UpdateEstadosAbuelas',170),(661,'2021_04_14_110400_AddColumnEstadoId',170),(662,'2021_04_14_110400_AddColumnFEReceiptOp',170),(663,'2021_04_15_110400_UpdateEstadosAbuelasRollBack',170),(664,'2021_04_16_110400_UpdateEstadosAbuelasV1',170),(665,'2021_04_16_110401_UpdateEstadosAbuelasRollBackV1',170),(666,'2021_04_16_110402_UpdateEstadosAbuelasV2',170),(667,'2021_04_21_110400_TableQueueProcesos',170),(668,'2021_04_23_110400_TableReporteSUSS',170),(669,'2021_04_23_110400_UpdateEstadosAbuelasV3',170),(670,'2021_04_27_110400_AddFieldEscracharTdbabuela',170),(671,'2021_04_27_110400_UpdateArba2021',170),(672,'2021_04_30_110400_ModifyIvaCredFiscalV1',170),(673,'2021_05_14_110400_AddSyJReciboModeloV2',170),(674,'2021_05_17_110400_TableUsersEmpleados',170),(675,'2021_05_25_110400_TablesPortalEmpleados',170),(676,'2021_05_25_110401_TablesTaxesServicios',170),(677,'2021_05_25_110402_TablesEmpleadosFiles',170),(678,'2021_05_27_110400_AddColumnImagenUser',170),(679,'2021_05_27_110400_UpdateEstadosAbuelasV4',170),(680,'2021_05_29_110400_AddColumnTablesPortalEmpleados',170),(681,'2021_06_02_110400_AddColumnLiqEmpFirmado',170),(682,'2021_06_02_110401_AddColumnLiqEmpFirmadoFecha',170),(683,'2021_06_03_110400_UpdateEstadosAbuelasV5',170),(684,'2021_06_04_110401_UpdateMonotributos2021',170),(685,'2021_06_06_110401_TablesEmpleadosFilesMasivos',170),(686,'2021_06_06_11040_AddColumnEmpFile',170),(687,'2021_06_10_110401_UpdateConceptosAFIP',170),(688,'2021_06_14_110400_TablePLSubdomain',170),(689,'2021_06_15_110400_TablesBienesPersonalesV2021',170),(690,'2021_06_16_11040_AddRegistroPathOfFileName',170),(691,'2021_06_28_110400_UpdateTopesJubilatoriosJun2021',170),(692,'2021_06_30_110400_UpdatePerAlicuotas',170),(693,'2021_07_06_11040_AddColumnMetodoPago',170),(694,'2021_07_08_110400_UpdateAutonomos2021Julio',170),(695,'2021_07_09_110400_AddColumnPathFileName',170),(696,'2021_07_11_110400_TablesAuxiliar',170),(697,'2021_07_17_110400_ModuloPermisos',170),(698,'2021_07_18_110400_AddColumnPeriodLiquidation',170),(699,'2021_07_22_110400_AddColumnPeriodLiquidationAuxiliarId',170),(700,'2021_07_22_110401_AddColumnActividadCodigoCM',170),(701,'2021_07_22_110402_TablesCMArticulosRegimenes',170),(702,'2021_07_22_110403_AddColumnPersonActivitiesCMID',170),(703,'2021_07_26_110400_AddImpuestoIIBBLaRioja',170),(704,'2021_07_27_110400_AddColumnLiquidacionIIBB',170),(705,'2021_07_29_110400_AddColumnCMArticuloRegimen',170),(706,'2021_07_29_110401_UpdateMonotributos2021V2',170),(707,'2021_07_7_11040_AddRegistroPathOfFileNameV1',170),(708,'2021_08_08_11040_AddColumnReceiptHasta',170),(709,'2021_08_10_110400_FechasEnContabilidad',170),(710,'2021_08_14_11040_AddColumnFormatoSicoss',170),(711,'2021_08_18_110400_AddRegistroSyjActividad',170),(712,'2021_08_23_11040_AddColumnPersonsIVACreditoTipo',170),(713,'2021_09_02_110400_UpdateTableVtoVencimientoIIBBRioNegro',170),(714,'2021_09_08_11040_UpdateSituacionRevista',170),(715,'2021_09_09_11040_UpdateEmpleadoCondicion',170),(716,'2021_09_09_11040_UpdateModalidadContratacion',170);
INSERT INTO `migrations` VALUES (717,'2021_09_14_11040_UpdateEstadoCompsM',170),(718,'2021_09_16_110400_TablesTaxesAdminNotif',170),(719,'2021_09_16_110400_UpdateTopesJubilatoriosSept2021',170),(720,'2021_09_21_110400_UpdateModContratacion',170),(721,'2021_09_24_110400_AddColumnEmpleadoCBU',170),(722,'2021_09_24_110400_TableTaxesAdmTours',170),(723,'2021_09_24_110401_AddColumnEmpleadoDiasPropTope',170),(724,'2021_09_24_110402_AddRegistroFuncionesSicoss20210924',170),(725,'2021_09_26_110400_TablesConsultasAux',170),(726,'2021_10_18_110400_TablesEmpleadosEventuales',170),(727,'2021_10_18_110401_AddRegistrosLSDReg5',170),(728,'2021_10_18_110402_AddRegistroFuncionesSicoss',170),(729,'2021_10_18_110403_AddConvenioEventual',170),(730,'2021_10_18_110404_ModifyConvenioEventual',170),(731,'2021_10_31_110400_TablesPeriodLiquidationFiles',170),(732,'2021_12_03_110400_UpdateModContratacionV1',170),(733,'2021_12_09_110400_UpdateTopesJubilatoriosDic2021',170),(734,'2021_12_13_110400_UpdateAutonomosSept2021',170),(735,'2021_12_14_110400_AddColumnSyJReportes',170),(736,'2021_12_21_110400_AddFuncionesDeValorV2',170),(737,'2021_12_21_110400_AddTablaReferenciaV1',170),(738,'2021_12_29_110401_UpdateMonotributos2022',170),(739,'2022_01_03_110402_UpdateTableVtoVencimientoMonyAut2023',170),(740,'2022_01_05_110400_UpdateAutonomosDic2021',170),(741,'2022_01_05_110400_UpdateTableVtoVencimientoMonyAut2022',170),(742,'2022_01_11_110400_TableSyJG4Art902022',170),(743,'2022_01_11_110401_TableSyJG4DeduccionesGrales2022',170),(744,'2022_01_11_110402_TableSyJG4DeducPersonales2022',170),(745,'2022_01_11_110403_TablesGanancias2022',170),(746,'2022_01_17_110400_TablesInventarios',170),(747,'2022_01_24_110400_TableInvProductReceipt',170),(748,'2022_01_26_110400_AddTaxesServicios',170),(749,'2022_01_26_110401_TablesGestionDeEmpresa',170),(750,'2022_02_01_110400_TablesQuerys',170),(751,'2022_02_01_110400_UpdateVencimientosPerson2022',170),(752,'2022_02_06_110400_UpdateGananciasArt902022V1',170),(753,'2022_02_09_110400_TablesSicore',170),(754,'2022_02_09_110401_AddModuleSicore',170),(755,'2022_02_10_110400_AddColumnZoneCodigoAfip',170),(756,'2022_02_10_110400_UpdateTableVtoVencimiento2022V2',170),(757,'2022_02_11_110400_AddImpuestoIIBBSantaCruz',170),(758,'2022_02_12_110400_AddSyJOperacionesImporte',170),(759,'2022_02_15_110400_AddFieldEstadoOrden',170),(760,'2022_02_15_110400_AddReceiptTypeT',170),(761,'2022_02_15_110401_AddColumnQueryPersonID',170),(762,'2022_02_15_110402_TablesFEMasivaStock',170),(763,'2022_03_04_110400_AddFieldProximoContactoAbuela',170),(764,'2022_03_06_110400_AddFieldProductoCombo',170),(765,'2022_03_15_110400_AddRegisterQueePortalIVA',170),(766,'2022_03_17_110400_TablesCondicionFrenteIVA',170),(767,'2022_03_17_110401_AddRegisterIVAAgrupacionMonos',170),(768,'2022_03_21_110400_AddModuleMercadoLibre',170),(769,'2022_03_21_110401_TableMercadoLibre',170),(770,'2022_03_30_110400_AddFuncionesDeValorV3',170),(771,'2022_03_31_110400_UpdateTopesJubilatoriosMarzo2022',170),(772,'2022_04_02_110400_AddModuleOrdenDeTrabajo',170),(773,'2022_04_02_110401_TablesOrdenesDeTrabajo',170),(774,'2022_04_07_110400_AddImpuestoIIBBMendoza',170),(775,'2022_04_07_110401_UpdateImpuestoIIBBCorrientes',170),(776,'2022_04_12_110400_AddFieldPruebaGratisCursoId',170),(777,'2022_04_13_110400_AddFieldInvProductReceipt',170),(778,'2022_04_18_110400_TablesOrdenesDeTrabajoFacturadas',170),(779,'2022_04_22_110400_AddFAMasivaDetalleGravaIIBB',170),(780,'2022_04_22_110400_TablesContaCentroDeCostos',170),(781,'2022_04_22_110401_AddFieldReceiptCentroCosto',170),(782,'2022_04_24_110400_AddFieldSKU',170),(783,'2022_04_25_110400_UpdateTableAjPorInflacionIndices',170),(784,'2022_04_26_110400_AddFieldBalanceLibroInvOrdenId',170),(785,'2022_04_26_110400_TablesOrdenesTrabajoCC',170),(786,'2022_04_29_110400_AddFieldPuntoVentaFEHabilitado',170),(787,'2022_05_02_110400_AddModuleTicket',170),(788,'2022_05_02_110400_TablesTickets',170),(789,'2022_05_06_110400_AddFieldTicketsCaeVencimiento',170);
INSERT INTO `migrations` VALUES (790,'2022_05_06_110401_AddFieldGestionDeEmpresa',170),(791,'2022_05_07_110400_TablesTaxesServiciosDetails',170),(792,'2022_05_07_110400_UpdateAutonomosMarzo2022',170),(793,'2022_05_08_110400_RemoveTablesGestionEmpresa',170),(794,'2022_05_09_110400_AddFieldInvOrdenTrabajoConfigCc',170),(795,'2022_05_09_110401_AddFieldOrdenDeTrabajoStatus',170),(796,'2022_05_09_110402_MLSetFacturacion',170),(797,'2022_05_11_110400_TableMLOrdersFacturada',170),(798,'2022_05_11_110401_CorreccionCondicionFrenteAlIva',170),(799,'2022_05_12_110400_AddFieldInvRegistradoraUsaProductos',170),(800,'2022_05_13_110400_AddFieldTicketDetailPolimorfica',170),(801,'2022_05_15_110400_AddFieldInvProductReceiptPolimorfica',170),(802,'2022_05_16_110400_TableInvIndicadores',170),(803,'2022_05_17_110400_TablesBienesPersonalesV2022',170),(804,'2022_05_18_110400_AddIdFacturaEnviada',170),(805,'2022_05_19_110400_AddFieldInvIndicadoresOrder',170),(806,'2022_05_22_110400_TablesTaxesSubDomain',170),(807,'2022_05_24_110400_UpdateTopesJubilatoriosJunio2022',170),(808,'2022_05_28_110400_TableMLItemProducto',170),(809,'2022_05_30_110400_AddFieldSyJEmpleadosLiqEnCero',170),(810,'2022_06_06_110400_TableSyJUsarloComo',170),(811,'2022_06_06_110400_UpdateGananciasArt902022V2',170),(812,'2022_06_08_110400_AddTablaReferenciaV2',170),(813,'2022_06_08_110401_AddFieldTaxesServiciosDiasDePrueba',170),(814,'2022_06_08_110402_AddFieldContactanos',170),(815,'2022_06_12_110400_TableMonedas',170),(816,'2022_06_12_110401_TablesTaxesCotizaciones',170),(817,'2022_06_15_110400_AddModuleDocumentosComerciales',170),(818,'2022_06_15_110401_TablesDocumentosComerciales',170),(819,'2022_06_16_110401_UpdateTablesGanancias2021',170),(820,'2022_06_21_110400_AddFieldReceiptsDcOrdenId',170),(821,'2022_06_24_110400_UpdateOS3900',170),(822,'2022_06_24_110401_TablesNoFiscalInvoice',170),(823,'2022_07_01_110400_AddFieldCtaCteClientePivotReceiptImporte',170),(824,'2022_07_06_110401_UpdateFacturacionMonotributos072022',170),(825,'2022_07_07_110400_AddEmpresasToTaxesServiciosDetails',170),(826,'2022_07_07_110400_UpdateAutonomosJunio2022',170),(827,'2022_07_07_110401_AddModuleTaxesEmpresas',170),(828,'2022_07_07_110402_AddFieldTaxesServiciosDetails',170),(829,'2022_07_07_110403_AddFieldTUserCtasCtesPersonId',170),(830,'2022_07_08_110400_AddReceiptTypeVacunos',170),(831,'2022_07_10_110400_AddRegisterQueeArchivosPem',170),(832,'2022_07_11_110400_AddColumnBlog',170),(833,'2022_07_17_110400_AddReceiptTypeTiqueC',170),(834,'2022_07_19_110400_AddIsTaxesEmpresas',170),(835,'2022_08_10_110400_AddColumnClaveTipos',170),(836,'2022_08_16_110400_AddInvHsTipos',170),(837,'2022_08_16_110400_AddModuleAltas',170),(838,'2022_08_16_110401_AddModuleServicios',170),(839,'2022_08_17_110400_UpdateReceiptTypesCuentaDeVenta',170),(840,'2022_08_21_110400_AddModulosTMS',170),(841,'2022_08_25_110400_TdbabuelaFacturacion',170),(842,'2022_08_30_110400_AddMoneda',170),(843,'2022_09_08_110400_AddRegisterOtherTaxes',170),(844,'2022_09_08_110401_TablesRetPercFE',170),(845,'2022_09_09_110400_AddOrdenTipo',170),(846,'2022_09_13_110400_TUsersTarjetas',170),(847,'2022_09_13_110400_UpdateImpuestoIIBBCorrientesV2',170),(848,'2022_09_16_110400_AddRegisterPathFileNameSicoss',170),(849,'2022_09_19_110000_TablesEncuestas',170),(850,'2022_09_27_110400_AddReceiptTypeTiqueNotadeDebitoA',170),(851,'2022_10_03_110400_UpdateAutonomosSept2022',170),(852,'2022_10_13_110400_UpdateRegSimpAGIP2022',170),(853,'2022_10_13_110401_UpdateTopesJubilatoriosSept2022',170),(854,'2022_10_17_110400_UpdateCategoriasIIBB2022',170),(855,'2022_10_19_110400_TablesEmpleadosPdfAuto',170),(856,'2022_10_23_110400_AddModuleConfigTesoreria',170),(857,'2022_10_23_110401_TablePersonRelationeds',170),(858,'2022_10_25_110400_AddModuleCtaCteUnificadoTesoreria',170),(859,'2022_10_26_110400_TablesEmpleadosPdfAuto2',170),(860,'2022_11_14_110400_UpdateFacturacionMonoSocial',170),(861,'2022_11_17_11000_AddRegistroPathOfFileNameV2',170);
INSERT INTO `migrations` VALUES (862,'2022_11_23_110400_TableTdbAbuelaEstadoLog',170),(863,'2022_12_03_110400_ModulosMobile',170),(864,'2022_12_05_110400_TablesDcOrdenesFacturadas',170),(865,'2022_12_11_110400_ModulosMobileTableroDeControl',170),(866,'2022_12_13_110400_RemoveColumnTarjetaTdbabuela',170),(867,'2022_12_22_110400_TablesPersonsDatos',170),(868,'2022_12_22_110401_AddModuleConfigEmpresa',170),(869,'2022_12_22_110402_AddModuleEmpresaCertificados',170),(870,'2022_12_26_110400_UpdateModalidadContratacion22',170),(871,'2022_12_26_110401_TablesGanancias2023',170),(872,'2022_12_26_110402_TableSyJG4Art902023',170),(873,'2022_12_28_110401_TableSyJG4DeduccionesGrales2023',170),(874,'2022_12_28_110402_TableSyJG4DeducPersonales2023',170),(875,'2022_12_28_110403_UpdateTopesJubilatoriosDic2022',170),(876,'2023_01_03_110400_UpdateMonotributos2023',170),(877,'2023_01_03_110401_AddMonotributoCategorias',170),(878,'2023_01_03_110402_AddModuleNovedades',170),(879,'2023_01_03_110403_TablesSyJNovedades',170),(880,'2023_01_04_110400_UpdateAutonomosDic2022',170),(881,'2023_01_04_110401_UpdateTableVtoVencimiento2023',170),(882,'2023_01_04_110402_AddVencimientosImpuestos',170),(883,'2023_01_04_110403_UpdateTableVtoVencimientoIIBB2023',170),(884,'2023_01_18_110400_AddFieldTablesCurso',170),(885,'2023_01_18_110401_AddFieldTaxesServiciosDetailsFechaComentario',170),(886,'2023_01_20_110400_AddReceiptTypeTiqueNotaDeCreditoC',170),(887,'2023_01_23_110400_AddFieldFacturaElecReferencia',170),(888,'2023_01_25_110400_UpdateFacturacionMonoSocial2023',170),(889,'2023_01_27_110400_UpdateTableVtoVencimientoIIBBVarios',170),(890,'2023_02_03_110400_UpdateTableAjPorInflacionIndicesV20230208',170),(891,'2023_02_17_110400_AddFieldEmpleadoSueldoNetoPactado',171),(892,'2023_02_17_110401_AddModuleSueldoNetoPactado',171),(893,'2023_01_19_110400_RemoveEstadoColumnTdbabuelas',172),(894,'2023_01_24_110401_AddColumnTdbabuelasEstadosType',172),(895,'2023_01_24_110402_UpdateTdabuelasEstadosTable',172),(896,'2023_02_25_110402_AddModuleTAReportes',172),(897,'2023_03_06_110400_UpdateTableVtoVencimientoIIBBCorrientes',172),(898,'2023_03_08_110400_AddRegisterConsultas',172),(899,'2023_03_11_110400_AddFieldsCheques',172),(900,'2023_03_13_110400_AddModulosTMS2',172),(901,'2023_03_14_110400_TableInvDescargas',172),(902,'2023_03_14_110401_TableInvDescargas2',172),(903,'2023_03_15_110400_MonedasHabilitadoId4',172),(904,'2023_03_16_110400_AlterColumnPivotReceipt',172),(905,'2023_03_20_110400_ModifyRegisterTesoreriaCuentasV1',172),(906,'2023_03_20_110400_TableCobradores',172),(907,'2023_03_20_110401_TablePersonCobrador',172),(908,'2023_03_20_110402_AddModuloCobrador',172),(909,'2023_03_20_110403_AddColumnHabilitadoCobradores',172),(910,'2023_03_22_110400_ModifyRegisterTesoreriaCuentasV2',172),(911,'2023_03_22_110401_TableChequesTransferEmitidas',172),(912,'2023_03_27_110400_AddModuleConciliaciones',172),(913,'2023_03_27_110401_AddColumnIsConciliadoCtaCteTesDetail',172),(914,'2023_03_28_110400_AddModuleCobranzas',172),(915,'2023_03_28_110401_AddModulePagos',172),(916,'2023_04_10_110400_AddDocumentoComercialRequerimiento',172),(917,'2023_04_10_110400_UpdateAutonomosMarzo2023',172),(918,'2023_04_10_110401_UpdateTopesJubilatoriosJunio2023',172),(919,'2023_04_10_110401_UpdateTopesJubilatoriosMarzo2023',172),(920,'2023_04_11_110400_AddDCOrdenCompraRequerimiento',172),(921,'2023_04_12_110400_CreatePersonsSicoreTable',172),(922,'2023_04_14_110400_AddModulosTMS3',172),(923,'2023_04_15_11400_AddRegistroPathOfFileNameV3',172),(924,'2023_04_18_11400_ModifyColumnsMonedaCotizacion',172),(925,'2023_04_18_11401_ModifyColumnsMonedaCotizacionV2',172),(926,'2023_04_25_11400_AddColumnPersonConfigMultimoneda',172),(927,'2023_05_04_11400_AddColumnReceiptPendiente',172),(928,'2023_05_14_11400_AddColumnPeriodLiquidationIVAReducMonos',172),(929,'2023_05_15_110400_AddFieldTaxesSubDomainEcommerce',172),(930,'2023_05_16_11400_AddColumnInvProductoDepositos',172),(931,'2023_05_17_110400_AddFieldTaxesSubDomainLayout',172);
INSERT INTO `migrations` VALUES (932,'2023_05_21_11400_AddColumnPersonConfigAgPerRet',172),(933,'2023_05_22_11400_AddColumnInvProductoShowInCatalogo',172),(934,'2023_05_23_110400_TableInvProductoFotos',172),(935,'2023_05_24_11400_AddColumnRetentions',172),(936,'2023_05_29_110400_AddModuleTesoreriaReportes',172),(937,'2023_05_30_110400_TablesBienesPersonalesV2023',172),(938,'2023_05_30_110401_AddModulosTMSCobranzas',172),(939,'2023_06_01_11400_ModifyRegistersTesoreriaCuentas',172),(940,'2023_06_03_110400_AddDocumentoComercialRemito',172),(941,'2023_06_04_110400_ModifyColumnSubdomainIsCatalogo',172),(942,'2023_06_05_110400_AddModulosTaxesSubdomain',172),(943,'2023_06_08_110400_AddModuleSubdominio',172),(944,'2023_06_08_110400_UpdateSicoreRegimenes',172),(945,'2023_06_08_110401_AddRegisterTaxesServicioLanding',172),(946,'2023_06_08_110401_UpdateVencimientosPerson2023',172),(947,'2023_06_10_110400_TableDcOrdenOrigenDestino',172),(948,'2023_06_12_110400_AddDocumentoComercialRemitoEgreso',172),(949,'2023_06_12_110401_AddColumnInvOtProductoDcOrdenId',172),(950,'2023_06_15_110400_TableDcOrdenesFiles',172),(951,'2023_06_17_110400_AddColumnTdbAbuelaContactado',172),(952,'2023_06_21_110400_UpdateMonotributosJulio2023',172),(953,'2023_06_21_110401_AddDocumentoComercialRemitoInterno',172),(954,'2023_06_21_110401_UpdatePlanesJulio2023',172),(955,'2023_06_21_114002_AddColumnDcOrdenesDetailsInvProductoDestino',172),(956,'2023_06_21_11400_AddColumnInvProductoPrioridad',172),(957,'2023_06_25_110400_AddModulosTMSRemitos',172),(958,'2023_06_27_110402_UpdateGananciasArt90Tope',172),(959,'2023_06_27_114000_AddColumnInvOrdenTrabajosResponsable',172),(960,'2023_06_27_114001_AddColumnInvOrdenTrabajosFechaCierre',172),(961,'2023_06_29_114000_AddColumnTicketsClienteId',172),(962,'2023_06_30_110400_AddColumnDcOrdenIsCompletado',172),(963,'2023_07_01_110400_AddDCOrdenIngresoCompra',172),(964,'2023_07_02_110400_AddDocumentoComercialRemitoIngresoFromOc',172),(965,'2023_07_03_110400_ModifyRegisterDCOrdenesOrigenTipo',172),(966,'2023_07_03_114001_AddColumnDcOrdenesTitulo',172),(967,'2023_07_04_110400_AddImpuestoRegSimpNequen',172),(968,'2023_07_04_110401_AddImpuestoRegSimpRioNegro',172),(969,'2023_07_04_110402_AddReceiptTypeOtroCompA',172),(970,'2023_07_07_110400_UpdateAutonomosJunio2023',172),(971,'2023_07_07_114000_AddColumnPersonFantasyName',172),(972,'2023_07_09_110400_TableTaxesSubdomainTipos',172),(973,'2023_07_10_110402_AddReceiptTypeTiqueNotaDeCreditoA',172),(974,'2023_07_11_110400_UpdateImportePlanesJulio2023',172),(975,'2023_07_12_110400_AddColumnDcOrdenMoneda',172),(976,'2023_07_12_110401_AddMonedaEuro',172),(977,'2023_08_01_110400_TableDcOrdenesFirmas',172),(978,'2023_08_01_110401_AddModulosTMSFirmarRemitos',172),(979,'2023_08_05_110400_TableDcFirmasReglas',172),(980,'2023_08_05_110401_AddFieldsDcFirmas',172),(981,'2023_08_07_110400_AddModulosTMSFirmarOc',172),(982,'2023_08_08_110400_AddDcEstadoEliminado',172),(983,'2023_08_11_110400_AddModulosTMSProduccionReq',172),(984,'2023_08_13_110400_AddColumnStockMovimientoDetalle',172),(985,'2023_08_13_110401_TableInvOrdenTrabajoServicios',172),(986,'2023_08_13_110402_AddDCRemitoServicioOT',172),(987,'2023_08_13_110403_TableDCOrdenServicioCompra',172),(988,'2023_08_15_110400_CorreccionesTableInvHoras',172),(989,'2023_08_16_110400_AddColumnOTProductoImporte',172),(990,'2023_08_22_110400_AddColumnHorasDisponibles',172),(991,'2023_08_22_110401_AddModulosTMSFirmarHoras',172),(992,'2023_08_22_110402_AddColumnHorasDispoType',172),(993,'2023_08_24_110400_ModifyColumnDcOrdenNumeroATexto',172),(994,'2023_08_25_110400_AddColumnOtClasificacion',172),(995,'2023_08_27_110400_ModifyColumnDcOrdenNumeroANumero',172),(996,'2023_08_29_110400_AddColumnDcOrdenMultiplesOt',172),(997,'2023_08_31_110400_AddColumnNFCtaCteCompensado',172),(998,'2023_09_01_110400_ModifyIOrigenDestinoHorasTipos',172),(999,'2023_09_04_110400_AddModulosTMSFirmarProductos',172),(1000,'2023_09_11_110400_AddColumnHorasTiposImporte',172);
INSERT INTO `migrations` VALUES (1001,'2023_09_12_110400_AddColumnOtClasificacionV1',172),(1002,'2023_09_12_110400_AddFirmarRemitosDeIngreso',172),(1003,'2023_09_12_110401_AddColumnInvOrdenTrabajoPatente',172),(1004,'2023_09_14_110400_TableInvOrdenTrabajoTareas',172),(1005,'2023_09_14_110401_AddModulosTMSTareas',172),(1006,'2023_09_14_110402_CentroCostosCorreciones',172),(1007,'2023_09_21_110401_TableReceiptDcOrden',172),(1008,'2023_09_24_110400_AddTableReceiptsDcFirmaId',172),(1009,'2023_09_24_110401_AddModulosTMSFirmarFacturasCompra',172),(1010,'2023_09_25_110400_ModifySistemTaxesOnlyTMS',172),(1011,'2023_09_25_110400_UpdateGananciasArt902023',172),(1012,'2023_09_26_110400_TableOrdenDePago',172),(1013,'2023_09_27_110400_TableOrdenDePagoReceipts',172),(1014,'2023_09_27_110401_UpdateReceitpsFirmaId',172),(1015,'2023_09_29_110400_AddModulosTMSCuentas',172),(1016,'2023_10_02_110400_AddModulosTMSCuentasV1',172),(1017,'2023_10_02_110401_UpdateTableReceitpsFirmaIdDefault',172),(1018,'2023_10_05_110400_AddColumnReceiptOrdenesImporte',172),(1019,'2023_10_10_110400_AddColumnReceiptOrdenesOC',172),(1020,'2023_10_11_110400_AddColumnDCFirmasEmitido',172),(1021,'2023_10_12_110400_AddRegisterReceiptRedondeo',172),(1022,'2023_10_15_110400_ModifyColumnReceiptComentario',172),(1023,'2023_10_16_110400_AddRegisterTypesSIRTAC',172),(1024,'2023_10_17_110400_AddCuentasContableSirtac',172),(1025,'2023_10_18_110400_AddModulosWhatsApp',172),(1026,'2023_10_18_110401_TablesWhatsApp',172),(1027,'2023_10_20_110400_TableWsTelefonos',172),(1028,'2023_10_21_110400_TablePaisesPrefijos',172),(1029,'2023_10_23_110400_AddModulosContactos',172),(1030,'2023_10_23_110401_AddColumnWsContactoPersonId',172),(1031,'2023_10_23_110402_ImportarContactosUserMaster',173),(1032,'2023_10_24_110400_AddColumnHorasTiposShow',173),(1033,'2023_10_25_110400_TableOrdenesTrabajoFiles',173),(1034,'2023_10_30_110400_UpdateTopesJubilatoriosOctubre2023',173),(1035,'2023_11_06_110400_TableDcOrdenesRevocadas',173),(1036,'2023_11_07_110400_AddModulosTMSRevocacion',173),(1037,'2023_11_13_110400_SPMonotributistasOnlyActive',173),(1038,'2023_11_13_110401_DcOrdenDePagoReceiptNull',173),(1039,'2023_11_20_110400_TableCalendario',173),(1040,'2023_11_26_110400_TableTaxesJobs',173),(1041,'2023_11_26_110401_CopyImpuestosAlCalendario',173),(1042,'2023_11_27_110400_AddModuloInicio',173),(1043,'2023_11_27_110401_AddModuloAgenda',173),(1044,'2023_12_05_110400_TableLinkOtsFacturas',173),(1045,'2023_12_06_110400_UpdateTableAjPorInflacionIndicesV20231206',173),(1046,'2023_12_11_110400_AddColumnDcOrdenFilesOriginalName',173),(1047,'2023_12_12_110400_AddColumnCalendarDescripcionText',173),(1048,'2023_12_12_110401_TableCalendarReservas',173),(1049,'2023_12_14_110400_AddModuloTurnos',173),(1050,'2023_12_14_110401_UpdateTopesJubilatoriosDiciembre2023',173),(1051,'2023_12_17_110400_TableCalendarTurnosDispoDatos',173),(1052,'2023_12_21_110400_TableSyJG4Art902024',173),(1053,'2023_12_24_110400_AddRegisterTaxesSubdomainTipoTurno',173),(1054,'2023_12_26_110400_AddColumnCalendarNivel12Detalle',173),(1055,'2023_12_27_110400_AddColumnCalendarTurDispoDuracion',173),(1056,'2023_12_27_110401_AddColumnWsEnviarMensajesStart',173),(1057,'2023_12_29_110400_AddTaxesSubDomainTuRecibo',173),(1058,'2024_01_02_110400_UpdateTableVtoVencimiento2024',173),(1059,'2024_01_02_110401_UpdateTableVtoVencimientoMonyAut2024',173),(1060,'2024_01_02_110402_UpdateTableVtoVencimientoIIBB2024',173),(1061,'2024_01_02_110403_UpdateTableVtoVencimientoIIBBVarios2024',173),(1062,'2024_01_02_110404_UpdateAutonomosMonotributoEne2024',173),(1063,'2024_01_04_110400_TableTicketsCuentasTesoreria',173),(1064,'2024_01_07_110400_AddColumnCobradores',173),(1065,'2024_01_07_110401_AddModulosAdministracion',173),(1066,'2024_01_08_110400_AddModulosAdministracionV1',173),(1067,'2024_01_09_110400_AddCamposOrdenesCompra',173),(1068,'2024_01_10_110400_TableFormaDeEntrega',173),(1069,'2024_01_24_110400_AddRegisterDbTaxesPuntoVenta',173),(1070,'2024_01_28_110400_AddModuloPanel',173);
INSERT INTO `migrations` VALUES (1071,'2024_01_29_110400_TablePanelUsers',173),(1072,'2024_02_03_110400_TablePanelUserMovimientos',173),(1073,'2024_02_06_110400_TablePanelUserTransferencias',173),(1074,'2024_02_08_110400_AddColumnCobradoresTelefono',174),(1075,'2024_02_11_110400_AddColumnCuentasTesoreriaToken',175),(1076,'2024_02_12_110400_AddModuloPanelCajeros',175),(1077,'2024_02_13_110400_AddColumnBancosClaves',175),(1078,'2024_02_16_110400_AddColumnPanelUserTransfer',175),(1079,'2024_02_17_110400_AddPathOfFileReporteMovimientos',175),(1080,'2024_02_17_110401_TableDcOrdenEmpleado',175),(1081,'2024_02_19_110400_AddRegisterTaxesSubdomainTipoContable',175),(1082,'2024_02_22_110400_AddColumnPanelUserCajeroUserClave',175),(1083,'2024_02_23_110400_TableCobradoresDatos',175),(1084,'2024_02_23_110401_AddColumnPanelUserCobradorId',175),(1085,'2024_02_23_110402_ModifyColumnPanelUserMovimientoDocument',175),(1086,'2024_02_25_110400_AddColumnCuentasTesoreriaCUIT',175),(1087,'2024_02_25_110400_TableCobradoresEstado',175),(1088,'2024_02_26_110400_AddColumnProductoFechaVto',175),(1089,'2024_02_28_110400_ModifyReceiptColumnPendiente',175),(1090,'2024_02_29_110400_Periods20240229',175),(1091,'2024_03_14_110400_AddReceiptTypeVarios',175),(1092,'2024_03_14_110401_AddColumnCobradoresDatosUrl',175),(1093,'2024_03_19_110400_AddColumnShowUserTaxesEmpresas',175),(1094,'2024_03_19_110401_AddColumnDcOrdenesSyJEmpleadoId',175),(1095,'2024_03_19_110402_DeleteTableDcOrdenEmpleado',175),(1096,'2024_03_21_110400_AddDcOrdenAnulacion',175),(1097,'2024_04_01_110400_TableRodados',176),(1098,'2024_04_01_110401_AddModuloRodados',176),(1099,'2024_04_02_110400_AddColumnPanelMovimietoPath',177),(1100,'2024_04_02_110401_UpdateTopesJubilatoriosMarzo2024',177),(1101,'2024_04_03_110400_AddOtRodadoId',178),(1102,'2024_04_03_110401_ModifyColumnDcOrdenesOrigenDestinoHabilitado',178),(1103,'2024_04_10_110400_AddColumnDcOrdenesFechaAsignacion',179),(1104,'2024_04_11_110400_TablePersonPagos',180),(1105,'2024_04_15_110400_TableRodadosFiles',181),(1106,'2024_04_16_110400_TruncateUploadFile',182),(1107,'2024_04_18_110400_MigrationPrueba',183),(1108,'2024_04_21_110400_AddColumnDcOrdenesFechaCumplido',183),(1109,'2024_04_24_110400_AddColumnPersonsPersonPagosLugares',184),(1110,'2024_04_25_110400_AddColumnRodados',185),(1111,'2024_04_26_110400_TableCobradoresMetodos',186),(1112,'2024_04_27_110400_AddColumnApiTokenTusers',187),(1113,'2024_04_29_110400_AddColumnSyJEmpleadosIsComprador',187),(1114,'2024_05_01_110400_TableApiRecibidas',188),(1115,'2024_05_02_110400_AddColumnCtaCteClienteFechaVencimiento',189),(1116,'2024_05_06_110400_AddColumnDcOrdenesODIsDeposito',190),(1117,'2024_05_06_110401_AddDcOrdenRemitoGasto',190),(1118,'2024_05_06_110402_AddModuloRemitoDeGastos',190),(1119,'2024_05_12_110400_TableRodadosCargas',191),(1120,'2024_05_12_110401_AddModuloRodadosConfig',191),(1121,'2024_05_13_110400_TableRodadosCargasControl',191),(1122,'2024_05_14_110400_AddModuloRodadosV1',192),(1123,'2024_05_14_110401_TableRodadosKms',192),(1124,'2024_05_17_110400_AddModuloPreFactura',193),(1125,'2024_05_17_110401_TablePreFacturas',193),(1126,'2024_05_18_110400_AddRegisterBancoICBC',193),(1127,'2024_05_20_110400_AddColumnCtaCteNumero',194),(1128,'2024_05_21_110400_AddColumnCtaCteChequeDetailId',195),(1129,'2024_05_21_110401_AddColumnCtaCteChequeTesoreriaDetailId',196),(1130,'2024_05_24_110400_AddRegisterBancoBMASAU',197),(1131,'2024_05_26_110400_AddRegisterTesoreriaCuentasTiposEfecSuf',198),(1132,'2024_05_26_110401_AddColumnCuentasTesoreriaRetentionTypeId',199),(1133,'2024_05_28_110400_AddColumnRetentionTesoreriaDetailId',200),(1134,'2024_05_28_110401_ContaPlanCuentaPercIIBBAddCuentas',201),(1135,'2024_05_29_110400_BalanceLibroPolimorfica',202),(1136,'2024_05_30_110400_TableDcOrdenDePagoCheques',203),(1137,'2024_05_30_110401_BalanceLibroPolimorficaRunRegistros',204),(1138,'2024_06_03_110400_AddColumnPreFacturasFacId',205),(1139,'2024_06_10_110400_ModifyRegistroContaPlanCuentaCompensaciones',206);
INSERT INTO `migrations` VALUES (1140,'2024_06_19_110400_RegimenesRetPerIVAPersons',207),(1141,'2024_06_24_110400_AddDcOrdenCotizaciones',208),(1142,'2024_07_04_110400_AddColumnCtaCteClientePivotReceiptIsACuenta',209),(1143,'2024_07_07_110400_AddColumnOtEmpleadoId',210),(1144,'2024_06_27_110400_ModulosPpc',211),(1145,'2024_06_27_110401_TablesPPC',211),(1146,'2024_07_14_110400_AddColumnPpcReceiptsEstados',212),(1147,'2024_07_28_110404_UpdateAutonomosMonotributoJul2024',213),(1148,'2024_07_29_110400_AddColumnCuitBancos',214),(1149,'2024_07_29_110400_UpdateTableVtoVencimientoIIBBCorrientes24',214),(1150,'2024_07_29_110403_UpdateTableVtoVencimientoIIBBSicol',214),(1151,'2024_07_30_110400_AddColumnContaPlanCuentaShowIn',214),(1152,'2024_08_01_110400_TablesSicoreEscalas',215),(1153,'2024_08_07_110400_AddColumnCtaCteClienteUserIdQueFirma',216),(1154,'2024_08_08_110400_AddColumnSyJLiqEmpleadoPublicar',217),(1155,'2024_08_21_110400_UpdateTopesJubilatoriosAgosto2024',218),(1156,'2024_08_22_110400_AddModulosTMSPanolABM',219),(1157,'2024_08_22_110401_TableUsersPermisos',219),(1158,'2024_08_24_110400_TableProductosMoves',219),(1159,'2024_08_29_110400_AddColumnDcOrdenDetailInvDepositoIdDestino',220),(1160,'2024_09_01_110400_AddDcOrdenDevolucion',221),(1161,'2024_09_02_110400_AddColumnProductoUbicacionPersonId',222),(1162,'2024_09_03_110400_AddColumnInvOTFechaEstimada',223),(1163,'2024_09_06_110400_AddColumnInvOTTareasHorasEstimadas',224),(1164,'2024_09_09_110400_TableRetentionsDetails',225),(1165,'2024_09_30_110401_AddModuloPanelMovimientos',226),(1166,'2024_10_02_110400_AddRegisterContaTipoAsientoComp',226),(1167,'2024_09_30_110400_TablesHorasOt',227),(1168,'2024_10_08_110400_AddColumnSyJEmpleadoJefeId',227),(1169,'2024_10_09_110400_AddModuloRegistrarEmpleadoOt',227),(1170,'2024_10_13_110400_TableUserModuleDefault',227),(1171,'2024_14_30_110400_AddModuloHorasTms',227),(1172,'2024_10_14_110400_AddModuloTableroControl',228),(1173,'2024_10_14_110401_TablesCPCNiveles',228),(1174,'2024_10_15_110400_AddRegisterConsultaTableroControl',229),(1175,'2024_10_16_110400_AddColumnUserHiddenMenu',230),(1176,'2024_10_16_110401_AddDcOrdenEgrDevolucion',230),(1177,'2024_10_19_110400_TableSuscripPlanCustom',231),(1178,'2024_10_21_110400_ModifyTablesCuentasPanel',231),(1179,'2024_10_225_110400_Ganancias2024',232),(1180,'2024_11_04_110400_Ganancias2024V2',233),(1181,'2024_11_06_110400_AddColumnSyJLiquidacionCalcGciasEstaLiq',234),(1182,'2024_11_08_110400_ModifyTableHorasCalculadasDetails',235),(1183,'2024_11_11_110400_TableConciliaciones',236),(1184,'2024_11_12_110400_ModifyTableInvOtTareasHsEstimadas',237),(1185,'2024_11_21_110400_AddColumnDcOrdenesIsPagada',237),(1186,'2024_12_03_110400_AddDcOrdenRemitoServicio',237),(1187,'2024_12_18_110400_UpdateTopesJubilatoriosDiciembre2024',238),(1188,'2024_12_26_110400_RegimenesIIBBPersons',239),(1189,'2024_12_26_110401_AddModuloSimuladorGanancias',239),(1190,'2024_12_26_110402_AddColumnSyJEmpHasUserSimGcias',239),(1191,'2024_12_26_110403_AddTaxesSubdomainSimulador',239),(1192,'2024_12_28_110400_TableSimGciasRemuneraciones',240),(1193,'2025_01_01_100_UpdateTableVtoVencimiento2025',240),(1194,'2025_01_01_101_UpdateTableVtoVencimientoMonyAut2025',240),(1195,'2025_01_14_100_TablesPersonsFiles',241),(1196,'2025_01_14_101_AddColPpcReceiptFechaVto',242),(1197,'2025_01_16_101_ModifyTipesMails',243),(1198,'2025_01_027_100_Ganancias202501',244),(1199,'2025_01_28_100_UpdateTopesJubilatorios202501',244),(1200,'2025_01_28_101_AddColSimGciasRemunSyjLiqEmpId',245),(1201,'2025_02_11_100_ModifyCondicionFrenteAlIVA20250211',245),(1202,'2025_02_11_111_UpdateMonotributo202501',245),(1203,'2025_02_18_100_ModifyTableParentesco',246),(1204,'2025_02_21_100_AddColTableDeducGralDetailPeriodId',247),(1205,'2025_02_21_101_ModifyDeducciones202502',247),(1206,'2025_02_24_100_ModifyFamiliares',248),(1207,'2025_03_04_100_TablesPersonFormCustom',249),(1208,'2025_03_07_100_CorreccionCondIVAFAMasiva',250),(1209,'2025_03_09_100_AddColCalendarTurDisDatoId',251);
INSERT INTO `migrations` VALUES (1210,'2025_03_10_110_UpdateImpuestoIIBBMendoza202503',252),(1211,'2025_03_10_111_AddModuloOrdenTrabajo',253),(1212,'2025_03_12_110_AddPathOfFileExcelSf',254),(1213,'2025_03_14_100_TablesInvOtDevoluciones',255),(1214,'2025_03_17_100_AddColCalendarInvOtId',256),(1215,'2025_03_18_100_AddColInvStockMovimientoFecha',257),(1216,'2025_03_19_100_AddColSyJEmpleadosColor',258),(1217,'2025_03_23_100_TableInvOtsFacturadas',259),(1218,'2025_03_25_100_ModifyReceiptTypeB',260),(1219,'2025_03_25_101_AddVtoImpuestoSircar',261),(1220,'2025_03_26_100_AddColOtDevolucionProductosNeto',262),(1221,'2025_03_27_100_TableInvOtsPresupuestos',262),(1222,'2025_03_28_100_TableInvDCEstadoDecisiones',263),(1223,'2025_03_31_100_AddColOTDireccion',264),(1224,'2025_03_31_101_AddColPersonsLatitudLongitud',265),(1225,'2025_04_02_100_AddColReceiptCtaCteTesoreriaId',266),(1226,'2025_04_06_100_AddColReceiptIsNoFiscal',267),(1227,'2025_04_07_100_AddColDcOrdenesFacturadasReceiptId',267),(1228,'2025_04_07_101_AddColInvOrdenTrabajoFacturadaReceiptId',268),(1229,'2025_04_10_100_TablePersonCobradorHistory',269),(1230,'2025_04_21_100_AddColStockMovimientoMonedaId',269),(1231,'2025_04_21_101_AddModuloTallerReportes',270),(1232,'2025_04_21_102_TablePermisos',270),(1233,'2025_04_22_100_AddRegistroUserPermisosOts',270),(1234,'2025_04_23_100_TablePermisosLevel2Types',270),(1235,'2025_04_23_101_RemoveColumnIsDelExterior',270),(1236,'2025_04_12_100_AddModuloDespachoImportacion',271),(1237,'2025_04_12_101_TableDespachos',271),(1238,'2025_04_23_102_AddPermisosLevel2Types',271),(1239,'2025_04_24_100_AddColHorasFichajesV1',271),(1240,'2025_04_29_100_ModifiyDespachoCierreProductId',272),(1241,'2025_05_06_100_AddColumnInvOtResponsableId',273),(1242,'2025_05_08_100_ModifyReceiptTypeBV1',274),(1243,'2025_05_09_101_AddReceiptTypeNCDespacho',275),(1244,'2025_05_09_100_TablePagosACuentas',276),(1245,'2025_05_12_100_AddColDespachoCierreCant',277),(1246,'2025_05_13_100_ModifiyCuentaContableNoEdit',277),(1247,'2025_05_13_101_AddColDespachoCierreV1',277),(1248,'2025_05_20_100_AddColumnInvCtaCteClienteUserCtaCteId',278),(1249,'2025_05_20_101_AddColumnInvOtProductoMonedaId',279),(1250,'2025_06_01_100_AddColumnHorasFichajesFecha',280),(1251,'2025_06_02_100_AddModuloHorasPortalEmpleado',280),(1252,'2025_06_03_100_AddColumnSyJEmpHsInicio',281),(1253,'2025_06_05_100_AddColumnUserCtaCteFactElecId',282),(1254,'2025_06_08_100_AddRegisterTaxesServicios',283),(1255,'2025_06_14_100_UpdateTableVtoVencimientoIIBBCorrientes25',283),(1256,'2025_06_17_100_AddModuloOV',284),(1257,'2025_07_04_100_SetCondicionFrenteAlIva',284),(1258,'2025_07_06_100_AddRegisterPersonCustomServiciosFormDCOrden',285),(1259,'2025_07_09_100_AddColumnDcOrdenIsGarantia',286),(1260,'2025_07_10_100_AddReferenciaAntiguedadCamioneros',287),(1261,'2025_07_11_100_AddFuncionImporteContHugo',287),(1262,'2025_07_15_100_TablesPanelLiquidacion',288),(1263,'2025_07_17_100_AddColumnMLResponse',289),(1264,'2025_07_18_100_AddColumnMLResponseDatos',289),(1265,'2025_07_31_100_TablesProductosVariantes',289),(1266,'2025_08_03_100_AddPermisoVariants',289),(1267,'2025_06_26_100_TablesDCOrdenesDeVenta',290),(1268,'2025_08_15_100_UpdateTmodulesIconsToBootstrapIcons',290),(1269,'2025_08_19_100_UpdateValoresMonotributo202508',291),(1270,'2025_08_20_100_AddDcOrdenTipoOcEmpresas',292),(1271,'2025_08_25_100_add_elimination_fields_to_path_of_file',293),(1272,'2025_08_27_100_AddReceiptType',294),(1273,'2025_08_29_100_TableListaDePrecios',295),(1274,'2025_08_29_101_AddListaPrecioToTickets',295),(1275,'2025_09_01_100_AddFuncionPromedioHsExContHugo',296),(1276,'2025_09_01_101_TablePeriodJornales',296),(1277,'2025_09_01_102_AddFuncionPromedioHsExContHugoValor',297),(1278,'2025_09_09_100_TableOvOcPresupuestos',298),(1279,'2025_09_10_100_CreateTableDcSolFacOcc',299),(1280,'2025_09_12_100_create_dc_ov_remc_occ_table',300),(1281,'2025_09_20_100_PspCtasRecas',301),(1282,'2025_09_20_101_PspCredentials',301),(1283,'2025_09_20_102_PspCompanies',301);
INSERT INTO `migrations` VALUES (1284,'2025_09_20_103_PspCvus',301),(1285,'2025_09_20_104_PspMovements',301),(1286,'2025_09_20_105_PspAccountLedger',301),(1287,'2025_09_20_106_PspPayouts',301),(1288,'2025_09_20_107_PspWebhooks',301),(1289,'2025_09_20_108_PspBalanceSnapshots',301),(1290,'2025_09_20_109_PspAgContactos',301),(1291,'2025_09_20_110_PspLimitesOperacion',301),(1292,'2025_09_20_200_AddModuloHomeBanking',301),(1293,'2025_09_20_201_AddModulePspRecaudadora',301),(1294,'2025_09_21_100_AddModuloHomeBankingDocs',301),(1295,'2025_09_22_002_copy_system_taxes_to_psp',301),(1296,'2025_09_22_072732_create_psp_conceptos_table',301),(1297,'2025_09_23_111_PspComisiones',301),(1298,'2025_09_25_001_CreatePspDocumentsTables',301),(1299,'2025_09_29_100_AddPermisoTickets',301),(1300,'2025_10_06_100_add_devolucion_fields_to_tickets',301),(1301,'2025_10_06_101_AddPermisoTicketsDevolucion',301),(1302,'2025_10_06_102_AddColumnTicketRegisNC',301),(1303,'2025_10_06_103_AddRedondeoToListaDePrecios',302),(1304,'2025_10_08_100_Add_prod_variant_id_to_dc_ordenes_details_table',303),(1305,'2025_10_12_100_AddColumnSyJEmpleadoDeposito',304),(1306,'2025_09_20_103_CreatePspSucursalesTable',305),(1307,'2025_09_20_104_CreatePspCajasTable',305),(1308,'2025_09_20_105_CreatePspCvusTable',305),(1309,'2025_09_20_106_PspMovements',305),(1310,'2025_09_20_107_PspAccountLedger',305),(1311,'2025_09_20_108_PspPayouts',305),(1312,'2025_09_20_109_PspWebhooks',305),(1313,'2025_09_20_110_PspBalanceSnapshots',305),(1314,'2025_09_20_111_PspAgContactos',305),(1315,'2025_09_20_112_PspLimitesOperacion',305),(1316,'2025_10_16_001_create_bind_apibank_webhook_tables_in_dbtaxes',305),(1317,'2025_10_16_002_create_bind_apibank_tables_in_tenants',305),(1318,'2025_10_16_003_alter_cta_cte_tesoreria_for_bind_apibank',305),(1319,'2025_10_19_234350_add_codigo_bind_to_zones_with_data',305),(1320,'2025_10_20_001_add_apibank_fields_to_psp_tables',306),(1321,'2025_10_23_001_add_certificate_paths_to_bind_apibank_credentials',306),(1322,'2025_10_29_100_AddProdVariantIdToInvProductReceipt',307),(1323,'2025_10_30_100_AddPermisoTicketsCambio',308),(1324,'2025_10_31_100_AddColumnDcOrdenIsReceiptCredit',309),(1325,'2025_11_03_100_AddPermisoOrdenesVenta',310),(1326,'2025_11_04_100_AddColumnDcOrdenNumeroText',310),(1327,'2025_11_04_101_AddFuncionValorLiqConcAsoc',310),(1328,'2025_11_05_100_CreateDcOvOrigenesUsers',311),(1329,'2025_11_10_100_create_dc_ordenes_pdf_templates_table',312),(1330,'2025_11_11_100_AddColumnsGarantiaMantenimientoComentarioDcOrdenes',313),(1331,'2025_11_11_101_add_default_and_lista_precios_to_tickets_registradora',314),(1332,'2025_11_17_100_add_barcode_config_to_person_configurations_table',315);

--
-- Table structure for table `ml`
--

CREATE TABLE `ml` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `taxes_servicio_id` int(10) unsigned NOT NULL DEFAULT '5',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `ml_user_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nick_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `refresh_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `response` json DEFAULT NULL,
  `response_datos` json 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 `ml_person_id_foreign` (`person_id`),
  KEY `ml_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `ml_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_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 `ml`
--


--
-- Table structure for table `ml_item_producto`
--

CREATE TABLE `ml_item_producto` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `ml_item_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ml_item_producto_person_id_foreign` (`person_id`),
  KEY `ml_item_producto_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `ml_item_producto_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `ml_item_producto_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ml_item_producto`
--


--
-- Table structure for table `ml_orders_facturadas`
--

CREATE TABLE `ml_orders_facturadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `id_factura_ml` 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 `ml_orders_facturadas_person_id_foreign` (`person_id`),
  KEY `ml_orders_facturadas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `ml_orders_facturadas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `ml_orders_facturadas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ml_orders_facturadas`
--


--
-- Table structure for table `ml_set_facturacion`
--

CREATE TABLE `ml_set_facturacion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cliente_id` int(10) unsigned DEFAULT NULL,
  `taxable_iibb` int(11) NOT NULL DEFAULT '2',
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `cond_frente_iva` int(10) unsigned DEFAULT NULL,
  `cond_venta` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `punto_venta_id` int(10) unsigned DEFAULT NULL,
  `concepto_id` int(10) unsigned DEFAULT NULL,
  `system_tax_id` int(10) unsigned 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 `ml_set_facturacion_person_id_foreign` (`person_id`),
  KEY `ml_set_facturacion_cliente_id_foreign` (`cliente_id`),
  KEY `ml_set_facturacion_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `ml_set_facturacion_cond_frente_iva_foreign` (`cond_frente_iva`),
  KEY `ml_set_facturacion_cond_venta_foreign` (`cond_venta`),
  KEY `ml_set_facturacion_zone_id_foreign` (`zone_id`),
  KEY `ml_set_facturacion_activity_id_foreign` (`activity_id`),
  KEY `ml_set_facturacion_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `ml_set_facturacion_concepto_id_foreign` (`concepto_id`),
  KEY `ml_set_facturacion_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `ml_set_facturacion_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `ml_set_facturacion_cliente_id_foreign` FOREIGN KEY (`cliente_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_set_facturacion_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `ml_set_facturacion_cond_frente_iva_foreign` FOREIGN KEY (`cond_frente_iva`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `ml_set_facturacion_cond_venta_foreign` FOREIGN KEY (`cond_venta`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `ml_set_facturacion_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_set_facturacion_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `ml_set_facturacion_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `ml_set_facturacion_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `ml_set_facturacion_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ml_set_facturacion`
--


--
-- Table structure for table `monedas`
--

CREATE TABLE `monedas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `moneda` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `simbolo` 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=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `monedas`
--

INSERT INTO `monedas` VALUES (1,NULL,'PESOS',NULL,'PES',1,'$ Pesos','$',1,'2023-02-16 08:53:02','2024-02-09 06:46:25',NULL),(2,NULL,'DOLARES','Dólar EstadoUnidense','DOL',0,'U$S Oficial Venta','USD',1,'2023-02-16 08:53:02','2024-02-09 06:46:25',NULL),(3,NULL,'DOLARES',NULL,NULL,0,'U$S Blue Venta','U$S',1,'2023-02-16 08:53:02','2024-02-09 06:46:25',NULL),(4,NULL,'DOLARES',NULL,NULL,0,'U$S Mayorista Venta','U$S',0,'2023-02-16 08:53:03','2024-02-09 06:46:25',NULL),(5,NULL,'EUROS','EURO','060',0,'Euro Oficial Venta','€',1,'2024-02-09 06:46:25','2024-02-09 06:46:25',NULL);

--
-- Table structure for table `months`
--

CREATE TABLE `months` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `month` int(11) DEFAULT NULL,
  `date_to` varchar(6) DEFAULT NULL,
  `descripcion` varchar(191) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `months`
--

INSERT INTO `months` VALUES (1,1,'-01-31','enero'),(2,2,'-02-28','febrero'),(3,3,'-03-31','marzo'),(4,4,'-04-30','abril'),(5,5,'-05-31','mayo'),(6,6,'-06-30','junio'),(7,7,'-07-31','julio'),(8,8,'-08-31','agosto'),(9,9,'-09-30','septiembre'),(10,10,'-10-31','octubre'),(11,11,'-11-30','noviembre'),(12,12,'-12-31','diciembre');

--
-- Table structure for table `nacionalidad`
--

CREATE TABLE `nacionalidad` (
  `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 `nacionalidad_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nacionalidad`
--

INSERT INTO `nacionalidad` VALUES (1,NULL,'Argentina',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Extranjero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `nf_cta_cte`
--

CREATE TABLE `nf_cta_cte` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_receipt_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `compensado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` 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 `nf_cta_cte_nf_receipt_id_foreign` (`nf_receipt_id`),
  KEY `nf_cta_cte_person_id_foreign` (`person_id`),
  KEY `nf_cta_cte_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_cta_cte_period_id_foreign` (`period_id`),
  KEY `nf_cta_cte_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `nf_cta_cte_saldo_id_foreign` (`saldo_id`),
  KEY `nf_cta_cte_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `nf_cta_cte_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `nf_cta_cte_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `nf_cta_cte_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `nf_cta_cte_nf_receipt_id_foreign` FOREIGN KEY (`nf_receipt_id`) REFERENCES `nf_receipts` (`id`),
  CONSTRAINT `nf_cta_cte_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_cta_cte_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `nf_cta_cte_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_cta_cte`
--

INSERT INTO `nf_cta_cte` VALUES (1,8522,1,2,40718,40814,1521,13,1,0,'2023-03-01',15000.00,1,NULL,NULL,'2023-03-01 11:32:20','2023-03-01 11:32:20',NULL),(2,8522,2,3,40718,40814,1520,57,2,0,'2023-02-08',55000.00,1,'',NULL,'2023-03-01 11:39:58','2023-03-01 11:39:58',NULL),(3,8522,3,2,40718,40814,1521,13,1,0,'2023-03-01',835.00,1,'Ticket 1',NULL,'2023-03-01 12:01:59','2023-03-01 12:01:59',NULL),(4,8522,NULL,20,40718,40717,1521,13,2,0,'2023-03-03',150.00,1,NULL,NULL,'2023-03-02 22:15:32','2023-03-02 22:15:54','2023-03-02 22:15:54');

--
-- Table structure for table `nf_cta_cte_details`
--

CREATE TABLE `nf_cta_cte_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nf_cta_cte_details_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `nf_cta_cte_details_person_id_foreign` (`person_id`),
  KEY `nf_cta_cte_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_cta_cte_details_period_id_foreign` (`period_id`),
  KEY `nf_cta_cte_details_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `nf_cta_cte_details_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `nf_cta_cte_details_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `nf_cta_cte_details_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `nf_cta_cte_details_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `nf_cta_cte_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_cta_cte_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_details_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `nf_cta_cte_details_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_cta_cte_details`
--


--
-- Table structure for table `nf_invoices`
--

CREATE TABLE `nf_invoices` (
  `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,
  `punto_vta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `numero` int(11) NOT NULL,
  `fecha` date NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` longtext 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`),
  KEY `nf_invoices_person_id_foreign` (`person_id`),
  KEY `nf_invoices_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_invoices_punto_vta_id_foreign` (`punto_vta_id`),
  KEY `nf_invoices_period_id_foreign` (`period_id`),
  CONSTRAINT `nf_invoices_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_invoices_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_invoices_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_invoices_punto_vta_id_foreign` FOREIGN KEY (`punto_vta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_invoices`
--

INSERT INTO `nf_invoices` VALUES (1,8522,40718,40814,1,1521,1,'2023-03-01',15000.00,'','2023-03-01 11:32:20','2023-03-01 11:32:20',NULL);

--
-- Table structure for table `nf_invoices_details`
--

CREATE TABLE `nf_invoices_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_invoice_id` bigint(20) unsigned NOT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nf_invoices_details_nf_invoice_id_foreign` (`nf_invoice_id`),
  KEY `nf_invoices_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `nf_invoices_details_inv_deposito_id_foreign` (`inv_deposito_id`),
  CONSTRAINT `nf_invoices_details_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `nf_invoices_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `nf_invoices_details_nf_invoice_id_foreign` FOREIGN KEY (`nf_invoice_id`) REFERENCES `nf_invoices` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_invoices_details`
--

INSERT INTO `nf_invoices_details` VALUES (1,NULL,1,1.00,NULL,NULL,'Producto #',15000.00,NULL,0.00,15000.00,NULL,NULL,NULL);

--
-- Table structure for table `nf_receipts`
--

CREATE TABLE `nf_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `receipt_type_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` 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 `nf_receipts_person_id_foreign` (`person_id`),
  KEY `nf_receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_receipts_period_id_foreign` (`period_id`),
  KEY `nf_receipts_type_id_foreign` (`type_id`),
  KEY `nf_receipts_receipt_type_id_foreign` (`receipt_type_id`),
  CONSTRAINT `nf_receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_receipts_receipt_type_id_foreign` FOREIGN KEY (`receipt_type_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `nf_receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_receipts`
--

INSERT INTO `nf_receipts` VALUES (1,8522,40718,40814,1521,1,1,'2023-03-01',15000.00,'00001 - 00000001',NULL,NULL,'2023-03-01 11:32:20','2023-03-01 11:32:20',NULL),(2,8522,40718,40814,1520,2,1,'2023-02-08',55000.00,'1-22','',NULL,'2023-03-01 11:39:58','2023-03-01 11:39:58',NULL),(3,8522,40718,40814,1521,1,4,'2023-03-01',835.00,'Ticket 1','Ticket 1',NULL,'2023-03-01 12:01:59','2023-03-01 12:01:59',NULL);

--
-- Table structure for table `notif`
--

CREATE TABLE `notif` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `fecha_vto` datetime DEFAULT NULL,
  `leido` tinyint(1) NOT NULL DEFAULT '0',
  `pendiente` tinyint(1) NOT NULL DEFAULT '0',
  `asunto` 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 `notif_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  CONSTRAINT `notif_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif`
--


--
-- Table structure for table `notif_detail`
--

CREATE TABLE `notif_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `notificacion_id` int(10) unsigned NOT NULL,
  `notif_respuesta_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `body` text COLLATE utf8mb4_unicode_ci,
  `adjunto` text COLLATE utf8mb4_unicode_ci,
  `send_email` tinyint(1) NOT NULL DEFAULT '0',
  `is_respuesta` 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 `notif_detail_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_detail_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  KEY `notif_detail_notificacion_id_foreign` (`notificacion_id`),
  KEY `notif_detail_notif_respuesta_id_foreign` (`notif_respuesta_id`),
  CONSTRAINT `notif_detail_notif_respuesta_id_foreign` FOREIGN KEY (`notif_respuesta_id`) REFERENCES `notif_respuestas` (`id`),
  CONSTRAINT `notif_detail_notificacion_id_foreign` FOREIGN KEY (`notificacion_id`) REFERENCES `notif` (`id`),
  CONSTRAINT `notif_detail_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_detail_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_detail`
--


--
-- Table structure for table `notif_respuestas`
--

CREATE TABLE `notif_respuestas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `notif_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `fecha_vto` datetime DEFAULT NULL,
  `leido` tinyint(1) NOT NULL DEFAULT '0',
  `asunto` 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 `notif_respuestas_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_respuestas_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  KEY `notif_respuestas_notif_id_foreign` (`notif_id`),
  CONSTRAINT `notif_respuestas_notif_id_foreign` FOREIGN KEY (`notif_id`) REFERENCES `notif` (`id`),
  CONSTRAINT `notif_respuestas_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_respuestas_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_respuestas`
--


--
-- Table structure for table `notif_users_persons`
--

CREATE TABLE `notif_users_persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `parent_person_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 `notif_users_persons_user_id_foreign` (`user_id`),
  KEY `notif_users_persons_person_id_foreign` (`person_id`),
  KEY `notif_users_persons_parent_person_id_foreign` (`parent_person_id`),
  CONSTRAINT `notif_users_persons_parent_person_id_foreign` FOREIGN KEY (`parent_person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `notif_users_persons_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `notif_users_persons_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `tusers` (`idUser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_users_persons`
--


--
-- Table structure for table `obl_anual_conceptos`
--

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

--
-- Dumping data for table `obl_anual_conceptos`
--

INSERT INTO `obl_anual_conceptos` VALUES (1,NULL,'Balance','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(2,NULL,'Ganancias','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(3,NULL,'Acc y Part Soc','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(4,NULL,'Part Soc Informativa','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(5,NULL,'IGJ Balance','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(6,NULL,'TASAS IGJ','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(7,NULL,'Auditoria','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(8,NULL,'Libros Societarios','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(9,NULL,'CM 05','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL);

--
-- Table structure for table `obl_anual_registros`
--

CREATE TABLE `obl_anual_registros` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `obl_anual_concepto_id` int(10) unsigned NOT NULL,
  `cumplido` 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 `obl_anual_registros_person_id_foreign` (`person_id`),
  KEY `obl_anual_registros_obl_anual_concepto_id_foreign` (`obl_anual_concepto_id`),
  CONSTRAINT `obl_anual_registros_obl_anual_concepto_id_foreign` FOREIGN KEY (`obl_anual_concepto_id`) REFERENCES `obl_anual_conceptos` (`id`) ON DELETE CASCADE,
  CONSTRAINT `obl_anual_registros_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `obl_anual_registros`
--

INSERT INTO `obl_anual_registros` VALUES (1,10305,2024,40817,1,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(2,10305,2024,40817,2,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(3,10305,2024,40817,3,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(4,10305,2024,40817,4,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(5,10305,2024,40817,5,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(6,10305,2024,40817,6,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(7,10305,2024,40817,7,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(8,10305,2024,40817,8,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL),(9,10305,2024,40817,9,0,'2024-04-05 10:25:14','2024-04-05 10:25:14',NULL);

--
-- Table structure for table `ot_devoluciones_files`
--

CREATE TABLE `ot_devoluciones_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_devolucion_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 `ot_devoluciones_files_inv_ot_devolucion_id_foreign` (`inv_ot_devolucion_id`),
  CONSTRAINT `ot_devoluciones_files_inv_ot_devolucion_id_foreign` FOREIGN KEY (`inv_ot_devolucion_id`) REFERENCES `inv_ot_devoluciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ot_devoluciones_files`
--


--
-- Table structure for table `ot_devoluciones_productos`
--

CREATE TABLE `ot_devoluciones_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_devolucion_id` bigint(20) unsigned NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL,
  `costo` decimal(16,2) NOT NULL,
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` 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 `ot_devoluciones_productos_inv_ot_devolucion_id_foreign` (`inv_ot_devolucion_id`),
  KEY `ot_devoluciones_productos_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `ot_devoluciones_productos_moneda_id_foreign` (`moneda_id`),
  KEY `ot_devoluciones_productos_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `ot_devoluciones_productos_inv_ot_devolucion_id_foreign` FOREIGN KEY (`inv_ot_devolucion_id`) REFERENCES `inv_ot_devoluciones` (`id`),
  CONSTRAINT `ot_devoluciones_productos_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `ot_devoluciones_productos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `ot_devoluciones_productos_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 `ot_devoluciones_productos`
--


--
-- Table structure for table `other_taxes`
--

CREATE TABLE `other_taxes` (
  `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,
  `section` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `percent_tax` decimal(16,2) NOT NULL DEFAULT '0.00',
  `zone_id` int(10) unsigned DEFAULT NULL,
  `aliases` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `section_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `plan_cuenta_id_efectuada` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `other_taxes_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `other_taxes_plan_cuenta_id_efectuada_foreign` (`plan_cuenta_id_efectuada`),
  CONSTRAINT `other_taxes_plan_cuenta_id_efectuada_foreign` FOREIGN KEY (`plan_cuenta_id_efectuada`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `other_taxes_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1034 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `other_taxes`
--

INSERT INTO `other_taxes` VALUES (1000,NULL,'2024-06-19 23:38:37','Perc IVA','iva',0.00,NULL,NULL,'IVA',220,1400),(1001,NULL,'2024-05-28 23:56:37','Imps. Internos','gas',0.00,NULL,NULL,'Imp. Combustibles',221,1401),(1002,NULL,'2024-05-28 23:56:37','Imp. Gasoil','gas',0.00,NULL,NULL,'Imp. Combustibles',222,1402),(1003,NULL,'2024-05-28 23:56:37','Imp. Hídricos','gas',0.00,NULL,NULL,'Imp. Combustibles',223,1403),(1004,NULL,'2024-05-28 23:56:37','ITC','gas',0.00,NULL,NULL,'Imp. Combustibles',224,1404),(1005,NULL,'2024-05-28 23:56:37','Perc IIBB  Buenos Aires','iibb',0.00,23,NULL,'IIBB',225,1405),(1006,NULL,'2024-05-28 23:56:37','Perc IIBB  Capital Federal','iibb',0.00,22,NULL,'IIBB',226,1406),(1007,NULL,'2024-05-28 23:56:38','Perc IIBB  Catamarca','iibb',0.00,24,NULL,'IIBB',227,1407),(1008,NULL,'2024-05-28 23:56:38','Perc IIBB  Chaco','iibb',0.00,3,NULL,'IIBB',228,1408),(1009,NULL,'2024-05-28 23:56:38','Perc IIBB  Chubut','iibb',0.00,4,NULL,'IIBB',229,1409),(1010,NULL,'2024-05-28 23:56:38','Perc IIBB  Córdoba','iibb',0.00,1,NULL,'IIBB',230,1410),(1011,NULL,'2024-05-28 23:56:38','Perc IIBB  Corrientes','iibb',0.00,2,NULL,'IIBB',231,1411),(1012,NULL,'2024-05-28 23:56:38','Perc IIBB  Entre Ríos','iibb',0.00,5,NULL,'IIBB',232,1412),(1013,NULL,'2024-05-28 23:56:38','Perc IIBB  Formosa','iibb',0.00,6,NULL,'IIBB',233,1413),(1014,NULL,'2024-05-28 23:56:38','Perc IIBB  Jujuy','iibb',0.00,7,NULL,'IIBB',234,1414),(1015,NULL,'2024-05-28 23:56:38','Perc IIBB  La Pampa','iibb',0.00,8,NULL,'IIBB',235,1415),(1016,NULL,'2024-05-28 23:56:38','Perc IIBB  La Rioja','iibb',0.00,9,NULL,'IIBB',236,1416),(1017,NULL,'2024-05-28 23:56:38','Perc IIBB  Mendoza','iibb',0.00,10,NULL,'IIBB',237,1417),(1018,NULL,'2024-05-28 23:56:38','Perc IIBB  Misiones','iibb',0.00,11,NULL,'IIBB',238,1418),(1019,NULL,'2024-05-28 23:56:38','Perc IIBB  Neuquén','iibb',0.00,12,NULL,'IIBB',239,1419),(1020,NULL,'2024-05-28 23:56:38','Perc IIBB  Pascua Lama','iibb',0.00,25,NULL,'IIBB',240,1420),(1021,NULL,'2024-05-28 23:56:38','Perc IIBB  Río Negro','iibb',0.00,13,NULL,'IIBB',241,1421),(1022,NULL,'2024-05-28 23:56:38','Perc IIBB  Salta','iibb',0.00,14,NULL,'IIBB',242,1422),(1023,NULL,'2024-05-28 23:56:38','Perc IIBB  San Juan','iibb',0.00,15,NULL,'IIBB',243,1423),(1024,NULL,'2024-05-28 23:56:38','Perc IIBB  San Luis','iibb',0.00,16,NULL,'IIBB',244,1424),(1025,NULL,'2024-05-28 23:56:38','Perc IIBB  Santa Cruz','iibb',0.00,17,NULL,'IIBB',245,1425),(1026,NULL,'2024-05-28 23:56:38','Perc IIBB  Santa Fe','iibb',0.00,18,NULL,'IIBB',246,1426),(1027,NULL,'2024-05-28 23:56:38','Perc IIBB  Santiago del Estero','iibb',0.00,19,NULL,'IIBB',247,1427),(1028,NULL,'2024-05-28 23:56:38','Perc IIBB  Tierra del Fuego','iibb',0.00,20,NULL,'IIBB',248,1428),(1029,NULL,'2024-05-28 23:56:38','Perc IIBB  Tucuman','iibb',0.00,21,NULL,'IIBB',249,1429),(1030,'2019-05-03 03:33:05','2024-05-28 23:56:38','CO2 - Imp. Al Carbono','gas',0.00,NULL,NULL,'Imp. Combustibles',478,1430),(1031,'2023-02-16 08:53:03','2024-05-28 23:56:38','Imp. Municipales','gas',0.00,NULL,NULL,'Imp. Combustibles',215,1431),(1032,'2023-02-16 08:53:03','2024-05-28 23:56:38','Perc/Ret. Imp. Ganancias','gas',0.00,NULL,NULL,'Imp. Combustibles',216,1432),(1033,'2024-02-09 06:46:33','2024-05-28 23:56:38','Redondeo','redondeo',0.00,NULL,NULL,'Redondeo',136,136);

--
-- Table structure for table `pais`
--

CREATE TABLE `pais` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo` 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 `pais_descripcion_unique` (`descripcion`),
  UNIQUE KEY `pais_codigo_unique` (`codigo`)
) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pais`
--

INSERT INTO `pais` VALUES (1,NULL,NULL,'Argentina',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(2,NULL,NULL,'Afghanistan',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(3,NULL,NULL,'Albania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(4,NULL,NULL,'Alemania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(5,NULL,NULL,'Algeria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(6,NULL,NULL,'Andorra',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(7,NULL,NULL,'Angola',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(8,NULL,NULL,'Anguila',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(9,NULL,NULL,'Antártida',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(10,NULL,NULL,'Antigua y Barbuda',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(11,NULL,NULL,'Arabia Saudita',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(12,NULL,NULL,'Armenia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(13,NULL,NULL,'Aruba',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(14,NULL,NULL,'Australia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(15,NULL,NULL,'Austria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(16,NULL,NULL,'Azerbaiyán',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(17,NULL,NULL,'Bélgica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(18,NULL,NULL,'Bahamas',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(19,NULL,NULL,'Bahrein',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(20,NULL,NULL,'Bangladesh',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(21,NULL,NULL,'Barbados',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(22,NULL,NULL,'Belice',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(23,NULL,NULL,'Benín',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(24,NULL,NULL,'Bhután',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(25,NULL,NULL,'Bielorrusia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(26,NULL,NULL,'Birmania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(27,NULL,NULL,'Bolivia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(28,NULL,NULL,'Bosnia y Herzegovina',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(29,NULL,NULL,'Botsuana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(30,NULL,NULL,'Brasil',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(31,NULL,NULL,'Brunéi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(32,NULL,NULL,'Bulgaria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(33,NULL,NULL,'Burkina Faso',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(34,NULL,NULL,'Burundi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(35,NULL,NULL,'Cabo Verde',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(36,NULL,NULL,'Camboya',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(37,NULL,NULL,'Camerún',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(38,NULL,NULL,'Canadá',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(39,NULL,NULL,'Chad',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(40,NULL,NULL,'Chile',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(41,NULL,NULL,'China',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(42,NULL,NULL,'Chipre',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(43,NULL,NULL,'Ciudad del Vaticano',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(44,NULL,NULL,'Colombia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(45,NULL,NULL,'Comoras',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(46,NULL,NULL,'República del Congo',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(47,NULL,NULL,'República Democrática del Congo',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(48,NULL,NULL,'Corea del Norte',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(49,NULL,NULL,'Corea del Sur',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(50,NULL,NULL,'Costa de Marfil',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(51,NULL,NULL,'Costa Rica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL);
INSERT INTO `pais` VALUES (52,NULL,NULL,'Croacia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(53,NULL,NULL,'Cuba',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(54,NULL,NULL,'Curazao',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(55,NULL,NULL,'Dinamarca',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(56,NULL,NULL,'Dominica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(57,NULL,NULL,'Ecuador',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(58,NULL,NULL,'Egipto',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(59,NULL,NULL,'El Salvador',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(60,NULL,NULL,'Emiratos Árabes Unidos',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(61,NULL,NULL,'Eritrea',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(62,NULL,NULL,'Eslovaquia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(63,NULL,NULL,'Eslovenia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(64,NULL,NULL,'España',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(65,NULL,NULL,'Estados Unidos de América',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(66,NULL,NULL,'Estonia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(67,NULL,NULL,'Etiopía',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(68,NULL,NULL,'Filipinas',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(69,NULL,NULL,'Finlandia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(70,NULL,NULL,'Fiyi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(71,NULL,NULL,'Francia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(72,NULL,NULL,'Gabón',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(73,NULL,NULL,'Gambia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(74,NULL,NULL,'Georgia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(75,NULL,NULL,'Ghana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(76,NULL,NULL,'Gibraltar',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(77,NULL,NULL,'Granada',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(78,NULL,NULL,'Grecia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(79,NULL,NULL,'Groenlandia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(80,NULL,NULL,'Guadalupe',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(81,NULL,NULL,'Guam',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(82,NULL,NULL,'Guatemala',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(83,NULL,NULL,'Guayana Francesa',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(84,NULL,NULL,'Guernsey',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(85,NULL,NULL,'Guinea',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(86,NULL,NULL,'Guinea Ecuatorial',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(87,NULL,NULL,'Guinea-Bissau',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(88,NULL,NULL,'Guyana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(89,NULL,NULL,'Haití',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(90,NULL,NULL,'Honduras',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(91,NULL,NULL,'Hong kong',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(92,NULL,NULL,'Hungría',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(93,NULL,NULL,'India',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(94,NULL,NULL,'Indonesia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(95,NULL,NULL,'Irán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(96,NULL,NULL,'Irak',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(97,NULL,NULL,'Irlanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(98,NULL,NULL,'Isla Bouvet',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(99,NULL,NULL,'Isla de Man',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(100,NULL,NULL,'Isla de Navidad',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(101,NULL,NULL,'Isla Norfolk',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(102,NULL,NULL,'Islandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (103,NULL,NULL,'Islas Bermudas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(104,NULL,NULL,'Islas Caimán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(105,NULL,NULL,'Islas Cocos (Keeling)',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(106,NULL,NULL,'Islas Cook',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(107,NULL,NULL,'Islas de Åland',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(108,NULL,NULL,'Islas Feroe',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(109,NULL,NULL,'Islas Georgias del Sur y Sandwich del Sur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(110,NULL,NULL,'Islas Heard y McDonald',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(111,NULL,NULL,'Islas Maldivas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(112,NULL,NULL,'Islas Malvinas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(113,NULL,NULL,'Islas Marianas del Norte',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(114,NULL,NULL,'Islas Marshall',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(115,NULL,NULL,'Islas Pitcairn',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(116,NULL,NULL,'Islas Salomón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(117,NULL,NULL,'Islas Turcas y Caicos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(118,NULL,NULL,'Islas Ultramarinas Menores de Estados Unidos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(119,NULL,NULL,'Islas Vírgenes Británicas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(120,NULL,NULL,'Islas Vírgenes de los Estados Unidos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(121,NULL,NULL,'Israel',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(122,NULL,NULL,'Italia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(123,NULL,NULL,'Jamaica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(124,NULL,NULL,'Japón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(125,NULL,NULL,'Jersey',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(126,NULL,NULL,'Jordania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(127,NULL,NULL,'Kazajistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(128,NULL,NULL,'Kenia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(129,NULL,NULL,'Kirguistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(130,NULL,NULL,'Kiribati',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(131,NULL,NULL,'Kuwait',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(132,NULL,NULL,'Líbano',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(133,NULL,NULL,'Laos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(134,NULL,NULL,'Lesoto',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(135,NULL,NULL,'Letonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(136,NULL,NULL,'Liberia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(137,NULL,NULL,'Libia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(138,NULL,NULL,'Liechtenstein',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(139,NULL,NULL,'Lituania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(140,NULL,NULL,'Luxemburgo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(141,NULL,NULL,'México',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(142,NULL,NULL,'Mónaco',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(143,NULL,NULL,'Macao',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(144,NULL,NULL,'Macedônia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(145,NULL,NULL,'Madagascar',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(146,NULL,NULL,'Malasia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(147,NULL,NULL,'Malawi',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(148,NULL,NULL,'Mali',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(149,NULL,NULL,'Malta',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(150,NULL,NULL,'Marruecos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (151,NULL,NULL,'Martinica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(152,NULL,NULL,'Mauricio',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(153,NULL,NULL,'Mauritania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(154,NULL,NULL,'Mayotte',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(155,NULL,NULL,'Micronesia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(156,NULL,NULL,'Moldavia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(157,NULL,NULL,'Mongolia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(158,NULL,NULL,'Montenegro',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(159,NULL,NULL,'Montserrat',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(160,NULL,NULL,'Mozambique',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(161,NULL,NULL,'Namibia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(162,NULL,NULL,'Nauru',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(163,NULL,NULL,'Nepal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(164,NULL,NULL,'Nicaragua',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(165,NULL,NULL,'Niger',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(166,NULL,NULL,'Nigeria',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(167,NULL,NULL,'Niue',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(168,NULL,NULL,'Noruega',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(169,NULL,NULL,'Nueva Caledonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(170,NULL,NULL,'Nueva Zelanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(171,NULL,NULL,'Omán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(172,NULL,NULL,'Países Bajos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(173,NULL,NULL,'Pakistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(174,NULL,NULL,'Palau',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(175,NULL,NULL,'Palestina',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(176,NULL,NULL,'Panamá',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(177,NULL,NULL,'Papúa Nueva Guinea',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(178,NULL,NULL,'Paraguay',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(179,NULL,NULL,'Perú',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(180,NULL,NULL,'Polinesia Francesa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(181,NULL,NULL,'Polonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(182,NULL,NULL,'Portugal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(183,NULL,NULL,'Puerto Rico',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(184,NULL,NULL,'Qatar',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(185,NULL,NULL,'Reino Unido',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(186,NULL,NULL,'República Centroafricana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(187,NULL,NULL,'República Checa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(188,NULL,NULL,'República Dominicana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(189,NULL,NULL,'República de Sudán del Sur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(190,NULL,NULL,'Reunión',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(191,NULL,NULL,'Ruanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(192,NULL,NULL,'Rumanía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(193,NULL,NULL,'Rusia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(194,NULL,NULL,'Sahara Occidental',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(195,NULL,NULL,'Samoa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(196,NULL,NULL,'Samoa Americana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(197,NULL,NULL,'San Bartolomé',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(198,NULL,NULL,'San Cristóbal y Nieves',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(199,NULL,NULL,'San Marino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (200,NULL,NULL,'San Martín (Francia)',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(201,NULL,NULL,'San Pedro y Miquelón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(202,NULL,NULL,'San Vicente y las Granadinas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(203,NULL,NULL,'Santa Elena',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(204,NULL,NULL,'Santa Lucía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(205,NULL,NULL,'Santo Tomé y Príncipe',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(206,NULL,NULL,'Senegal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(207,NULL,NULL,'Serbia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(208,NULL,NULL,'Seychelles',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(209,NULL,NULL,'Sierra Leona',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(210,NULL,NULL,'Singapur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(211,NULL,NULL,'Sint Maarten',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(212,NULL,NULL,'Siria',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(213,NULL,NULL,'Somalia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(214,NULL,NULL,'Sri lanka',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(215,NULL,NULL,'Sudáfrica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(216,NULL,NULL,'Sudán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(217,NULL,NULL,'Suecia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(218,NULL,NULL,'Suiza',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(219,NULL,NULL,'Surinám',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(220,NULL,NULL,'Svalbard y Jan Mayen',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(221,NULL,NULL,'Swazilandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(222,NULL,NULL,'Tayikistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(223,NULL,NULL,'Tailandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(224,NULL,NULL,'Taiwán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(225,NULL,NULL,'Tanzania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(226,NULL,NULL,'Territorio Británico del Océano Índico',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(227,NULL,NULL,'Territorios Australes y Antárticas Franceses',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(228,NULL,NULL,'Timor Oriental',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(229,NULL,NULL,'Togo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(230,NULL,NULL,'Tokelau',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(231,NULL,NULL,'Tonga',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(232,NULL,NULL,'Trinidad y Tobago',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(233,NULL,NULL,'Tunez',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(234,NULL,NULL,'Turkmenistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(235,NULL,NULL,'Turquía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(236,NULL,NULL,'Tuvalu',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(237,NULL,NULL,'Ucrania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(238,NULL,NULL,'Uganda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(239,NULL,NULL,'Uruguay',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(240,NULL,NULL,'Uzbekistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(241,NULL,NULL,'Vanuatu',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(242,NULL,NULL,'Venezuela',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(243,NULL,NULL,'Vietnam',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(244,NULL,NULL,'Wallis y Futuna',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(245,NULL,NULL,'Yemen',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(246,NULL,NULL,'Yibuti',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(247,NULL,NULL,'Zambia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(248,NULL,NULL,'Zimbabue',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `paises_prefijos`
--

CREATE TABLE `paises_prefijos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pais` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefijo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` int(11) NOT NULL DEFAULT '1',
  `text` varchar(191) 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=195 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paises_prefijos`
--

INSERT INTO `paises_prefijos` VALUES (1,'Afganistán','93',1,'Afganistán 93',NULL,NULL,NULL),(2,'Albania','355',2,'Albania 355',NULL,NULL,NULL),(3,'Alemania','49',3,'Alemania 49',NULL,NULL,NULL),(4,'Andorra','376',4,'Andorra 376',NULL,NULL,NULL),(5,'Angola','244',5,'Angola 244',NULL,NULL,NULL),(6,'Antigua y Barbuda','1-268',6,'Antigua y Barbuda 1-268',NULL,NULL,NULL),(7,'Arabia Saudita','966',7,'Arabia Saudita 966',NULL,NULL,NULL),(8,'Argelia','213',8,'Argelia 213',NULL,NULL,NULL),(9,'Argentina','549',9,'Argentina 549',NULL,NULL,NULL),(10,'Armenia','374',10,'Armenia 374',NULL,NULL,NULL),(11,'Australia','61',11,'Australia 61',NULL,NULL,NULL),(12,'Austria','43',12,'Austria 43',NULL,NULL,NULL),(13,'Azerbaiyán','994',13,'Azerbaiyán 994',NULL,NULL,NULL),(14,'Bahamas','1-242',14,'Bahamas 1-242',NULL,NULL,NULL),(15,'Bangladés','880',15,'Bangladés 880',NULL,NULL,NULL),(16,'Barbados','1-246',16,'Barbados 1-246',NULL,NULL,NULL),(17,'Baréin','973',17,'Baréin 973',NULL,NULL,NULL),(18,'Bélgica','32',18,'Bélgica 32',NULL,NULL,NULL),(19,'Belice','501',19,'Belice 501',NULL,NULL,NULL),(20,'Benín','229',20,'Benín 229',NULL,NULL,NULL),(21,'Bielorrusia','375',21,'Bielorrusia 375',NULL,NULL,NULL),(22,'Birmania','95',22,'Birmania 95',NULL,NULL,NULL),(23,'Bolivia','591',23,'Bolivia 591',NULL,NULL,NULL),(24,'Bosnia y Herzegovina','387',24,'Bosnia y Herzegovina 387',NULL,NULL,NULL),(25,'Botsuana','267',25,'Botsuana 267',NULL,NULL,NULL),(26,'Brasil','55',26,'Brasil 55',NULL,NULL,NULL),(27,'Brunéi','673',27,'Brunéi 673',NULL,NULL,NULL),(28,'Bulgaria','359',28,'Bulgaria 359',NULL,NULL,NULL),(29,'Burkina Faso','226',29,'Burkina Faso 226',NULL,NULL,NULL),(30,'Burundi','257',30,'Burundi 257',NULL,NULL,NULL),(31,'Bután','975',31,'Bután 975',NULL,NULL,NULL),(32,'Cabo Verde','238',32,'Cabo Verde 238',NULL,NULL,NULL),(33,'Camboya','855',33,'Camboya 855',NULL,NULL,NULL),(34,'Camerún','237',34,'Camerún 237',NULL,NULL,NULL),(35,'Canadá','1',35,'Canadá 1',NULL,NULL,NULL),(36,'Catar','974',36,'Catar 974',NULL,NULL,NULL),(37,'Chad','235',37,'Chad 235',NULL,NULL,NULL),(38,'Chile','56',38,'Chile 56',NULL,NULL,NULL),(39,'China','86',39,'China 86',NULL,NULL,NULL),(40,'Chipre','357',40,'Chipre 357',NULL,NULL,NULL),(41,'Colombia','57',41,'Colombia 57',NULL,NULL,NULL),(42,'Comoras','269',42,'Comoras 269',NULL,NULL,NULL),(43,'Corea del Norte','850',43,'Corea del Norte 850',NULL,NULL,NULL),(44,'Corea del Sur','82',44,'Corea del Sur 82',NULL,NULL,NULL),(45,'Costa de Marfil','225',45,'Costa de Marfil 225',NULL,NULL,NULL),(46,'Costa Rica','506',46,'Costa Rica 506',NULL,NULL,NULL),(47,'Croacia','385',47,'Croacia 385',NULL,NULL,NULL),(48,'Cuba','53',48,'Cuba 53',NULL,NULL,NULL),(49,'Dinamarca','45',49,'Dinamarca 45',NULL,NULL,NULL),(50,'Dominica','1-767',50,'Dominica 1-767',NULL,NULL,NULL),(51,'Ecuador','593',51,'Ecuador 593',NULL,NULL,NULL),(52,'Egipto','20',52,'Egipto 20',NULL,NULL,NULL),(53,'El Salvador','503',53,'El Salvador 503',NULL,NULL,NULL),(54,'Emiratos Árabes Unidos','971',54,'Emiratos Árabes Unidos 971',NULL,NULL,NULL),(55,'Eritrea','291',55,'Eritrea 291',NULL,NULL,NULL),(56,'Eslovaquia','421',56,'Eslovaquia 421',NULL,NULL,NULL),(57,'Eslovenia','386',57,'Eslovenia 386',NULL,NULL,NULL),(58,'España','34',58,'España 34',NULL,NULL,NULL),(59,'Estados Unidos','1',59,'Estados Unidos 1',NULL,NULL,NULL),(60,'Estonia','372',60,'Estonia 372',NULL,NULL,NULL),(61,'Etiopía','251',61,'Etiopía 251',NULL,NULL,NULL),(62,'Filipinas','63',62,'Filipinas 63',NULL,NULL,NULL),(63,'Finlandia','358',63,'Finlandia 358',NULL,NULL,NULL),(64,'Fiyi','679',64,'Fiyi 679',NULL,NULL,NULL),(65,'Francia','33',65,'Francia 33',NULL,NULL,NULL),(66,'Gabón','241',66,'Gabón 241',NULL,NULL,NULL),(67,'Gambia','220',67,'Gambia 220',NULL,NULL,NULL),(68,'Georgia','995',68,'Georgia 995',NULL,NULL,NULL),(69,'Ghana','233',69,'Ghana 233',NULL,NULL,NULL),(70,'Granada','1-473',70,'Granada 1-473',NULL,NULL,NULL),(71,'Grecia','30',71,'Grecia 30',NULL,NULL,NULL);
INSERT INTO `paises_prefijos` VALUES (72,'Guatemala','502',72,'Guatemala 502',NULL,NULL,NULL),(73,'Guinea','224',73,'Guinea 224',NULL,NULL,NULL),(74,'Guinea Ecuatorial','240',74,'Guinea Ecuatorial 240',NULL,NULL,NULL),(75,'Guinea-Bisáu','245',75,'Guinea-Bisáu 245',NULL,NULL,NULL),(76,'Guyana','592',76,'Guyana 592',NULL,NULL,NULL),(77,'Haití','509',77,'Haití 509',NULL,NULL,NULL),(78,'Honduras','504',78,'Honduras 504',NULL,NULL,NULL),(79,'Hungría','36',79,'Hungría 36',NULL,NULL,NULL),(80,'India','91',80,'India 91',NULL,NULL,NULL),(81,'Indonesia','62',81,'Indonesia 62',NULL,NULL,NULL),(82,'Irak','964',82,'Irak 964',NULL,NULL,NULL),(83,'Irán','98',83,'Irán 98',NULL,NULL,NULL),(84,'Irlanda','353',84,'Irlanda 353',NULL,NULL,NULL),(85,'Islandia','354',85,'Islandia 354',NULL,NULL,NULL),(86,'Islas Marshall','692',86,'Islas Marshall 692',NULL,NULL,NULL),(87,'Islas Salomón','677',87,'Islas Salomón 677',NULL,NULL,NULL),(88,'Israel','972',88,'Israel 972',NULL,NULL,NULL),(89,'Italia','39',89,'Italia 39',NULL,NULL,NULL),(90,'Jamaica','1-876',90,'Jamaica 1-876',NULL,NULL,NULL),(91,'Japón','81',91,'Japón 81',NULL,NULL,NULL),(92,'Jordania','962',92,'Jordania 962',NULL,NULL,NULL),(93,'Kazajistán','7',93,'Kazajistán 7',NULL,NULL,NULL),(94,'Kenia','254',94,'Kenia 254',NULL,NULL,NULL),(95,'Kirguistán','996',95,'Kirguistán 996',NULL,NULL,NULL),(96,'Kiribati','686',96,'Kiribati 686',NULL,NULL,NULL),(97,'Kuwait','965',97,'Kuwait 965',NULL,NULL,NULL),(98,'Laos','856',98,'Laos 856',NULL,NULL,NULL),(99,'Lesoto','266',99,'Lesoto 266',NULL,NULL,NULL),(100,'Letonia','371',100,'Letonia 371',NULL,NULL,NULL),(101,'Líbano','961',101,'Líbano 961',NULL,NULL,NULL),(102,'Liberia','231',102,'Liberia 231',NULL,NULL,NULL),(103,'Libia','218',103,'Libia 218',NULL,NULL,NULL),(104,'Liechtenstein','423',104,'Liechtenstein 423',NULL,NULL,NULL),(105,'Lituania','370',105,'Lituania 370',NULL,NULL,NULL),(106,'Luxemburgo','352',106,'Luxemburgo 352',NULL,NULL,NULL),(107,'Macedonia del Norte','389',107,'Macedonia del Norte 389',NULL,NULL,NULL),(108,'Madagascar','261',108,'Madagascar 261',NULL,NULL,NULL),(109,'Malasia','60',109,'Malasia 60',NULL,NULL,NULL),(110,'Malaui','265',110,'Malaui 265',NULL,NULL,NULL),(111,'Maldivas','960',111,'Maldivas 960',NULL,NULL,NULL),(112,'Malí','223',112,'Malí 223',NULL,NULL,NULL),(113,'Malta','356',113,'Malta 356',NULL,NULL,NULL),(114,'Marruecos','212',114,'Marruecos 212',NULL,NULL,NULL),(115,'Mauricio','230',115,'Mauricio 230',NULL,NULL,NULL),(116,'Mauritania','222',116,'Mauritania 222',NULL,NULL,NULL),(117,'México','52',117,'México 52',NULL,NULL,NULL),(118,'Micronesia','691',118,'Micronesia 691',NULL,NULL,NULL),(119,'Moldavia','373',119,'Moldavia 373',NULL,NULL,NULL),(120,'Mónaco','377',120,'Mónaco 377',NULL,NULL,NULL),(121,'Mongolia','976',121,'Mongolia 976',NULL,NULL,NULL),(122,'Montenegro','382',122,'Montenegro 382',NULL,NULL,NULL),(123,'Mozambique','258',123,'Mozambique 258',NULL,NULL,NULL),(124,'Namibia','264',124,'Namibia 264',NULL,NULL,NULL),(125,'Nauru','674',125,'Nauru 674',NULL,NULL,NULL),(126,'Nepal','977',126,'Nepal 977',NULL,NULL,NULL),(127,'Nicaragua','505',127,'Nicaragua 505',NULL,NULL,NULL),(128,'Níger','227',128,'Níger 227',NULL,NULL,NULL),(129,'Nigeria','234',129,'Nigeria 234',NULL,NULL,NULL),(130,'Noruega','47',130,'Noruega 47',NULL,NULL,NULL),(131,'Nueva Zelanda','64',131,'Nueva Zelanda 64',NULL,NULL,NULL),(132,'Omán','968',132,'Omán 968',NULL,NULL,NULL),(133,'Países Bajos','31',133,'Países Bajos 31',NULL,NULL,NULL),(134,'Pakistán','92',134,'Pakistán 92',NULL,NULL,NULL),(135,'Palaos','680',135,'Palaos 680',NULL,NULL,NULL),(136,'Panamá','507',136,'Panamá 507',NULL,NULL,NULL),(137,'Papúa Nueva Guinea','675',137,'Papúa Nueva Guinea 675',NULL,NULL,NULL),(138,'Paraguay','595',138,'Paraguay 595',NULL,NULL,NULL),(139,'Perú','51',139,'Perú 51',NULL,NULL,NULL),(140,'Polonia','48',140,'Polonia 48',NULL,NULL,NULL),(141,'Portugal','351',141,'Portugal 351',NULL,NULL,NULL);
INSERT INTO `paises_prefijos` VALUES (142,'Reino Unido','44',142,'Reino Unido 44',NULL,NULL,NULL),(143,'República Centroafricana','236',143,'República Centroafricana 236',NULL,NULL,NULL),(144,'República Checa','420',144,'República Checa 420',NULL,NULL,NULL),(145,'República del Congo','242',145,'República del Congo 242',NULL,NULL,NULL),(146,'República Democrática del Congo','243',146,'República Democrática del Congo 243',NULL,NULL,NULL),(147,'República Dominicana','1-809',147,'República Dominicana 1-809',NULL,NULL,NULL),(148,'Ruanda','250',148,'Ruanda 250',NULL,NULL,NULL),(149,'Rumania','40',149,'Rumania 40',NULL,NULL,NULL),(150,'Rusia','7',150,'Rusia 7',NULL,NULL,NULL),(151,'Samoa','685',151,'Samoa 685',NULL,NULL,NULL),(152,'San Cristóbal y Nieves','1-869',152,'San Cristóbal y Nieves 1-869',NULL,NULL,NULL),(153,'San Marino','378',153,'San Marino 378',NULL,NULL,NULL),(154,'San Vicente y las Granadinas','1-784',154,'San Vicente y las Granadinas 1-784',NULL,NULL,NULL),(155,'Santa Lucía','1-758',155,'Santa Lucía 1-758',NULL,NULL,NULL),(156,'Santo Tomé y Príncipe','239',156,'Santo Tomé y Príncipe 239',NULL,NULL,NULL),(157,'Senegal','221',157,'Senegal 221',NULL,NULL,NULL),(158,'Serbia','381',158,'Serbia 381',NULL,NULL,NULL),(159,'Seychelles','248',159,'Seychelles 248',NULL,NULL,NULL),(160,'Sierra Leona','232',160,'Sierra Leona 232',NULL,NULL,NULL),(161,'Singapur','65',161,'Singapur 65',NULL,NULL,NULL),(162,'Siria','963',162,'Siria 963',NULL,NULL,NULL),(163,'Somalia','252',163,'Somalia 252',NULL,NULL,NULL),(164,'Sri Lanka','94',164,'Sri Lanka 94',NULL,NULL,NULL),(165,'Sudáfrica','27',165,'Sudáfrica 27',NULL,NULL,NULL),(166,'Sudán','249',166,'Sudán 249',NULL,NULL,NULL),(167,'Sudán del Sur','211',167,'Sudán del Sur 211',NULL,NULL,NULL),(168,'Suecia','46',168,'Suecia 46',NULL,NULL,NULL),(169,'Suiza','41',169,'Suiza 41',NULL,NULL,NULL),(170,'Surinam','597',170,'Surinam 597',NULL,NULL,NULL),(171,'Tailandia','66',171,'Tailandia 66',NULL,NULL,NULL),(172,'Taiwán','886',172,'Taiwán 886',NULL,NULL,NULL),(173,'Tanzania','255',173,'Tanzania 255',NULL,NULL,NULL),(174,'Tayikistán','992',174,'Tayikistán 992',NULL,NULL,NULL),(175,'Timor Oriental','670',175,'Timor Oriental 670',NULL,NULL,NULL),(176,'Togo','228',176,'Togo 228',NULL,NULL,NULL),(177,'Tonga','676',177,'Tonga 676',NULL,NULL,NULL),(178,'Trinidad y Tobago','1-868',178,'Trinidad y Tobago 1-868',NULL,NULL,NULL),(179,'Túnez','216',179,'Túnez 216',NULL,NULL,NULL),(180,'Turkmenistán','993',180,'Turkmenistán 993',NULL,NULL,NULL),(181,'Turquía','90',181,'Turquía 90',NULL,NULL,NULL),(182,'Tuvalu','688',182,'Tuvalu 688',NULL,NULL,NULL),(183,'Ucrania','380',183,'Ucrania 380',NULL,NULL,NULL),(184,'Uganda','256',184,'Uganda 256',NULL,NULL,NULL),(185,'Uruguay','598',185,'Uruguay 598',NULL,NULL,NULL),(186,'Uzbekistán','998',186,'Uzbekistán 998',NULL,NULL,NULL),(187,'Vanuatu','678',187,'Vanuatu 678',NULL,NULL,NULL),(188,'Vaticano','379',188,'Vaticano 379',NULL,NULL,NULL),(189,'Venezuela','58',189,'Venezuela 58',NULL,NULL,NULL),(190,'Vietnam','84',190,'Vietnam 84',NULL,NULL,NULL),(191,'Yemen','967',191,'Yemen 967',NULL,NULL,NULL),(192,'Yibuti','253',192,'Yibuti 253',NULL,NULL,NULL),(193,'Zambia','260',193,'Zambia 260',NULL,NULL,NULL),(194,'Zimbabue','263',194,'Zimbabue 263',NULL,NULL,NULL);

--
-- Table structure for table `panel_liquidaciones`
--

CREATE TABLE `panel_liquidaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `panel_tipo_liq_id` bigint(20) unsigned NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` text 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 `panel_liquidaciones_period_id_foreign` (`period_id`),
  KEY `panel_liquidaciones_panel_tipo_liq_id_foreign` (`panel_tipo_liq_id`),
  KEY `panel_liquidaciones_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `panel_liquidaciones_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `panel_liquidaciones_panel_tipo_liq_id_foreign` FOREIGN KEY (`panel_tipo_liq_id`) REFERENCES `panel_tipo_liquidaciones` (`id`),
  CONSTRAINT `panel_liquidaciones_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_liquidaciones`
--


--
-- Table structure for table `panel_tipo_liquidaciones`
--

CREATE TABLE `panel_tipo_liquidaciones` (
  `id` bigint(20) 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`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_tipo_liquidaciones`
--

INSERT INTO `panel_tipo_liquidaciones` VALUES (1,NULL,'Mensual',1,NULL,NULL,NULL),(2,NULL,'Q1',1,NULL,NULL,NULL),(3,NULL,'Q2',1,NULL,NULL,NULL);

--
-- Table structure for table `panel_users`
--

CREATE TABLE `panel_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `user` 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 `panel_users_user_unique` (`user`),
  UNIQUE KEY `user_person_unique` (`user`,`person_id`),
  KEY `panel_users_person_id_foreign` (`person_id`),
  KEY `panel_users_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `panel_users_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `panel_users_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_users`
--


--
-- Table structure for table `panel_users_emails`
--

CREATE TABLE `panel_users_emails` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `panel_user_id` bigint(20) unsigned NOT NULL,
  `email` text 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 `panel_users_emails_panel_user_id_foreign` (`panel_user_id`),
  CONSTRAINT `panel_users_emails_panel_user_id_foreign` FOREIGN KEY (`panel_user_id`) REFERENCES `panel_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_users_emails`
--


--
-- Table structure for table `panel_users_movimientos`
--

CREATE TABLE `panel_users_movimientos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `panel_user_id` bigint(20) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `credit_debit` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `document` text COLLATE utf8mb4_unicode_ci,
  `operacion_id` text COLLATE utf8mb4_unicode_ci,
  `is_recarga` tinyint(1) NOT NULL DEFAULT '0',
  `path_file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `panel_users_movimientos_panel_user_id_foreign` (`panel_user_id`),
  KEY `panel_users_movimientos_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `panel_users_movimientos_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `panel_users_movimientos_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `panel_users_movimientos_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `panel_users_movimientos_panel_user_id_foreign` FOREIGN KEY (`panel_user_id`) REFERENCES `panel_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_users_movimientos`
--


--
-- Table structure for table `panel_users_telefonos`
--

CREATE TABLE `panel_users_telefonos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `panel_user_id` bigint(20) unsigned NOT NULL,
  `telefono` text 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 `panel_users_telefonos_panel_user_id_foreign` (`panel_user_id`),
  CONSTRAINT `panel_users_telefonos_panel_user_id_foreign` FOREIGN KEY (`panel_user_id`) REFERENCES `panel_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_users_telefonos`
--


--
-- Table structure for table `panel_users_transfer`
--

CREATE TABLE `panel_users_transfer` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `panel_user_id` bigint(20) unsigned NOT NULL,
  `panel_user_movimiento_id` bigint(20) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `credit_debit` int(10) unsigned NOT NULL,
  `document` text COLLATE utf8mb4_unicode_ci,
  `operacion_id` text COLLATE utf8mb4_unicode_ci,
  `cbu_alias` text COLLATE utf8mb4_unicode_ci,
  `nombre_apellido` text COLLATE utf8mb4_unicode_ci,
  `fecha` datetime DEFAULT NULL,
  `fecha_to_transfer` date DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `is_realizada` tinyint(1) NOT NULL DEFAULT '0',
  `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 `panel_users_transfer_panel_user_id_foreign` (`panel_user_id`),
  KEY `panel_users_transfer_panel_user_movimiento_id_foreign` (`panel_user_movimiento_id`),
  KEY `panel_users_transfer_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `panel_users_transfer_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `panel_users_transfer_panel_user_id_foreign` FOREIGN KEY (`panel_user_id`) REFERENCES `panel_users` (`id`),
  CONSTRAINT `panel_users_transfer_panel_user_movimiento_id_foreign` FOREIGN KEY (`panel_user_movimiento_id`) REFERENCES `panel_users_movimientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panel_users_transfer`
--


--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  UNIQUE KEY `password_resets_email_token_unique` (`email`,`token`),
  KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_resets`
--


--
-- Table structure for table `path_of_file`
--

CREATE TABLE `path_of_file` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `path_of_file_name_id` int(10) unsigned DEFAULT NULL,
  `path` longtext COLLATE utf8mb4_unicode_ci,
  `storage` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` 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 `path_of_file_person_id_foreign` (`person_id`),
  KEY `path_of_file_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `path_of_file_path_of_file_name_id_foreign` (`path_of_file_name_id`),
  CONSTRAINT `path_of_file_path_of_file_name_id_foreign` FOREIGN KEY (`path_of_file_name_id`) REFERENCES `path_of_file_names` (`id`),
  CONSTRAINT `path_of_file_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `path_of_file_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `path_of_file`
--

INSERT INTO `path_of_file` VALUES (1,10303,40817,NULL,15,NULL,NULL,NULL,NULL,'2024-04-09 13:33:33','2024-04-09 13:33:33',NULL),(2,NULL,40817,NULL,15,'<a href=\"https://taxes.com.ar/storage/temporales/movimientos_2024-05-06_13-41-13.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-06 13:41:13','2024-05-06 13:41:13',NULL),(3,NULL,40817,NULL,1,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_iva_ventas_compras/Libro_IVA_CONTENEDORES_HUGO_SA_VENTAS_2024_053.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-21 09:03:53','2024-05-21 09:03:57',NULL),(4,NULL,40817,NULL,4,'<a href=\"https://taxes.com.ar/storage/contabilidad/sumas_y_saldos/Sumas_y_Saldos_CONTENEDORES_HUGO_SA_4.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-21 09:57:06','2024-05-21 09:57:27',NULL),(5,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA_5.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-21 09:58:27','2024-05-21 09:59:00',NULL),(6,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA6.pdf\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-21 10:53:17','2024-05-21 10:53:46',NULL),(7,NULL,40817,NULL,4,'<a href=\"https://taxes.com.ar/storage/contabilidad/sumas_y_saldos/Sumas_y_Saldos_CONTENEDORES_HUGO_SA_7.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-24 10:21:44','2024-05-24 10:22:00',NULL),(8,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_8.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-24 10:23:12','2024-05-27 13:30:37','2024-05-27 13:30:37'),(9,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_9.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-27 10:27:10','2024-05-27 13:30:37','2024-05-27 13:30:37'),(10,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_10.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-27 13:28:49','2024-05-27 13:30:37','2024-05-27 13:30:37'),(11,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_11.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-27 13:29:08','2024-05-27 13:30:37','2024-05-27 13:30:37'),(12,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_12.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-27 13:30:06','2024-05-27 13:30:37','2024-05-27 13:30:37'),(13,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_13.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-27 13:42:41','2024-05-27 13:42:43',NULL),(14,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_14.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-28 10:34:44','2024-05-28 10:34:45',NULL),(15,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA_15.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-05-29 09:21:02','2024-05-29 09:21:44',NULL),(16,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA_16.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-03 10:19:37','2024-06-03 10:20:33',NULL),(17,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA_17.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-03 12:41:53','2024-06-03 12:42:50',NULL),(18,NULL,40817,NULL,2,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_diario/Libro_Diario_CONTENEDORES_HUGO_SA_18.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-03 12:49:19','2024-06-03 12:50:23',NULL),(19,NULL,40817,NULL,1,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_iva_ventas_compras/Libro_IVA_CONTENEDORES_HUGO_SA_VENTAS_2024_0519.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-03 14:14:41','2024-06-03 14:14:45',NULL),(20,10300,40817,NULL,2,NULL,NULL,NULL,NULL,'2024-06-03 15:26:41','2024-06-03 15:26:41',NULL);
INSERT INTO `path_of_file` VALUES (21,NULL,40817,NULL,1,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_iva_ventas_compras/Libro_IVA_CONTENEDORES_HUGO_SA_VENTAS_2024_0521.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-04 08:19:08','2024-06-04 08:19:12',NULL),(22,NULL,40817,NULL,3,'<a href=\"https://taxes.com.ar/storage/contabilidad/mayores/Mayor_CONTENEDORES_HUGO_SA_22.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-07 12:12:38','2024-06-07 12:12:41',NULL),(23,NULL,40817,NULL,1,'<a href=\"https://taxes.com.ar/storage/contabilidad/libro_iva_ventas_compras/Libro_IVA_CONTENEDORES_HUGO_SA_COMPRAS_2024_0523.xlsx\">DESCARGAR</a>',NULL,NULL,NULL,'2024-06-07 12:54:54','2024-06-07 12:55:01',NULL);

--
-- Table structure for table `path_of_file_names`
--

CREATE TABLE `path_of_file_names` (
  `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=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `path_of_file_names`
--

INSERT INTO `path_of_file_names` VALUES (1,NULL,'Libro IVA Compras - Ventas',NULL,NULL,NULL),(2,NULL,'Libro Diario',NULL,NULL,NULL),(3,NULL,'Mayores',NULL,NULL,NULL),(4,NULL,'Sumas y Saldos',NULL,NULL,NULL),(5,NULL,'Comprobantes Todas las Empresas','2023-02-16 08:52:56','2023-02-16 08:52:56',NULL),(6,NULL,'Bot Mis Comprobantes','2023-02-16 08:52:57','2023-02-16 08:52:57',NULL),(7,NULL,'SICOSS','2023-02-16 08:53:03','2023-02-16 08:53:03',NULL),(13,NULL,'Bot Generar Vep','2023-02-16 08:53:03','2023-02-16 08:53:03',NULL),(14,NULL,'TXT LSD','2024-02-09 06:46:19','2024-02-09 06:46:19',NULL),(15,NULL,'Movimientos Productos','2024-03-30 07:32:15','2024-03-30 07:32:15',NULL),(16,NULL,'Excel SF','2025-03-13 00:23:37','2025-03-13 00:23:37',NULL),(17,NULL,'Conceptos que Se Liquidan','2025-07-11 18:19:41','2025-07-11 18:19:41',NULL),(18,NULL,'Eliminación Masiva de Comprobantes','2025-08-25 10:07:53','2025-08-25 10:07:53',NULL);

--
-- Table structure for table `pay_methods`
--

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

--
-- Dumping data for table `pay_methods`
--

INSERT INTO `pay_methods` VALUES (1,'INTERBANKING',NULL,NULL),(2,'VEP PAGOMISCUENTAS',NULL,NULL),(3,'VEP REDLINK',NULL,NULL),(4,'FORMULARIO',NULL,NULL);

--
-- Table structure for table `period_liquidation_details`
--

CREATE TABLE `period_liquidation_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `calculo_iibb` int(10) unsigned NOT NULL DEFAULT '1',
  `actividad_id` int(10) unsigned NOT NULL DEFAULT '1',
  `coef` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `aliquot` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `cm_articulo_regimen_id` int(10) unsigned NOT NULL DEFAULT '1',
  `base_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `previous_period_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `sircreb_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `perception_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retention_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `positive_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `negative_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `balance` 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 `period_liquidation_details_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_details_period_id_foreign` (`period_id`),
  KEY `period_liquidation_details_person_id_foreign` (`person_id`),
  KEY `period_liquidation_details_zone_id_foreign` (`zone_id`),
  KEY `period_liquidation_details_actividad_id_foreign` (`actividad_id`),
  KEY `period_liquidation_details_cm_articulo_regimen_id_foreign` (`cm_articulo_regimen_id`),
  CONSTRAINT `period_liquidation_details_actividad_id_foreign` FOREIGN KEY (`actividad_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `period_liquidation_details_cm_articulo_regimen_id_foreign` FOREIGN KEY (`cm_articulo_regimen_id`) REFERENCES `cm_articulos_regimenes` (`id`),
  CONSTRAINT `period_liquidation_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_details_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `period_liquidation_details_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19307 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_details`
--

INSERT INTO `period_liquidation_details` VALUES (41,8522,22,1518,40718,23,1,1,0.5500,2.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(42,8522,22,1518,40718,23,1,2,0.5500,3.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(43,8522,22,1518,40718,22,1,1,0.4500,3.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(44,8522,22,1518,40718,22,1,2,0.4500,3.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(53,8522,29,1519,40718,23,1,1,0.5500,2.5000,1,858945.00,11810.49,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(54,8522,29,1519,40718,23,1,2,0.5500,3.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(55,8522,29,1519,40718,22,1,1,0.4500,3.0000,1,858945.00,11595.76,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(56,8522,29,1519,40718,22,1,2,0.4500,3.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(57,8522,30,1520,40718,23,1,1,0.5500,2.5000,1,721604.00,9922.06,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(58,8522,30,1520,40718,23,1,2,0.5500,3.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(59,8522,30,1520,40718,22,1,1,0.4500,3.0000,1,721604.00,9741.65,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(60,8522,30,1520,40718,22,1,2,0.4500,3.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(61,8522,32,1521,40718,23,1,1,0.5500,2.5000,1,1201111.00,16515.28,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(62,8522,32,1521,40718,23,1,2,0.5500,3.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(63,8522,32,1521,40718,22,1,1,0.4500,3.0000,1,1201111.00,16215.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(64,8522,32,1521,40718,22,1,2,0.4500,3.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(95,NULL,42,7600,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(96,NULL,42,7600,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(97,NULL,42,7600,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(98,NULL,42,7600,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(99,NULL,42,7600,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(100,NULL,42,7600,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(101,10300,44,7601,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL),(102,10300,44,7601,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL),(103,10300,44,7601,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL),(104,10300,44,7601,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL),(105,10300,44,7601,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL),(106,10300,44,7601,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:27:46','2024-04-12 12:27:46',NULL);
INSERT INTO `period_liquidation_details` VALUES (107,10300,46,7602,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(108,10300,46,7602,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(109,10300,46,7602,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(110,10300,46,7602,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(111,10300,46,7602,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(112,10300,46,7602,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(137,10300,56,7610,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(138,10300,56,7610,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(139,10300,56,7610,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(140,10300,56,7610,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(141,10300,56,7610,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(142,10300,56,7610,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(143,10300,58,7611,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(144,10300,58,7611,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(145,10300,58,7611,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(146,10300,58,7611,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(147,10300,58,7611,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(148,10300,58,7611,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(173,10300,68,7612,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(174,10300,68,7612,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(175,10300,68,7612,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(176,10300,68,7612,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(177,10300,68,7612,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(178,10300,68,7612,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(185,10300,72,7614,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(186,10300,72,7614,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(187,10300,72,7614,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(188,10300,72,7614,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL);
INSERT INTO `period_liquidation_details` VALUES (189,10300,72,7614,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(190,10300,72,7614,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(191,10300,74,7615,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(192,10300,74,7615,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(193,10300,74,7615,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(194,10300,74,7615,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(195,10300,74,7615,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(196,10300,74,7615,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(197,10300,76,7616,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(198,10300,76,7616,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(199,10300,76,7616,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(200,10300,76,7616,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(201,10300,76,7616,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(202,10300,76,7616,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(209,10300,80,7618,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(210,10300,80,7618,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(211,10300,80,7618,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(212,10300,80,7618,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(213,10300,80,7618,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(214,10300,80,7618,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(227,NULL,86,7599,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(228,NULL,86,7599,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(229,NULL,86,7599,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(230,NULL,86,7599,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(231,NULL,86,7599,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(232,NULL,86,7599,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(233,10300,88,6066,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(234,10300,88,6066,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL);
INSERT INTO `period_liquidation_details` VALUES (235,10300,88,6066,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(236,10300,88,6066,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(237,10300,88,6066,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(238,10300,88,6066,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(611,10305,214,6064,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(612,10305,214,6064,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(613,10305,214,6064,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(614,10305,214,6064,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(615,10305,214,6064,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(616,10305,214,6064,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(1127,10300,386,7619,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1128,10300,386,7619,40817,22,1,395,0.0000,0.0000,1,10665948.37,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1129,10300,386,7619,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1130,10300,386,7619,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1131,10300,386,7619,40817,23,1,395,0.0000,0.0000,1,10665948.37,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1132,10300,386,7619,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(1181,10300,404,7613,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(1182,10300,404,7613,40817,22,1,395,0.0000,0.0000,1,372680.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(1183,10300,404,7613,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(1184,10300,404,7613,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(1185,10300,404,7613,40817,23,1,395,0.0000,0.0000,1,372680.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(1186,10300,404,7613,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(6935,NULL,2322,7579,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(6936,NULL,2322,7579,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(6937,NULL,2322,7579,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(6938,NULL,2322,7579,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(6939,NULL,2322,7579,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL);
INSERT INTO `period_liquidation_details` VALUES (6940,NULL,2322,7579,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(6941,NULL,2324,7804,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6942,NULL,2324,7804,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6943,NULL,2324,7804,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6944,NULL,2324,7804,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6945,NULL,2324,7804,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6946,NULL,2324,7804,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(6947,10300,2326,7620,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6948,10300,2326,7620,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6949,10300,2326,7620,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6950,10300,2326,7620,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6951,10300,2326,7620,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6952,10300,2326,7620,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(6971,NULL,2334,7729,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6972,NULL,2334,7729,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6973,NULL,2334,7729,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6974,NULL,2334,7729,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6975,NULL,2334,7729,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6976,NULL,2334,7729,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(6977,NULL,2336,7729,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6978,NULL,2336,7729,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6979,NULL,2336,7729,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6980,NULL,2336,7729,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6981,NULL,2336,7729,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6982,NULL,2336,7729,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(6983,NULL,2338,7774,40817,22,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(6984,NULL,2338,7774,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL);
INSERT INTO `period_liquidation_details` VALUES (6985,NULL,2338,7774,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(6986,NULL,2338,7774,40817,23,1,655,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(6987,NULL,2338,7774,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(6988,NULL,2338,7774,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(7985,10300,2672,7594,40817,22,1,655,0.0000,0.0000,1,179444.46,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(7986,10300,2672,7594,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(7987,10300,2672,7594,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(7988,10300,2672,7594,40817,23,1,655,0.0000,0.0000,1,179444.46,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(7989,10300,2672,7594,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(7990,10300,2672,7594,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(8015,10300,2682,7609,40817,22,1,655,0.0000,0.0000,1,255401.53,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8016,10300,2682,7609,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8017,10300,2682,7609,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8018,10300,2682,7609,40817,23,1,655,0.0000,0.0000,1,255401.53,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8019,10300,2682,7609,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8020,10300,2682,7609,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(8447,10300,2826,7617,40817,22,1,655,0.0000,0.0000,1,19107423.88,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(8448,10300,2826,7617,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(8449,10300,2826,7617,40817,22,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(8450,10300,2826,7617,40817,23,1,655,0.0000,0.0000,1,19107423.88,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(8451,10300,2826,7617,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(8452,10300,2826,7617,40817,23,1,398,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(19301,10353,6442,6067,40817,22,2,655,1.0000,2.0000,1,375866150.34,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL),(19302,10353,6442,6067,40817,22,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL),(19303,10353,6442,6067,40817,22,1,398,0.2784,1.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL),(19304,10353,6442,6067,40817,23,2,655,1.0000,1.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL),(19305,10353,6442,6067,40817,23,1,395,0.0000,0.0000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL);
INSERT INTO `period_liquidation_details` VALUES (19306,10353,6442,6067,40817,23,1,398,0.7216,1.5000,1,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL);

--
-- Table structure for table `period_liquidation_iibb`
--

CREATE TABLE `period_liquidation_iibb` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `base_amount` decimal(16,2) DEFAULT '0.00',
  `impuesto` decimal(16,2) DEFAULT '0.00',
  `saldo_a_favor_ant` decimal(16,2) DEFAULT '0.00',
  `sircreb` decimal(16,2) DEFAULT '0.00',
  `sirtac` decimal(16,2) NOT NULL DEFAULT '0.00',
  `percepciones` decimal(16,2) DEFAULT '0.00',
  `retenciones` decimal(16,2) DEFAULT '0.00',
  `a_pagar` decimal(16,2) DEFAULT '0.00',
  `a_favor` decimal(16,2) 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 `period_liquidation_iibb_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iibb_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iibb_person_id_foreign` (`person_id`),
  KEY `period_liquidation_iibb_zone_id_foreign` (`zone_id`),
  CONSTRAINT `period_liquidation_iibb_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iibb_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iibb_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `period_liquidation_iibb_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6447 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_iibb`
--

INSERT INTO `period_liquidation_iibb` VALUES (21,8522,22,1518,40718,22,0.00,0.00,3682.37,0.00,0.00,0.00,0.00,0.00,3682.37,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(22,8522,22,1518,40718,23,0.00,0.00,2684.65,0.00,0.00,0.00,0.00,0.00,2684.65,'2023-02-24 19:22:31','2023-02-24 19:22:31',NULL),(27,8522,29,1519,40718,22,858945.00,11595.76,3682.37,3598.75,0.00,0.00,0.00,4314.64,0.00,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(28,8522,29,1519,40718,23,858945.00,11810.49,2684.65,2578.36,0.00,0.00,0.00,6547.48,0.00,'2023-02-27 11:34:11','2023-02-27 11:34:11',NULL),(29,8522,30,1520,40718,22,721604.00,9741.65,0.00,3257.54,0.00,0.00,0.00,6484.11,0.00,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(30,8522,30,1520,40718,23,721604.00,9922.06,0.00,4586.36,0.00,0.00,0.00,5335.70,0.00,'2023-02-27 11:34:17','2023-02-27 11:34:17',NULL),(31,8522,32,1521,40718,22,1201111.00,16215.00,0.00,0.00,0.00,0.00,0.00,16215.00,0.00,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(32,8522,32,1521,40718,23,1201111.00,16515.28,0.00,0.00,0.00,0.00,0.00,16515.28,0.00,'2023-02-27 11:34:35','2023-02-27 11:34:35',NULL),(43,NULL,42,7600,40817,22,0.00,0.00,0.00,0.00,0.00,178923.66,0.00,0.00,178923.66,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(44,NULL,42,7600,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:07:01','2024-04-12 12:07:01',NULL),(45,10300,44,7601,40817,22,0.00,0.00,178923.66,0.00,0.00,0.00,0.00,0.00,178923.66,'2024-04-12 12:27:47','2024-04-12 12:27:47',NULL),(46,10300,44,7601,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:27:47','2024-04-12 12:27:47',NULL),(47,10300,46,7602,40817,22,0.00,0.00,178923.66,0.00,0.00,0.00,0.00,0.00,178923.66,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(48,10300,46,7602,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:29:47','2024-04-12 12:29:47',NULL),(57,10300,56,7610,40817,22,0.00,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(58,10300,56,7610,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:42:35','2024-04-12 12:42:35',NULL),(59,10300,58,7611,40817,22,0.00,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(60,10300,58,7611,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:43:33','2024-04-12 12:43:33',NULL),(69,10300,68,7612,40817,22,0.00,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(70,10300,68,7612,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:53:26','2024-04-12 12:53:26',NULL),(73,10300,72,7614,40817,22,0.00,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(74,10300,72,7614,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:56:30','2024-04-12 12:56:30',NULL),(75,10300,74,7615,40817,22,0.00,0.00,179260.29,0.00,0.00,1690.03,0.00,0.00,180950.32,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(76,10300,74,7615,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:57:52','2024-04-12 12:57:52',NULL),(77,10300,76,7616,40817,22,0.00,0.00,180950.32,0.00,0.00,0.00,0.00,0.00,180950.32,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(78,10300,76,7616,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 12:59:04','2024-04-12 12:59:04',NULL),(81,10300,80,7618,40817,22,0.00,0.00,180950.32,0.00,0.00,0.00,0.00,0.00,180950.32,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(82,10300,80,7618,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 13:01:41','2024-04-12 13:01:41',NULL),(87,NULL,86,7599,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(88,NULL,86,7599,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-12 14:23:52','2024-04-12 14:23:52',NULL),(89,10300,88,6066,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL);
INSERT INTO `period_liquidation_iibb` VALUES (90,10300,88,6066,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-04-15 12:00:30','2024-04-15 12:00:30',NULL),(215,10305,214,6064,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(216,10305,214,6064,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(387,10300,386,7619,40817,22,10665948.37,0.00,180950.32,0.00,0.00,0.00,0.00,0.00,180950.32,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(388,10300,386,7619,40817,23,10665948.37,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL),(405,10300,404,7613,40817,22,372680.00,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(406,10300,404,7613,40817,23,372680.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-13 18:04:32','2024-05-13 18:04:32',NULL),(2323,NULL,2322,7579,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(2324,NULL,2322,7579,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 08:36:59','2024-05-20 08:36:59',NULL),(2325,NULL,2324,7804,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(2326,NULL,2324,7804,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 08:40:22','2024-05-20 08:40:22',NULL),(2327,10300,2326,7620,40817,22,0.00,0.00,180950.32,0.00,0.00,0.00,0.00,0.00,180950.32,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(2328,10300,2326,7620,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 08:40:57','2024-05-20 08:40:57',NULL),(2335,NULL,2334,7729,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(2336,NULL,2334,7729,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:30:44','2024-05-20 09:30:44',NULL),(2337,NULL,2336,7729,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(2338,NULL,2336,7729,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(2339,NULL,2338,7774,40817,22,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(2340,NULL,2338,7774,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-20 09:34:19','2024-05-20 09:34:19',NULL),(2673,10300,2672,7594,40817,22,179444.46,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(2674,10300,2672,7594,40817,23,179444.46,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(2683,10300,2682,7609,40817,22,255401.53,0.00,179260.29,0.00,0.00,0.00,0.00,0.00,179260.29,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(2684,10300,2682,7609,40817,23,255401.53,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(2827,10300,2826,7617,40817,22,19107423.88,0.00,180950.32,0.00,0.00,0.00,0.00,0.00,180950.32,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(2828,10300,2826,7617,40817,23,19107423.88,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(6445,10353,6442,6067,40817,22,375866150.34,0.00,35756393.67,0.00,0.00,0.00,0.00,0.00,35756393.67,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL),(6446,10353,6442,6067,40817,23,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'2024-06-04 13:36:35','2024-06-04 13:36:35',NULL);

--
-- Table structure for table `period_liquidation_iva`
--

CREATE TABLE `period_liquidation_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `total_debit` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_debito_mis_comp` decimal(16,2) DEFAULT '0.00',
  `total_credit` decimal(16,2) NOT NULL DEFAULT '0.00',
  `credito_fiscal_comp` decimal(16,2) DEFAULT '0.00',
  `total_credito_mis_comp` decimal(16,2) DEFAULT '0.00',
  `reduc_st_mono` decimal(10,2) NOT NULL DEFAULT '0.00',
  `previous_technical` decimal(16,2) NOT NULL DEFAULT '0.00',
  `technical_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `previous_free_availability` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retention_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `perception_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `compensation_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_perceptions_retentions` decimal(16,2) NOT NULL DEFAULT '0.00',
  `free_availability_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `pago_a_cuenta` decimal(16,2) NOT NULL DEFAULT '0.00',
  `negative_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `positive_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_free_availability` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_pago_a_cuenta` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentarios` text 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 `period_liquidation_iva_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iva_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iva_person_id_foreign` (`person_id`),
  CONSTRAINT `period_liquidation_iva_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iva_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iva_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3317 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_iva`
--

INSERT INTO `period_liquidation_iva` VALUES (11,8522,21,1518,40718,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,12546.58,7651.22,0.00,NULL,'2023-02-24 16:21:51','2023-02-24 16:22:22',NULL),(15,8522,28,1519,40718,248514.21,0.00,144720.87,0.00,0.00,0.00,12546.58,-91246.76,7651.22,6982.54,3654.69,0.00,10637.23,18288.45,0.00,72958.31,0.00,0.00,0.00,NULL,'2023-02-27 11:33:57','2023-02-27 11:33:58',NULL),(16,8522,31,1520,40718,195522.81,0.00,203348.67,0.00,0.00,0.00,0.00,7825.86,0.00,5428.31,4567.44,0.00,9995.75,9995.75,0.00,0.00,7825.86,9995.75,0.00,NULL,'2023-02-27 11:34:27','2023-02-27 11:34:27',NULL),(17,8522,33,1521,40718,310938.39,0.00,158519.34,0.00,0.00,0.00,7825.86,-144593.19,9995.75,0.00,4199.67,0.00,4199.67,14195.42,0.00,130397.77,0.00,0.00,0.00,NULL,'2023-02-27 11:34:50','2023-02-27 11:34:50',NULL),(20,NULL,41,7600,40817,902322.30,0.00,6853307.66,0.00,0.00,0.00,14922230.57,20873215.93,0.00,0.00,382.93,0.00,382.93,382.93,0.00,0.00,20873215.93,382.93,0.00,NULL,'2024-04-12 12:06:59','2024-04-12 12:07:01',NULL),(21,10300,43,7601,40817,1890.00,0.00,3780.00,0.00,0.00,0.00,20873215.93,20875105.93,382.93,0.00,0.00,0.00,0.00,382.93,0.00,0.00,20875105.93,382.93,0.00,NULL,'2024-04-12 12:27:45','2024-04-12 12:27:46',NULL),(22,10300,45,7602,40817,0.00,0.00,0.00,0.00,0.00,0.00,20875105.93,20875105.93,382.93,0.00,0.00,0.00,0.00,382.93,0.00,0.00,20875105.93,382.93,0.00,NULL,'2024-04-12 12:29:45','2024-04-12 12:29:47',NULL),(25,10300,51,7605,40817,0.00,0.00,25941.60,0.00,0.00,0.00,20964801.67,20990743.27,382.93,0.00,673.26,0.00,673.26,1056.19,0.00,0.00,20990743.27,1056.19,0.00,NULL,'2024-04-12 12:39:59','2024-04-12 12:40:01',NULL),(27,10300,55,7610,40817,0.00,0.00,0.00,0.00,0.00,0.00,20990743.27,20990743.27,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,20990743.27,1056.19,0.00,NULL,'2024-04-12 12:42:33','2024-04-12 12:42:35',NULL),(28,10300,57,7611,40817,0.00,0.00,27175.37,0.00,0.00,0.00,20990743.27,21017918.64,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,21017918.64,1056.19,0.00,NULL,'2024-04-12 12:43:31','2024-04-12 12:43:33',NULL),(33,10300,67,7612,40817,0.00,0.00,0.00,0.00,0.00,0.00,21017918.64,21017918.64,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,21017918.64,1056.19,0.00,NULL,'2024-04-12 12:53:24','2024-04-12 12:53:26',NULL),(35,10300,71,7614,40817,0.00,0.00,146611.94,0.00,0.00,0.00,21038918.64,21185530.58,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,21185530.58,1056.19,0.00,NULL,'2024-04-12 12:56:28','2024-04-12 12:56:30',NULL),(36,10300,73,7615,40817,0.00,0.00,526824.85,0.00,0.00,0.00,21185530.58,21712355.43,1056.19,0.00,16500.00,0.00,16500.00,17556.19,0.00,0.00,21712355.43,17556.19,0.00,NULL,'2024-04-12 12:57:49','2024-04-12 12:57:52',NULL),(37,10300,75,7616,40817,1890.00,0.00,104345.47,0.00,0.00,0.00,21712355.43,21814810.90,17556.19,0.00,0.00,0.00,0.00,17556.19,0.00,0.00,21814810.90,17556.19,0.00,NULL,'2024-04-12 12:59:02','2024-04-12 12:59:04',NULL),(39,10300,79,7618,40817,0.00,0.00,101799.60,0.00,0.00,0.00,22191703.72,22293503.32,17556.19,0.00,0.00,0.00,0.00,17556.19,0.00,0.00,22293503.32,17556.19,0.00,NULL,'2024-04-12 13:01:39','2024-04-12 13:01:41',NULL),(42,NULL,85,7599,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-04-12 14:23:51','2024-04-12 14:23:52',NULL),(43,10300,87,6066,40817,0.00,0.00,21000.00,0.00,0.00,0.00,0.00,21000.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,21000.00,0.00,0.00,NULL,'2024-04-15 12:00:29','2024-04-15 12:00:30',NULL),(106,10305,213,6064,40817,0.00,0.00,0.00,0.00,0.00,0.00,359605.76,359605.76,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,359605.76,0.00,0.00,NULL,'2024-05-02 11:07:58','2024-05-02 11:07:58',NULL),(192,10300,385,7619,40817,3488825.38,0.00,0.00,0.00,0.00,0.00,22293503.32,18804677.94,17556.19,0.00,0.00,0.00,0.00,17556.19,0.00,0.00,18804677.94,17556.19,0.00,NULL,'2024-05-12 22:01:08','2024-05-12 22:01:08',NULL);
INSERT INTO `period_liquidation_iva` VALUES (201,10300,403,7613,40817,78262.80,0.00,0.00,0.00,0.00,0.00,21017918.64,20939655.84,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,20939655.84,1056.19,0.00,NULL,'2024-05-13 18:04:31','2024-05-13 18:04:32',NULL),(1160,NULL,2321,7579,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-05-20 08:36:58','2024-05-20 08:36:59',NULL),(1161,NULL,2323,7804,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-05-20 08:40:21','2024-05-20 08:40:22',NULL),(1162,10300,2325,7620,40817,228644.13,0.00,1240661.74,0.00,0.00,0.00,18804677.94,19816695.55,17556.19,0.00,0.00,0.00,0.00,17556.19,0.00,0.00,19816695.55,17556.19,0.00,NULL,'2024-05-20 08:40:56','2024-05-20 08:40:57',NULL),(1166,NULL,2333,7729,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-05-20 09:30:43','2024-05-20 09:30:44',NULL),(1167,NULL,2335,7729,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-05-20 09:31:06','2024-05-20 09:31:06',NULL),(1168,NULL,2337,7774,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-05-20 09:34:18','2024-05-20 09:34:19',NULL),(1197,NULL,2395,6068,40817,172275687.57,0.00,22388135.38,0.00,0.00,0.00,20775.00,-149866777.19,0.00,164772.98,0.00,0.00,164772.98,164772.98,0.00,149702004.21,0.00,0.00,0.00,NULL,'2024-05-20 13:25:25','2024-05-20 13:25:28',NULL),(1229,NULL,2459,6068,40817,173019703.28,0.00,22475185.18,0.00,0.00,0.00,20775.00,-150523743.10,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,150189636.14,0.00,0.00,0.00,NULL,'2024-05-20 15:58:06','2024-05-20 15:58:08',NULL),(1243,NULL,2487,6068,40817,174440373.90,0.00,23833386.98,0.00,0.00,0.00,20775.00,-150586211.92,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,150252104.96,0.00,0.00,0.00,NULL,'2024-05-20 22:02:07','2024-05-20 22:02:10',NULL),(1248,NULL,2497,6068,40817,174440373.90,0.00,24307356.98,0.00,0.00,0.00,20775.00,-150112241.92,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,149778134.96,0.00,0.00,0.00,NULL,'2024-05-20 22:06:55','2024-05-20 22:06:57',NULL),(1254,NULL,2509,6068,40817,174805284.81,0.00,24322371.98,0.00,0.00,0.00,20775.00,-150462137.83,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,150128030.87,0.00,0.00,0.00,NULL,'2024-05-21 07:30:33','2024-05-21 07:30:36',NULL),(1257,NULL,2515,6068,40817,175378556.67,0.00,24322371.98,0.00,0.00,0.00,20775.00,-151035409.69,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,150701302.73,0.00,0.00,0.00,NULL,'2024-05-21 07:38:10','2024-05-21 07:38:13',NULL),(1258,NULL,2517,6068,40817,175378556.67,0.00,24322371.98,0.00,0.00,0.00,20775.00,-151035409.69,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,150701302.73,0.00,0.00,0.00,NULL,'2024-05-21 07:38:11','2024-05-21 07:38:14',NULL),(1259,NULL,2519,6068,40817,176797286.85,0.00,24322371.98,0.00,0.00,0.00,20775.00,-152454139.87,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,152120032.91,0.00,0.00,0.00,NULL,'2024-05-21 07:43:49','2024-05-21 07:43:50',NULL),(1260,NULL,2521,6068,40817,176797286.85,0.00,24322371.98,0.00,0.00,0.00,20775.00,-152454139.87,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,152120032.91,0.00,0.00,0.00,NULL,'2024-05-21 07:44:00','2024-05-21 07:44:02',NULL),(1261,NULL,2523,6068,40817,177165320.67,0.00,24322371.98,0.00,0.00,0.00,20775.00,-152822173.69,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,152488066.73,0.00,0.00,0.00,NULL,'2024-05-21 07:46:30','2024-05-21 07:46:32',NULL),(1273,NULL,2545,6068,40817,178322795.33,0.00,24377811.98,0.00,0.00,0.00,20775.00,-153924208.35,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,153590101.39,0.00,0.00,0.00,NULL,'2024-05-21 08:44:24','2024-05-21 08:44:25',NULL);
INSERT INTO `period_liquidation_iva` VALUES (1274,NULL,2551,6068,40817,178414761.47,0.00,24377811.98,0.00,0.00,0.00,20775.00,-154016174.49,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,153682067.53,0.00,0.00,0.00,NULL,'2024-05-21 08:46:19','2024-05-21 08:46:21',NULL),(1275,NULL,2549,6068,40817,178414761.47,0.00,24377811.98,0.00,0.00,0.00,20775.00,-154016174.49,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,153682067.53,0.00,0.00,0.00,NULL,'2024-05-21 08:46:19','2024-05-21 08:46:21',NULL),(1282,NULL,2565,6068,40817,178414761.47,0.00,24377811.98,0.00,0.00,0.00,20775.00,-154016174.49,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,153682067.53,0.00,0.00,0.00,NULL,'2024-05-21 08:49:07','2024-05-21 08:49:10',NULL),(1296,NULL,2593,6068,40817,178454661.47,0.00,24377811.98,0.00,0.00,0.00,20775.00,-154056074.49,0.00,334106.96,0.00,0.00,334106.96,334106.96,0.00,153721967.53,0.00,0.00,0.00,NULL,'2024-05-21 08:59:09','2024-05-21 08:59:13',NULL),(1325,NULL,2651,6067,40817,84247971.65,0.00,59426242.57,0.00,0.00,0.00,21000.00,-24800729.08,0.00,0.00,0.00,0.00,0.00,0.00,0.00,24800729.08,0.00,0.00,0.00,NULL,'2024-05-21 11:18:45','2024-05-21 11:18:47',NULL),(1335,10300,2671,7594,40817,38584.55,0.00,901.22,0.00,0.00,0.00,0.00,-37683.34,0.00,0.00,0.00,0.00,0.00,0.00,0.00,37683.34,0.00,0.00,0.00,NULL,'2024-05-21 11:48:05','2024-05-21 11:48:05',NULL),(1340,10300,2681,7609,40817,83253.16,0.00,29618.84,0.00,0.00,0.00,20990743.27,20937108.95,1056.19,0.00,0.00,0.00,0.00,1056.19,0.00,0.00,20937108.95,1056.19,0.00,NULL,'2024-05-21 11:53:53','2024-05-21 11:53:53',NULL),(1388,NULL,2777,6068,40817,178787955.62,0.00,24610116.50,0.00,0.00,0.00,0.00,-154177839.12,0.00,407797.32,0.00,0.00,407797.32,407797.32,0.00,153770041.80,0.00,0.00,0.00,NULL,'2024-05-22 11:08:00','2024-05-22 11:08:04',NULL),(1406,NULL,2813,6068,40817,178855569.74,0.00,30845552.95,0.00,0.00,0.00,0.00,-148010016.79,0.00,2674811.37,0.00,0.00,2674811.37,2674811.37,0.00,145335205.42,0.00,0.00,0.00,NULL,'2024-05-22 11:54:31','2024-05-22 11:54:32',NULL),(1407,NULL,2815,6068,40817,178855569.74,0.00,30845552.95,0.00,0.00,0.00,0.00,-148010016.79,0.00,2674811.37,0.00,0.00,2674811.37,2674811.37,0.00,145335205.42,0.00,0.00,0.00,NULL,'2024-05-22 11:54:35','2024-05-22 11:54:37',NULL),(1411,10300,2825,7617,40817,4354443.74,0.00,341884.73,0.00,0.00,0.00,21814810.90,17802251.89,17556.19,0.00,0.00,0.00,0.00,17556.19,0.00,0.00,17802251.89,17556.19,0.00,NULL,'2024-05-22 11:55:11','2024-05-22 11:55:11',NULL),(1420,NULL,2841,6068,40817,175326661.52,0.00,34214927.06,0.00,0.00,0.00,0.00,-141111734.46,0.00,2674811.37,0.00,0.00,2674811.37,2674811.37,0.00,138436923.09,0.00,0.00,0.00,NULL,'2024-05-22 12:15:58','2024-05-22 12:16:00',NULL),(1421,NULL,2843,6068,40817,175326661.52,0.00,34214927.06,0.00,0.00,0.00,0.00,-141111734.46,0.00,2674811.37,0.00,0.00,2674811.37,2674811.37,0.00,138436923.09,0.00,0.00,0.00,NULL,'2024-05-22 12:16:03','2024-05-22 12:16:05',NULL),(1426,NULL,2853,6068,40817,175326661.52,0.00,34264767.06,0.00,0.00,0.00,0.00,-141061894.46,0.00,2843868.72,0.00,0.00,2843868.72,2843868.72,0.00,138218025.74,0.00,0.00,0.00,NULL,'2024-05-22 12:19:50','2024-05-22 12:19:51',NULL),(1513,NULL,3027,6068,40817,179267493.38,0.00,40555580.67,0.00,0.00,0.00,0.00,-138711912.71,0.00,3513876.80,565981.79,0.00,4079858.59,4079858.59,0.00,134632054.12,0.00,0.00,0.00,NULL,'2024-05-23 15:45:20','2024-05-23 15:45:23',NULL),(1523,NULL,3047,6068,40817,179883561.77,0.00,40576205.77,0.00,0.00,0.00,0.00,-139307356.01,0.00,3513876.80,565981.79,0.00,4079858.59,4079858.59,0.00,135227497.42,0.00,0.00,0.00,NULL,'2024-05-24 09:12:18','2024-05-24 09:12:20',NULL),(1645,NULL,3291,6068,40817,181230060.34,0.00,44450467.23,0.00,0.00,0.00,0.00,-136779593.12,0.00,3914995.34,578126.21,0.00,4493121.55,4493121.55,0.00,132286471.57,0.00,0.00,0.00,NULL,'2024-05-27 09:46:19','2024-05-27 09:46:20',NULL);
INSERT INTO `period_liquidation_iva` VALUES (1652,NULL,3305,6068,40817,181774770.10,0.00,44601463.60,0.00,0.00,0.00,0.00,-137173306.50,0.00,3914995.34,578126.21,0.00,4493121.55,4493121.55,0.00,132680184.95,0.00,0.00,0.00,NULL,'2024-05-27 10:43:34','2024-05-27 10:43:36',NULL),(1754,NULL,3509,6068,40817,188830793.71,0.00,46546698.57,0.00,0.00,0.00,0.00,-142284095.14,0.00,5364167.29,805369.57,0.00,6169536.86,6169536.86,0.00,136114558.28,0.00,0.00,0.00,NULL,'2024-05-28 06:50:28','2024-05-28 06:50:29',NULL),(1764,NULL,3529,6068,40817,188830793.71,0.00,47213549.03,0.00,0.00,0.00,0.00,-141617244.68,0.00,5364167.29,807204.27,0.00,6171371.56,6171371.56,0.00,135445873.12,0.00,0.00,0.00,NULL,'2024-05-28 07:05:41','2024-05-28 07:05:42',NULL),(1765,NULL,3531,6068,40817,188830793.71,0.00,47232099.31,0.00,0.00,0.00,0.00,-141598694.40,0.00,5364167.29,807204.27,0.00,6171371.56,6171371.56,0.00,135427322.84,0.00,0.00,0.00,NULL,'2024-05-28 07:06:12','2024-05-28 07:06:14',NULL),(1803,NULL,3607,6068,40817,193390081.03,0.00,49163514.28,0.00,0.00,0.00,0.00,-144226566.75,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,137653372.46,0.00,0.00,0.00,NULL,'2024-05-28 11:27:56','2024-05-28 11:27:57',NULL),(1805,NULL,3611,6068,40817,193390081.03,0.00,49630135.18,0.00,0.00,0.00,0.00,-143759945.84,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,137186751.55,0.00,0.00,0.00,NULL,'2024-05-28 11:30:11','2024-05-28 11:30:13',NULL),(1806,NULL,3613,6068,40817,193390081.03,0.00,49708389.94,0.00,0.00,0.00,0.00,-143681691.09,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,137108496.80,0.00,0.00,0.00,NULL,'2024-05-28 11:30:44','2024-05-28 11:30:47',NULL),(1807,NULL,3615,6068,40817,193390081.03,0.00,49708389.94,0.00,0.00,0.00,0.00,-143681691.09,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,137108496.80,0.00,0.00,0.00,NULL,'2024-05-28 11:31:11','2024-05-28 11:31:13',NULL),(1808,NULL,3617,6068,40817,193390081.03,0.00,49825551.08,0.00,0.00,0.00,0.00,-143564529.95,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,136991335.66,0.00,0.00,0.00,NULL,'2024-05-28 11:31:47','2024-05-28 11:31:50',NULL),(1809,NULL,3619,6068,40817,193390081.03,0.00,49825551.08,0.00,0.00,0.00,0.00,-143564529.95,0.00,5598777.21,974417.08,0.00,6573194.29,6573194.29,0.00,136991335.66,0.00,0.00,0.00,NULL,'2024-05-28 11:31:59','2024-05-28 11:32:01',NULL),(1905,NULL,3811,6068,40817,200791736.34,0.00,50999160.05,0.00,0.00,0.00,0.00,-149792576.29,0.00,5998011.55,974417.08,0.00,6972428.63,6972428.63,0.00,142820147.66,0.00,0.00,0.00,NULL,'2024-05-29 10:18:56','2024-05-29 10:18:58',NULL),(1915,NULL,3831,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,5998011.55,974417.08,0.00,6972428.63,6972428.63,0.00,142818545.78,0.00,0.00,0.00,NULL,'2024-05-29 10:47:32','2024-05-29 10:47:34',NULL),(1916,NULL,3833,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,6193693.41,974417.08,0.00,7168110.49,7168110.49,0.00,142622863.92,0.00,0.00,0.00,NULL,'2024-05-29 10:47:34','2024-05-29 10:47:35',NULL),(1917,NULL,3835,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,6193693.41,974417.08,0.00,7168110.49,7168110.49,0.00,142622863.92,0.00,0.00,0.00,NULL,'2024-05-29 10:47:38','2024-05-29 10:47:39',NULL),(1923,NULL,3847,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,6282702.34,974417.08,0.00,7257119.42,7257119.42,0.00,142533854.99,0.00,0.00,0.00,NULL,'2024-05-29 10:52:25','2024-05-29 10:52:27',NULL),(1924,NULL,3849,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,6282702.34,974417.08,0.00,7257119.42,7257119.42,0.00,142533854.99,0.00,0.00,0.00,NULL,'2024-05-29 10:52:28','2024-05-29 10:52:30',NULL),(1967,NULL,3935,6068,40817,200791736.34,0.00,51000761.93,0.00,0.00,0.00,0.00,-149790974.41,0.00,6424301.57,974417.08,0.00,7398718.65,7398718.65,0.00,142392255.76,0.00,0.00,0.00,NULL,'2024-05-29 11:19:59','2024-05-29 11:20:00',NULL);
INSERT INTO `period_liquidation_iva` VALUES (2042,NULL,4085,6068,40817,206211823.32,0.00,51675700.83,0.00,0.00,0.00,0.00,-154536122.49,0.00,6615462.71,974417.08,0.00,7589879.79,7589879.79,0.00,146946242.70,0.00,0.00,0.00,NULL,'2024-05-29 12:45:27','2024-05-29 12:45:29',NULL),(2148,NULL,4297,6068,40817,208216203.37,0.00,58101327.43,0.00,0.00,0.00,0.00,-150114875.95,0.00,7233329.91,1268635.42,0.00,8501965.33,8501965.33,0.00,141612910.62,0.00,0.00,0.00,NULL,'2024-05-30 10:15:36','2024-05-30 10:15:37',NULL),(2149,NULL,4299,6068,40817,208216203.37,0.00,58101327.43,0.00,0.00,0.00,0.00,-150114875.95,0.00,7233329.91,1268635.42,0.00,8501965.33,8501965.33,0.00,141612910.62,0.00,0.00,0.00,NULL,'2024-05-30 10:15:36','2024-05-30 10:15:38',NULL),(2150,NULL,4301,6068,40817,208216203.37,0.00,58101327.43,0.00,0.00,0.00,0.00,-150114875.95,0.00,7233329.91,1268635.42,0.00,8501965.33,8501965.33,0.00,141612910.62,0.00,0.00,0.00,NULL,'2024-05-30 10:15:40','2024-05-30 10:15:42',NULL),(2151,NULL,4303,6068,40817,208216203.37,0.00,58101327.43,0.00,0.00,0.00,0.00,-150114875.95,0.00,7233329.91,1268635.42,0.00,8501965.33,8501965.33,0.00,141612910.62,0.00,0.00,0.00,NULL,'2024-05-30 10:15:41','2024-05-30 10:15:43',NULL),(2195,NULL,4391,6068,40817,212396160.83,0.00,58109840.83,0.00,0.00,0.00,0.00,-154286320.00,0.00,7721252.75,1268635.42,0.00,8989888.17,8989888.17,0.00,145296431.83,0.00,0.00,0.00,NULL,'2024-05-30 14:31:52','2024-05-30 14:31:54',NULL),(2241,NULL,4483,6068,40817,212518978.27,0.00,58109852.13,0.00,0.00,0.00,0.00,-154409126.14,0.00,7734849.57,1268635.42,0.00,9003484.99,9003484.99,0.00,145405641.15,0.00,0.00,0.00,NULL,'2024-05-30 15:26:25','2024-05-30 15:26:28',NULL),(2244,NULL,4489,6068,40817,212531859.07,0.00,58109852.13,0.00,0.00,0.00,0.00,-154422006.94,0.00,7734849.57,1268635.42,0.00,9003484.99,9003484.99,0.00,145418521.95,0.00,0.00,0.00,NULL,'2024-05-30 15:28:00','2024-05-30 15:28:06',NULL),(2245,NULL,4492,6068,40817,212531859.07,0.00,58109852.13,0.00,0.00,0.00,0.00,-154422006.94,0.00,7734849.57,1268635.42,0.00,9003484.99,9003484.99,0.00,145418521.95,0.00,0.00,0.00,NULL,'2024-05-30 15:28:09','2024-05-30 15:28:15',NULL),(2246,NULL,4493,6068,40817,212540875.52,0.00,58109852.13,0.00,0.00,0.00,0.00,-154431023.39,0.00,7734849.57,1268635.42,0.00,9003484.99,9003484.99,0.00,145427538.40,0.00,0.00,0.00,NULL,'2024-05-30 15:29:01','2024-05-30 15:29:05',NULL),(2337,NULL,4675,6068,40817,212727311.66,0.00,58772260.55,0.00,0.00,0.00,0.00,-153955051.10,0.00,7734849.57,1336705.39,0.00,9071554.96,9071554.96,0.00,144883496.14,0.00,0.00,0.00,NULL,'2024-05-31 11:35:46','2024-05-31 11:35:48',NULL),(2354,NULL,4709,6068,40817,214208700.44,0.00,58809335.63,0.00,0.00,0.00,0.00,-155399364.81,0.00,8365003.84,1336705.39,0.00,9701709.23,9701709.23,0.00,145697655.58,0.00,0.00,0.00,NULL,'2024-05-31 12:06:15','2024-05-31 12:06:18',NULL),(2413,NULL,4827,6068,40817,215534368.29,0.00,67991241.04,0.00,0.00,0.00,0.00,-147543127.25,0.00,8611986.56,2615108.71,0.00,11227095.27,11227095.27,0.00,136316031.98,0.00,0.00,0.00,NULL,'2024-05-31 13:51:24','2024-05-31 13:51:27',NULL),(2415,NULL,4832,6068,40817,215601284.96,0.00,68022302.23,0.00,0.00,0.00,0.00,-147578982.73,0.00,8611986.56,2609986.50,0.00,11221973.06,11221973.06,0.00,136357009.67,0.00,0.00,0.00,NULL,'2024-05-31 13:52:43','2024-05-31 13:52:44',NULL),(3250,NULL,6506,6068,40817,216408995.96,0.00,77029096.09,0.00,0.00,0.00,0.00,-139379899.86,0.00,10560565.15,2631532.48,0.00,13192097.63,13192097.63,0.00,126187802.23,0.00,0.00,0.00,NULL,'2024-06-04 13:08:56','2024-06-04 13:08:58',NULL),(3251,NULL,6508,6068,40817,216408995.96,0.00,77062654.09,0.00,0.00,0.00,0.00,-139346341.86,0.00,10560565.15,2631532.48,0.00,13192097.63,13192097.63,0.00,126154244.23,0.00,0.00,0.00,NULL,'2024-06-04 13:09:28','2024-06-04 13:09:29',NULL),(3252,NULL,6510,6068,40817,216408995.96,0.00,77096821.09,0.00,0.00,0.00,0.00,-139312174.86,0.00,10560565.15,2631532.48,0.00,13192097.63,13192097.63,0.00,126120077.23,0.00,0.00,0.00,NULL,'2024-06-04 13:09:51','2024-06-04 13:09:52',NULL);
INSERT INTO `period_liquidation_iva` VALUES (3253,NULL,6512,6068,40817,216408995.96,0.00,77130988.09,0.00,0.00,0.00,0.00,-139278007.86,0.00,10560565.15,2631532.48,0.00,13192097.63,13192097.63,0.00,126085910.23,0.00,0.00,0.00,NULL,'2024-06-04 13:10:10','2024-06-04 13:10:13',NULL),(3269,NULL,6544,6068,40817,216408995.96,0.00,77708443.99,0.00,0.00,0.00,0.00,-138700551.96,0.00,11083481.35,2631532.48,0.00,13715013.83,13715013.83,0.00,124985538.13,0.00,0.00,0.00,NULL,'2024-06-04 16:00:38','2024-06-04 16:00:40',NULL),(3314,NULL,6634,6068,40817,216408995.96,0.00,79573122.96,0.00,0.00,0.00,0.00,-136835872.99,0.00,11083481.35,2631532.48,0.00,13715013.83,13715013.83,0.00,123120859.16,0.00,0.00,0.00,NULL,'2024-06-04 18:00:10','2024-06-04 18:00:13',NULL),(3315,10220,7844,6069,40817,87969945.34,0.00,4732587.89,0.00,0.00,0.00,0.00,-83237357.45,0.00,6619087.98,8464.20,0.00,6627552.18,6627552.18,831.73,76608973.54,0.00,0.00,0.00,NULL,'2024-07-16 16:49:16','2024-07-16 16:49:16',NULL),(3316,10220,7845,6080,40817,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2025-02-17 15:36:50','2025-02-17 15:36:50',NULL);

--
-- Table structure for table `period_liquidation_iva_details`
--

CREATE TABLE `period_liquidation_iva_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_liquidation_iva_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned NOT NULL DEFAULT '1',
  `type` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned NOT NULL DEFAULT '0',
  `taxabled_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `ordr` int(10) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `period_liquidation_iva_details_period_liquidation_iva_id_foreign` (`period_liquidation_iva_id`),
  KEY `period_liquidation_iva_details_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iva_details_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iva_details_person_id_foreign` (`person_id`),
  KEY `period_liquidation_iva_details_activity_id_foreign` (`activity_id`),
  KEY `period_liquidation_iva_details_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  CONSTRAINT `period_liquidation_iva_details_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `period_liquidation_iva_details_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_liquidation_iva_id_foreign` FOREIGN KEY (`period_liquidation_iva_id`) REFERENCES `period_liquidation_iva` (`id`),
  CONSTRAINT `period_liquidation_iva_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=987007 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
